Commit Graph

1854 Commits

Author SHA1 Message Date
Sascha
0b3acaa321 Remove mistakenly commited patch file 2021-03-15 21:29:20 +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
Alexander Scharinger
d7f555b437 Github bridge: try again in case of web API error 2021-03-15 08:39:08 +01:00
Alexander Scharinger
93b14c509b Remove maps containing channels.
The old implementation of the github bridge used maps to store several
channels holding data obtained from the Github API. Removing the maps and
simply packing data and channels together in a struct and passing it
through one single channel makes the program simpler in terms of
concurrency and, additionally, enables the garbage collector to free the
memory gradually without any additional provisions.
2021-03-15 07:15:00 +01:00
Alexander Scharinger
9a8e487613 Fix errors: deadlock and empty titles 2021-03-15 07:14:40 +01:00
Michael Muré
214abe4dea
WIP operation with files 2021-03-14 18:41:22 +01:00
Michael Muré
f1d4a19af8
bug: nonce on all operation to prevent id collision 2021-03-14 18:40:50 +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
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é
87bc42fb46
Merge pull request #584 from MichaelMure/upstream-host-cmdflag
Add option to specify host address
2021-02-28 21:39:57 +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
Sascha
ea329aed69 Add option to specify host address
'--host'-cmdline-option is added to the webui command.

Previously, the WebUI couldn't be hosted inside of a container. As the
WebUI-server only listend per default to localhost and there was no
option to change the address, the server should listend to. This means,
that the WebUI was only reachable from localhost. So only from inside of
the container but never from outside.
The '--host'-option allows to set the IP address or a hostname
which the WebUI-server should listen to. E.g. by setting 0.0.0.0 or ::
as address.

Update documentation for new option.

Update shell completion for new option.

Compilation seems to add another go-gitlab version.
2021-02-28 21:20:15 +01:00