-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add features auto-completion #127
Conversation
ui/components/imageWorkspace/src/components/Features/FeatureFormInputs.svelte
Outdated
Show resolved
Hide resolved
ui/components/imageWorkspace/src/components/Features/FeatureFormInputs.svelte
Outdated
Show resolved
Hide resolved
ui/components/imageWorkspace/src/components/Features/TextInputFeature.svelte
Outdated
Show resolved
Hide resolved
ui/components/imageWorkspace/src/components/SaveShape/SaveShapeForm.svelte
Outdated
Show resolved
Hide resolved
ui/components/imageWorkspace/src/components/Features/TextInputFeature.svelte
Outdated
Show resolved
Hide resolved
ui/components/imageWorkspace/src/components/Features/TextInputFeature.svelte
Outdated
Show resolved
Hide resolved
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
True, this deserves its separate issue: pixano/pixano-project-manager#46 Also, regarding storing |
ui/components/imageWorkspace/src/components/Features/FeatureFormInputs.svelte
Outdated
Show resolved
Hide resolved
ui/components/imageWorkspace/src/components/Features/TextInputFeature.svelte
Outdated
Show resolved
Hide resolved
* auto-completion * fix(front): correctly manage types from back * add scene auto-complete * fix adding duplicate, add scene new values * typos + ensure different htmlElem id * remove category, refactor code, simplify * put categories back * renaming * use datasetsStore instead of dedicated store * (back) type FeaturesValue instead of primitive type * feat(front): Display listItems in a command component * feat: Save before refacto * feat: Save scene values * feat(front): Add new component to FeatureForm * feat(front): Add feature for scene features * feat(front): Save autocomplete on dropdown select * fix(front): Allow empty feature list in autocomplete * fix(front): Do not close autocomplete list if its hovered * feat(front): Sort list item alphabetically * refactor(front): Rename Features components * fix(front): move featuresValues store from datasets to itemMetas * refactor(front): Rename features in meta object --------- Co-authored-by: Timothee Reynaud <timothee.r@lajavaness.com>
close #76
Notes:
for Scene features, as there is often/always a default value, the auto-completion only show the current option, others options are shown if we delete current value
available values are read from tables in back, not from db.json. This could be done in a future PR, if necessary
(back) merge with "categories" -> related to previous, if we choose to save available values in db.json, we will refactor "categories" to be more generic