Gazook89
5af45f16b0
remove tagInput-class
...
This file was just the old StringArrayEditor that I kept around for easy reference. Can be deleted now.
2024-09-23 14:54:24 -05:00
Gazook89
a9b6d5ff38
Merge branch 'master' into Functional-Tag-Editor
2024-09-23 14:53:41 -05:00
Trevor Buckner
cd0bf9c947
Merge pull request #3740 from naturalcrit/dependabot/npm_and_yarn/stylelint-config-recess-order-5.1.1
...
Bump stylelint-config-recess-order from 5.1.0 to 5.1.1
2024-09-23 15:20:43 -04:00
dependabot[bot]
c039a90624
Bump stylelint-config-recess-order from 5.1.0 to 5.1.1
...
Bumps [stylelint-config-recess-order](https://github.com/stormwarning/stylelint-config-recess-order ) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/stormwarning/stylelint-config-recess-order/releases )
- [Changelog](https://github.com/stormwarning/stylelint-config-recess-order/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stormwarning/stylelint-config-recess-order/compare/v5.1.0...v5.1.1 )
---
updated-dependencies:
- dependency-name: stylelint-config-recess-order
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-23 15:17:32 +00:00
Trevor Buckner
0e8387ec0d
Merge pull request #3734 from naturalcrit/dependabot/npm_and_yarn/mongoose-8.6.3
...
Bump mongoose from 8.6.2 to 8.6.3
2024-09-23 11:16:08 -04:00
dependabot[bot]
1347374ff7
Bump mongoose from 8.6.2 to 8.6.3
...
Bumps [mongoose](https://github.com/Automattic/mongoose ) from 8.6.2 to 8.6.3.
- [Release notes](https://github.com/Automattic/mongoose/releases )
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Automattic/mongoose/compare/8.6.2...8.6.3 )
---
updated-dependencies:
- dependency-name: mongoose
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-23 13:54:45 +00:00
Trevor Buckner
9419186e78
Merge pull request #3739 from naturalcrit/dependabot/npm_and_yarn/eslint-9.11.0
...
Bump eslint from 9.10.0 to 9.11.0
2024-09-23 09:53:30 -04:00
dependabot[bot]
58c6e6a446
Bump eslint from 9.10.0 to 9.11.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 9.10.0 to 9.11.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v9.10.0...v9.11.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-23 03:35:10 +00:00
Trevor Buckner
6e2bc1cabe
Merge pull request #3723 from naturalcrit/sort-in-vault
...
Add sorting options to Vault Page
2024-09-20 16:03:17 -04:00
Trevor Buckner
971be6375e
lint
2024-09-20 16:02:09 -04:00
Trevor Buckner
4353c01032
Update server/vault.api.js
2024-09-20 16:01:29 -04:00
Víctor Losada Hernández
d09cecedd7
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into sort-in-vault
2024-09-20 20:54:14 +02:00
Víctor Losada Hernández
235e3f484f
last changes, linted
2024-09-20 20:52:30 +02:00
Víctor Losada Hernández
b53b279241
fix pagination not applying sort
2024-09-20 20:38:54 +02:00
Víctor Losada Hernández
4fd358771a
fix class by suggestion
2024-09-20 20:25:33 +02:00
Víctor Losada Hernández
02147411e3
fix sort and dir props
2024-09-20 20:23:58 +02:00
Víctor Losada Hernández
5d68cddd18
update state when necessary
2024-09-20 15:43:19 +02:00
Víctor Losada Hernández
74a065e747
minor css fix
2024-09-20 15:31:19 +02:00
Gazook89
433f016c25
rename tag container class to unify with fields
2024-09-19 15:57:40 -05:00
Gazook89
10a9bc2906
Merge branch 'master' into Functional-Tag-Editor
2024-09-19 15:54:08 -05:00
Trevor Buckner
87c6343f30
Merge pull request #3736 from Gazook89/metadataEditor-tweaks
2024-09-19 16:51:37 -04:00
Gazook89
b585e85f0f
Fix multiple duplicate tags updating at once
...
Fixes an issue where tags with duplicate values would all update to the same value after editing just one.
Also an adjustment to the parameters that are passed to handleInputKeyDown-- they are now one object. This helps handle an "options" object where more optional features can be turned on and off.
2024-09-19 15:48:47 -05:00
Gazook89
544f4c6103
tweak headers
2024-09-19 15:29:35 -05:00
Gazook89
8a67e1eccd
Merge branch 'Functional-Tag-Editor' into Func-Tag-Editor-Features
2024-09-19 14:54:28 -05:00
Gazook89
a6ac6b98c2
some fixes and updates
...
This fixes something i broke with last commit, but should be final commit.
2024-09-19 11:09:22 -05:00
Gazook89
2336f8508b
Rearrange CSS and small HTML changes
...
Simplified and unified some font-size declarations, adjusted the "descriptions" for various inputs to be similar structure and appearance, change the components h1 label from "Brew" to "Properties Editor", updated the comment about Publishing.
2024-09-19 10:57:55 -05:00
Gazook89
7ea1696065
Adjust html structure to handle tags as list
...
Begin work on setting a better html structure for the component.
Create a .less file for the component, which I may not actually use.
2024-09-19 10:40:09 -05:00
Gazook89
5b4a7c168f
Add comma to "submit" buttons
...
Now comma (`,`) submits a tag, like `Enter`
2024-09-18 23:54:12 -05:00
Gazook89
a54adc1e4b
Set new tag input to clear itself after submission
...
Now whenever a new tag is submitted, the input element is cleared and ready for the next tag.
Whitespace cleanup.
2024-09-18 23:39:26 -05:00
Gazook89
c1288ce4bb
Use index to find and remove tags
...
Fixes issue in last commit, so removing a tag that has duplicate value of other tags only removes the correct one, not the others as well.
2024-09-18 23:24:10 -05:00
Gazook89
c65210b3ed
Add 'remove' button and method
...
New button that triggers `submitTag()` method directly (rather than throw onKeyDown event) and passes `null` as the newValue. New `if` condition checks for null on newValue and if true, removes the tag that matches the originalValue.
This *does* currently delete all duplicate tags if they match the one you are deleting. Not sure when you'd ever want duplicate tags, but regardless i'll likely switch this to work via Index, not value.
2024-09-18 23:13:46 -05:00
Gazook89
70a3cb9ef9
Add method for adding new tags
...
Component now accepts new tags entered in the always-present input field. Entering a value and hitting Enter submits the tag, and it appears as a new tag.
Updated the tag list keys to be unique (via `index`).
To-Do: empty 'new tag' input after submitting.
2024-09-18 22:46:00 -05:00
Gazook89
d1686c4c8f
Add in handlers for TagInput value changes
...
Now brew metadata is actually updated and preserved across reloads to match updated tag values. useEffect calls the props.onChange event from the parent component on every change to the valueContext state of this component (right now, after hitting Enter in a tag input).
2024-09-18 22:18:18 -05:00
Gazook89
c5033db336
add editing of input functionality
...
Currently uses uncontrolled inputs with a `defaultValue` attribute set to the values passed in via props. The input can then be edited, and when `Enter` is pressed, it updates the stored value state. Later, this can be updated to be trigger with `Tab` or clicking outside the active input element.
2024-09-18 21:00:24 -05:00
David Bolack
672b787cd5
Merge branch 'Issue_1958' of github.com:dbolacksn/homebrewery-broken into Issue_1958
2024-09-18 16:28:19 -05:00
David Bolack
931566636b
Merge branch 'master' into Issue_1958
2024-09-18 16:26:39 -05:00
David Bolack
ffaca4ec10
Update server/middleware/content-negotiation.js
...
Co-authored-by: Trevor Buckner <calculuschild@gmail.com >
2024-09-18 16:21:31 -05:00
Trevor Buckner
fabc0bea83
Merge branch 'experimentalNotificationDB' of https://github.com/G-Ambatte/homebrewery into pr/2586
2024-09-18 15:50:55 -04:00
Trevor Buckner
5c2ad7dfee
More Linting
2024-09-18 15:50:46 -04:00
Víctor Losada Hernández
3e7d4714a2
Merge branch 'experimentalNotificationDB' of https://github.com/G-Ambatte/homebrewery into experimentalNotificationDB
2024-09-18 21:47:05 +02:00
Víctor Losada Hernández
77c4ac6640
deleting useless state
2024-09-18 21:47:03 +02:00
Trevor Buckner
a7c892c1bb
Lint
2024-09-18 15:36:48 -04:00
Trevor Buckner
dca7086522
Merge branch 'experimentalNotificationDB' of https://github.com/G-Ambatte/homebrewery into pr/2586
2024-09-18 15:35:12 -04:00
Trevor Buckner
6c42a7e180
Lint
2024-09-18 15:34:58 -04:00
Víctor Losada Hernández
e8c2858154
Merge branch 'experimentalNotificationDB' of https://github.com/G-Ambatte/homebrewery into experimentalNotificationDB
2024-09-18 21:32:19 +02:00
Víctor Losada Hernández
84f84782f5
Merge branch 'experimentalNotificationDB' of https://github.com/G-Ambatte/homebrewery ; branch 'master' of https://github.com/naturalcrit/homebrewery into experimentalNotificationDB
2024-09-18 21:32:17 +02:00
Trevor Buckner
3caec793d8
Linting
2024-09-18 15:30:30 -04:00
Trevor Buckner
9717f0cd66
Split state into separate states.
2024-09-18 15:09:53 -04:00
Trevor Buckner
0cdc1947c1
Linting
2024-09-18 14:45:17 -04:00
Gazook89
36aa4ea508
Add click handler for readTags to open text input
...
Clicking on a readTag now converts that tag to a text input, and maintains the tag value. It also closes any other open text inputs amongst the tags (but leaves the "new tag" input open).
2024-09-17 23:50:59 -05:00