Jorge Manrubia
1bb8de8564
Fix tests
2025-09-29 13:13:40 +02:00
Jorge Manrubia
e1f052935a
Add test for triaging cards
2025-09-28 22:02:34 +02:00
Jorge Manrubia
e14262dc01
Fix tests, remove workflow controllers
2025-09-28 18:50:26 +02:00
Jorge Manrubia
67d57cb02a
Make sure column-related methods keep things consistent
2025-09-26 11:33:47 +02:00
Jorge Manrubia
2f6a639682
Prepare entropy code for the new auto postpone approach
2025-09-24 16:22:42 +02:00
Jorge Manrubia
b63a6b3e97
Add postponable concern
2025-09-24 14:37:14 +02: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
Jason Zimdars
e68b344cc2
Remove _Everything_ inolvement
2025-09-11 12:34:31 -05: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
Jason Zimdars
aa13853ae4
Add a third, "On deck" column in Collections
2025-08-12 17:58:12 -05:00
Andy Smith
07a470a8ac
Update tests
2025-07-28 13:12:53 -05:00
Andy Smith
8e795f183d
Update system message to highlight verbs
2025-07-24 13:42:19 -05: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
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
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
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
b9ec71ff84
Format
2025-06-05 15:21:18 +02:00
Jorge Manrubia
6688ca3e82
Consider reopened cards as an activity spike
2025-06-05 15:16:13 +02:00
Jorge Manrubia
67b45cc5a6
Test scope
2025-06-05 15:11:06 +02:00
Jorge Manrubia
d22cbe6f7f
Add tests for stalled detection
2025-06-05 15:09:55 +02:00
Jorge Manrubia
eb95af4add
Add test for reopening cards
2025-06-05 13:29:34 +02:00
Jorge Manrubia
cd9d9f78c7
We'll add tests here
2025-06-04 17:18:01 +02:00
Jorge Manrubia
9cdc34f0ae
Basic tests for detecting stalled cards
2025-06-04 17:18:01 +02:00
Jorge Manrubia
77ff7f43eb
This test does not make sense anymore with the new entropy model
2025-06-04 15:03:57 +02:00
Jorge Manrubia
db86d17880
Refactor to introduce an entropy model
...
Instead of keeping two tracks of similar logic (auto-reconsider / auto-close).
2025-06-04 14:40:02 +02:00
Jorge Manrubia
75ce06733a
Review entropy tests to include the new behavior and settings
2025-06-04 12:45:04 +02:00
Jorge Manrubia
91787a3523
Revamp entropy configuraiton
...
- Move both settings to its dedicated model entropy configuration
- A collection can have an entropy configuration, or will default to the account if not
2025-06-04 10:41:08 +02:00
Mike Dalessio
3a5ce1ca4c
No need to delegate auto_closing? anymore
...
Related to #568
2025-06-02 12:41:55 -04:00
Jorge Manrubia
08c5abfbdb
Extract common method to query when entropy is cleaned
...
We were always quering auto_close_at
https://37s.fizzy.37signals.com/collections/2/cards/743
2025-06-02 18:04:14 +02:00
Mike Dalessio
28ed744d0c
refactor: Extract a Card::Entropy concern
...
to encompass behavior related to auto-closing and auto-reconsidering.
Note that putting this code in a single place reveals an asymmetry
between the actions:
- Auto-closing period is an optional attribute of a collection
- Auto-reconsidering period is hard-coded to 30 days for all collections
2025-06-01 16:50:12 -04:00
Jason Zimdars
d1f01182f2
Update tests
2025-05-28 15:32:00 -05:00
Mike Dalessio
4e815fc423
Ensure that a "reconsidered" card gets an updated timestamp
...
so that it's not closed by the subsequent Card::AutoCloseAllDueJob
ref: https://37s.fizzy.37signals.com/collections/693169850/cards/999009030
2025-05-07 19:04:13 -04:00
Jorge Manrubia
4f5e8bfc07
Test that system comments won't result in notifications
2025-04-30 12:28:19 +02:00
Jorge Manrubia
b6c3e5c090
Add tests and clean unused events
2025-04-30 09:45:41 +02:00
Jorge Manrubia
4ff55df2e0
Create system comments on events
2025-04-29 20:33:07 +02:00
Jorge Manrubia
2b98db9e66
Flatten out comments and messages
...
https://37s.fizzy.37signals.com/collections/693169850/cards/999008989#comment_994777841
2025-04-29 19:21:18 +02:00
Jorge Manrubia
0056cafa04
Merge pull request #436 from basecamp/configure-auto-close
...
Configure the autoclose period for collections
2025-04-25 19:55:19 +02:00
Jorge Manrubia
5e279ab2e1
Fix: dismiss notifications from comments
2025-04-25 19:52:09 +02:00
Jorge Manrubia
e90b062440
Configure the autoclose period at the collection level
2025-04-25 13:29:16 +02:00
Jorge Manrubia
18cc24e1d3
Add an event prefix named after the model now that events are generic
2025-04-24 13:20:09 +02:00
Jorge Manrubia
f166b30f2f
Fix: dismiss mention notifications in cards and comments when reading a card
2025-04-24 12:19:20 +02:00
David Heinemeier Hansson
3d28203224
Use singular staging resource and beef up testing
2025-04-22 14:44:55 +02:00
David Heinemeier Hansson
7a46fd0948
Stick with open/close as a consistent pair instead of active/close
2025-04-22 12:08:56 +02:00
David Heinemeier Hansson
22abf0ba46
Remove anemic concern
...
Colors are a card concern.
2025-04-22 11:56:41 +02:00
Jorge Manrubia
b0aae3ad9e
Reapply "Add a description field for cards"
...
This reverts commit a4cc143b09 .
2025-04-21 16:45:24 +02:00
Jorge Manrubia
a4cc143b09
Revert "Add a description field for cards"
2025-04-21 16:41:33 +02:00
David Heinemeier Hansson
9e921b85c0
Merge branch 'main' into add-card-description
2025-04-19 20:00:43 +02:00
David Heinemeier Hansson
7c76bdd96d
Drop Scorable concern
2025-04-18 17:07:36 +02:00