Commit Graph

272 Commits

Author SHA1 Message Date
Sascha
1e411f5abf Fix eslint empty line error 2021-03-21 17:46:07 +01:00
Sascha
8d8eb2942f Add test navbar 2021-03-21 17:43:06 +01:00
Sascha
b7ddb22558 Fixate message counter to end of bug row
Previously the counter has shifted around depending on the length of the bug
titles.
2021-03-20 14:32:22 +01:00
Sascha
c610d942fc Remove TODO comments 2021-03-20 11:14:24 +01:00
Sascha
4c5a0f37f7 Improve message history accordions
- Add unfold icon to edit history accordions
- Change order of edit number. Most recent should have highest id and initial
  description should always have "#1 Edit"
- Add "(Initial description)' to title of the first comment version
2021-03-20 11:14:13 +01:00
Sascha
688cc33ccc Display real number of comment 2021-03-19 20:47:37 +01:00
Sascha
4c7761461b Add message icon with placeholder count 2021-03-19 20:47:37 +01:00
Sascha
6f26afb74f Number accordion elements 2021-03-19 17:53:25 +01:00
Sascha
5b562559e3 Fix eslint pipeline fail hopefully 2021-03-19 17:53:22 +01:00
Sascha
bd316ef9ef Improve readability of accordion summary 2021-03-19 17:53:17 +01:00
Sascha
de9dd69891 Sort history from most recent edit to old 2021-03-19 17:53:12 +01:00
Sascha
dfb039a936 Rename MessageEditHistoryQuery 2021-03-19 17:53:09 +01:00
Sascha
155b37e81f Use dialog with accordion for message history menu 2021-03-19 17:53:04 +01:00
Sascha
d453abdeed Move toggle button out of history menu 2021-03-19 17:53:00 +01:00
Sascha
defd1ae00c Populate history menu with edit steps 2021-03-19 17:52:57 +01:00
Sascha
25d3aca9ad Add test menu for edit history 2021-03-19 17:52:54 +01:00
Sascha
58e1240560 Add space between edit button and edited indicator 2021-03-19 17:52:47 +01:00
Sascha
142adfd2b1 Update message view after editing 2021-03-19 17:52:43 +01:00
Sascha
b06f7c7816 Reduced arbitary variable names 2021-03-19 17:52:35 +01:00
Sascha
9fb033ef19 Return of new comment works...
...but the types are quite hacky
2021-03-19 17:52:32 +01:00
Sascha
d6c3ffa984 Fix graphql filename capitalization 2021-03-19 17:52:27 +01:00
Sascha
d4f96fa91f Use theme colors for submit button 2021-03-19 17:52:22 +01:00
Sascha
0e3caba922 Update comment on submit 2021-03-19 17:52:12 +01:00
Sascha
9f6c045f8b Several fixes
- Fix misspelling of cancel...
- Fix flickering of green "update comment" button
- Fill input with comment text
- Close edit view after submit
2021-03-19 17:52:03 +01:00
Sascha
c874d111f5 Create EditCommentForm and handle cancle button 2021-03-19 17:51:58 +01:00
Sascha
0cd5c84d59 Fix CommentForm margin 2021-03-19 17:51:51 +01:00
Sascha
2483b27296 Display comment form on edit click 2021-03-19 17:51:40 +01:00
Sascha
d82c481e00 Fix remove .swp files 2021-03-19 17:51:35 +01:00
Sascha
cd4b1adebb Pass BugFragment as prop to EditComment 2021-03-19 17:51:28 +01:00
Sascha
26ad5fc379 Add onClick handler to edit button 2021-03-19 17:49:46 +01:00
Sascha
0dcb48d03a Add EditButton to bug message 2021-03-19 17:49:27 +01:00
Michael Muré
07e1c45cd7 webui: minor code fixes 2021-03-19 17:04:59 +01:00
Sascha
833f020a9b Use BackToList button on 404-Page 2021-03-15 16:35:14 +01:00
Lena
09fabc98a3 Adjust Button #10 2021-03-15 16:35:14 +01:00
Lena
ac17596c1a Refactor BackToListButton #10 2021-03-15 16:35:14 +01:00
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