Commit Graph

3967 Commits

Author SHA1 Message Date
Jorge Manrubia 62994c05f8 Regenerate fixtures 2025-07-23 13:18:36 +02:00
Jorge Manrubia c082a1b1f5 More tweaks 2025-07-23 13:15:49 +02:00
Jorge Manrubia da4afe7252 Regenerate fixtures after tweaking prompt 2025-07-23 13:12:41 +02:00
Jorge Manrubia c8c297a75e Fix model selection (I had broken it!) 2025-07-23 13:10:47 +02:00
Jorge Manrubia 49518692bb Some prompt refinements 2025-07-23 13:04:41 +02:00
Jorge Manrubia 94ba4f6074 Some of us have basecamp.com email addresses 2025-07-23 12:50:07 +02:00
Jorge Manrubia 2ec2043e7b Merge pull request #783 from basecamp/activity-summaries
AI summaries
2025-07-23 12:27:25 +02:00
Jorge Manrubia 70f51376c7 Update nokogiri and thor to addres CVEs 2025-07-23 12:23:15 +02:00
Jorge Manrubia fc1ff7bf5e Fix tests 2025-07-23 12:21:20 +02:00
Jorge Manrubia 90ddadea5c Format 2025-07-23 12:04:18 +02:00
Jorge Manrubia dcb0e5077d Move model options to helper 2025-07-23 11:57:22 +02:00
Jorge Manrubia c0b385b19b Tidy up the admin tool for prompts 2025-07-23 11:55:44 +02:00
Jorge Manrubia 0ba8f2194b Extract methods 2025-07-23 11:45:01 +02:00
Jorge Manrubia f32e89c277 Format 2025-07-23 11:43:10 +02:00
Jorge Manrubia 2710124293 Default to the current summary 2025-07-23 11:36:57 +02:00
Jorge Manrubia c3ae05833e Make models selectable 2025-07-23 11:02:34 +02:00
Jason Zimdars ae14912cbe Add an animated effect for the generating state 2025-07-22 22:33:19 -05:00
Jason Zimdars 7280077531 Remove debug 2025-07-22 18:59:02 -05:00
Jason Zimdars be29567718 Wrap them both in the container so the generating state looks right 2025-07-22 18:15:59 -05:00
Jason Zimdars ab315cdd75 Style activity summaries 2025-07-22 18:12:05 -05:00
Jorge Manrubia 5322ce2afb Add comment's context for each card too 2025-07-22 22:43:01 +02:00
Andy Smith f17861b639 Merge pull request #794 from basecamp/icon-button-fix
Use the right display prop when unhiding the delete button
2025-07-22 15:36:50 -05:00
Jorge Manrubia e1ab4ec13c Use 4o for now, it's just better for summarizing and conversation
It's more expensive, going with the best and we'll tune later
2025-07-22 22:34:12 +02:00
Andy Smith 60d0579c7e Use the right display prop when unhiding the delete button 2025-07-22 15:33:28 -05:00
Andy Smith 4a4e072b2b Merge pull request #784 from basecamp/ff-cursor-fix
Removed redundant div
2025-07-22 14:40:31 -05:00
Andy Smith 9e3b51c48f Make CSS less broad in scope 2025-07-22 14:35:07 -05:00
Andy Smith 9489e23fc4 Add margins to the input instead of a wrapper. 2025-07-22 14:32:43 -05:00
Jorge Manrubia 662f6dffe8 Use gpt-4.1 for now, several prompt refinements 2025-07-22 21:32:10 +02:00
Andy Smith 424b33979c Removed redundant div 2025-07-22 14:29:05 -05:00
Jorge Manrubia af637b020d Fix redirection 2025-07-22 19:17:02 +02:00
Jorge Manrubia e6004047fc Rename file 2025-07-22 19:14:07 +02:00
Jorge Manrubia 493d517a0c Make sure non-staff user can't access to the prompt editor 2025-07-22 19:05:59 +02:00
Jorge Manrubia fd0484176c Format 2025-07-22 18:59:10 +02:00
Jorge Manrubia 2a7552f474 Add controller test 2025-07-22 18:57:50 +02:00
Jorge Manrubia 70f19e54b5 Add assertion on HTML content 2025-07-22 18:47:48 +02:00
Jorge Manrubia e87ed26f75 Add tests 2025-07-22 18:45:07 +02:00
Jorge Manrubia 6aca86c87a Forgot to rename this 2025-07-22 18:31:52 +02:00
Jorge Manrubia 13b20d43c8 Refine prompt 2025-07-22 18:13:44 +02:00
Jorge Manrubia 7e5bdf59ec Prefer sandbox over debug for the resource name 2025-07-22 15:57:12 +02:00
Jorge Manrubia ca640b5b45 Remove (not used) 2025-07-22 15:39:40 +02:00
Jorge Manrubia b803e659df Remove tab 2025-07-22 15:28:23 +02:00
Jorge Manrubia 26089f77b7 Remove unused column and rename contents => content 2025-07-22 15:23:39 +02:00
Jorge Manrubia e3d9001861 Move condition outside to avoid double nesting 2025-07-22 15:13:39 +02:00
Jorge Manrubia 8f6e81a687 Only summarize today if there are at least 10 events
https://3.basecamp.com/2914079/buckets/37331921/todos/8877635813#__recording_8879434338
2025-07-22 15:04:55 +02:00
Jorge Manrubia 6ba1884fb0 Fix: summaries where failing to generate with filters 2025-07-22 14:59:38 +02:00
Jorge Manrubia 0397327442 Avoid links to comments for now 2025-07-22 14:40:59 +02:00
Jorge Manrubia 6d26195bc7 Add a debug prompt endpoint so that we can play with the prompts live 2025-07-22 14:33:34 +02:00
Jorge Manrubia 89a9e7f32c Tweak prompt for trying to avoid liks like "card 1234" 2025-07-22 12:28:05 +02:00
Jorge Manrubia 9c6f1354c4 Broadcast and show summaries on the fly 2025-07-22 12:26:32 +02:00
Jorge Manrubia 053ae76312 Tweak prompt 2025-07-22 12:06:56 +02:00