Commit Graph

1175 Commits

Author SHA1 Message Date
Jorge Manrubia 082a10e3d0 Add notification settings model 2025-08-28 11:20:28 +02:00
Stanko Krtalić 41edfae2b5 Alphabetically order concerns (#992) 2025-08-28 11:07:56 +02:00
Jason Zimdars 2cb98a2e31 Don't show the filter if there aren't any tags 2025-08-27 18:56:06 -05:00
Jorge Manrubia ccceeb1699 Add method for delivery job 2025-08-27 15:48:27 +02:00
Jorge Manrubia 80e37bef36 Separate method with two outputs into two 2025-08-27 14:32:13 +02:00
Jorge Manrubia 744faf12c0 Extract "response cost" object to unify calculations around LLM usage costs 2025-08-27 13:18:41 +02:00
Jorge Manrubia e696c69d60 Merge branch 'main' into bundle-emails 2025-08-27 10:17:32 +02:00
Jorge Manrubia 81d6df3616 Remove comments from card prompts
We don't use to_prompt to generate AI responses anymore, only for events. Grabbing
all the comments don't make as much sense, and I'm sure it is quite expensive
2025-08-27 09:56:13 +02:00
Jorge Manrubia 0eea4f003c Remove unnecessary guards 2025-08-27 09:41:47 +02:00
Jorge Manrubia 853a75a54f Rename "cost_microcents" => "cost_in_microcents" 2025-08-27 09:38:23 +02:00
Jorge Manrubia 47fb35948b It does not make sense to differentiate unread notifications 2025-08-26 18:15:08 +02:00
Jorge Manrubia d99a835184 Format 2025-08-26 17:41:04 +02:00
Jorge Manrubia bf63df7d4a Format 2025-08-26 17:02:51 +02:00
Jorge Manrubia 0126aed6d7 Make sure they don't overlap on creation 2025-08-26 16:59:01 +02:00
Jorge Manrubia 8ba6f5fe8e Validate we don't create overlapping bundles 2025-08-26 16:49:36 +02:00
Jorge Manrubia b47064b47e Don't expand bundles when adding cards. Leave the aggregation time fixed for now 2025-08-26 15:42:16 +02:00
Jorge Manrubia c1605b5972 Initial templates for notifications 2025-08-26 14:21:38 +02:00
Jorge Manrubia cfafc54a81 Deliver emails for bundled notifications (initial WIP) 2025-08-26 13:22:22 +02:00
Stanko K.R. 66fcb49c51 Improve link rendering 2025-08-26 12:20:39 +02:00
Stanko K.R. 1263ca582a Give Fizzy Ask context about who it's talking to 2025-08-26 11:55:03 +02:00
Stanko K.R. fc0fccef11 Show only published cards to Fizzy Ask 2025-08-26 11:42:12 +02:00
Stanko K.R. 0d11b472b4 Fix type mismatch 2025-08-25 10:59:04 +02:00
Stanko K.R. b46c0260e8 Extract the defaut quota into a constant 2025-08-25 10:30:44 +02:00
Stanko K.R. 6b89aa6805 Improve naming & remove money accessors 2025-08-25 10:30:43 +02:00
Stanko K.R. 4505f80b8c Remove unused scope 2025-08-25 10:29:03 +02:00
Stanko K.R. abad369c6a Introduce a Quota and Money object 2025-08-25 10:29:00 +02:00
Stanko K.R. cb5fe7c4f8 Add spend limits to conversations 2025-08-25 10:24:15 +02:00
Stanko Krtalić 78fdabf62f Merge pull request #932 from basecamp/fizzy-bar-v1
Fizzy bar V1
2025-08-25 07:16:42 +02:00
Jorge Manrubia 2eaf462efd Fix: queries were failing due to using the wrong alias 2025-08-22 09:23:35 +02:00
Stanko K.R. ed2aab78c6 Fiz Fizzy Ask 2025-08-22 07:33:26 +02:00
Stanko K.R. 7a17f36228 Remove optional question argument 2025-08-22 07:33:26 +02:00
Stanko K.R. f87a403107 Fix PR review comments 2025-08-22 07:33:26 +02:00
Stanko K.R. 89af9066d3 Remove Fizzy Do command logic 2025-08-22 07:33:24 +02:00
Jorge Manrubia c8569ce8b9 Split indexed_by into two filters: indexed by and sort by
https://3.basecamp.com/2914079/buckets/37331921/todos/8877489555#__recording_8987808963
2025-08-21 19:12:54 +02:00
Jorge Manrubia 0819e87ae2 Make filters work in the cards path directly re-add strong markup for collections in custom filter names 2025-08-21 15:10:55 +02:00
Jorge Manrubia 5896a21499 Support filter by collection in different screens
We want to filter in the same screen for cards/events but not when viewing a card or from other screens. This adds a controller action to flag the actions where this is supported
2025-08-21 14:19:13 +02:00
Jorge Manrubia 109a95ac6f Tidy up settings 2025-08-21 13:25:47 +02:00
Jorge Manrubia 763d924b64 Tidy up code related to show the selected collections' title in a filter 2025-08-20 12:49:12 +02:00
Jorge Manrubia d6fe0d919c Reorganize ƒilter's menu templates (WIP) 2025-08-20 12:20:18 +02:00
Jason Zimdars 5cf119cbd1 Adjust prompt to force proper link construction; recognize people milestones and events 2025-08-18 10:00:16 -05:00
Jorge Manrubia fa82dc0384 Remove code related to Fizzy Do /command support and filtering
https://3.basecamp.com/2914079/buckets/37331921/messages/8961776532
2025-08-18 13:41:20 +02:00
Mike Dalessio e84cd529d5 The "sign out" button now clears the Launchpad login.
ref: https://fizzy.37signals.com/5986089/collections/2/cards/1382
2025-08-15 12:25:10 -04:00
Stanko Krtalić 9a02716a46 Merge pull request #857 from basecamp/fizzy-ask
Fizzy Ask
2025-08-15 08:40:28 +02:00
Jason Zimdars acfe89ca52 Update prompt to render links and use more casual language 2025-08-14 14:32:53 -05:00
Stanko K.R. c40eae7d6d Remove lock when creating messages
SQLite locks the whole database instead of a single row which is overkill for creating a message. A transaction will do. If multiple questions are asked the user will get two answers, possibly out of order, which isn't the end of the world.
2025-08-14 16:16:54 +02:00
Stanko K.R. 94da957d26 DRY-up tool initialization 2025-08-14 15:56:40 +02:00
Stanko K.R. 9b98f91b7f Use if to improve readability 2025-08-14 15:47:13 +02:00
Stanko K.R. eb6d61806b Simplify allowed direction check 2025-08-14 15:46:09 +02:00
Stanko K.R. 94405f4a6a Extract link to markdown conversion to a method 2025-08-14 15:20:10 +02:00
Stanko K.R. 10728e35ef Create scopes for filtering comment by user or system 2025-08-14 14:32:10 +02:00