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

Make an editable model for the LabCAS page #375

Open
nutjob4life opened this issue Sep 30, 2024 · 0 comments
Open

Make an editable model for the LabCAS page #375

nutjob4life opened this issue Sep 30, 2024 · 0 comments
Assignees
Labels
🧙‍♀️enhancement New feature or request

Comments

@nutjob4life
Copy link
Member

🤔 Tell Us About the Feature

The current LabCAS page in production is a single "Raw HTML" block on a Web Page object. It works.

However, editing and extending the page with new features, updating links, and so forth, is difficult:

  • It requires knowledge of HTML; the built-it editing features of Wagtail are not available
  • It requires management of links; hyperlinks to the sub-pages must be hand-pasted in
  • It requires management of resources' sources; links to the images that are displayed on the page must be first hand-edited and then hand-pasted it
  • It cannot be displayed anywhere other than on the production site; because the page uses full URLs to sub-pages and edited URLs to resources, the page doesn't work properly on edrn-dev.nci.nih.gov nor on edrn-stage.nci.nih.gov—and worse, doesn't even appear correctly on the JPL-internal dev site

🎇 What Solution You'd Like

The LabCAS page should be replaced with a sophisticated block style that supports its unique needs

  • A series of rows
  • Each row has an icon and a hyperlink with a label
  • Full-width images can appear in a row as well

This would simplify editing (even @hoodriverheather could do it), reduce errors (no more hand-management of hyperlinks and resource sources), enable QC on the NCI dev and staging platforms, and enable QC on the JPL internal dev site.

This shouldn't be specific to LabCAS, though—this type of page display could be extended to other parts of the portal.

@nutjob4life nutjob4life added the 🧙‍♀️enhancement New feature or request label Sep 30, 2024
@nutjob4life nutjob4life self-assigned this Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧙‍♀️enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant