GH-245/FP-1097: v1–v2 Migration Stylesheet (via submod)#274
Merged
wesleyboar merged 31 commits intomainfrom Aug 13, 2021
Merged
GH-245/FP-1097: v1–v2 Migration Stylesheet (via submod)#274wesleyboar merged 31 commits intomainfrom
wesleyboar merged 31 commits intomainfrom
Conversation
Also, add comments about certain commented-out code.
9 tasks
1 task
Avoid this error that occurred on A2CPS ``` AttributeError: module 'taccsite_custom._shared' has no attribute 'default_app_config' ``` via Core-Portal-Deployments 91966f8.
Merged
Member
Author
|
A2CPS CSS Fixes (to match v1 UI more closely, and in an isolated manner) have been added. |
Member
Author
|
The approve-er has has requested (private message) to confirm his approval before I merge. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related
This PR relies on TACC/Core-CMS-Resources#59.
Overview
Add optional stylesheet to load v1 styles for CMS migrations that don't have a new design.
Issues
a.k.a. Fix CEPv1 Migration Style Discrepancies #245
a.k.a. https://github.com/TACC/Core-CMS-Resources/issues/56
Changes
Screenshots
Homepage
Paragraph Font Size
Testing
Environments
Changes
Dropdown font size should be:
16pxParagraph font size should be:
15pxmigrate.v1_v2.cssScreenshots
All style should match between:
on all pages (excluding content within iframes†).
Obvious failures would be…
Built Output
Test
.envasCUSTOM_ASSET_DIR=frontera-cmsand runnpm run build…Expect no errors. Expect the following CSS build file output:
Output
taccsite_custom/…/static/…/css/build/migrate.v1_v2.cssTest
.envas the following and runnpm run build…CUSTOM_ASSET_DIR=example-cmsCUSTOM_ASSET_DIR=a2cps-cmsCUSTOM_ASSET_DIR=neuronex-cmsExpect no errors. Expect the following CSS build file output:
taccsite_custom/…/static/…/css/build/migrate.v1_v2.cssNotes
To Do (Done)
taccsite_customconflict.Known Issues
Layout Change at Different Screen Widths than v1
Layout changes happen at slightly different screen widths, because Bootstrap 3 → Bootstrap 4 moves breakpoints by one notch.
Snippets
For Sites Migrated Before GH-245 (Frontera)
GH-245: CSS: Temp. Fix Migration Style Discrepancies
gh-245-css-temp-fix-migration-style-discrepanciesFor Sites Migrated During/After GH-245 (3Dem.org, etc.)
GH-245: CSS: Migration Stylesheet CoreV1 to CoreV2 (last commit: …)
gh-245-css-migration-stylesheet-corev1-corev2