Skip to content

feat(ui): restyle stash in the patchwork design guide - #6

Merged
jaspermayone merged 4 commits into
mainfrom
feature-patchwork-look
Nov 9, 2026
Merged

jaspermayone merged 4 commits into
mainfrom
feature-patchwork-look

Conversation

@jaspermayone

Copy link
Copy Markdown
Member

What

Stash shipped in its boxcar scaffold's amber and stone palette. This puts it on the Patchwork design guide (internal-docs design/, Weave is the reference).

  • Copied from Weave, unchanged: app/assets/tailwind/application.css and fonts.css, the 14 font files in public/fonts, UiHelper and IconHelper (gem lucide-rails), the shared partials _head, _theme, _theme_toggle, _wordmark, _flash, _form_errors, the flash, drawer and clipboard Stimulus controllers, and the branded Rails error pages in public/.
  • Written from the Weave pattern: shared/_topbar (Archives, Archive a URL, Jobs, the roles as badges, sign out, the phone menu), layouts/application, and layouts/focus for the sign-in and dev sign-in pages (the .patch on the quilt lattice). The 403 page renders in the member layout from every controller.
  • Every view rewritten with the component classes and token utilities: page headers, cards, the table, record lists, callouts, badges, the search box, empty states. No raw Tailwind palette color is left in app/views or app/helpers.
  • One CSS pipeline. tailwindcss-rails builds tailwind.css. The scaffold's second pipeline is gone: app/assets/stylesheets/application.tailwind.css, the build:css script, cssbundling-rails, the two npm packages and the duplicate css: line in Procfile.dev. The stylesheet test from fix(layout): link only the built stylesheet #5 now expects the tailwind- build.
  • Icon redrawn on the ink rounded square with three purple patches and the stitch, links versioned ?v=3.
  • README names the design guide as the UI source.

Checks

  • bin/rails test: 61 runs, 0 failures. bin/rubocop: clean. herb linter and formatter: clean.
  • Looked at sign-in, dev sign-in, the archive list (empty, with a search, with a row), the new form and the show page in light and dark in a browser.
  • Adversarial review (Claude): three findings, all fixed in the last commit (two btn-primary on the empty list, the 403 page inherited the focus layout from the sign-in controllers, copy_button had no clipboard controller). The reviewer also confirmed every class in the views exists in the compiled CSS, every Lucide name exists, and the production asset build resolves tailwind.css.
  • Not run: docker build.

After the merge

sudo systemctl restart stash-web stash-staging-web on hank. In Weave, set the Stash app's launcher icon URL to https://stash.patchworklabs.org/icon.png?v=3.

@jaspermayone
jaspermayone merged commit ebb136f into main Nov 9, 2026
9 of 11 checks passed
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