Skip to content

M6 frontend: foundation (tokens, primitives, helpers, components)#33

Merged
bstruong merged 1 commit into
mainfrom
feature/m6-foundation
May 11, 2026
Merged

M6 frontend: foundation (tokens, primitives, helpers, components)#33
bstruong merged 1 commit into
mainfrom
feature/m6-foundation

Conversation

@bstruong
Copy link
Copy Markdown
Owner

Design tokens in index.css: brand, destructive, event, avatar (5),
tier (4), typography (7). shadcn primitives: textarea, tooltip,
alert-dialog. Lib helpers: avatar color/initials, relative time
(date-fns), greeting, document title. Shared components: Avatar,
RingBadge, EventBadge, EmptyState.

Reflects design locks from #8-#14 (typography, spacing, color,
errors, avatar, time, title) and prepares for M6 Dashboard.

bstruong added a commit that referenced this pull request May 11, 2026
* chore(ci): fix lint, brakeman, and test command

  - Rubocop: auto-corrected Layout/HashAlignment in
    ConnectionScoreCalculator and its spec.
  - Brakeman: rewrote Person.with_upcoming_events to use
    integer-encoded month*100+day instead of an interpolated
    tuple IN clause. Same semantics, no string interpolation,
    resolves the weak SQL-injection warning.
  - CI test job: project uses RSpec; switched the runner from
    �[1mUnrecognized command "test" (�[1;4mRails::Command::UnrecognizedCommandError�[m�[1m)�[m (Minitest) to
    /home/brian/.rbenv/versions/3.4.8/bin/ruby -I/home/brian/.rbenv/versions/3.4.8/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.6/lib:/home/brian/.rbenv/versions/3.4.8/lib/ruby/gems/3.4.0/gems/rspec-support-3.13.7/lib /home/brian/.rbenv/versions/3.4.8/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.6/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
............................*........................................................................................................

Pending: (Failures listed here are expected and do not affect your suite's status)

  1) User add some examples to (or delete) /home/brian/projects/saber/spec/models/user_spec.rb
     # Not yet implemented
     # ./spec/models/user_spec.rb:4

Finished in 0.62195 seconds (files took 0.32583 seconds to load)
133 examples, 0 failures, 1 pending.

  These checks have been failing since M5; M5 backend likely
  merged via admin bypass. Landing this first so M6 frontend
  PR #33 can rebase onto green main.

* chore(deps): bump nokogiri 1.19.2 → 1.19.3

    - Patches GHSA-c4rq-3m3g-8wgx (High, CSS selector
      tokenizer regex backtracking) and GHSA-v2fc-qm4h-8hqv
      (Medium, XSLT memory leak).
    - Surfaced by `bin/bundler-audit` in the scan_ruby CI
      job, which was already failing alongside the other
      three issues in this PR.
    - Transitive update only — no `Gemfile` change.
  Design tokens in index.css: brand, destructive, event, avatar (5),
  tier (4), typography (7). shadcn primitives: textarea, tooltip,
  alert-dialog. Lib helpers: avatar color/initials, relative time
  (date-fns), greeting, document title. Shared components: Avatar,
  RingBadge, EventBadge, EmptyState.

  Reflects design locks from #8-#14 (typography, spacing, color,
  errors, avatar, time, title) and prepares for M6 Dashboard.
@bstruong bstruong force-pushed the feature/m6-foundation branch from acb7d4d to 8adb4ea Compare May 11, 2026 22:46
@bstruong bstruong merged commit b1e60ef into main May 11, 2026
3 checks passed
@bstruong bstruong deleted the feature/m6-foundation branch May 11, 2026 22:48
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