Commit Graph

1579 Commits

Author SHA1 Message Date
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
2a1c77236c GrapQL: Regenerate the GraphQL-Server 2021-03-19 17:49:44 +01:00
Sascha
cc7788ad44 GraphQL: Add target to EditCommentInput 2021-03-19 17:49:41 +01:00
Sascha
c6d15bd52b Fix compilation errors 2021-03-19 17:49:40 +01:00
Sascha
50cd1a9c17 GraphQL: Add EditComment input/payload to gen_models 2021-03-19 17:49:38 +01:00
Sascha
4960448ac7 GraphQL: Add EditComment mutation to schema 2021-03-19 17:49:36 +01:00
Sascha
19a68deabb GraphQL: Add EditComment to mutation type 2021-03-19 17:49:34 +01:00
Sascha
79cc9884b3 GraphQL: Resolve new EditComment mutation 2021-03-19 17:49:31 +01:00
Sascha
0dcb48d03a Add EditButton to bug message 2021-03-19 17:49:27 +01:00
Michael Muré
e0a7088ba0
Merge pull request #599 from GlancingMind/upstream-fix-color-of-green-buttons
WebUI: Fix hover-color of green buttons and caption
2021-03-18 19:51:03 +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
Michael Muré
501e1678b2
Merge pull request #588 from GlancingMind/upstream-dark-colorscheme
Dark Colorscheme
2021-03-07 22:09:41 +01:00
Michael Muré
2a21b02af1
Merge pull request #593 from vmiklos/webui-query
webui: allow specifying the initial query
2021-03-07 21:46:55 +01:00
Michael Muré
3a819525d7
commands: minor fixes for the webui open with query
- go fmt
- add a shorthand
- fix displayed webUI URL in the terminal
2021-03-07 21:44:48 +01:00
Miklos Vajna
626ec9835b webui: allow specifying the initial query
Example use-case: given a github URL in a source code comment or commit
message, one can now run:

git bug webui --query 'metadata:github-url:"https://github.com/author/myproject/issues/42"'

on the commandline to look up the details of that issue on the web ui
quickly, offline.

Fixes <https://github.com/MichaelMure/git-bug/issues/592>.
2021-03-07 14:11:04 +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