Commit Graph

8 Commits

Author SHA1 Message Date
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é
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
ludovicm67
d0a6da286a
webui: finish TypeScript conversion 2020-02-12 23:09:45 +01:00
Quentin Gliech
b70b4ba4b1
webui: lint graphql files 2020-02-11 22:11:08 +01:00
Quentin Gliech
9ddcb4b092
webui: force import order 2020-02-11 20:54:38 +01:00
Quentin Gliech
6a502c145b
webui: convert bug list to typescript 2020-02-11 20:54:37 +01:00
Quentin Gliech
a2721971ba
webui: generate TS types for graphql queries 2020-02-11 20:54:36 +01:00
Quentin Gliech
5374a74ecb
webui: use the IntrospectionFragmentMatcher & update dependencies 2020-01-21 21:01:51 +01:00