Commit Graph

186 Commits

Author SHA1 Message Date
Cláudio
ad45f91998 Commit for #546
- Fixing code review requests
2021-02-04 17:35:17 -03:00
Cláudio
b7ec2404b0 Fix #546
- Fixing code review requests
2021-02-02 20:27:48 -03:00
Cláudio
52ada2dba1 fix #544
- Fixing code review requests
2021-02-02 19:29:02 -03:00
Cláudio
7b1b77dc44 Commit for #546 2021-02-02 16:43:09 -03:00
Cláudio
e4ce918ac7 Commit for #544 2021-02-02 15:44:22 -03:00
Cláudio
abb005e1d5 Commit for #535 2021-02-02 15:00:20 -03:00
Cláudio
25a1f4df55 Commit for #535 2021-02-02 09:00:01 -03:00
Cláudio
bacfa32fa0 Commit for #539
- validating to avoid empty comments
- comment button now is green
2021-01-31 20:18:54 -03:00
Cláudio
32eb1819aa Commit for #158
- Fix code convention violations
2021-01-30 16:29:23 -03:00
Cláudio
898c037df0 Commit for #158
- Fixing github quality code checking issues
2021-01-30 07:33:15 -03:00
Cláudio
33d53e1757 Commit for #158 2021-01-29 22:28:24 -03:00
Cláudio
a5e0deeec1 Partial commit for #158
- It´s possible to create new issue with title and first message from webui
- form simple validation
- Extraction from CommentForm to create a generic component for Comments

