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

Alert system #328

Open
stappan opened this issue Oct 22, 2024 · 0 comments
Open

Alert system #328

stappan opened this issue Oct 22, 2024 · 0 comments

Comments

@stappan
Copy link
Collaborator

stappan commented Oct 22, 2024

Design description
for the UI:

  • a new collapsible section called Statement Alerts is added to the Distillation view, below Statement Details
  • Each Alert Type is configured in the Admin area of Composer, & a button/chip sized to display the full text of the label is provided.
  • chip label is not truncated. it is the full length of the alert name.
  • once clicked, the button/chip creates a text box in the Statement Alert section.
  • the chip label changes from the unadded state ("+ Alert name") to added state ("Alert name")
  • focus is moved to the text box, so the curator can immediately begin typing.
  • text is automatically saved when clicking away from the text box. All alerts of the same type are concatenated within the single text box.
  • hyperlinks should be clickable in the text box. [possible?]
  • For chips in the added state, clicking them moves focus for the user to that Alert's text box.

This mimics the operation and feel for adding a Knowledge Statement to a Sentence (e.g., see light grey box for "Add a knowledge statement" here

for the Admin interface:
A new datatable is created, called Alerts

  • to add alert, select green Add Alert button; provide name and URI
  • when present, each alert is exported with the knowledge statement.

This behaves just like Species data table.
image

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

No branches or pull requests

1 participant