Skip to content

Conversation

@AlexVelezLl
Copy link
Member

Summary

  • Standarize header bottom box shadow shown just on scroll.
  • Standarize side panel titles and subtitles font-size and font-weight.
  • Standarize info-box styles.
  • Standarize padding of header and content side panel containers.
    • Removed side panels deep selectors to prevent unnoticed regressions.
image image
image image
image

All of them now shows a box shadow when the content is scrolled:

image

References

Closes #13731.

Reviewer guidance

  • Go to every side panel in faciliy > users
  • Are all of them consistent styling-wise?

@github-actions github-actions bot added APP: Facility Re: Facility App (user/class management, facility settings, csv import/export, etc.) APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) DEV: frontend SIZE: medium labels Sep 19, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Sep 19, 2025

Copy link
Member

@nucleogenesis nucleogenesis left a comment

Choose a reason for hiding this comment

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

Code changes look great overall, I added some minor notes, but this is good to go to QA.

One possible enhancement might be to consolidate shared styles into a sass file that is shared across the three side panels (or otherwise DRYing things up) - but that's def non-blocking.

return {
/* Will be calculated in mounted() as it will get the height of the fixedHeader then */
// @type {RefImpl<number>}
handleScroll,
Copy link
Member

Choose a reason for hiding this comment

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

The comments above this line belong to the windowBreakpoint beneath it

.side-panel-content {
position: relative;
.side-panel-title {
font-size: 18px;
Copy link
Member

Choose a reason for hiding this comment

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

The Figma has the title text at 20px

Copy link
Member

Choose a reason for hiding this comment

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

Yes, but for the acceptance criteria in the issue I added:

All headers are h1s and consistent (smaller, 18px) size. note: for 0.18 the header size was 18px; so we are favoring that for consistency even though on this figma spec it says 20px

Copy link
Member

Choose a reason for hiding this comment

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

Thanks for catching that :)

@pcenov
Copy link
Member

pcenov commented Sep 22, 2025

Thanks @AlexVelezLl LGTM!

@AlexVelezLl
Copy link
Member Author

Hey @nucleogenesis! I hadn't done the styles shared file initially because I was afraid of these styles being non-scoped just for the components that imported them, but I found a way to achieve this using scss mixins. Let me know what you think!

@nucleogenesis nucleogenesis self-assigned this Sep 22, 2025
Copy link
Member

@nucleogenesis nucleogenesis left a comment

Choose a reason for hiding this comment

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

I gave it another quick test after the styles update and everything looks great, thanks @AlexVelezLl !

@nucleogenesis nucleogenesis merged commit e6bcc2c into learningequality:develop Sep 22, 2025
52 checks passed
@AlexVelezLl AlexVelezLl deleted the standarize-side-panels-designs branch September 22, 2025 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) APP: Facility Re: Facility App (user/class management, facility settings, csv import/export, etc.) DEV: frontend SIZE: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ensure all 0.19 side panels are consistent

4 participants