Commit Graph

2143 Commits

Author SHA1 Message Date
Andy Smith 70a59eb341 WIP pins 2025-04-10 17:42:17 -05:00
Jason Zimdars da7a30203c Style golden cards 2025-04-10 17:14:04 -05:00
Jason Zimdars 5560976091 Merge branch 'main' into gold-cards
* main:
  Try a segmented toggle for engagement
  Fix tests
  Rework min card design and meta section for all cards
  Move `title` to the `img` element so we get hover in both cases
  Remove sorting filter UI
  Sort Considering and Doing by `updated_at`
  Restore comment action icon
  Fix dot escaping container
  Seen cards should be flat
  Ensure overflow cards are hidden
  Arrow needs to match derived color
  Dialog target needs to be present
  This isn't necessary in the mini card template
  Revert "The button and dialog need not render in previews"
2025-04-10 16:42:45 -05:00
Andy Smith 7ef49ccffa Polish up columns 2025-04-10 16:16:36 -05:00
Jason Zimdars 81ee2ab64d Try a segmented toggle for engagement 2025-04-10 16:06:35 -05:00
Andy Smith 7c3c3a9ef5 Less space above card-perma 2025-04-10 15:44:45 -05:00
Andy Smith 74d1571b19 Merge branch 'main' into consolidate-cards
* main: (45 commits)
  Fix tests
  Rework min card design and meta section for all cards
  Move `title` to the `img` element so we get hover in both cases
  Remove sorting filter UI
  Sort Considering and Doing by `updated_at`
  Restore comment action icon
  Fix dot escaping container
  Seen cards should be flat
  Ensure overflow cards are hidden
  Arrow needs to match derived color
  Dialog target needs to be present
  This isn't necessary in the mini card template
  Revert "The button and dialog need not render in previews"
  Paginate collection cards
  Add a rails helper for the new custom stream action
  Add test
  Reflect picked color automatically with a custom stream action
  Simplify conditions to pick up a color
  Reuse existing constant
  Update fixtures and test
  ...
2025-04-10 15:12:38 -05:00
Andy Smith 8429669bf5 WIP card columns 2025-04-10 14:56:52 -05:00
Jason Zimdars e4110734eb Rework min card design and meta section for all cards 2025-04-10 14:39:50 -05:00
Andy Smith 5b4a6b51a7 Extract perma container and filters into separate files 2025-04-10 13:27:55 -05:00
Andy Smith 59798124cb Extract doing toggle into partial 2025-04-10 13:22:06 -05:00
Andy Smith f319c22f62 Use grid for card-container 2025-04-10 13:02:38 -05:00
Andy Smith e062a80111 Refactor container BEM names 2025-04-10 12:34:44 -05:00
Andy Smith bcc2952b1a Stub out variants 2025-04-10 12:00:33 -05:00
Andy Smith 649b4801bb Use preview instead of mini cards 2025-04-10 11:45:50 -05:00
Jason Zimdars 296ac0c8b5 Remove sorting filter UI 2025-04-10 11:07:22 -05:00
Jorge Manrubia 9029853bdf Only show the button when card is in "doing" 2025-04-10 17:11:00 +02:00
Jorge Manrubia 2e5b25a30c Always place golden cards first 2025-04-10 17:05:30 +02:00
Jorge Manrubia 7406a1039f Add models to track gold cards and implement basic toggle behavior 2025-04-10 16:48:12 +02:00
Jason Zimdars 84276e85ba Ensure overflow cards are hidden 2025-04-10 09:43:09 -05:00
Jason Zimdars 6d610e6418 Dialog target needs to be present 2025-04-10 09:09:26 -05:00
Jason Zimdars 0746a63832 This isn't necessary in the mini card template 2025-04-10 09:09:16 -05:00
Jason Zimdars e3b071c603 Revert "The button and dialog need not render in previews"
This reverts commit 2c79ca09d7.
2025-04-10 08:45:43 -05:00
Jorge Manrubia c7b3b45977 Merge pull request #391 from basecamp/cards-pagination-2
Paginate collection cards
2025-04-10 15:10:54 +02:00
Jorge Manrubia 695247ae9b Paginate collection cards 2025-04-10 15:09:56 +02:00
Jorge Manrubia 168a790687 Add a rails helper for the new custom stream action 2025-04-10 13:30:15 +02:00
Jorge Manrubia e21bb99167 Reflect picked color automatically with a custom stream action 2025-04-10 13:06:55 +02:00
Jason Zimdars f9fb633cba Add colors to stages 2025-04-09 15:45:08 -05:00
Jason Zimdars 40730fd47a Remove UI from cards 2025-04-09 15:43:39 -05:00
Jason Zimdars c55501a6c8 Remove unused display count feature 2025-04-09 14:54:53 -05:00
Jason Zimdars 6dfa75090f Bump notifications cache key to (hopefully) fix index view 2025-04-09 14:45:49 -05:00
Jason Zimdars 2c79ca09d7 The button and dialog need not render in previews 2025-04-09 14:40:53 -05:00
Jason Zimdars 31f32794db Merge branch 'main' into post-rename-cleanup
* main:
  Rename constant
  Address PR feedback
  Cleanup, phew!
  Working with longer text
  WIP: Partially working
  Basic, non-animated version
  WIP
  Remove unused class and markup
  Position "close as" dialog
  WIP
