Commit Graph

720 Commits

Author SHA1 Message Date
Jorge Manrubia 17876b30d4 Manage comments with streams
We replacing the full list of comments within a turbo frame, which didn't feel great when you had several comments.
2025-11-13 17:12:46 +01:00
Jorge Manrubia bddbc0c0ac Make comment body area permanent so that morphing/refresh does not touch it 2025-11-13 16:52:54 +01:00
Jason Zimdars 197cf12512 "Post" is too terse
I think we can go back to the longer label now that the hotkeys aren't
inside the button
2025-11-12 17:12:39 -06:00
Jason Zimdars a3f2bc276a Add hotkey indicators 2025-11-12 17:07:24 -06:00
Jorge Manrubia 2dab14ef64 Replace the full container since we want to get back to the initial state
To see the boost button again
2025-11-12 18:14:31 +01:00
Jorge Manrubia 2d96e7c9c6 Use streams to update/remove reactions
Prevents race condition causing flickering https://app.fizzy.do/5986089/cards/2906

This will prevent these from udpating live, but we will tackle that as part of live card
updates with page refreshes, which I will tackle soon.
2025-11-12 18:04:20 +01:00
Jorge Manrubia 285328ec60 Smoother tag updates with streams 2025-11-12 17:29:35 +01:00
Jason Zimdars 7d095c87b1 Simplify label, try showing the hotkey outside the button when we have room 2025-11-11 17:54:56 -06:00
Jason Zimdars 66708e7f4c Hotkeys and loading state 2025-11-11 16:02:06 -06:00
Jason Zimdars df858fcdd0 Rework to ensure button adopts card color
Removes unecessary field class, visually downplays edit button
2025-11-11 15:55:23 -06:00
Jorge Manrubia 0f664a8ce1 Add create cards with keyboard
CTRL+ENTER to create
CTRL+SHIFT+ENTER to create and add another
2025-11-11 12:38:23 +01:00
Jason Zimdars 16d8661a12 This wasn't quite right 2025-11-10 18:55:38 -06:00
Jason Zimdars fe06b41ade Add a distinct edit button 2025-11-10 18:25:11 -06:00
Jason Zimdars 2afadd41e8 Indicate shortcut on comment submit 2025-11-10 18:20:58 -06:00
Jason Zimdars 1df7ad9d4e Hit D to mark-as-done 2025-11-10 18:15:12 -06:00
Jason Zimdars 44edaed18a Hotkey for opening assignees picker 2025-11-10 18:11:36 -06:00
Jason Zimdars 57acdd8ffc Adjust layout 2025-11-10 18:11:22 -06:00
Jason Zimdars 3114ec7a82 Hotkey to open tags, focus field, move add to bottom 2025-11-10 18:07:32 -06:00
Jason Zimdars 6a119dbe7a Adjust these so we get proper spinner styles when submitting 2025-11-10 17:13:45 -06:00
Andy Smith 8cc4f2ee8e Clicking assignee opens popup 2025-11-10 11:36:31 -06:00
David Heinemeier Hansson fef9c2dab6 turbo_frame_tag has built-in dom_id expansion 2025-11-08 16:42:41 +01:00
David Heinemeier Hansson 07ec3f49fd Save three requests per card view
Trade off is potentially a tiny delay on opening when reassigning, but
that seems worth it.
2025-11-07 17:40:20 +01:00
Andy Smith 6aeceb56e2 Tighten up reactions styles 2025-11-06 12:49:20 -06:00
Jorge Manrubia b78ca68b2b Restore streams since we rely on those for deleting boosts
https://app.fizzy.do/5986089/cards/2811
2025-11-05 21:31:08 +01:00
Jorge Manrubia 3b34703db3 Make sure that only admins or card creators can delete cards 2025-11-05 16:37:43 +01:00
Jorge Manrubia 39ec6cf062 Replace collection with board in the code, tests green 2025-11-05 13:41:12 +01:00
Jorge Manrubia 03a345609e Baseline replacing collection with board across code 2025-11-05 13:31:54 +01:00
Jorge Manrubia 33b6940859 Disable card perma refreshes for now
The problem described here is fixed since we removed the banner, but I want
to be sure there are not other issues here. Want to avoid glitches in such a critical
screen
https://app.fizzy.do/5986089/cards/2765#comment_994784439
2025-11-05 09:21:01 +01:00
Jason Zimdars 81ec0154ea Don't indicate drafts in preview cards 2025-11-04 21:55:36 -06:00
Jason Zimdars b826eb47fe Remove draft restoration notice
We don't need to announce that there is autosaved content
2025-11-04 21:54:14 -06:00
David Heinemeier Hansson 912f7d179a We already have a button to create the card 2025-11-04 12:45:09 +01:00
Jason Zimdars 886e38547e This shouldn't be visible when the card is already postponed
Fixes: https://app.box-car.com/5986089/cards/128
2025-11-03 11:50:36 -06:00
David Heinemeier Hansson 3bc35ac559 Style 2025-11-03 17:24:04 +01:00
David Heinemeier Hansson 887559d1a3 Be consistent about using turbo stream templates 2025-11-03 17:23:37 +01:00
David Heinemeier Hansson 6570f5fc04 Use etag for assignments/new 2025-11-03 17:22:38 +01:00
Jorge Manrubia 65c98a5d65 This is not cache-friendly
https://chat.37signals.com/rooms/440/@45201
2025-11-03 17:06:59 +01:00
Jorge Manrubia 42a8b52fa1 Don´t show draft banner if the card is not filled 2025-11-03 14:47:29 +01:00
Jorge Manrubia 111d4900ef Only show draft banner if the card had some data 2025-11-03 14:41:27 +01:00
Jorge Manrubia 37ce2c98d1 Refresh the cards perma dynamically with page refreshes 2025-11-03 13:04:21 +01:00
Jorge Manrubia 5f7feed6c4 Refresh activity-related bits in the card perma dynamically:
- Remove entropy bubble
- Refresh the auto close notice https://app.box-car.com/5986089/cards/2683
2025-11-03 12:48:57 +01:00
Jorge Manrubia da6d1011fd Replace card replacement with stream actions to prevent flickering when managing steps 2025-11-03 10:59:24 +01:00
Jorge Manrubia 1df8d42811 Create cards with CTRL/CMD enter 2025-11-03 09:32:29 +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
Jason Zimdars f962368155 Treat the collection link like a back button rather than a title 2025-10-31 16:20:42 -05:00
Jason Zimdars c7b520180c Fussy capitalization for shared text 2025-10-31 11:18:25 -05:00
Jorge Manrubia 11e872eb69 Format 2025-10-31 14:57:28 +01:00
Jorge Manrubia 1a78de6f71 Fixes for refresh stream subscriptions
This will make the system listen for changes via the filtered
collections, when any, or via all the collections otherwise.
2025-10-31 12:25:05 +01:00
Jorge Manrubia 272388918b No need for this helper anymore 2025-10-31 10:41:22 +01:00
Jorge Manrubia d0c33b8550 Add http caching for the new columns/edit card resource 2025-10-31 10:40:45 +01:00
Jorge Manrubia be6708065e No need to invalidate cache on columns since we load those with turbo frame now 2025-10-31 10:40:44 +01:00