Commit Graph

1186 Commits

Author SHA1 Message Date
Andy Smith 5a8da321fe Merge branch 'main' into tray-updates 2025-05-20 15:58:30 -05:00
Andy Smith 5c5b2e03af Add bouncy animation 2025-05-20 15:44:00 -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 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
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
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
Jorge Manrubia 339810862e Not used 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 7c55dd3a09 Make the input permanent
We need to command history to update
2025-05-16 13:29:18 +02:00
Jorge Manrubia 2510c1e0ac Major rework of the command/ai abstractions
- Big simplification of the overall workflow.
- Composite commands store their commands properly, these are undoable now.
- Child commands are excluded from history
2025-05-16 13:29:18 +02:00
Jorge Manrubia 81dcb715bd Add a busy class to the terminal 2025-05-16 13:29:18 +02:00
Jorge Manrubia 378f5e5891 Handle terminal output as a proper target 2025-05-16 13:29:18 +02:00
Jorge Manrubia f2c80726a3 Handle redirecting in commands that require no confirmation 2025-05-16 13:29:18 +02:00
Jorge Manrubia cd53ef59eb Better foundation for chat responses 2025-05-16 13:29:18 +02:00
Jorge Manrubia 9d7438ba25 Use similarity searches and refined prompt 2025-05-16 13:29:18 +02:00
Jorge Manrubia 007492add0 Primitive insight queries 2025-05-16 13:29:18 +02:00
Jorge Manrubia 413dfce5aa PoC running commands 2025-05-16 13:29:18 +02:00
Jorge Manrubia b7ee0b284d Chat responses 2025-05-16 13:29:18 +02: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
Andy Smith b539cd1ed1 Fix tests 2025-05-13 16:39:11 -05:00
Andy Smith 05aa2e3fb9 Merge branch 'main' into activity-dom
* main:
  Just set the clear filter so `restore_collections_filter_from_cookie` can do the right thing
  Refresh local time target when morphed
  Handle case where no params are sent because nothing is checked
  Ensure checkboxes in menus have full size click targets
  Do or die
  Handle collections that do not auto close
  Ensure dates are re-formatted on turbo frame load
2025-05-13 16:28:17 -05:00
Andy Smith 46d013abac Tidy CSS 2025-05-13 16:00:40 -05:00
Andy Smith 23a655130e Fix header width 2025-05-13 15:54:05 -05:00
Andy Smith 6eb5ae3e95 Mobile styles 2025-05-13 15:48:11 -05:00
Andy Smith 32cfba82d9 Finish desktop styles 2025-05-13 14:32:51 -05:00
Andy Smith 49d24feff7 WIP Limited columns 2025-05-13 12:50:34 -05:00
Andy Smith 5c6a53a1bc WIP new sorting 2025-05-13 12:34:07 -05:00
Mike Dalessio e5ac9a607d Merge pull request #490 from basecamp/fix-local-time
Refresh local time target when morphed
2025-05-13 11:46:42 -04:00
Jorge Manrubia 515396263e Refresh local time target when morphed
Alternative to https://github.com/basecamp/fizzy/pull/486
2025-05-13 05:44:19 +02:00
Jason Zimdars 9c4a359865 Ensure checkboxes in menus have full size click targets 2025-05-12 21:50:32 -05:00
Jason Zimdars 64e366efd2 Do or die 2025-05-12 17:07:05 -05:00
Andy Smith 01c642e6a8 Restructure day containers 2025-05-12 15:29:33 -05:00
Mike Dalessio 5d84b16b36 Ensure dates are re-formatted on turbo frame load
ref: https://37s.fizzy.37signals.com/collections/693169850/cards/999009063
2025-05-12 15:52:19 -04: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
Mike Dalessio 725b38e6b3 Merge pull request #482 from basecamp/flavorjones/fix-flashing-notif-tray
Fix the flashing notif tray
2025-05-08 17:33:33 -04:00
Mike Dalessio 0219ad8c1f Fix the flashing notif tray
I think this is OK to make permanent again now that we're broadcasting
readings to keep the try in sync.

ref: https://37s.fizzy.37signals.com/collections/693169850/cards/999009042
2025-05-08 17:31:34 -04: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