aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCláudio <claudio.engdist@gmail.com>2021-01-24 08:17:04 -0300
committerCláudio <claudio.engdist@gmail.com>2021-01-24 08:17:04 -0300
commit9ad4469f9b59e7afe5542474f15a34ae4a690561 (patch)
treef40e6bba01666929d9be64db3534f0386751b7e3
parent078c85be4ece0e3d3c1dd9b71c819fa70ea3348b (diff)
downloadgit-bug-9ad4469f9b59e7afe5542474f15a34ae4a690561.tar.gz
Partial commit to #158
- Prettier package update to fix CRLF problem when running on Windows
-rw-r--r--webui/package-lock.json6
-rw-r--r--webui/package.json2
-rw-r--r--webui/src/pages/list/ListQuery.css0
-rw-r--r--webui/src/pages/list/ListQuery.tsx33
4 files changed, 22 insertions, 19 deletions
diff --git a/webui/package-lock.json b/webui/package-lock.json
index 47d5e17d..8809a0ba 100644
--- a/webui/package-lock.json
+++ b/webui/package-lock.json
@@ -17570,9 +17570,9 @@
"integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw="
},
"prettier": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.1.2.tgz",
- "integrity": "sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg==",
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.1.tgz",
+ "integrity": "sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==",
"dev": true
},
"prettier-linter-helpers": {
diff --git a/webui/package.json b/webui/package.json
index 4f2a8da4..39696a25 100644
--- a/webui/package.json
+++ b/webui/package.json
@@ -38,7 +38,7 @@
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-graphql": "^4.0.0",
"eslint-plugin-prettier": "^3.1.4",
- "prettier": "^2.1.2"
+ "prettier": "^2.2.1"
},
"scripts": {
"start": "npm run generate && react-scripts start",
diff --git a/webui/src/pages/list/ListQuery.css b/webui/src/pages/list/ListQuery.css
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/webui/src/pages/list/ListQuery.css
diff --git a/webui/src/pages/list/ListQuery.tsx b/webui/src/pages/list/ListQuery.tsx
index 7eb6f4c5..f60b6154 100644
--- a/webui/src/pages/list/ListQuery.tsx
+++ b/webui/src/pages/list/ListQuery.tsx
@@ -271,21 +271,24 @@ function ListQuery() {
return (
<Paper className={classes.main}>
<header className={classes.header}>
- <h1>Issues</h1>
- <form onSubmit={formSubmit}>
- <InputBase
- placeholder="Filter"
- value={input}
- onInput={(e: any) => setInput(e.target.value)}
- classes={{
- root: classes.search,
- focused: classes.searchFocused,
- }}
- />
- <button type="submit" hidden>
- Search
- </button>
- </form>
+ <div className="filterissue-container">
+ <h1>Issues</h1>
+ <form onSubmit={formSubmit}>
+ <InputBase
+ placeholder="Filter"
+ value={input}
+ onInput={(e: any) => setInput(e.target.value)}
+ classes={{
+ root: classes.search,
+ focused: classes.searchFocused,
+ }}
+ />
+ <button type="submit" hidden>
+ Search
+ </button>
+ </form>
+ </div>
+ <button className="bt-new-issue">New Issue</button>
</header>
<FilterToolbar query={query} queryLocation={queryLocation} />
{content}