Commit Graph

1394 Commits

Author SHA1 Message Date
David Heinemeier Hansson a8aa2c4f80 Clean up the controller 2025-04-11 16:49:55 +02:00
David Heinemeier Hansson f4ce57e308 Move comments under cards 2025-04-11 16:21:44 +02:00
David Heinemeier Hansson 64b529ce94 Fix indention 2025-04-11 16:12:18 +02:00
Jorge Manrubia ba6eab509c Refresh timers when morphing happens 2025-04-11 13:26:01 +02:00
Jorge Manrubia 825bbf808e Extract helper for card articles, use classes to determine when to show golden status 2025-04-11 12:01:52 +02:00
Jorge Manrubia aef75feead Only consider golden those cards in "doing" 2025-04-11 11:49:52 +02:00
Jorge Manrubia 1275abd99e Fix recently completed order for good! 2025-04-11 11:37:02 +02:00
Jorge Manrubia 66b5732264 Place recently closed cards first 2025-04-11 11:27:38 +02:00
Jorge Manrubia 17aa9b97e9 Monkey patch a prepend_order method 2025-04-11 10:28:12 +02:00
Jorge Manrubia 4f3f322528 Rename inconsistency: go with goldness 2025-04-11 10:22:18 +02:00
Jorge Manrubia eae1669ac3 Touch 2025-04-11 10:20:30 +02:00
Jorge Manrubia 806609e77b Use gild/ungild 2025-04-11 10:20:06 +02:00
Jorge Manrubia b4297ab852 Format 2025-04-11 09:57:45 +02:00
Jorge Manrubia 492a42ba92 Not needed anymore 2025-04-11 09:57:45 +02:00
Jorge Manrubia 5360b4ccb4 Add comment 2025-04-11 09:57:45 +02: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
Jason Zimdars 0c107c5894 Fix that cards which were Drafted or in Considering were also being displayed in Doing
CC: @jorgemanrubia
2025-04-10 16:42:40 -05:00
Jason Zimdars 81ee2ab64d Try a segmented toggle for engagement 2025-04-10 16:06:35 -05:00
Jason Zimdars e4110734eb Rework min card design and meta section for all cards 2025-04-10 14:39:50 -05:00
Jason Zimdars 7fdf9ab2fd Move title to the img element so we get hover in both cases 2025-04-10 14:39:19 -05:00
Jason Zimdars 296ac0c8b5 Remove sorting filter UI 2025-04-10 11:07:22 -05:00
Jason Zimdars 1387ad2581 Sort Considering and Doing by updated_at 2025-04-10 11:06:55 -05:00
Jason Zimdars f3495fa731 Restore comment action icon 2025-04-10 10:41:26 -05:00
Jorge Manrubia fac2fce3d5 Rename scope 2025-04-10 17:18:02 +02:00
Jorge Manrubia 9747d590ea Not used 2025-04-10 17:16:36 +02: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
Jason Zimdars b016c8a165 Fix dot escaping container 2025-04-10 09:58:11 -05: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 e0a6549610 Seen cards should be flat 2025-04-10 09:45:18 -05:00
Jason Zimdars 84276e85ba Ensure overflow cards are hidden 2025-04-10 09:43:09 -05:00
Jason Zimdars 0a472f29d5 Arrow needs to match derived color 2025-04-10 09:16:30 -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
Jorge Manrubia c6b2e5461b Simplify conditions to pick up a color 2025-04-10 12:40:14 +02:00
Jorge Manrubia ced24d8a7c Reuse existing constant 2025-04-10 12:32:28 +02:00
Jason Zimdars acba58f802 Ensure card.color returns default value when there is no stage 2025-04-09 17:06:36 -05:00
Jason Zimdars c1ef706f59 Remove concern 2025-04-09 17:03:39 -05: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 e02feece1c Move concern out from under Card and rename
`Colored` is a little icky
2025-04-09 15:42:33 -05:00
Jason Zimdars 411e223dc3 Fix sorting button position 2025-04-09 14:58:12 -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