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

Collapsible Data Entry #713

Merged
merged 4 commits into from
Jan 25, 2024

Conversation

labkey-martyp
Copy link
Contributor

@labkey-martyp labkey-martyp commented Jan 24, 2024

Rationale

EHR data entry forms can be very noisy, out of sequence with workflows and unclear for new users where to start entering data. This PR provides an optional way to collapse sections of the data entry forms to minimize the visible options when first navigating to the form. Headers of collapsed sections are visible with lower opacity and can be clicked to expand. Any sections with data entered will maintain full opacity of the header even when collapsed to ensure users do not forget they entered data in that section. Loading existing tasks with data will automatically expand any sections with data.

Related Pull Requests

Changes

  • Add CollapsibleDataEntryPanel plugin
  • Update form and grid panels to add plugin if "collapsible" field is defined/true in the formConfig
  • Opacity css update
  • Test update

Copy link
Contributor

@labkey-jeckels labkey-jeckels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds like a nice bit of UI

Copy link
Contributor

@ankurjuneja ankurjuneja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tested this enhancement locally, and I must say it's rad.

@labkey-martyp labkey-martyp merged commit dbae176 into release23.11-SNAPSHOT Jan 25, 2024
3 of 5 checks passed
@labkey-martyp labkey-martyp deleted the 23.11_fb_collapsible_data_entry branch January 25, 2024 17:09
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.

3 participants