-
Notifications
You must be signed in to change notification settings - Fork 2
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
Selection and configuration additional settings #3
Comments
Sound mostly good to me. So that would mean something like that for the selection: export interface BasicConfiguration {
// Old stuff
display: string;
field: string;
transform?: (Selection) => Selection;
// New stuff
visible: boolean = true;
unique: boolean = isFlag();
} See https://github.com/Ecodev/natural-search/issues/15#issuecomment-402357359 for the preselection. But I am a bit confused about |
Forced prevent the selection to be removed, but allow edition. Take dilps/tiresias usecase : we will add a default selection "databaseSource" with default value on dilps/tiresias. User can change and can remove the filter. It's a preselection that is not forced, neither readonly.
Maybe I was wrong, it seems a duplicate for flagged facet. Don't remember the difference.
Neither do I, but it's an implementation remark, not a feature. It's a combination we have to manage to prevent blocked situations. |
A user may need extra settings on configurations and selections :
Configuration settings :
Preselection settings :
See more about contexts #15
Forced : additional notes :
If a user can remove (or add) a selection, I must be available to do the opposite action to prevent some "irreversible" action.
Use case : if a configuration is not visible from menu and a pre-defined selection is provided, the user should not be able to remove it, because he can't add it afterwards. The "forced" option would be implicit.
The text was updated successfully, but these errors were encountered: