Commit Graph

220 Commits

Author SHA1 Message Date
Jorge Manrubia 1c41b956a9 Highlight at rendering time too 2025-05-23 13:25:07 +02:00
Jorge Manrubia 85f03b5bf0 Use new default toolbar 2025-05-23 12:40:29 +02:00
Jorge Manrubia 0693617d83 Some initial work to reuse styles with lexical 2025-05-23 11:53:22 +02:00
Jorge Manrubia 10b2aad647 Replace House with lexical-powered actiontext 2025-05-23 11:41:08 +02:00
Jason Zimdars 9ae92501f2 Merge branch 'main' into jz-5-22-25-am
* main:
  Handle single items better
  Finishing touches
  Relative positioning for trays
  WIP
2025-05-22 14:27:00 -05:00
Andy Smith c3c5b38b84 Finishing touches 2025-05-22 13:36:20 -05:00
Jason Zimdars f53f820817 Update edit template to include .comment container and avatar 2025-05-22 11:53:33 -05:00
Andy Smith 3f873d904e Fix merge conflicts 2025-05-21 09:49:43 -05:00
Andy Smith f5dc923b43 Merge branch 'main' into tray-updates
* main:
  Tighten cards
  Stub recently closed filter
  Introduce a list style for all but the first six completed cards
2025-05-21 09:49:33 -05:00
Jason Zimdars f5e3e58be4 Tighten cards 2025-05-20 18:11:18 -05:00
Jason Zimdars 46ca6f13f6 Stub recently closed filter 2025-05-20 16:24:12 -05:00
Andy Smith 5a8da321fe Merge branch 'main' into tray-updates 2025-05-20 15:58:30 -05:00
Jason Zimdars e5f25b8d39 Introduce a list style for all but the first six completed cards 2025-05-20 15:43:24 -05:00
Andy Smith 04d01d7d10 Merge notification styles into a card variant 2025-05-20 13:50:53 -05:00
Andy Smith 900fbef686 Add card header to notifications 2025-05-19 15:20:56 -05:00
Andy Smith 8077e85019 Consolidate a few styles for card headers 2025-05-19 14:41:26 -05:00
Mike Dalessio 1d11f31fba Only render bubbles for cards in auto-closing collections 2025-05-16 10:46:04 -04:00
Mike Dalessio dddb33b483 Use a view helper to remove branching from the bubbles controller 2025-05-16 10:32:28 -04:00
Mike Dalessio 388fe2de73 Introduce a stimulus controller for bubbles
The "closing soon" bubbles were introduced in #406, and the "falling
back" bubbles in #500. However, these bubbles are part of the cached
card and so as time passes, the relative time doesn't change unless
the card is touched.

This PR introduces a stimulus controller for bubbles, which takes care
of:

- making the bubble visible during the reminder period
- calculating the relative number of days until entropy kicks in
- rendering appropriate text around the day count

ref: https://37s.fizzy.37signals.com/collections/693169850/cards/999009091
2025-05-16 10:27:00 -04:00
Andy Smith e7495046d9 Update label to "Falls back" 2025-05-15 09:49:54 -05:00
Andy Smith 15e3802a33 Add basic rules for reconsider bubble 2025-05-14 15:25:17 -05:00
Andy Smith 95298d4fce Stub out considering bubble 2025-05-14 14:53:09 -05:00
Andy Smith d568a7ff13 Create space for bubbles in containers 2025-05-14 14:39:33 -05:00
Jason Zimdars 9c4a359865 Ensure checkboxes in menus have full size click targets 2025-05-12 21:50:32 -05:00
Mike Dalessio b859c26125 Render the "last active at" timestamp in the card meta
because this is what the "closing soon" bubbles et al are triggered on.
2025-05-12 15:49:13 -04:00
Jason Zimdars ebba9a11fb Merge branch 'main' into jz-5-8-25
* main:
  Fix the flashing notif tray
  Remove unused var
  Update bubble text when 0 days
  More yellow, less orange
  Don't run solid queue in dev by default
  Add more gold to the golden cards
  Remove outlined letters, only use mono for date
  Tweak stroke values for legibility
  Try monospace font
  Text stroke outlines
2025-05-08 17:26:46 -05:00
Jason Zimdars 3bfb25ebc2 Close pinned cards when you click since the tray persists between page loads 2025-05-08 16:23:57 -05:00
Andy Smith 5281022ef3 Remove unused var 2025-05-08 15:44:48 -05:00
Andy Smith d6736a8bcf Update bubble text when 0 days 2025-05-08 15:43:56 -05:00
Andy Smith 0149f7daaa Merge pull request #467 from basecamp/completed-text-outline
Completed text outline
2025-05-08 14:36:44 -05:00
Andy Smith 9a38c28858 Merge pull request #463 from basecamp/reaction-emojis
Reaction emojis
2025-05-08 11:00:26 -05:00
Andy Smith 9eceeb2a2e Remove outlined letters, only use mono for date 2025-05-07 16:44:02 -05:00
Andy Smith 8d1a4ec73a Close ghost space when no reactions exist 2025-05-07 15:15:28 -05:00
Jason Zimdars d4d6a702f8 Remove leading space when avatar is hidden on pinned cards 2025-05-07 15:13:10 -05:00
Andy Smith beda688d10 Show buttons depending on reaction presence 2025-05-07 15:06:40 -05:00
Andy Smith c69402a300 Get turboframes sorted out 2025-05-07 15:02:34 -05:00
Andy Smith 3710aa43e4 Stub out overflow reactions 2025-05-07 14:29:29 -05:00
Andy Smith ae21bf2622 Try monospace font 2025-05-07 10:44:19 -05:00
Andy Smith 9ae0458e5f Text stroke outlines 2025-05-07 10:24:12 -05:00
Andy Smith 5b8f108316 Gentler react animation 2025-05-06 17:02:03 -05:00
Andy Smith 9034498f40 Fix hidden field value 2025-05-06 16:49:14 -05:00
Andy Smith 9b49606246 Consistently align and size all elements 2025-05-06 16:37:01 -05:00
Andy Smith 4d1c215f02 Merge branch 'main' into closing-soon-badge 2025-05-06 15:25:01 -05:00
Andy Smith d3d7a25d07 Stub out basic emoji presets 2025-05-06 10:43:56 -05:00
Jason Zimdars bc6709c4eb Display card id 2025-05-02 20:00:51 +02:00
Jason Zimdars ba83625a60 Don't count the system user 2025-05-02 18:17:03 +02:00
Jason Zimdars 4cf0242443 Handle the case where you can only see one collection 2025-05-02 18:08:57 +02:00
Jason Zimdars 38062aab47 No need to set this here, it's inherited 2025-05-02 15:38:36 +02:00
Jason Zimdars 4797896686 Copy edit 2025-05-02 14:18:42 +02:00
Jason Zimdars 9c813720e5 Remove duplicate class name 2025-05-02 14:18:28 +02:00