Skip to content

docs: epic/v3 work plan#603

Draft
wesleyboar wants to merge 17 commits intoTACC:epic/v3from
wesleyboar:docs/v3-plan
Draft

docs: epic/v3 work plan#603
wesleyboar wants to merge 17 commits intoTACC:epic/v3from
wesleyboar:docs/v3-plan

Conversation

@wesleyboar
Copy link
Member

@wesleyboar wesleyboar commented Mar 16, 2026

Warning

Qodo review might have something useful to share. Merge chaos and large context window and plain ol' A.I. mistakes could have lead to inaccuracies that Qodo, independent review, may have caught.

Overview

Document what is left to do on PRs #454, #455, #456.

Related

documents:

Changes

  • adds document

Testing

  1. N/A

UI

Read https://github.com/wesleyboar/Core-Styles/blob/005ccef1/docs/v3-plan.md.

cursoragent and others added 2 commits March 16, 2026 22:01
Co-authored-by: Wesley B <wesleyboar@users.noreply.github.com>
Co-authored-by: Wesley B <wesleyboar@users.noreply.github.com>
@wesleyboar wesleyboar marked this pull request as ready for review March 16, 2026 23:53
@qodo-code-review
Copy link

ⓘ You are approaching your monthly quota for Qodo. Upgrade your plan

Review Summary by Qodo

Document Core-Styles v3 refactoring work plan and execution strategy

📝 Documentation

Grey Divider

Walkthroughs

Description
• Documents v3 refactoring work plan across three related PRs
• Maps branch structure and execution order for v3 migration
• Details PR #455: reorganize styles per client library structure
• Details PR #456: integrate Figma re-brand color tokens
• Details PR #454: v3 epic umbrella with build infrastructure changes
Diagram
flowchart LR
  main["main"]
  epic["epic/v3<br/>PR #454"]
  reorg["epic/v3--reorg<br/>PR #455"]
  tokens["epic/v3--gh-345-tokens-from-figma<br/>PR #456"]
  
  reorg -- "merge second" --> epic
  tokens -- "merge third" --> epic
  epic -- "merge last" --> main
  
  style epic fill:#e1f5ff
  style reorg fill:#fff3e0
  style tokens fill:#f3e5f5
  style main fill:#e8f5e9
Loading

Grey Divider

File Changes

1. docs/v3-plan.md 📝 Documentation +282/-0

Add comprehensive v3 refactoring work plan documentation

• Creates comprehensive v3 work plan document with branch/PR mapping
• Documents execution order: PR #455 → PR #456 → PR #454
• Details PR #455 reorganization tasks: TACC sub-libraries, absolute imports, Fractal grouping
• Details PR #456 token integration: primitives and semantic color variables
• Details PR #454 epic changes: .css to .postcss conversion, build infrastructure
• Includes testing procedures and remaining tasks for each PR
• Explains .css vs .postcss distinction and ghost directory cleanup

docs/v3-plan.md


Grey Divider

Qodo Logo

@qodo-code-review
Copy link

qodo-code-review bot commented Mar 16, 2026

Code Review by Qodo

🐞 Bugs (2) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider


Remediation recommended

1. Wrong CSS depth rule 🐞 Bug ✓ Correctness
Description
docs/v3-plan.md says only-commit-source.js allows .css files “3+ levels deep” under _imports, but
the implementation only ignores a very specific path shape (_imports/<dir1>/<dir2>/<file>.css).
Following the doc literally can lead to lint/publish failures when a .css file is placed deeper than
that allowed shape.
Code

docs/v3-plan.md[R267-271]

+- The `only-commit-source.js` guard allows `.css` files that are **3+ levels**
+  deep inside `_imports/` (e.g. `bootstrap5/utilities/link.css`) — these are
+  treated as built-in-place outputs
+- A `.css` file at a shallower depth (e.g. `tools/x-pill.css`) will trip the
+  guard and must be renamed to `.postcss`
Evidence
The doc claims “3+ levels” are allowed, implying deeper nesting is OK; however the lint guard
ignores only paths matching exactly two directories under _imports (three path segments total), so
deeper .css files will be reported as built artifacts in src/ and cause the lint script to exit(1).

docs/v3-plan.md[267-271]
bin/only-commit-source.js[20-26]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

### Issue description
The work plan documents the `.css` exception for `bin/only-commit-source.js` as allowing `.css` files that are **&quot;3+ levels deep&quot;** under `_imports/`, but the actual ignore rule only matches `_imports/&lt;dir1&gt;/&lt;dir2&gt;/&lt;file&gt;.css` (exactly 3 path segments after `_imports/`). This mismatch can cause developers to place generated `.css` files in deeper locations that will fail `npm run lint` / `prepublishOnly`.

### Issue Context
- The documentation is intended to guide v3 work; it should not misstate CI-enforced rules.

### Fix Focus Areas
- docs/v3-plan.md[267-271]
- bin/only-commit-source.js[20-26]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools



Advisory comments

2. Ambiguous merge-order labels 🐞 Bug ✧ Quality
Description
The branch diagram labels PR #455/#456 as “merge second/merge third” while the document’s Execution
Order describes them as Step 1/Step 2, making the diagram’s numbering ambiguous. This can confuse
coordination on which PR should be merged when.
Code

docs/v3-plan.md[R6-10]

