Commit Graph

743 Commits

Author SHA1 Message Date
Stanko K.R. 6f8364071c Fix call to non-existant blur action 2025-11-21 17:57:38 +01:00
Stanko K.R. ac2ed4851e Blur comment field after submission 2025-11-21 15:59:22 +01:00
Stanko K.R. 2b23d85653 Add dir=auto to title inputs
See: https://github.com/basecamp/once-campfire/pull/97
2025-11-21 11:13:44 +01:00
Jorge Manrubia 649888dbd4 Making the frame permanent with an id would reconnect the editor causing the dup
This is something we need to fix in Lexxy for good, but for now this patch will do it.

https://github.com/basecamp/lexxy/issues/263
2025-11-21 08:52:10 +01:00
Andy Smith 75a978e972 Merge pull request #1655 from basecamp/hide-title-scrollbar
Add hide-scrollbar utility and use on card titles
2025-11-20 11:37:17 -06:00
Andy Smith 7fe2ea203d Add hide-scrollbar utility and use on card titles 2025-11-20 11:03:10 -06:00
Mike Dalessio 71f2ffbf59 Change "ADDED" to "DRAFTED" when rendering draft cards
ref: https://app.fizzy.do/5986089/cards/3062
2025-11-20 09:32:42 -05:00
Jason Zimdars 25e2d98c35 Don't label these, they're expected and obvious (I think) 2025-11-19 16:26:55 -06:00
Jason Zimdars 0259cb860d Fix awkward wrapping on mobile 2025-11-19 16:16:16 -06:00
David Heinemeier Hansson 66d397fa80 Eager load lazy frames inside dialogs on hover 2025-11-19 08:28:18 +01:00
Mike Dalessio c2a5c81e21 Older cards do not have a postponed_by user 2025-11-18 15:46:29 -05:00
Andy Smith 249c06e4f6 Straighten out focus ring for the background image button 2025-11-18 11:29:40 +00:00
Andy Smith 7c8ebd1f02 Make sure assign button isn't tabbable when previewing 2025-11-18 11:29:31 +00:00
Jason Zimdars eeeb3a6e7e Remove extra mark-up 2025-11-17 17:38:25 -06:00
Jason Zimdars 51a9edf419 Contain hotkeys inside the button 2025-11-17 17:35:14 -06:00
Jason Zimdars e3e56e8289 Hide hotkeys on mobile 2025-11-17 17:07:28 -06:00
Jorge Manrubia 22d042b900 Fix typo with tag 2025-11-17 20:21:56 +01:00
Kevin McConnell a764a08863 Use card number as ID when dragging
Because the endpoints are `CardScoped` by number, we should also use the
number here for consistency.
2025-11-17 09:12:41 -05:00
Stanko K.R. 32d96db7d9 Replace card id with card number 2025-11-17 09:12:15 -05:00
Jorge Manrubia 906c5245ce Prefer inline partials 2025-11-17 11:29:08 +01:00
Jorge Manrubia c247a430fb Favor consistent style that avoids explicit dom_id calls 2025-11-17 11:21:50 +01:00
Jorge Manrubia d6b602b7d7 Restore refreshes: make sure they play well with cards in editing mode 2025-11-14 15:37:43 +01:00
Jason Zimdars 7650bf9c33 Display stamp in cards view when it's auto-postponed by the system 2025-11-13 18:12:24 -06:00
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