2025-04-09 14:35:18 -05:00
Andy Smith 5cb7643274 Merge branch 'main' into btn-dropdown
* main: (21 commits)
  Migration to migrate URLs after renaming bubbles => cards
  Remove migration
  Restore bubbles.css since some styles are used
  Fix issues with styling card__ components
  Remove bubbles.css
  Fix renames that the scripts missed
  Reorganize templates to remove cards/cards redundancy
  Rename bubbles => cards
  Safari sure loves outlines
  Use a number field, and improve focus styles
  Fix boosting via number input
  Embed additional video formats
  Fix that notifications weren't marked as read
  Fix tray item position
  Update House to bring patch for history restoration error
  Tighten up
  Restore additional missing routes removed in c0f3ff46d7
  Retore route removed in c0f3ff46d7
  Fix visual regression in popup menus
  Perma cards should not always be 100% width
  ...
2025-04-09 14:17:39 -05:00
Jason Zimdars 60890b10ee Remove translations feature 2025-04-09 14:11:32 -05:00
Andy Smith 7b8ed815cd Address PR feedback 2025-04-09 14:09:08 -05:00
Jason Zimdars 197fe95497 These are unused partials from the removed buckets#index view 2025-04-09 14:00:19 -05:00
Jason Zimdars 6248a3e9ab Unnecessary, buttons already adapt to text sizing 2025-04-09 13:48:40 -05:00
Jason Zimdars c491e8cf6c Cascade layers regression fix
`.txt-small` now is more specific than `font-size: 0.74em` on `.reaction__action`
2025-04-09 13:41:49 -05:00
Jason Zimdars 5d0366a20f Delete unused icons 2025-04-09 13:24:10 -05:00
Jorge Manrubia b035c8506e Fix issues with styling card__ components 2025-04-09 15:10:48 +02:00
Jorge Manrubia 221bbb3247 Fix renames that the scripts missed 2025-04-09 14:56:59 +02:00
Jorge Manrubia 6f00e1a79a Reorganize templates to remove cards/cards redundancy 2025-04-09 14:53:46 +02:00
Jorge Manrubia 723e6d94f5 Rename bubbles => cards 2025-04-09 14:50:58 +02:00
Jason Zimdars df408bfd03 Use a number field, and improve focus styles 2025-04-08 16:20:02 -05:00
Jason Zimdars f6288ca026 Fix boosting via number input
- Regression in c06802856e which moved text field outside of form element
2025-04-08 16:19:40 -05:00
Andy Smith 22ff4ee18c Cleanup, phew! 2025-04-08 16:17:05 -05:00
Andy Smith ab88f5549e Working with longer text 2025-04-08 16:09:53 -05:00
Andy Smith 9975ed96f4 WIP: Partially working 2025-04-08 16:01:45 -05:00
Jason Zimdars f58c6792e0 Fix that notifications weren't marked as read
- Move create template into `/bubbles`
- Looks like this file was missed when refactoring `readings` under `bubbles` in 23892296da
2025-04-08 15:50:01 -05:00