Commit Graph

2744 Commits

Author SHA1 Message Date
Jorge Manrubia e19c1d4caa Update readme 2025-05-16 18:08:38 +02: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
Jorge Manrubia 202088fc8e Comment AI in tests 2025-05-16 17:28:37 +02:00
Mike Dalessio 7a2e74897c Merge pull request #507 from basecamp/flavorjones/fix-auto-closing-bubbles
Only render bubbles for cards in auto-closing collections
2025-05-16 10:50:11 -04:00
Jorge Manrubia 19d0ee8c68 Add production openAI API key 2025-05-16 16:49:20 +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 3d709e0fd4 Merge pull request #501 from basecamp/flavorjones/dynamic-bubble-formatting-v2
Introduce a stimulus controller for bubbles
2025-05-16 10:37:13 -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
Mike Dalessio bdbc0aa909 Merge pull request #500 from basecamp/considering-bubble
Considering bubble
2025-05-16 10:26:50 -04:00
Jorge Manrubia 40b78e4115 Move extension configuration to config file
Kudos to Mike for the tip
2025-05-16 16:17:54 +02:00
Jorge Manrubia e0e17d2bd0 Add test for the commands controller 2025-05-16 16:12:09 +02:00
Jorge Manrubia 5ac5b5ebde Add test for the composite command 2025-05-16 15:38:22 +02:00
Jorge Manrubia 04e3e56516 Add tests for ai parsing 2025-05-16 15:20:30 +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 58cc24fbf1 Merge pull request #474 from basecamp/assignees-problem
Event comments should reference the actual assignees
2025-05-16 13:57:48 +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
Jorge Manrubia 4c7b99e39d Add separated API key for test environment 2025-05-16 13:29:18 +02:00
Jorge Manrubia cd0a07740e Make sure that uses insight to reply to questions 2025-05-16 13:29:18 +02:00
Jorge Manrubia b079be8388 Be explicit about the model 2025-05-16 13:29:18 +02:00
Jorge Manrubia c12bf1301b More promot improvements 2025-05-16 13:29:18 +02:00
Jorge Manrubia 95d9cec353 Understand "my cards" better 2025-05-16 13:29:18 +02:00
Jorge Manrubia b867a189ae Place the variable context at the end so that it's more cache friendly 2025-05-16 13:29:18 +02:00
Jorge Manrubia 339810862e Not used 2025-05-16 13:29:18 +02:00
Jorge Manrubia 096933d326 Relax conditions to match collections 2025-05-16 13:29:18 +02:00
Jorge Manrubia 6933449d2d Tweak prefix 2025-05-16 13:29:18 +02:00
Jorge Manrubia 50d323d402 Rename method 2025-05-16 13:29:18 +02:00
Jorge Manrubia b2c273bd5f Extract method 2025-05-16 13:29:18 +02:00
Jorge Manrubia 8d017b0a19 Add cache when translating to commands 2025-05-16 13:29:18 +02:00
Jorge Manrubia 7d21443868 Remove unused 2025-05-16 13:29:18 +02:00
Jorge Manrubia 14eb7658d6 Reorder methods 2025-05-16 13:29:18 +02:00
Jorge Manrubia 188ae20fd8 Reorder methods 2025-05-16 13:29:18 +02:00
Jorge Manrubia 8cb16abb16 extract method 2025-05-16 13:29:18 +02:00
Jorge Manrubia 36478934fd Inline method 2025-05-16 13:29:18 +02:00
Jorge Manrubia fbe14a6533 Resolve "my" "I" in the context of the user using the system 2025-05-16 13:29:18 +02:00
Jorge Manrubia 28cd03668a Show multi-line confirmations 2025-05-16 13:29:18 +02:00
Jorge Manrubia aa7a92c448 Move terminal output outside of the frame so that it doesn't gets erased when reloading the frame 2025-05-16 13:29:18 +02:00
Jorge Manrubia 87b4643946 Fix: navigation not working after adding new commands 2025-05-16 13:29:18 +02:00
Jorge Manrubia 09f5efc100 Reflect new commands in the history 2025-05-16 13:29:18 +02:00
Jorge Manrubia 88fd3a7aaa Don't generate invalid JSON 2025-05-16 13:29:18 +02:00
Jorge Manrubia 7c55dd3a09 Make the input permanent
We need to command history to update
2025-05-16 13:29:18 +02:00