Commit Graph

1733 Commits

Author SHA1 Message Date
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
Alexander Scharinger
689b640bbb Deal with github bridge import rate limit 2021-02-28 21:03:10 +01:00
Michael Muré
3957d4a027
Merge pull request #563 from MichaelMure/dependabot/go_modules/github.com/spf13/cobra-1.1.3
build(deps): bump github.com/spf13/cobra from 1.1.1 to 1.1.3
2021-02-27 21:34:12 +01:00
Michael Muré
3174eab88d
Merge pull request #570 from MichaelMure/dependabot/go_modules/github.com/xanzy/go-gitlab-0.44.0
build(deps): bump github.com/xanzy/go-gitlab from 0.40.1 to 0.44.0
2021-02-27 21:25:44 +01:00
Michael Muré
365073d022 cmd: better powershell completion, thanks to cobra upgrade 2021-02-27 21:24:26 +01:00
dependabot-preview[bot]
94b40d97ac
build(deps): bump github.com/xanzy/go-gitlab from 0.40.1 to 0.44.0
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.40.1 to 0.44.0.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.40.1...v0.44.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-27 19:45:09 +00:00
dependabot-preview[bot]
b9f1bf6cdf
build(deps): bump github.com/spf13/cobra from 1.1.1 to 1.1.3
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.1.1 to 1.1.3.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.1.1...v1.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-27 19:45:04 +00:00
Michael Muré
22cc4cc043
Merge pull request #568 from vmiklos/search-metadata
Add ability to search by arbitrary metadata
2021-02-27 20:39:27 +01:00
Michael Muré
fab626a7a6 query: refactor to reuse the split function for both query and token 2021-02-27 20:31:10 +01:00
Miklos Vajna
cb61245078 Add ability to search by arbitrary metadata
Example:

~/git/git-bug/git-bug ls --metadata github-url=https://github.com/author/myproject/issues/42

or

~/git/git-bug/git-bug ls metadata:github-url:\"https://github.com/author/myproject/issues/42\"

Fixes the cmdline part of <https://github.com/MichaelMure/git-bug/issues/567>.
2021-02-21 14:15:50 +01:00
Michael Muré
bd09541752
entity: no sign-post needed 2021-02-20 14:37:06 +01:00
Michael Muré
10a259b682
doc: cleanup query documentation 2021-02-20 13:24:28 +01:00
Michael Muré
a95b6b37b0
Merge pull request #569 from claudioantonio/master
Commits for issues #554, #564 and #566
2021-02-19 23:59:17 +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
Michael Muré
45e540c178
bug: wrap dag.Entity into a full Bug in MergeAll 2021-02-14 12:38:09 +01:00
Michael Muré
1ced77af1a
fix merge 2021-02-14 12:24:40 +01:00
Michael Muré
d0d7be8db0
minor cleanups 2021-02-14 12:19:51 +01:00
Michael Muré
4b9862e239
entity: make sure merge commit don't have operations 2021-02-14 12:19:51 +01:00
Michael Muré
3f6ef50883
bug: migrate to the DAG entity structure! 2021-02-14 12:19:50 +01:00