TACC / Core-CMS-Custom

Customized Core CMS code and builds
5 stars 0 forks source link

feat: WP-197 migrate frontera portal #293

Open wesleyboar opened 2 months ago

wesleyboar commented 2 months ago

Overview

Migrate Frontera project from Core-CMS-Resources.

Status

Related

Changes

Testing

  1. npm ci
  2. npm run build
  3. Verify no errors.
  4. Deploy to a Frontera staging server.
  5. Add snippet to Home page:
    <style>
    @import url("https://cdn.jsdelivr.net/gh/TACC/Core-CMS-Custom@feat/WP-197-migrate-frontera/frontera_assets/css/build/template.home.css");
    </style>
  6. Change Home page template to "(Core-CMS) Full Width".
  7. Add snippet to System page:
    <style>
    @import url("https://cdn.jsdelivr.net/gh/TACC/Core-CMS-Custom@feat/WP-197-migrate-frontera/frontera_assets/css/build/template.standard.css");
    </style>
  8. Change System page template to "(Core-CMS) Standard".
  9. Verify no major style differences[^1][^2] from production site:

UI

Before After
home
system
training

Notes

[!WARNING] Loads Core-CMS stylesheet at a version that will not auto-sync with version of Core-CMS being run.

[!IMPORTANT] On Home and System pages, some font weight is thinner.[^1] See Core-Styles v2.26.1.

[!NOTE] Saves three extra css/build files, because of a Core-Styles limitation.

[^1]: Expected style differences: some slightly thinner font weight, icon on system monitor status pill. [^2]: Content is expected to be different, but within the same layout. Some home page news images on staging do not load (because they hotlink to old TACC site).