M6 frontend: foundation (tokens, primitives, helpers, components)#33
Merged
Conversation
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.
acb7d4d to
8adb4ea
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.