Commit Graph

1338 Commits

Author SHA1 Message Date
Andy Smith 744b1b402a Add dark mode OKLCH values 2025-04-17 16:36:57 -05:00
Andy Smith ec7161bde5 Clean up abstractions 2025-04-17 15:42:17 -05:00
Andy Smith 82c2c4b5bd Add new light mode lch values 2025-04-17 15:33:35 -05:00
Andy Smith b28f34dec6 Convert LCH var names 2025-04-17 15:22:01 -05:00
Andy Smith e00edb444d Update ink and inverted colors 2025-04-17 14:10:35 -05:00
Jason Zimdars 7b3b5c471b Add a description filed for cards 2025-04-16 18:53:26 -05:00
Andy Smith 5ccff34e6b Add Closes Today styles 2025-04-16 10:20:16 -05:00
Andy Smith 6fb69294a3 Smaller badge size 2025-04-16 10:14:24 -05:00
Jason Zimdars d22bea8ac5 Change alignment 2025-04-16 10:05:02 -05:00
Jason Zimdars 78fb19789c Clearer assignment icon 2025-04-16 09:55:41 -05:00
Andy Smith eeadc1c494 Make it look like a stamp 2025-04-15 13:22:12 -05:00
Andy Smith ad80aee38e Stub out working auto close reminder 2025-04-15 13:15:29 -05:00
Andy Smith ff6464ffef Stub out closing soon badge 2025-04-14 17:02:50 -05:00
Andy Smith f60ce4f7a6 Fix notch padding 2025-04-11 16:40:54 -05:00
Andy Smith dc474627cb Add padding to message when closed 2025-04-11 16:11:28 -05:00
Andy Smith 019c16b3e3 Fix issues after merge 2025-04-11 16:09:44 -05: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 3ff938f174 Show more of the summary before truncating 2025-04-11 13:21:47 -05:00
Andy Smith 26106f12e4 Remove shadows from notifications you can't see 2025-04-11 13:16:29 -05:00
Andy Smith d678ce1f60 Cleanup after merge 2025-04-11 12:43:16 -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
Andy Smith 29fbfe3b9f Remove comments 2025-04-11 12:27:15 -05:00
Jason Zimdars df96ee80fa Style drafted cards 2025-04-11 12:21:14 -05:00
Jason Zimdars ee8559343a Tighten engagement switch design, only display it for published cards 2025-04-11 11:50:09 -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
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
Andy Smith 57c76b6259 Consistent card resizing 2025-04-10 17:09:06 -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 2d17e86945 Flat card styles 2025-04-10 15:02:03 -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
Jason Zimdars 296ac0c8b5 Remove sorting filter UI 2025-04-10 11:07:22 -05:00
Jason Zimdars f3495fa731 Restore comment action icon 2025-04-10 10:41:26 -05: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 411e223dc3 Fix sorting button position 2025-04-09 14:58:12 -05:00