Next steps
- Styles
- Readme update about codegen usage and enforcing playground usage
2021-01-29 18:39:19 -03:00
dependabot-preview[bot]
0102f8d6a7
build(deps): [security] bump @graphql-tools/git-loader in /webui
Bumps [@graphql-tools/git-loader](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/loaders/git) from 6.2.4 to 6.2.6. **This update includes a security fix.**
- [Release notes](https://github.com/ardatan/graphql-tools/releases)
- [Changelog](https://github.com/ardatan/graphql-tools/blob/master/packages/loaders/git/CHANGELOG.md)
- [Commits](https://github.com/ardatan/graphql-tools/commits/@graphql-tools/git-loader@6.2.6/packages/loaders/git)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-29 18:21:25 +00:00
Cláudio
d673eb97fe Partial commit for #158
- Fix for unexpected change in AppBar style when importing Paper

see: https://github.com/mui-org/material-ui/issues/19157
2021-01-29 08:29:49 -03:00
Cláudio
f8d41c3bcd Partial commit for #158
- It´s possible to create new issues from webui (only title)

Next step
- Finish new issue form (First comment field and style)
- Update Readme about codegen usage and enforcing playground usage
2021-01-28 21:24:40 -03:00
Cláudio
c009bea662 Partial commit for #158
- Component GBButton created
- New issue form partially created (only title)
- Refactoring for GBButon usage

Next steps
- Practice GraphQL calls
- Finish New issue form (add first comment and submit)
2021-01-26 14:54:58 -03:00
Cláudio
343ef1455e Partial commit for #158
- layout and style completed
2021-01-25 07:59:39 -03:00
Cláudio
c019fed48d Partial commit for #158
- Added bt to create new issue and its style (github like)
2021-01-24 09:54:10 -03:00
Cláudio
9ad4469f9b Partial commit to #158
- Prettier package update to fix CRLF problem when running on Windows
2021-01-24 08:17:04 -03:00
dependabot-preview[bot]
a53a763f0e
build(deps): [security] bump node-notifier from 8.0.0 to 8.0.1 in /webui
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1. **This update includes a security fix.**
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 16:18:54 +00:00
dependabot-preview[bot]
d122668065
build(deps): [security] bump ini from 1.3.5 to 1.3.8 in /webui
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8. **This update includes a security fix.**
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 04:21:23 +00:00
Quentin Gliech
f4433d80c4
webui: dependencies upgrades
Most upgrades are minor version without breaking changes.

One big upgrade is Apollo 2 -> 3, which required a few changes in the
Apollo setup (see src/apollo.ts).

Other changes are due to changes in Prettier, requiring to add
parenthesis around arrow function parameters.

Because of an incompatibility in older version of typescript-eslint with
newer versions of typescript, I had to switch to the "next" unstable
version of react-scripts. It should not break stuff though.

See typescript-eslint/typescript-eslint#2442
2020-09-30 17:31:48 +02:00
Michael Muré
3aaf775857
webui: pack 2020-06-27 23:04:47 +02:00
Michael Muré
07d6c6aa32
webui: render component's children as a function to avoid uncecessary rendering
Co-authored-by: Quentin Gliech <quentingliech@gmail.com>
2020-06-27 23:03:06 +02:00
Michael Muré
2ab6381a94
Reorganize the webUI and API code
Included in the changes:
- create a new /api root package to hold all API code, migrate /graphql in there
- git API handlers all use the cache instead of the repo directly
- git API handlers are now tested
- git API handlers now require a "repo" mux parameter
- lots of untangling of API/handlers/middleware
- less code in commands/webui.go
2020-06-27 23:03:05 +02:00
Luke Granger-Brown
cf67c78823
Refactor webui changes.
Don't use contexts, just raw Apollo, since it's cached anyway.

Change "ReadonlyHidden" to "IfLoggedIn".
2020-06-27 22:58:21 +02:00
Luke Granger-Brown
4a28f25347
Add support for read-only mode for web UI.
Fixes #402.
2020-06-27 22:56:10 +02:00
dependabot-preview[bot]
882f6890c1
build(deps): [security] bump minimist from 1.2.0 to 1.2.5 in /webui
Bumps [minimist](https://github.com/substack/minimist) from 1.2.0 to 1.2.5. **This update includes security fixes.**
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.0...1.2.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-14 16:43:36 +00:00
Michael Muré
c9e4a356a9
webui: update some deps 2020-06-14 18:39:58 +02:00
dependabot-preview[bot]
dc8d28df7e
build(deps): [security] bump acorn from 5.7.3 to 5.7.4 in /webui
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4. **This update includes a security fix.**
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-13 20:59:45 +00:00
Michael Muré
ea545a89d0
pack the webui 2020-02-23 16:31:49 +01:00
Michael Muré
f1759ea360
webui: adjust some margins 2020-02-23 16:30:24 +01:00
Michael Muré
1164e3410e
webui: fix bad formatting on Date 2020-02-23 15:58:39 +01:00
ludovicm67
f96484391a
webui: run linter fix 2020-02-22 19:25:37 +01:00
Michael Muré
218d460590
webui: style SetStatus 2020-02-17 13:17:44 +01:00
Michael Muré
afd22acd5d
webui: more readable dates, also localized 2020-02-17 00:16:07 +01:00
Michael Muré
14e91cb5ed
webui: fix the default query 2020-02-17 00:15:40 +01:00
Michael Muré
86a35f1829
webui: more styling on the bug page 2020-02-16 02:51:27 +01:00
Michael Muré
e408ca8a28
webui: minor styling of the timeline events 2020-02-16 02:20:05 +01:00
Michael Muré
602f91148b
webui: fix missing space in the bug preview 2020-02-16 02:15:11 +01:00
Michael Muré
c4f5cae4a4
webui: list by default only open bugs 2020-02-16 02:14:58 +01:00
Michael Muré
d052ecf671
webui: in the bug list, toggle open and close when clicking 2020-02-16 02:14:48 +01:00
Quentin Gliech
ce6f6a984b
webui: move pages components 2020-02-13 20:00:03 +01:00
Quentin Gliech
8b85780d76
webui: start reorganizing the component structure 2020-02-13 00:53:29 +01:00
Quentin Gliech
680dd91c0c
webui: create comment form 2020-02-13 00:19:22 +01:00
ludovicm67
ab09c03a1e
webui: format some files 2020-02-12 23:39:23 +01:00
ludovicm67
c48a4dc794
webui: run linter 2020-02-12 23:17:41 +01:00
ludovicm67
d0a6da286a
webui: finish TypeScript conversion 2020-02-12 23:09:45 +01:00
Quentin Gliech
c2d18b3a9b
webui: fix Content type 2020-02-12 22:23:22 +01:00
Quentin Gliech
b70b4ba4b1
webui: lint graphql files 2020-02-11 22:11:08 +01:00
Quentin Gliech
465f7ca73d
webui: stop using defaultRepository 2020-02-11 21:49:19 +01:00
Quentin Gliech
76d4006176
webui: make travis run unit tests 2020-02-11 21:19:00 +01:00
Quentin Gliech
9ddcb4b092
webui: force import order 2020-02-11 20:54:38 +01:00
Quentin Gliech
e5f52401b2
webui: typecheck remaining bug list components 2020-02-11 20:54:38 +01:00
ludovicm67
b83670821c
webui: fix logo url 2020-02-11 20:54:37 +01:00
ludovicm67
0c5f6e4445
webui: convert custom tags to TypeScript 2020-02-11 20:54:37 +01:00
Quentin Gliech
022f510369
webui: convert more things to typescript 2020-02-11 20:54:37 +01:00
Quentin Gliech
6a502c145b
webui: convert bug list to typescript 2020-02-11 20:54:37 +01:00
ludovicm67
9c570cac72
webui: convert bug view to TypeScript 2020-02-11 20:54:36 +01:00
Quentin Gliech
a2721971ba
webui: generate TS types for graphql queries 2020-02-11 20:54:36 +01:00
ludovicm67
aea42344de
webui: transform index and App to TypeScript 2020-02-11 20:54:36 +01:00
ludovicm67
f105f3bbdf
webui: upgrade packages + add some typescript dependencies 2020-02-11 20:54:35 +01:00
Quentin Gliech
adb28885a3
webui: add open/closed issues count 2020-01-30 23:38:25 +01:00
Quentin Gliech
ead5bad785
webui: implement issue list sort 2020-01-30 02:05:36 +01:00
Quentin Gliech
4d97e3a19a
webui: implement filtering 2020-01-25 11:40:08 +01:00
Quentin Gliech
fa13550115
webui: enhance the issue list page
This starts some ground work for filtering & moves the pagination logic
in the query params.
Also has a nice loading placeholder.
2020-01-24 01:12:01 +01:00
ludovicm67
70354165ff
webui: remove useless conditions 2020-01-24 00:43:12 +01:00
ludovicm67
7de5a25ffa
webui: add logo 2020-01-24 00:28:18 +01:00
ludovicm67
def48e53f4
webui: display current identity in the AppBar 2020-01-23 23:37:59 +01:00
ludovicm67
8f6bc24503
webui: fix AppBar 2020-01-23 23:05:34 +01:00
ludovicm67
f716bc1db9
webui: change primary color 2020-01-23 22:49:19 +01:00
ludovicm67
e364674850
webui: fix width for pre tags in bug messages 2020-01-23 22:03:22 +01:00
ludovicm67
3413ee448a
webui: open image in a new tab on click 2020-01-23 21:50:20 +01:00
ludovicm67
e08ecf1a7f
webui: fix column width on bug 2020-01-23 21:40:53 +01:00
ludovicm67
42219ab655
webui: custom image tag 2020-01-23 21:36:49 +01:00
Quentin Gliech
5374a74ecb
webui: use the IntrospectionFragmentMatcher & update dependencies 2020-01-21 21:01:51 +01:00
Quentin Gliech
0ad23d0e24
webui: Fix bug listing style 2019-09-04 20:14:32 +02:00
Michael Muré
87c64cd8fb
webui: upgrade to material-ui 4 2019-08-31 22:07:06 +02:00
Michael Muré
0020e60893
webui: fix a missing key 2019-08-31 13:44:40 +02:00
Michael Muré
c56801b7df
webui: update react-scripts 2019-08-31 13:43:52 +02:00
Amine Hilaly
23239cc176
webui: recompile the web interface 2019-08-26 23:55:18 +02:00
Michael Muré
cb3bddf765
Merge pull request #160 from MichaelMure/dependabot/npm_and_yarn/webui/js-yaml-3.13.1
build(deps): bump js-yaml from 3.13.0 to 3.13.1 in /webui
2019-06-06 12:53:51 +02:00
dependabot[bot]
98625825f8
build(deps): bump handlebars from 4.1.1 to 4.1.2 in /webui
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.1...v4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-05 23:13:49 +00:00
dependabot[bot]
bcba3563eb
build(deps): bump js-yaml from 3.13.0 to 3.13.1 in /webui
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.13.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.13.0...3.13.1)
2019-06-05 08:00:21 +00:00
dependabot-preview[bot]
0e8e4c2171
build(deps): [security] bump tar from 4.4.1 to 4.4.9 in /webui
Bumps [tar](https://github.com/npm/node-tar) from 4.4.1 to 4.4.9. **This update includes security fixes.**
- [Release notes](https://github.com/npm/node-tar/releases)
- [Commits](https://github.com/npm/node-tar/compare/v4.4.1...v4.4.9)
2019-06-03 05:18:14 +00:00
Michael Muré
f20708ad36
Merge pull request #150 from MichaelMure/sandhose/webui/markdown
webui: Render markdown in messages
2019-05-23 02:26:03 +02:00
Quentin Gliech
356d1b412c
webui: Render markdown 2019-05-22 22:06:31 +02:00
Quentin Gliech
1c2ee10ce7
graphql: Implement Authored whenever possible
webui: Use a fragment for Authored nodes
2019-05-22 21:46:43 +02:00
Amine Hilaly
aa6247ce87
webui: Add Label gql fragment 2019-05-22 20:41:03 +02:00
Amine Hilaly
511ef0105c
Webui: use grahql response to create labels colors 2019-05-22 20:38:00 +02:00
Quentin Gliech
a43c7ea1c8
webui: Bump dependencies 2019-05-22 19:59:33 +02:00
Quentin Gliech
51ca8527dc
webui: Rework pagination 2019-05-22 19:52:01 +02:00
Quentin Gliech
d79ef7a794
webui: Migrate to Material-UI's new style API 2019-05-22 19:52:01 +02:00
Michael Muré
e028b895aa
webui: pack it 2019-03-31 21:53:48 +02:00
Michael Muré
dcf9738674
Merge pull request #104 from MichaelMure/sandhose/webui-timeline
Use Timeline API instead of raw operations
2019-03-31 21:39:14 +02:00
Quentin Gliech
67c84af4d7
webui: Upgrade dependencies
@material-ui/core: 1.5.1 → 3.9.3
@material-ui/icons: 2.0.3 → 3.0.2
apollo-boost: 0.1.23 → 0.3.1
graphql: 14.0.2 → 14.2.0
moment: 2.23.0 → 2.24.0
react: 16.7.0 → 16.8.6
react-apollo: 2.3.3 → 2.5.3
react-dom: 16.7.0 → 16.8.6
react-router: 4.3.1 → 5.0.0
react-router-dom: 4.3.1 → 5.0.0
react-scripts: 2.1.3 → 2.1.8

eslint-config-prettier: 3.3.0 → 4.1.0
eslint-plugin-prettier: 2.7.0 → 3.0.1
prettier: 1.15.3 → 1.16.4
2019-03-30 21:40:56 +01:00
Quentin Gliech
22089b5e62
webui: Rework timeline style 2019-03-30 20:50:59 +01:00
Quentin Gliech
850b9db874
webui: Use Timeline API instead of raw operations 2019-03-30 20:50:48 +01:00
Michael Muré
433c4fc46a
upgrade webui dependency 2019-01-07 22:51:55 +01:00
Michael Muré
8fc15a032f
webui: upgrade npm dependencies to fix https://nvd.nist.gov/vuln/detail/CVE-2018-16469 2018-12-23 13:57:40 +01:00