Skip to content

feat(tup): migrate ad-hoc assets from tup-ui - #564

Merged
wesleyboar merged 4 commits into
feat/tup-static-asset-migrationfrom
feat/tup-ad-hoc-assets
Aug 3, 2026
Merged

feat(tup): migrate ad-hoc assets from tup-ui#564
wesleyboar merged 4 commits into
feat/tup-static-asset-migrationfrom
feat/tup-ad-hoc-assets

Conversation

@wesleyboar

@wesleyboar wesleyboar commented Aug 3, 2026

Copy link
Copy Markdown
Member

Overview

Migrates CSS/JS assets (that tup/html/css-ad-hoc-styles.html and js-ad-hoc-scripts.html load) from TACC/tup-ui to here.

Details

The snippets files were already migrated (#559, #560); this closes the loop so those snippets' <link>/<script> tags can point at this repo's CDN pins instead of tup-ui's.

Related

Important

Follow-up: Repoint tup/html/css-ad-hoc-styles.html and js-ad-hoc-scripts.html's CDN URLs at this repo (not done in this PR).

Changes

Testing

  1. Confirm each file's content matches TACC/tup-ui's current copy exactly except:

Migrates the actual asset files that tup/html/css-ad-hoc-styles.html and
js-ad-hoc-scripts.html link to, out of tup-ui's
apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/ad-hoc/ and
js/ad-hoc*. The snippet wrapper files were already migrated (#559, #560);
this closes the loop so the ad-hoc snippets can point their CDN links at
this repo instead of tup-ui.

hide-blog-list-back-link.css (tup-ui#562, open) and adjust-logo.css
(tup-ui#535, open) are not included — neither exists on tup-ui main yet.
@wesleyboar wesleyboar changed the title feat(tup): add ad-hoc CSS/JS assets migrated from tup-ui feat(tup): migrate ad-hoc CSS/JS assets from tup-ui Aug 3, 2026
…est pending edits

navbar-width-horz-scrollbar.css: use tup-ui#535's trimmed version (drops
rules migrated to Core-CMS), not the stale main version this PR
originally copied.

ad-hoc.js + manage-participants-field-required-attr.js (new): the live
ad-hoc JS snippet is already pinned to tup-ui@0c0beee5 (a tup-ui#566
commit), so this repo's copy was stale/incomplete relative to what's
actually live. Added the missing import and its target file, verified
byte-identical to that pinned commit.
Both are open, unmerged tup-ui PRs (#562 and #535 respectively) that
weren't on tup-ui main yet when this PR was first opened. Added now,
verified byte-identical to each PR's current branch content.

adjust-logo.css is #535's split-out of the logo/nav-sizing rules that
used to live in navbar-width-horz-scrollbar.css (already synced here).
@wesleyboar wesleyboar changed the title feat(tup): migrate ad-hoc CSS/JS assets from tup-ui feat(tup): migrate ad-hoc assets from tup-ui Aug 3, 2026
wesleyboar added a commit to TACC/tup-ui that referenced this pull request Aug 3, 2026
Both are being moved to Core-CMS-Custom (TACC/Core-CMS-Custom#564); keep
them untouched/absent here so tup-ui#571 doesn't conflict with this PR
once it also deletes the ad-hoc JS files.
wesleyboar added a commit to TACC/tup-ui that referenced this pull request Aug 3, 2026
Same as this PR's CSS deletions: these are now versioned in
Core-CMS-Custom (TACC/Core-CMS-Custom#564) instead of here.

tup-ui#566 (closed) had a pending edit to ad-hoc.js; it was reverted to
zero diff and closed before this, so no conflict here.
wesleyboar added a commit to TACC/tup-ui that referenced this pull request Aug 3, 2026
wesleyboar added a commit to TACC/tup-ui that referenced this pull request Aug 3, 2026
…nd new adjust-logo.css

Both are now versioned in Core-CMS-Custom (TACC/Core-CMS-Custom#564)
instead of here; keep them untouched/absent here so tup-ui#571 doesn't
conflict with this PR.
@wesleyboar
wesleyboar merged commit 5ebac42 into feat/tup-static-asset-migration Aug 3, 2026
@wesleyboar
wesleyboar deleted the feat/tup-ad-hoc-assets branch August 3, 2026 23:27
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.

1 participant