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

Add user controls for title field visibility #3197

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

glorenzen
Copy link
Contributor

This will add new options for users, allowing them to toggle field visibility for titles, such as publish year, publisher, etc. The options will be available on a modal that can be toggled from a context menu on a new toolbar on the item pages.

So far, I have added some UI components, such as the modal with the settings. I will add the functionality for the user settings soon.

This resolves #3055

Here are a couple of mockups I put together for it:
Item Page - Toolbar
Modal

@glorenzen glorenzen marked this pull request as ready for review July 31, 2024 00:57
@glorenzen glorenzen closed this Aug 3, 2024
@glorenzen glorenzen force-pushed the enhancement/title-field-visibility branch from 6d865f1 to 39c26d2 Compare August 3, 2024 17:13
@glorenzen glorenzen reopened this Aug 3, 2024
@glorenzen glorenzen changed the title WIP: Add user controls for title field visibility Add user controls for title field visibility Aug 6, 2024
beforeRouteLeave(to, from, next) {
if (this.hasChanges) {
next(false)
window.location = to.path

Check failure

Code scanning / CodeQL

Client-side cross-site scripting High

Cross-site scripting vulnerability due to
user-provided value
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement]: User-level control of which fields are displayed for a title
1 participant