+main ◄── epic/v3                          PR #454  (last to merge)
+
+              ├── epic/v3--reorg           PR #455  (merge second)
+              └── epic/v3--gh-345-…figma  PR #456  (merge third)
+```
Evidence
The diagram uses ordinal merge labels (“second/third”) but the later Execution Order defines the
actual step sequence. Without an explicit statement of what the ordinals are relative to (e.g.,
‘overall sequence into main’ vs ‘sequence into epic/v3’), the diagram can be read as contradicting
the steps.

docs/v3-plan.md[6-10]
docs/v3-plan.md[23-31]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

### Issue description
The Branch / PR Map uses ordinal wording (“merge second/merge third”) that is ambiguous next to the explicit Step 1/2/3 execution order. This ambiguity can confuse readers about the intended sequencing.

### Issue Context
Keep the diagram but align its wording with the Execution Order section, or explicitly define what the ordinals refer to.

### Fix Focus Areas
- docs/v3-plan.md[6-10]
- docs/v3-plan.md[20-35]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

cursoragent and others added 3 commits March 17, 2026 02:05
…gn diagram step labels

Co-authored-by: Wesley B <wesleyboar@users.noreply.github.com>
…ompiled-vs-source; enumerate what it does and does not cover

Co-authored-by: Wesley B <wesleyboar@users.noreply.github.com>
…se files

Co-authored-by: Wesley B <wesleyboar@users.noreply.github.com>
wesleyboar added a commit that referenced this pull request Mar 17, 2026
## Overview / Changes

- Fix outdated undocumented lint script.
- Fix inaccurate path imports since merging main.

## Related

- cleans up #454
    - as does #603

## Testing

1. `npm run build` - no errors
2. `npm run lint` - no errors

## UI

### `npm run build`

```
Core-Styles-v3 % npm run build

> @tacc/core-styles@3.0.0-alpha.0 build
> npm run build:css && npm run build:demo


> @tacc/core-styles@3.0.0-alpha.0 build:css
> bin/build.js --build-id=$npm_config_build_id

Tagging CSS version as @tacc/core-styles 3.0.0-alpha.0+ | MIT | github.com/TACC/Core-Styles
Creating tokens for v1, v2, v3, ds
Building stylesheet(s)  to /Users/wbomar/Code/TACC/Core-Styles-v3/dist

> @tacc/core-styles@3.0.0-alpha.0 postbuild:css
> rm -rf dist/fonts && cp -r src/lib/fonts dist/fonts


> @tacc/core-styles@3.0.0-alpha.0 prebuild:demo
> rm -rf dist/_utils && cp -r src/lib/_utils dist/_utils


> @tacc/core-styles@3.0.0-alpha.0 build:demo
> fractality build

Fractality version mismatch! Global: 3.0.0-alpha.0 / Local: 1.6.3
✔ Build started...
⚑ Exported 966 of 966 items
✔ Build finished with no errors.
```

### `npm run lint`

```
Core-Styles-v3 % npm run lint

> @tacc/core-styles@3.0.0-alpha.0 lint
> npm run lint:dirs


> @tacc/core-styles@3.0.0-alpha.0 lint:dirs
> bin/only-commit-source.js

No dist files found in source. Ready to publish.
```

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Wesley B <wesleyboar@users.noreply.github.com>
wesleyboar and others added 11 commits March 17, 2026 13:00
…xed, passes on epic/v3

Co-authored-by: Wesley B <wesleyboar@users.noreply.github.com>
Co-authored-by: Wesley B <wesleyboar@users.noreply.github.com>
## Overview

Fix misc accessibility issues.

## Related

- required by TACC/Core-CMS#1089
- required by TACC/tup-ui#537

## Changes

1. lighten accent color 39999f4, 5547d1a
2. darken body text 1756a14
3. darken modal close button (by not setting color) 1756a14
4. darken monospace text color (by changing variable) 1756a14
5. darken table text color (by not setting color) 1756a14
6. darken section text color (by changing variable) 1756a14
    - remove `--color--text-strong` cuz it now matches `--color--text`
7. darker form page footer links (by inheriting color) 1756a14
8. darken normal text MORE via token/var 6e181d6, f39edcf
9. change footer links to blue 2900384, f39edcf
    - renames `…accent--light-old` to `…accent--light-alt`
    - adds new var `…accent--dark-alt`
10. explain "Update" pill (and remove extra span) a58244c
11. `data-prefix="Published:"` requires `aria-label="…"` afec01e
12. add `:active` state for header nav links a80f89d
13. darken footer background & lighten footer text f39edcf

## Testing & UI

### 1. — 11. from "Changes"

> [!TIP]
> Tested via TACC/Core-CMS#1089 and
TACC/tup-ui#537.

### 12. add `:active` state for header nav links a80f89d


https://github.com/user-attachments/assets/27b6795d-f4d4-4714-a26c-b222f4201c3e


https://github.com/user-attachments/assets/7c4eefd3-b1be-4413-b0d9-05d1403f685f


https://github.com/user-attachments/assets/e2316960-2bc7-4215-bb25-33536d40b176

### 13. darken footer background & lighten footer text f39edcf

> [!TIP]
> Tested via TACC/tup-ui#537.
… status as resolved

Co-authored-by: Wesley B <wesleyboar@users.noreply.github.com>
…ard detail

Co-authored-by: Wesley B <wesleyboar@users.noreply.github.com>
… confirmation as human-required blocker

Co-authored-by: Wesley B <wesleyboar@users.noreply.github.com>
@wesleyboar wesleyboar marked this pull request as draft March 18, 2026 01:17
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