-
Notifications
You must be signed in to change notification settings - Fork 5
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
Feature/changenote settings #901
base: develop
Are you sure you want to change the base?
Conversation
@@ -308,3 +308,16 @@ export function getFormattedEntries(list, vocab, language, context) { | |||
remove(formatted, value => value === '' || value === null); // Remove empty strings | |||
return formatted; | |||
} | |||
|
|||
export function getSigelLabel(sigel, len) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is mostly a hygiene detail. Is it possible to use a bit more generic or less libris-centric names excluding the word sigel in some of these function or var/const names? Since the sigel is by our definition the code on something and not the actual entity it describes (contrary to how we use it in natural language, the hard part here being it plays different roles and is not always a library). Are we meaning userLocation? Not a stopper by any means and should it turn out to be too timeconsuming to figure out I wouldn't argue it easier to revisit later when the model and definitions around this is clearer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can change it to 'collection', because that's what it is called in the user store?
2d2c44c
to
fd41d23
Compare
398ec82
to
84e7d7a
Compare
Checklist:
yarn test:unit
yarn lint
Description
Tickets involved
LXL-4268
Solves
Add change note subscription settings to user settings so that the user can select which categories will trigger a change notification.