Commit Graph

237 Commits

Author SHA1 Message Date
Lena
cd02d80ca2 Make BackButton a component and Add it to NewBugPage #10 2021-03-15 16:35:14 +01:00
Lena
07f3163296 #10 Add redirect to detail page after creating new bug 2021-03-15 16:35:14 +01:00
Sascha
de26990afc Adjust BackToList button color for dark/light-mode
The AppBar is commonly used for navigation. As the BackToList button is a
navigation element, use similar colors as the AppBar.
2021-03-15 16:35:14 +01:00
Lena
46d38aa53f Route instead of Redirect from empty bug to 404 after a hint from GM #10 2021-03-15 16:35:14 +01:00
Lena
ec8a9b2069 Backbutton to left with patch from GlancingMind, Adjusting and 404 for missing bug pages #10 2021-03-15 16:35:14 +01:00
Lena
16b176f9bf Make backbutton sticky #10 2021-03-15 16:35:14 +01:00
Lena
4dcc6f67b3 Add backlink to 404 page #10 2021-03-15 16:35:14 +01:00
Lena
cdf655f869 Add 404 page #10 2021-03-15 16:35:14 +01:00
Lena
c223c75c11 Add back-to-list-button #10 2021-03-15 16:35:14 +01:00
Sascha
2c5d3345e2 Change caption of buttons from "Issue" to "Bug" 2021-03-14 16:34:25 +01:00
Sascha
d0505e2f9a Use success.dark for green-button:hover 2021-03-14 16:33:21 +01:00
Sascha
c2c5c40e75 Change color of ModeIcon
Will use contrastText which should always make the icon visible, but use fade
to dimme the contrast down.
2021-03-06 17:34:45 +01:00
Sascha
188ee0567c Ignore system prefered colorscheme mode
Currently this introduces to much state problems.
2021-03-06 17:34:45 +01:00
Sascha
56d50e98cf Revert rename 2021-03-05 10:42:56 +01:00
Sascha
72eb505308 Rename "bug" to "issue" 2021-03-04 20:54:04 +01:00
Sascha
79422fafb2 Use info.contrastText instead of text.secondary
This will ensure better color managment for Message titles
2021-03-04 20:54:04 +01:00
Sascha
41c3e6ed04 Use Green color from Light theme 2021-03-04 20:54:04 +01:00
Sascha
288448b64b Reuse BugTitleInput component 2021-03-04 20:54:04 +01:00
Sascha
e040fc807e Implement title inputfield as custom component 2021-03-04 20:54:04 +01:00
Sascha
50484fb97e Fix spacing between cancle and save button 2021-03-04 20:54:04 +01:00
Sascha
8e8ca99bd5 Use colors from theme palette
- Use theme colors for title input.
- Remove inputTitle classes as they are not applied to the TextField.
  This will lead to double borders and artifacts at the field corners.
2021-03-04 20:54:04 +01:00
Sascha
c24b7370f4 Add Icon to "Close Issue"-button 2021-03-04 20:54:04 +01:00
Sascha
b918c9facd Revert restructuring between App.tsx and index.tsx
This should prevent unnecessary merge conflicts.
2021-03-04 20:53:33 +01:00
Sascha
c8a5330bde Fix padding around issue comments 2021-03-04 20:53:28 +01:00
Sascha
9f6dcc887d Use proper semantic color values
Adjust header colors on light theme

- Use adjusted background-color for header instead of text.hint.
- Use slightly darker secondary font color for better readability against the
  head background color.

Use more semantic theme colors for bug list
Use more semantic theme colors for bug messages
Fix usage of text hint for filter header
2021-03-04 20:53:28 +01:00
Sascha
548febcbc7 Define each theme in own file under themes dir 2021-03-04 20:53:28 +01:00
Sascha
680ede3df6 Fix (hopefully) eslint error on node 14.x pipeline 2021-03-04 20:53:28 +01:00
Sascha
9cac03652c Inject theme instead of defining it in Themer.tsx 2021-03-04 20:53:28 +01:00
Sascha
9280e437b0 Fix Bug description header for dark mode 2021-03-04 20:53:28 +01:00
Sascha
7beffb8718 Fix searchbar background-color for dark mode 2021-03-04 20:53:28 +01:00
Sascha
b996779197 Fix backgroundcolor of toolbar for dark mode 2021-03-04 20:53:28 +01:00
Sascha
30587cc03f Fix color of open/close filter buttons in dark mode 2021-03-04 20:53:28 +01:00
Sascha
c834c03b80 Use brower preference and persist theme mode 2021-03-04 20:53:27 +01:00
Sascha
8c17d730ef Add button to toggle between light- and dark-mode 2021-03-04 20:53:27 +01:00
Michael Muré
78ca278319
Merge pull request #520 from MichaelMure/dependabot/npm_and_yarn/webui/node-notifier-8.0.1
build(deps): [security] bump node-notifier from 8.0.0 to 8.0.1 in /webui
2021-02-28 21:36:46 +01:00
Cláudio
0d9c358c12 Commit for #554
- New build after removing images from public folder
2021-02-19 19:22:22 -03:00
Cláudio
1410911d9d Commit for #564
- Remove images for ReactJS, MaterialUI, GraphQL and Apollo GraphQL
2021-02-19 19:16:33 -03:00
Cláudio
729520b80a Commit for #554 2021-02-15 00:03:58 -03:00
Cláudio
76d1ea1f4f Commits for issues #564 e #566 2021-02-14 23:48:37 -03:00
Cláudio Silva
956f98b676
Merge pull request #536 from MichaelMure/dependabot/npm_and_yarn/webui/graphql-tools/git-loader-6.2.6
build(deps): [security] bump @graphql-tools/git-loader from 6.2.4 to 6.2.6 in /webui
2021-02-11 18:16:23 -03:00
Michael Muré
3b08731aaa
Merge pull request #559 from claudioantonio/webui_543_ifloggedin
Webui 543 ifloggedin
2021-02-09 10:04:26 +01:00
Michael Muré
3d86c1cc78
Apply suggestions from code review 2021-02-09 10:03:26 +01:00
Cláudio
7829db8850 Commit for #543
- To test I forced Ifloggedin always return null.
- Layout is ok even when edition components are hidden.
2021-02-08 22:58:15 -03:00
Cláudio
e47052bd3a Commit for #557
- Formatting
2021-02-08 18:48:44 -03:00
Cláudio
96d51912c8 Commit for #557
- Formatting
2021-02-08 18:47:00 -03:00
Cláudio
8d71888c6d Commit for #557
- Adding more details
- Tip when lint error occur
2021-02-08 18:44:18 -03:00
Michael Muré
ef7a0f1b11
Merge pull request #555 from claudioantonio/master
Commit for #541
2021-02-08 09:35:45 +01:00
Cláudio Silva
c5313bd4f2
Merge pull request #517 from MichaelMure/dependabot/npm_and_yarn/webui/ini-1.3.8
build(deps): [security] bump ini from 1.3.5 to 1.3.8 in /webui
2021-02-05 19:53:13 -03:00
Cláudio
29ea8df425 Commit for #541 2021-02-05 19:36:09 -03:00
Cláudio Silva
12323b9439
Webui 548 (#549)
* Commit for #548

* Commit for #548
2021-02-05 12:45:11 +01:00
Michael Muré
52f6563495
Merge pull request #547 from claudioantonio/webui_546
Webui 546
2021-02-05 10:38:38 +01:00
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