Mike Dalessio
6df681991f
rubocop: fix style warnings
2025-11-17 09:12:36 -05:00
Kevin McConnell
1959e15f7e
Fix more tests
...
These are mainly because the fixture's UUIDs are deterministic rather
than time-sortable, and more places where we need to correct the fixture
IDs as well.
2025-11-17 09:12:31 -05:00
Donal McBreen
3aa4a1a562
Shard the search index into 16 tables
...
Create search_index_0 to search_index_15 tables and shard each index by
account id. MySQL has no ability to pre-filter fulltext indexes by
another field so this is the best bet for improving performance.
Each fulltest index internally creates 11 sub tables (see
https://dev.mysql.com/doc/refman/8.4/en/innodb-fulltext-index.html ) so
actually we have 192 tables in total here.
The search_index table name is generated dynamically based on the
account_id.
2025-11-17 09:12:17 -05:00
Donal McBreen
996140e053
Add non transactional search tests
...
MySQL fulltext indexes are only updated on commit. Use a single test in
each file to avoid repeated setup.
2025-11-17 09:12:17 -05:00
Mike Dalessio
7bd697f75e
test: Skip search tests, fix others, and skip a few hard ones
2025-11-17 09:11:42 -05:00
Jorge Manrubia
eea9afb639
Fix: dismiss grouped notifications by card from the notifications tray
...
This also splits the templates into two: index and tray, since the URL now changes.
2025-11-14 12:58:24 +01:00
Jorge Manrubia
0d55c966b3
Fix: setting board entropy was changing the account entropy when not present
2025-11-14 12:10:54 +01:00
Jorge Manrubia
956a7aafad
Revert "Revert "Color a11y""
2025-11-14 11:24:55 +01:00
Jorge Manrubia
6413570985
Revert "Color a11y"
2025-11-14 11:21:52 +01:00
Jorge Manrubia
06b762c0a8
Move default color to the column
2025-11-14 11:15:09 +01:00
Jorge Manrubia
b1e087e7c9
Introduce a proper color poro to represent colors
...
Instead of managing a hash throgh the app
2025-11-14 11:09:39 +01:00
Andy Smith
2b0fd0909d
Fix test
2025-11-13 17:32:36 -06:00
Jorge Manrubia
03a345609e
Baseline replacing collection with board across code
2025-11-05 13:31:54 +01:00
Jorge Manrubia
9d4dd3b00e
Remove "save as draft"
...
Removes the creating status completely as well as the abandoned cards system. It will
always resume drafts if they exist, for a given collection and user.
https://app.box-car.com/5986089/cards/2489
2025-11-03 09:32:29 +01:00
David Heinemeier Hansson
b3474ec97d
Rename Entropy::Configuration to just Entropy
2025-11-02 13:11:41 +01:00
Jason Zimdars
a8fc78fa90
Update tests
2025-10-29 11:23:13 -05:00
Jorge Manrubia
85bee1af9b
Add events for moving between columns
2025-10-29 14:49:02 +01:00
Stanko K.R.
a67fd7b082
Add missing quotation mark
2025-10-23 12:50:41 +02:00
Stanko K.R.
2ac2d4e0da
Add postpone and auto-postpone as Webhook triggers
2025-10-23 12:31:22 +02:00
Jason Zimdars
8ca9e80c6c
Settle on "Moved to Done"
2025-10-17 16:56:26 -05:00
Jason Zimdars
da413e7540
Remove closure reasons
2025-10-15 16:15:56 -05:00
Jorge Manrubia
0666e504d6
Assign postpone_by to system when auto-cleaning
2025-10-15 15:08:41 +02:00
Jorge Manrubia
9263cff3d5
Store and show the user that postpones cards
2025-10-15 13:44:49 +02:00
Jorge Manrubia
5e09944606
Separate card and collection watchers
...
https://fizzy.37signals.com/5986089/cards/375
2025-10-03 19:04:01 +02:00
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