Skip to content

Conversation

@wesleyboar
Copy link
Member

@wesleyboar wesleyboar commented Jul 7, 2025

Important

Already integrated (I think via 884836d). See #1137 for latest code as of 2025-08-21.

Overview / Changes

Add required DPM-specific styles and sample DPM components.

Important

Isolated for reference and testing.

Caution

Remember to add DPM-specific styles from this PR to DPM branch task/digital-rocks.

Related

Testing

  1. Open https://cep.test/workbench/.
  2. Use sidebar to navigate to https://cep.test/workbench/data.
  3. Verify content is replaced (and sidebar is gone).
  4. Compare content to https://pprd.digitalrocks.tacc.utexas.edu/datasets/.
  5. Verify footer is present.
  6. Verify UI looks very similar.
  7. Verify UI matches exactly.
  8. Navigate back to https://cep.test/workbench/.
  9. Verify Portal UI is unchanged.
  10. verify switching back and forth is seamless.

UI

Quick Test Video (2025-06-27)
dpm.cms.ui.test.fast.mov
Dynamic Footer (2025-06-24)
CMS.Styles.Load.mov
CMS.Styles.Unload.mov
Compare Styles to CMS (2025-06-27)
cms portal
cms head portal head
cms foot portal foot

The testing might be overkill. It passed before the fix was added.
to help in debugging solution to hot reload error in dev
KNOWN ISSUES: Does not make CMS content look exactly correct.
KNOWN ISSUE: CMS content still does not render perfect.
cuz it is using portal basic text color instead of cms basic text color
TO DO:
- Make footer conditional.
- Fix footer position.

BREAKING CHANGE: Footer always shown. Footer position is wrong.
The style does not support disabled attribute.

AI suggested media attribute. Unexpected, but sensible.
wesleyboar added 20 commits July 3, 2025 16:27
TACC/Core-CMS-Custom#494

And those updates made to templates on PPRD DigitalRocks.
probably related to task.digital-rocks being behind main
probably related to task.digital-rocks being behind main
probably related to task.digital-rocks being behind main
Bootstrap v5 changes `data-` attributes for these features.

Modals and Dropdowns require new naming.
Related to previous commit
These are cruft from CMS script that changes HTML elements which Django CMS did not allow me to put in a snippet.
@wesleyboar wesleyboar changed the title Feat/wc 274 allow dpm to load external styles sans conflict for a component sample components feat: WC-274 component can opt for CMS styles - DPM styles & sample components Jul 7, 2025
@wesleyboar wesleyboar changed the base branch from main to feat/WC-274-allow-dpm-to-load-external-styles-sans-conflict-for-a-component July 7, 2025 23:41
@wesleyboar wesleyboar requested a review from shayanaijaz July 7, 2025 23:59
Base automatically changed from feat/WC-274-allow-dpm-to-load-external-styles-sans-conflict-for-a-component to task/digital-rocks July 8, 2025 21:07
…external-styles-sans-conflict-for-a-component--sample-components
…external-styles-sans-conflict-for-a-component--sample-components
@wesleyboar
Copy link
Member Author

wesleyboar commented Aug 21, 2025

Important

Already integrated (I think via 884836d). See #1137 for latest code as of now.

@wesleyboar wesleyboar closed this Aug 21, 2025
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