Skip to content
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

Open
wants to merge 33 commits into
base: develop
Choose a base branch
from

Conversation

lrosenstrom
Copy link
Contributor

Checklist:

  • I have run the unit tests. yarn test:unit
  • I have run the linter. 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.

@@ -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) {
Copy link
Contributor

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.

Copy link
Contributor Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants