Jason Zimdars
2ea2e65f04
Always show the stage picker, cards in Considering are unstaged
2025-09-22 10:55:22 -05:00
Jorge Manrubia
f1d76a7cb7
Exclude inactive users
...
The system user should never be a subsriber but we should not serve it if it is
2025-09-17 13:26:53 +02:00
Jorge Manrubia
b5a2c4a25e
Tidy up code a bit
2025-09-16 13:18:13 +02:00
Jorge Manrubia
6fe28c53e7
Extract common method
2025-09-16 13:06:01 +02:00
Jason Zimdars
c56eb9ecd1
Cards in On Deck adopt some entropy behavior as ones in Doing
2025-09-16 13:06:01 +02:00
Jason Zimdars
e68b344cc2
Remove _Everything_ inolvement
2025-09-11 12:34:31 -05:00
Jorge Manrubia
4e72566856
Flatten card resource
...
We only need the parent collection for creating cards. Carrying it in the
rest of actions is a hassle.
2025-09-10 11:24:23 +02:00
Jorge Manrubia
7f7ecf0346
Delete notifications when the user loses access to the collection
2025-09-10 10:24:20 +02:00
Jorge Manrubia
2e51a34694
Extract method to fetch all the notifications for a card for a given user
...
We'll need to handle access changes
2025-09-10 10:08:14 +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
2eaf462efd
Fix: queries were failing due to using the wrong alias
2025-08-22 09:23:35 +02:00
Jason Zimdars
aa13853ae4
Add a third, "On deck" column in Collections
2025-08-12 17:58:12 -05:00
Mike Dalessio
9bdc273c76
Prefer Account#slug to Account.script_name
...
Caching the script name in a class instance variable seemed like a bug
to me.
2025-08-09 14:27:41 -04:00
Andy Smith
ece1751538
Merge pull request #805 from basecamp/bold-event-actions
...
Update system message to highlight verbs
2025-07-28 13:23:34 -05:00
Andy Smith
a213ac666e
Revert sentence structure, but keep bold text
2025-07-28 12:24:49 -05:00
Andy Smith
8e795f183d
Update system message to highlight verbs
2025-07-24 13:42:19 -05:00
Jorge Manrubia
523f3f0acb
Set some hard limits on the prompt lenghts we inject
2025-07-24 17:32:50 +02:00
Jorge Manrubia
4574c0d85c
Include stage information about the card
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
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
1c6adf54a8
Restore semantic searches
2025-07-24 16:47:57 +02:00
Jason Zimdars
c66261d30f
Golden cards bubble to the top of Considering, too
2025-07-07 15:35:05 -05:00
Jorge Manrubia
cbeefc5b74
Remove unused code
2025-07-04 19:00:22 +02:00
Jorge Manrubia
17f9df8df3
Don't create mentions from drafts until those are published
...
https://fizzy.37signals.com/5986089/collections/2/cards/982
2025-07-04 17:25:39 +02:00
Mike Dalessio
19af7c7c50
Merge pull request #704 from basecamp/flavorjones/reconsider-resets-stalling
...
Cards' "stalled" metric is reset when reconsidered
2025-07-03 11:26:30 -04:00
Mike Dalessio
d376d7aa0c
Cards' "stalled" metric is reset when reconsidered
...
Specifically, reconsidering removes the existing activity spike (if
one exists). This happens whether the card is reconsidered by entropy
or manually by a user.
ref: https://fizzy.37signals.com/5986089/collections/2/cards/916
2025-07-03 11:15:08 -04:00
Jorge Manrubia
bd7b9a442e
Merge branch 'main' into fizzy-do-prompts
...
* main: (57 commits)
Untenanted access in authenticated controllers should request auth
dep: bundle update
dep: update Rails
dep: bump AR::Tenanted
Clean up the cable meta tag
Fix activity feed pagination to fetch on demand
Create a "published" event if a card is created published
Scatter Honcho seeds over a 30 day period
Fix the PWA manifest to use slugged URLs
Collection publication edits render a turbo frame
Collection workflow edits render a turbo frame
Collection entropy config edits render a turbo frame
Use automatic sizing where supported
Introduce a separate controller for collection entropy config
Add `card_id` to index
Move to scope and inline method
Prefer modern syntax
Fix that stage should be visible above card background
Indicate opens menu
Hide dialog targets from screen readers when closed
...
# Conflicts:
# db/schema.rb
# db/schema_cache.yml
2025-07-03 16:11:00 +02:00
Jorge Manrubia
cd9955d938
Add "close by" filter
2025-07-03 14:32:03 +02:00
Mike Dalessio
31007c7bdb
Create a "published" event if a card is created published
...
This isn't the normal workflow in the app, but this problem will show
up if we create cards programmatically (e.g., the seeds)
2025-07-03 01:08:53 -04:00
Jason Zimdars
aff0a38b37
Move to scope and inline method
2025-07-02 16:14:25 -05:00
Jason Zimdars
f02215c5b7
Add steps to cards
2025-07-01 20:05:20 -05:00
Jorge Manrubia
aa656dc2f4
Add scopes and filters for falling back soon and auto closing soon
2025-06-27 13:39:17 +02:00
Jorge Manrubia
3fbfa1404c
Add support for filtering by creation or completion windows of times
2025-06-27 13:38:22 +02:00
Jorge Manrubia
c500a2f178
format
2025-06-24 13:34:52 +02:00
Jorge Manrubia
7371147e5f
Separate search paths
2025-06-24 13:32:31 +02:00
Jorge Manrubia
e59b7fcd18
Format
2025-06-24 10:45:11 +02:00
Jorge Manrubia
0997b45e37
Make searchable work with multiple fields and index card descriptions as separated columns
2025-06-24 08:03:25 +02:00
Jorge Manrubia
6907d07d07
Don't choke when a card is missing its stage
...
This can happen if the stage was destroyed
2025-06-19 08:25:48 +02:00
Jorge Manrubia
5107eebbdb
Fix: calculate days here
2025-06-05 16:38:59 +02:00
Jorge Manrubia
2e60fcdf98
Dynamic bubble timers
2025-06-05 16:11:48 +02:00
Jorge Manrubia
310b8ad4e9
Make sure we only detect activity spikes when we should
...
The detection logic wasn't really working before
2025-06-05 15:49:27 +02:00
Jorge Manrubia
e70827b2ca
Parametrize method instead of hanving methods hanging around
...
If we need more complex calculations for those we can extract again
2025-06-05 15:23:15 +02:00
Jorge Manrubia
0ac937b208
Rename
2025-06-05 15:20:36 +02:00
Jorge Manrubia
6688ca3e82
Consider reopened cards as an activity spike
2025-06-05 15:16:13 +02:00
Jorge Manrubia
35731980fb
extract method
2025-06-05 14:06:21 +02:00
Jorge Manrubia
7c657a2bd9
Support stalled filtering
2025-06-05 12:07:55 +02:00
Jorge Manrubia
6fec61edf4
Tweak params
2025-06-05 11:19:03 +02:00
Jorge Manrubia
20c1119674
Wip for showing stalled
2025-06-04 17:18:10 +02:00
Jorge Manrubia
9cdc34f0ae
Basic tests for detecting stalled cards
2025-06-04 17:18:01 +02:00
Jorge Manrubia
84fdeb4a5e
Track events when reopening cards
2025-06-04 17:18:01 +02:00