Jorge Manrubia
c128b07203
Add test
2025-07-24 17:47:42 +02:00
Jorge Manrubia
7de45cc061
Remove vcr_record! and fix VCR fixtures due to different timestamps
2025-07-24 16:48:06 +02:00
Jorge Manrubia
b2ee79bbd0
Format
2025-07-24 16:48:06 +02:00
Jorge Manrubia
e61ee25b47
Suite passing
2025-07-24 16:48:05 +02:00
Jorge Manrubia
5ad2d09eae
Move the hack to fetch completed cards to the insight command logic
...
We need to rework this as part of the filters revamp. "indexed_by" being
a mix of filters keeps biting us.
2025-07-24 16:48:05 +02:00
Jorge Manrubia
fc26329daf
Restore default to open cards. Use special "all" value instead.
...
The change could have side effects (e.g: when running commands).
This also include further changes.
2025-07-24 16:48:04 +02:00
Jorge Manrubia
018c746d2a
Make the prompt smarter about the current context to make better calls
2025-07-24 16:48:03 +02:00
Jorge Manrubia
8bb7783215
Extract "prompt generation" logic to models for events, comments and cards
...
So that we can reuse in other scenarios
2025-07-24 16:48:03 +02:00
Jorge Manrubia
dd28e3d1e9
Replace special value with just not asuming that filters are about open cards by default
2025-07-24 16:48:03 +02:00
Jorge Manrubia
9d0887f6bd
Use a workaround with a special indexed_by filter to "query all"
2025-07-24 16:48:02 +02:00
Jorge Manrubia
83d743fe2a
Make the translator use the /insight command
2025-07-24 16:48:02 +02:00
Jorge Manrubia
1c6adf54a8
Restore semantic searches
2025-07-24 16:47:57 +02:00
Jorge Manrubia
6080c2aa9b
Refine when to filter by cards, make it more relaxes with the expressions it accepts
2025-07-24 16:47:53 +02:00
Jason Zimdars
84f19183be
Add model test for read and unread
2025-07-23 17:28:15 -05:00
Jason Zimdars
6ef390f201
Test the destroy action
2025-07-23 17:26:01 -05:00
Jason Zimdars
dfb6198e94
Merge branch 'main' into web-push
...
* main: (50 commits)
Regenerate fixtures
Let summaries know about collections
Regenerate fixtures
More tweaks
Regenerate fixtures after tweaking prompt
Fix model selection (I had broken it!)
Some prompt refinements
Some of us have basecamp.com email addresses
Update nokogiri and thor to addres CVEs
Fix tests
Format
Move model options to helper
Tidy up the admin tool for prompts
Extract methods
Format
Default to the current summary
Make models selectable
Add an animated effect for the generating state
Remove debug
Wrap them both in the container so the generating state looks right
...
2025-07-23 11:50:35 -05:00
Jorge Manrubia
6a2614d025
Regenerate fixtures
2025-07-23 16:58:06 +02:00
Jorge Manrubia
62994c05f8
Regenerate fixtures
2025-07-23 13:18:36 +02:00
Jorge Manrubia
da4afe7252
Regenerate fixtures after tweaking prompt
2025-07-23 13:12:41 +02:00
Jorge Manrubia
fc1ff7bf5e
Fix tests
2025-07-23 12:21:20 +02:00
Jorge Manrubia
c3ae05833e
Make models selectable
2025-07-23 11:02:34 +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
Jason Zimdars
f6d8d3021d
Add controller test
2025-07-21 20:06:41 -05:00
Jorge Manrubia
2cd4dd8709
Prevent recursion when invoking AI
...
This can result in stack overflow errors for missing commands.
https://fizzy.37signals.com/5986089/collections/7/cards/1135
Follow up to https://github.com/basecamp/fizzy/pull/766
2025-07-21 10:25:26 +02:00
Mike Dalessio
0a92fc3a16
Port over Jeremy's fix for slow uploads
...
ref: https://fizzy.37signals.com/5986089/collections/7/cards/944
2025-07-20 13:19:53 -04:00
Jorge Manrubia
39c7a54ad6
Add /user command
...
The LLM was relying on it. Having it missing resulted in a stack overflow error!
https://fizzy.37signals.com/5986089/collections/7/cards/1135
2025-07-18 17:59:02 +02:00
Jorge Manrubia
921db25646
Make sure it doesn't infer custom abbreviations when matching user names
2025-07-18 17:31:19 +02:00
Mike Dalessio
15876b8762
Update Signup to use the queenbee_id for the tenant name
...
and not the subdomain. This change should have been in #665
2025-07-18 10:11:10 -04:00
Jorge Manrubia
16abcf2049
Bump cache version
2025-07-18 14:32:04 +02:00
Jorge Manrubia
d9b2a49892
Resolve stages
2025-07-18 12:47:03 +02:00
Jorge Manrubia
a1e3835eb8
Prevent 500 when running /search with empty string
2025-07-18 10:55:36 +02:00
Jorge Manrubia
44873e8ac4
More refinements
2025-07-18 06:50:13 +02:00
Jorge Manrubia
d81568ff57
Filter by stage id, much better collection filtering
2025-07-18 05:50:22 +02:00
Jorge Manrubia
b30bc85f4e
Rework prompt to make it less ambiguous and better overall
2025-07-18 05:11:08 +02:00
Jorge Manrubia
1486392b6b
WIP
2025-07-17 13:32:37 +02:00
Jorge Manrubia
5f04696fe8
Rewrite prompt to be more accurate and example-driven
2025-07-17 13:32:36 +02:00
Mike Dalessio
e69023993c
Make sure users can't login from launchpad if they're deactivated
...
Just in case the SignalId::User deletion failed.
2025-07-15 18:47:38 -04:00
Mike Dalessio
9f887e17f5
Destroy the SignalId::User when a user is deactivated
2025-07-15 18:30:23 -04:00
Jason Zimdars
823bbb4b59
Add tests
2025-07-09 11:05:44 -05:00
Jorge Manrubia
88074cc7ed
Remove unneeded *
2025-07-04 21:57:18 +02:00
Jorge Manrubia
3167126bda
Rename test
2025-07-04 20:03:59 +02:00
Jorge Manrubia
919211244b
Review the code to move cards
...
- Scope accessed records
- Keep consistency by moving events too
2025-07-04 19:56:48 +02:00
Jorge Manrubia
3fb3e5b48e
Generalize and delete mentions too
2025-07-04 19:08:29 +02:00
Jorge Manrubia
c621cc6cc9
Destroy notifications when losing access to collection
2025-07-04 18:52:29 +02:00
Jorge Manrubia
ec0c019967
Merge pull request #711 from basecamp/mentionable-published
...
Don't create mentions from drafts until those are published
2025-07-04 17:28:19 +02:00