Skip to content

Commit

Permalink
feat: improve help on toolbar
Browse files Browse the repository at this point in the history
suggested in #52
made 'Help' a dropdown with links to
- 'GitHub'
- 'Report an issue/feature request'
- 'Docs'
  • Loading branch information
JosephKav committed May 23, 2022
1 parent 26df3b3 commit e15aed9
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 15 deletions.
30 changes: 23 additions & 7 deletions web/ui/react-app/src/components/header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,29 @@ const Header = () => {
Configuration
</NavDropdown.Item>
</NavDropdown>
<Nav.Link
href="https://release-argus.io/docs"
target="_blank"
rel="noreferrer noopener"
>
Help
</Nav.Link>
<NavDropdown title="Help" id="basic-nav-dropdown">
<NavDropdown.Item
href="https://github.com/release-argus/Argus"
target="_blank"
rel="noreferrer noopener"
>
GitHub (source)
</NavDropdown.Item>
<NavDropdown.Item
href="https://github.com/release-argus/Argus/issues"
target="_blank"
rel="noreferrer noopener"
>
Report an issue/feature request
</NavDropdown.Item>
<NavDropdown.Item
href="https://release-argus.io/docs"
target="_blank"
rel="noreferrer noopener"
>
Docs
</NavDropdown.Item>
</NavDropdown>
</Nav>
</Navbar.Collapse>
<ThemeToggle />
Expand Down
6 changes: 3 additions & 3 deletions web/ui/static/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"files": {
"main.css": "./static/css/main.a965f714.css",
"main.js": "./static/js/main.c10d195b.js",
"main.js": "./static/js/main.bc157e29.js",
"index.html": "./index.html",
"main.a965f714.css.map": "./static/css/main.a965f714.css.map",
"main.c10d195b.js.map": "./static/js/main.c10d195b.js.map"
"main.bc157e29.js.map": "./static/js/main.bc157e29.js.map"
},
"entrypoints": [
"static/css/main.a965f714.css",
"static/js/main.c10d195b.js"
"static/js/main.bc157e29.js"
]
}
2 changes: 1 addition & 1 deletion web/ui/static/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.svg" type="image/svg+xml"/><link rel="apple-touch-icon" href="./apple-touch-icon.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="Argus" content="Monitor new releases"/><link rel="apple-touch-icon" href="./favicon.png"/><link rel="manifest" href="./manifest.json"/><title>Argus</title><script defer="defer" src="./static/js/main.c10d195b.js"></script><link href="./static/css/main.a965f714.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.svg" type="image/svg+xml"/><link rel="apple-touch-icon" href="./apple-touch-icon.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="Argus" content="Monitor new releases"/><link rel="apple-touch-icon" href="./favicon.png"/><link rel="manifest" href="./manifest.json"/><title>Argus</title><script defer="defer" src="./static/js/main.bc157e29.js"></script><link href="./static/css/main.a965f714.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions web/ui/static/static/js/main.bc157e29.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion web/ui/static/static/js/main.c10d195b.js.map

This file was deleted.

0 comments on commit e15aed9

Please sign in to comment.