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

Remove sessions grid render modifiers #8273

Merged

Conversation

michaelchadwick
Copy link
Contributor

Refs ilios/ilios#5374

Removed several render modifiers, simplified scrollIntoView in some places, and fixed up a CSS template spacing issue.

@michaelchadwick michaelchadwick marked this pull request as ready for review December 16, 2024 22:45
Copy link
Member

@stopfstedt stopfstedt left a comment

Choose a reason for hiding this comment

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

reviewed and click tested. DOM tree traversal is gnarly, but don't see a better way of dealing with this rn either.

LGTM

this.isEditing = false;
this.args.setHeaderLockedStatus(this.isEditing);
scrollIntoView(this.row);
const row = target.parentElement.parentElement.parentElement.parentElement.parentElement;
Copy link
Member

Choose a reason for hiding this comment

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

wow.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It felt bad putting that in there, but that's how many levels up the row is from the button /shrug

@dartajax dartajax added the run ui tests Run the expensive UI tests label Dec 16, 2024
@dartajax dartajax merged commit a0054ec into ilios:master Dec 17, 2024
43 checks passed
@michaelchadwick michaelchadwick deleted the remove-sessions-grid-render-modifiers branch December 17, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run ui tests Run the expensive UI tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants