Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

NAV - Add settings page (and remove body styles) - #60702

#60702
Merged
kobryan0619 merged 6 commits into
stagingcode-dot-org/code-dot-org:stagingfrom
kaitie/NAV-add-settings-pagecode-dot-org/code-dot-org:kaitie/NAV-add-settings-pageCopy head branch name to clipboard
Aug 29, 2024
Merged

NAV - Add settings page (and remove body styles)#60702
kobryan0619 merged 6 commits into
stagingcode-dot-org/code-dot-org:stagingfrom
kaitie/NAV-add-settings-pagecode-dot-org/code-dot-org:kaitie/NAV-add-settings-pageCopy head branch name to clipboard

Conversation

@kobryan0619

@kobryan0619 kobryan0619 commented Aug 28, 2024

Copy link
Copy Markdown
Contributor

Modifies prior PR and revert to avoid styles changes on separate pages.

@kobryan0619
kobryan0619 requested a review from lfryemason August 28, 2024 15:23
@import '@cdo/apps/componentLibrary/common/styles/mixins';

// In order to make typography work correctly with em units. (Design system is build for 16px default font size)
body {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This was the line causing issues in the other components in the TeacherNavigationRouter file. I also don't think setting the body here is best practice. I removed it and then adjusted other CSS files to ensure the section-setup page was accurate.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I also looked for anywhere else where we used sections-refresh.module.scss OR anywhere where we were pulling in a component that was using this module, and double checked that all the text was right. The good news is that this file is only connected this SectionSetup page AND a pop-up dialog for first time section creators. I verified both of these.

@lfryemason lfryemason left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for spending time looking for the cause, reverting and remaking the PR! I'm hoping that we don't run in to this issue again now that we've removed the body { css.

@kobryan0619
kobryan0619 merged commit af5b37d into staging Aug 29, 2024
@kobryan0619
kobryan0619 deleted the kaitie/NAV-add-settings-page branch August 29, 2024 15:11
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.