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