Skip to content

refactor!: asset dirs unified structure#542

Draft
wesleyboar wants to merge 3 commits into
mainfrom
ai/github-issue-537-3f6b30
Draft

refactor!: asset dirs unified structure#542
wesleyboar wants to merge 3 commits into
mainfrom
ai/github-issue-537-3f6b30

Conversation

@wesleyboar

@wesleyboar wesleyboar commented Jul 14, 2026

Copy link
Copy Markdown
Member

Caution

Do not merge until Core-Portal-Deployments#207 is deployed.

Important

I instructed AI to do this, but I will review thoroughly myself before I ask others to.

Overview

Aligns directories to unified structure of #537.

Related

Changes

  • restructured 20 *_assets projects into the unified css/, favicon/, html/, img/, js/, ref/ layout

    Per-project moves
    • 3dem_
      • favicon.icofavicon/
      • logo.png, logo-icon.pngimg/
    • a2cps_
      • favicon.icofavicon/
      • logo.png, logo-icon.pngimg/
      • snippets/html/
    • ami_
      • favicon.icofavicon/
      • logo--eemdl.png, logo-icon.pngimg/
      • snippets/html/
    • brainmap_
      • site.csscss/
      • favicon.icofavicon/
      • logo.svg, logo-icon.svg, logo/img/
      • snippets/html/
    • cipp_
      • favicon.icofavicon/
      • CI-Pacific.svgimg/
      • snippets/html/
    • ctrn_
      • cms.csscss/
      • favicon.svgfavicon/
      • logo.svg, logos/img/
      • snippets/html/
    • dac_
      • favicon.icofavicon/
      • portal_logo.pngimg/
    • designsafe_
      • logo.svg, logo-icon.svgimg/
    • digitalrocks_
      • favicon.svgfavicon/
      • logo.svg, logo-icon.svg, logo/img/
      • content/, snippets/html/
      • reference/ref/
    • ecep_
      • site.csscss/
    • example_
      • favicon.icofavicon/
      • logo.pngimg/
    • frontera_
      • favicon.icofavicon/
      • logo.pngimg/
      • snippets/html/
    • lccf_
      • loose *.csscss/
      • logo.svg, logo-icon.svg, logo/img/
      • scripts/js/
      • snippets/html/
    • matcssi_
      • favicon.icofavicon/
      • logo.png, logo-icon.pngimg/
    • netsage_
      • *_icon.icofavicon/
      • *_logo_color.pngimg/
    • ptdatax_
      • favicon.icofavicon/
      • logo.png, logo-icon.pngimg/
      • snippets/html/
    • sciviscolor_
      • favicon.icofavicon/
      • logo.pngimg/
    • tapisproject_
      • migrate.to-core-cms-v3.csscss/
      • hawaii-header-trimmed.png, tapis-logo-navbar.pngimg/
      • snippets/html/
    • utrc_
      • favicon.icofavicon/
      • logo.svg, logo-icon.svgimg/
      • snippets/html/
    • wtcs_
      • logo.png, logo/, icons/img/
      • snippets/html/
  • fixed epoc_ (@design-pinned): favicon.ico was misfiled under img/, moved to favicon/

  • deleted 4 tracked netsage_ *.ico:Zone.Identifier files (Windows download-metadata junk, not real assets)

  • reviewed (no change):

    • cfde-cms, core-portal, txospo (already conforms, nested)
    • generic_assets (already conforms, flat)

Testing

  1. All file moves preserve content e.g.
    1. Run git log --stat on this branch.
    2. Confirm changed files are renames (R).
  2. The moves left no empty directories behind e.g.
    1. Run find . -type d -empty.
    2. Confirm the result is empty.
  3. Every pinned Core-Portal-Deployments CDN reference is accounted for.

UI

Navigate codebase e.g. via GitHub web UI.

Notes

Old Path → New Path
Project Old Path(s) New Path(s)
3dem_ favicon.ico, logo.png favicon/favicon.ico, img/logo.png
a2cps_ favicon.ico, logo.png favicon/favicon.ico, img/logo.png
ami_ favicon.ico favicon/favicon.ico
brainmap_ favicon.ico, logo.svg, logo/sgci-logo--sans-text--white.svg, logo/uthscsa-logo--white.png, site.css favicon/favicon.ico, img/logo.svg, img/logo/sgci-logo--sans-text--white.svg, img/logo/uthscsa-logo--white.png, css/site.css
cipp_ favicon.ico, CI-Pacific.svg favicon/favicon.ico, img/CI-Pacific.svg
ctrn_ cms.css, favicon.svg, logo.svg css/cms.css, favicon/favicon.svg, img/logo.svg
digitalrocks_ favicon.svg, logo.svg favicon/favicon.svg, img/logo.svg
epoc_ img/favicon.ico favicon/favicon.ico
frontera_ favicon.ico favicon/favicon.ico
lccf_ header.css, logo.svg css/header.css, img/logo.svg
matcssi_ favicon.ico, logo.png favicon/favicon.ico, img/logo.png
netsage_ netsage_icon.ico, netsage_logo_color.png favicon/netsage_icon.ico, img/netsage_logo_color.png
ptdatax_ favicon.ico, logo.png favicon/favicon.ico, img/logo.png
sciviscolor_ favicon.ico, logo.png favicon/favicon.ico, img/logo.png
tapisproject_ hawaii-header-trimmed.png, migrate.to-core-cms-v3.css, tapis-logo-navbar.png img/hawaii-header-trimmed.png, css/migrate.to-core-cms-v3.css, img/tapis-logo-navbar.png
utrc_ favicon.ico, logo.svg favicon/favicon.ico, img/logo.svg
wtcs_ logo.png img/logo.png

Note

ami/camino/cms.settings_custom.py pins ami_assets/site.css and ami_assets/EEMDL_Logo.png, neither of which exists in this repo anymore (stale from before this work).

🤖 Generated with Claude Code

…ucture

Restructures 20 *_assets project directories to match the approved
layout from #537 (css/, favicon/, html/, img/, js/, ref/), and removes
4 tracked Windows Zone.Identifier artifacts from netsage_assets.

cfde-cms, core-portal, txospo, epoc_assets, and generic_assets are
already conformant or intentionally flat (per the issue's own diagram)
and are left untouched. All CDN references in Core-Portal-Deployments
are pinned to frozen commit hashes except those four/five, so none of
the moves here break live production URLs.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@wesleyboar
wesleyboar marked this pull request as draft July 14, 2026 23:06
Missed this project during the initial pass since it looked
conformant at a glance. It's pinned via @design in
Core-Portal-Deployments, coupled with a Deployments-repo PR update.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@wesleyboar wesleyboar changed the title Align asset dirs to unified css/favicon/html/img/js/ref structure refactor!: asset dirs unified structure Jul 15, 2026
@wesleyboar
wesleyboar requested review from taoteg and removed request for taoteg July 15, 2026 04:14
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.

Consistent New Directory Structure

1 participant