mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-07 16:22:42 +00:00
Merge branch 'experimentalLocalStorageHistory' of https://github.com/G-Ambatte/homebrewery into experimentalLocalStorageHistory
This commit is contained in:
36
.github/pull_request_template.md
vendored
Normal file
36
.github/pull_request_template.md
vendored
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
<!--
|
||||||
|
Before submitting a Pull Request, please consider the following to speed up reviews:
|
||||||
|
- 👷♀️ Create small PRs. Large PRs can usually be broken down into incremental PRs.
|
||||||
|
- 🚩 Do you already have several open PRs? Consider finishing or asking for help with existing PRs first.
|
||||||
|
- 🔧 Does your PR reference a discussed and approved issue, especially for personal or edge-case requests?
|
||||||
|
- 💡 Is the solution agreed upon? Save rework time by discussing strategy before coding.
|
||||||
|
-->
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
|
||||||
|
## Related Issues or Discussions
|
||||||
|
|
||||||
|
- Closes #
|
||||||
|
|
||||||
|
## QA Instructions, Screenshots, Recordings
|
||||||
|
|
||||||
|
_Please replace this line with instructions on how to test or view your changes, as well as any before/after
|
||||||
|
images for UI changes._
|
||||||
|
|
||||||
|
### Reviewer Checklist
|
||||||
|
|
||||||
|
_Please replace the list below with specific features you want reviewers to look at._
|
||||||
|
|
||||||
|
*Reviewers, refer to this list when testing features, or suggest new items *
|
||||||
|
- [ ] Verify new features are functional
|
||||||
|
- [ ] Feature A does X
|
||||||
|
- [ ] Feature B does Y
|
||||||
|
- [ ] Verify old features have not broken
|
||||||
|
- [ ] Feature Z can still be used
|
||||||
|
- [ ] Test for edge cases / try to break things
|
||||||
|
- [ ] Feature A handles negative numbers
|
||||||
|
- [ ] Identify opportunities for simplification and refactoring
|
||||||
|
- [ ] Check for code legibility and appropriate comments
|
||||||
|
|
||||||
|
<details><summary>Copy this list</summary>
|
||||||
@@ -70,7 +70,7 @@ const Snippetbar = createClass({
|
|||||||
mergeCustomizer : function(oldValue, newValue, key) {
|
mergeCustomizer : function(oldValue, newValue, key) {
|
||||||
if(key == 'snippets') {
|
if(key == 'snippets') {
|
||||||
const result = _.reverse(_.unionBy(_.reverse(newValue), _.reverse(oldValue), 'name')); // Join snippets together, with preference for the child theme over the parent theme
|
const result = _.reverse(_.unionBy(_.reverse(newValue), _.reverse(oldValue), 'name')); // Join snippets together, with preference for the child theme over the parent theme
|
||||||
return _.filter(result, 'gen'); //Only keep snippets with a 'gen' property.
|
return result.filter(snip => snip.gen || snip.subsnippets);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -1,32 +1,13 @@
|
|||||||
body {
|
|
||||||
height : 100vh;
|
|
||||||
|
|
||||||
.content { height : 100%; }
|
|
||||||
|
|
||||||
small {
|
|
||||||
font-size : 10pt;
|
|
||||||
color : #555555;
|
|
||||||
|
|
||||||
a { color : #333333; }
|
|
||||||
}
|
|
||||||
|
|
||||||
code {
|
|
||||||
padding-inline : 5px;
|
|
||||||
background : lightgrey;
|
|
||||||
border-radius : 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
*:not(input) { user-select : none; }
|
|
||||||
}
|
|
||||||
|
|
||||||
.vaultPage {
|
.vaultPage {
|
||||||
height : 100%;
|
height : 100%;
|
||||||
overflow-y : hidden;
|
overflow-y : hidden;
|
||||||
background-color : #2C3E50;
|
background-color : #2C3E50;
|
||||||
|
|
||||||
|
*:not(input) { user-select : none; }
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
background : #2C3E50;
|
background : #2C3E50;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
.dataGroup {
|
.dataGroup {
|
||||||
width : 100%;
|
width : 100%;
|
||||||
@@ -37,12 +18,25 @@ body {
|
|||||||
position : relative;
|
position : relative;
|
||||||
padding : 50px clamp(20px, 4vw, 50px);
|
padding : 50px clamp(20px, 4vw, 50px);
|
||||||
|
|
||||||
|
small {
|
||||||
|
font-size : 10pt;
|
||||||
|
color : #555555;
|
||||||
|
|
||||||
|
a { color : #333333; }
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
padding-inline : 5px;
|
||||||
|
background : lightgrey;
|
||||||
|
border-radius : 5px;
|
||||||
|
font-family : monospace;
|
||||||
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4 {
|
h1, h2, h3, h4 {
|
||||||
font-family : 'CodeBold';
|
font-family : 'CodeBold';
|
||||||
letter-spacing : 2px;
|
letter-spacing : 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
legend {
|
legend {
|
||||||
h3 {
|
h3 {
|
||||||
margin-block : 30px 20px;
|
margin-block : 30px 20px;
|
||||||
@@ -144,8 +138,6 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#searchButton {
|
#searchButton {
|
||||||
position : absolute;
|
position : absolute;
|
||||||
right : 20px;
|
right : 20px;
|
||||||
@@ -167,7 +159,6 @@ body {
|
|||||||
font-family : 'BookInsanityRemake';
|
font-family : 'BookInsanityRemake';
|
||||||
font-size : 0.34cm;
|
font-size : 0.34cm;
|
||||||
|
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
font-family : 'Open Sans';
|
font-family : 'Open Sans';
|
||||||
font-weight : 900;
|
font-weight : 900;
|
||||||
|
|||||||
8
package-lock.json
generated
8
package-lock.json
generated
@@ -52,7 +52,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@stylistic/stylelint-plugin": "^3.0.1",
|
"@stylistic/stylelint-plugin": "^3.0.1",
|
||||||
"eslint": "^9.9.1",
|
"eslint": "^9.9.1",
|
||||||
"eslint-plugin-jest": "^28.8.2",
|
"eslint-plugin-jest": "^28.8.3",
|
||||||
"eslint-plugin-react": "^7.35.2",
|
"eslint-plugin-react": "^7.35.2",
|
||||||
"globals": "^15.9.0",
|
"globals": "^15.9.0",
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
@@ -5878,9 +5878,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint-plugin-jest": {
|
"node_modules/eslint-plugin-jest": {
|
||||||
"version": "28.8.2",
|
"version": "28.8.3",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-28.8.2.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-28.8.3.tgz",
|
||||||
"integrity": "sha512-mC3OyklHmS5i7wYU1rGId9EnxRI8TVlnFG56AE+8U9iRy6zwaNygZR+DsdZuCL0gRG0wVeyzq+uWcPt6yJrrMA==",
|
"integrity": "sha512-HIQ3t9hASLKm2IhIOqnu+ifw7uLZkIlR7RYNv7fMcEi/p0CIiJmfriStQS2LDkgtY4nyLbIZAD+JL347Yc2ETQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/utils": "^6.0.0 || ^7.0.0 || ^8.0.0"
|
"@typescript-eslint/utils": "^6.0.0 || ^7.0.0 || ^8.0.0"
|
||||||
|
|||||||
@@ -127,7 +127,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@stylistic/stylelint-plugin": "^3.0.1",
|
"@stylistic/stylelint-plugin": "^3.0.1",
|
||||||
"eslint": "^9.9.1",
|
"eslint": "^9.9.1",
|
||||||
"eslint-plugin-jest": "^28.8.2",
|
"eslint-plugin-jest": "^28.8.3",
|
||||||
"eslint-plugin-react": "^7.35.2",
|
"eslint-plugin-react": "^7.35.2",
|
||||||
"globals": "^15.9.0",
|
"globals": "^15.9.0",
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user