Commit Graph

46 Commits

Author SHA1 Message Date
Jason Zimdars 9172d68d46 Reporter avatar should be clickable 2025-04-26 19:29:31 -05:00
Jason Zimdars 137a16a810 Move to concern 2025-04-26 19:26:34 -05:00
Jason Zimdars 03dbcf3b54 Polish closed stamp 2025-04-25 15:13:16 -05:00
Jason Zimdars f9cd725c84 Tighten spacing, improve allignment 2025-04-23 16:39:47 -05:00
Jason Zimdars 14d0b995a8 Fix summary 2025-04-22 23:09:29 -05:00
Jason Zimdars cde8634bfe Adjust the stages column sizing 2025-04-22 12:59:36 -05:00
Jason Zimdars 4f87472e5a Restore clicks on pinned cards 2025-04-22 12:00:49 -05:00
Jorge Manrubia b0aae3ad9e Reapply "Add a description field for cards"
This reverts commit a4cc143b09.
2025-04-21 16:45:24 +02:00
Jorge Manrubia a4cc143b09 Revert "Add a description field for cards" 2025-04-21 16:41:33 +02:00
David Heinemeier Hansson 9e921b85c0 Merge branch 'main' into add-card-description 2025-04-19 20:00:43 +02:00
David Heinemeier Hansson de23b4a866 Not needed for a single dependency 2025-04-18 15:10:47 +02:00
Jason Zimdars 3a823cae7d No more yellow highlight 2025-04-17 18:08:12 -05:00
Jason Zimdars 04f9a0f83a Merge branch 'main' into add-card-description
* main: (33 commits)
  Run beamer accessories in production only
  Less noisy logging in production
  Inline perma to container partial
  Use card replacement for card updates too
  Extract helper method to keep partial at a uniform level of abstraction
  Remove duplicated conditional
  Style
  Note that we dont want to keep reloading these frames
  I like this even better
  Suffix qualifier is unnnecessary
  Group partials for container
  Match domain language
  Fix trailing space
  Use card rerendering instead of redirects
  Better name
  Stick with domain language
  Fix tests
  Rerender instead of redirect
  Style
  Extract partials that can be rerendered
  ...
2025-04-17 16:40:23 -05:00
David Heinemeier Hansson b8775d41f5 Inline perma to container partial
Reveals all the container elements and perma wasnt used elsewhere.
2025-04-17 16:06:28 +02:00
Jason Zimdars 7b3b5c471b Add a description filed for cards 2025-04-16 18:53:26 -05:00
Jason Zimdars dd39d03398 Copy edit 2025-04-16 10:06:48 -05:00
Jason Zimdars 78fb19789c Clearer assignment icon 2025-04-16 09:55:41 -05:00
Andy Smith a88264ed0a Merge branch 'main' into consolidate-cards
* main: (94 commits)
  Source order seems to be significant
  Use `card.title`
  Nicer flow
  Fix string interpolation
  Fix constant
  Use record lookup
  Always use sole
  Explained less and extracted nothing of value
  Weird double negative
  Remove anemic and indirect method that explained nothing
  Can use record lookup for workflows
  Access control has already been done through the card
  Style
  Use _path in all cases where we are not potentially changing the domain
  Clearer
  Spacing
  Get rid of card_title
  Join the two users controllers but split out role setting
  Ensure user is returned
  We are not using the parameter
  ...
2025-04-14 09:40:22 -05:00
David Heinemeier Hansson cf93da6886 Get rid of card_title
We can just set untitled on assignment of empty
2025-04-12 21:29:56 +02:00
Andy Smith 75a46356cc Merge branch 'main' into consolidate-cards
* main:
  Show more of the summary before truncating
  Improve event summaries
  Add this for debugging empty event cards
  Some actions shouldn't be available to closed cards
  Nicer spacing when the large button isn't present
  Update `card-color` in a couple more places
  Don't show the engagement toggle on closed cards
  Show more of the summary before truncating
  Improve event summaries
  Remove shadows from notifications you can't see
  Add this for debugging empty event cards
  Some actions shouldn't be available to closed cards
  Nicer spacing when the large button isn't present
  Update `card-color` in a couple more places
  Don't show the engagement toggle on closed cards
2025-04-11 15:38:57 -05:00
Jason Zimdars d3584adf35 Some actions shouldn't be available to closed cards 2025-04-11 13:21:47 -05:00
Andy Smith c853d3c570 Merge branch 'main' into consolidate-cards
* main: (31 commits)
  Style drafted cards
  Considering needs to include drafted cards or you'll never be able to see them
  This item makes no sense until it's saved
  Tighten engagement switch design, only display it for published cards
  Needed to come first
  In order of appearance
  Schema movement -- is this because the dumper doesnt sort deterministically? cc @flavorjones
  Move comments under cards
  Fix indention
  Refresh timers when morphing happens
  Extract helper for card articles, use classes to determine when to show golden status
  Only consider golden those cards in "doing"
  Fix recently completed order for good!
  Place recently closed cards first
  Monkey patch a prepend_order method
  Rename inconsistency: go with goldness
  Touch
  Use gild/ungild
  Format
  Fix test
  ...
2025-04-11 12:43:05 -05:00
Jason Zimdars df96ee80fa Style drafted cards 2025-04-11 12:21:14 -05:00
Jason Zimdars 76336a52d6 This item makes no sense until it's saved 2025-04-11 11:56:26 -05:00
Andy Smith 4a8398e318 Remove unused partials 2025-04-11 11:11:31 -05:00
Andy Smith c9b1d6d868 Style pinned cards 2025-04-11 11:09:04 -05: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
Andy Smith 70a59eb341 WIP pins 2025-04-10 17:42:17 -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
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 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 bcc2952b1a Stub out variants 2025-04-10 12:00:33 -05: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 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
Jason Zimdars 2c79ca09d7 The button and dialog need not render in previews 2025-04-09 14:40:53 -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