Commit Graph

4156 Commits

Author SHA1 Message Date
Jason Zimdars 92b4746edb Color closed notifications, too 2025-05-21 13:58:02 -05:00
Jason Zimdars 298b856cd0 Merge branch 'main' into jz-5-21-25
* main:
  Ensure headings start on row 1
  Ensure all content starts in the correct column
2025-05-21 13:47:17 -05:00
Jason Zimdars 035b20a9fc Remove Safari's insistent focus ring 2025-05-21 13:46:21 -05:00
Jason Zimdars 504946dc54 Events for closed cards should use the closed color 2025-05-21 13:35:37 -05:00
Andy Smith 968c2b7ae8 Ensure headings start on row 1 2025-05-21 11:36:36 -05:00
Andy Smith 5d19a1e525 Use link, not button 2025-05-21 11:14:34 -05:00
Jason Zimdars 9779adbdf5 Keep collection context when clearing filters 2025-05-21 11:11:50 -05:00
Jason Zimdars d21b90fbd0 Render filter clear button when card_ids is present 2025-05-21 11:11:31 -05:00
Andy Smith d660a484e6 Add notification settings link 2025-05-21 11:11:18 -05:00
Jason Zimdars efeee8deca Fix extra space when there is no AI output 2025-05-21 11:01:01 -05:00
Andy Smith acc31416b9 Show Notification page link when no notifications exist 2025-05-21 10:47:15 -05:00
Andy Smith 0947e05af4 Reduce specificity of base tray__item class 2025-05-21 10:11:08 -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
Andy Smith 21e5dff210 Ensure all content starts in the correct column 2025-05-21 01:09:11 -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
Andy Smith 5e8a5ca5eb Better borders in dark mode 2025-05-20 15:49:54 -05:00
Andy Smith 5c5b2e03af Add bouncy animation 2025-05-20 15:44:00 -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 0dc3cf28aa Line items up with the footer 2025-05-20 15:11:37 -05:00
Andy Smith 904d0736d9 Remove gap from trays 2025-05-20 14:38:42 -05:00
Andy Smith ff5002555b Visible timestamp 2025-05-20 13:52:39 -05:00
Andy Smith 04d01d7d10 Merge notification styles into a card variant 2025-05-20 13:50:53 -05:00
Andy Smith 242869166e Consolidate Tray styles 2025-05-20 12:17:40 -05:00
Jason Zimdars e4a2f1e540 Match other filter buttons 2025-05-19 17:14:40 -05:00
Jason Zimdars 84b6a1291f Fizzy do with AI polish 2025-05-19 17:08:00 -05:00
Andy Smith e851fe969c Put timestamp in header 2025-05-19 16:04:14 -05:00
Andy Smith 2bf7ecbd79 Account for different notification types 2025-05-19 15:47:34 -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
Andy Smith 2d73f243d2 Move media size to markdown-content 2025-05-19 13:52:45 -05:00
Jorge Manrubia f5ecb41446 Merge pull request #483 from basecamp/fizzy-llm-experiment
Fizz Do with AI
2025-05-16 17:39:01 +02:00
Mike Dalessio 1d11f31fba Only render bubbles for cards in auto-closing collections 2025-05-16 10:46:04 -04:00
Jorge Manrubia 541f24ab0b Limit the tokens we send for embeds
See insight by Donal here https://github.com/basecamp/fizzy/pull/483#discussion_r2084766023
2025-05-16 16:39:18 +02: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
Mike Dalessio bdbc0aa909 Merge pull request #500 from basecamp/considering-bubble
Considering bubble
2025-05-16 10:26:50 -04:00
Jorge Manrubia 5ac5b5ebde Add test for the composite command 2025-05-16 15:38:22 +02:00
Jorge Manrubia 2c0f6913ce Test fixes 2025-05-16 15:02:59 +02:00
Jorge Manrubia 7c2a1022a2 Fix test 2025-05-16 14:52:16 +02:00
Jorge Manrubia a5de913608 Improve prompt and tests 2025-05-16 14:49:51 +02:00
Jorge Manrubia 3ccfc165b2 Remove unused command 2025-05-16 14:20:20 +02:00
Jorge Manrubia 5fe5419905 Move similarity search to a param
To keep current tests working. This is all quite experimental. Used as a sandbox for now.
2025-05-16 14:16:14 +02:00
Jorge Manrubia 0a607fab4c Refresh search embeddings in jobs 2025-05-16 14:00:54 +02:00
Jorge Manrubia 29fb57ac36 Event comments should reference the actual assignees 2025-05-16 13:57:26 +02:00
Jorge Manrubia 54ce3f900c Rename method 2025-05-16 13:29:18 +02:00
Jorge Manrubia 53977fb905 Use symbolized keys 2025-05-16 13:29:18 +02:00
Jorge Manrubia b8f94c4ecb Add VCR and some initial tests 2025-05-16 13:29:18 +02:00