Commit Graph

4395 Commits

Author SHA1 Message Date
Stanko K.R. c40eae7d6d Remove lock when creating messages
SQLite locks the whole database instead of a single row which is overkill for creating a message. A transaction will do. If multiple questions are asked the user will get two answers, possibly out of order, which isn't the end of the world.
2025-08-14 16:16:54 +02:00
Stanko K.R. e6f2dcbe2a Follow tag.div convention 2025-08-14 16:08:09 +02:00
Stanko K.R. 94da957d26 DRY-up tool initialization 2025-08-14 15:56:40 +02:00
Stanko K.R. 9b98f91b7f Use if to improve readability 2025-08-14 15:47:13 +02:00
Stanko K.R. eb6d61806b Simplify allowed direction check 2025-08-14 15:46:09 +02:00
Stanko K.R. 1183b984b3 Rely on default response handling 2025-08-14 15:29:27 +02:00
Stanko K.R. e961f6ad27 Extract question from message_params 2025-08-14 15:27:51 +02:00
Stanko K.R. 73cc47ba1c Remove unused code 2025-08-14 15:25:09 +02:00
Stanko K.R. 94405f4a6a Extract link to markdown conversion to a method 2025-08-14 15:20:10 +02:00
Jorge Manrubia 1d9905d071 Update lexical to remove debug traces 2025-08-14 15:14:22 +02:00
Jorge Manrubia 3e3d9fed23 Merge pull request #913 from basecamp/assorted-lexical-fixes
Update editor to bring a bunch of fixes
2025-08-14 15:07:23 +02:00
Jorge Manrubia 3dc2e3fc43 Update lexical to bring https://github.com/basecamp/actiontext-lexical/pull/43 2025-08-14 15:05:14 +02:00
Stanko K.R. 10728e35ef Create scopes for filtering comment by user or system 2025-08-14 14:32:10 +02:00
Stanko K.R. 221f8434d8 Remove extra spaces 2025-08-14 14:25:27 +02:00
Jorge Manrubia 0792d6cea8 Merge pull request #912 from basecamp/styling-problems-new-cards
Fix: rich text content not applied to new cards
2025-08-14 12:15:58 +02:00
Jorge Manrubia 98172ddb44 Fix: rich text content not applied to new cards 2025-08-14 12:13:52 +02:00
Jorge Manrubia 20f4d29788 Merge pull request #905 from basecamp/toolbar
Show pressed buttons in the editor toolbar depending on the format
2025-08-14 11:59:01 +02:00
Jorge Manrubia f21bab5390 Update action text lexical 2025-08-14 11:57:17 +02:00
Jorge Manrubia 661750a3c5 Restore commit to style the language picker that I removed by mistake
I messed when rebasing the branch 🙏

See https://github.com/basecamp/fizzy/commit/a72d41a151abac36b683aba655676f0ea5920618

Co-authored-by: Jason Zimdars <jz@37signals.com>
2025-08-14 11:33:41 +02:00
Jorge Manrubia d016747bf4 CSS for showing pressed buttons 2025-08-14 11:27:15 +02:00
Jorge Manrubia 6a337de327 Merge pull request #904 from basecamp/code
Add language picker for code blocks
2025-08-14 11:26:45 +02:00
Jorge Manrubia 3ecb387797 Update lexical 2025-08-14 11:25:47 +02:00
Jorge Manrubia 6e2c8615a0 Add language picker for code blocks 2025-08-14 11:24:39 +02:00
Andy Smith ba34cce5c1 Merge pull request #911 from basecamp/fizzy-menu-better-sticky-footer
Hack for Safari sticky-footer-while-transitioning bug
2025-08-13 15:57:21 -05:00
Andy Smith 0843e3d555 Hack for Safari sticky-footer-while-transitioning bug 2025-08-13 15:42:03 -05:00
Andy Smith fd448cbb54 Merge pull request #906 from basecamp/clear-on-card-hover
Show notification X on card hover
2025-08-13 13:44:09 -05:00
Andy Smith efa0a56207 Show notification X on card hover 2025-08-13 13:40:08 -05:00
Andy Smith 7423413fa4 Merge pull request #898 from basecamp/more-navigable-lists
More navigable lists
2025-08-13 12:53:28 -05:00
Andy Smith 085d1456fa Add keyboard tips 2025-08-13 12:48:14 -05:00
Andy Smith d23c579d67 Better disabled state for switches 2025-08-13 12:33:00 -05:00
Andy Smith 389273072d Handle disabled switches 2025-08-13 12:30:12 -05:00
Andy Smith 5da1dee450 Only add selected BG color when it makes sense 2025-08-13 12:20:39 -05:00
Stanko K.R. 95b324cda7 Fix /ask sometimes triggering a search 2025-08-13 15:26:33 +02:00
Stanko K.R. 4f219fadf3 Add test for the price calculation 2025-08-13 15:14:12 +02:00
Stanko K.R. 6282142250 Remove unused failure handling 2025-08-13 15:14:12 +02:00
Stanko K.R. a44cff5e15 Re-record VCR cassette 2025-08-13 15:14:12 +02:00
Stanko K.R. aa11c82e1c Add test for the list comments tool 2025-08-13 15:14:12 +02:00
Stanko K.R. 0807337ede Add test for the list collections tool 2025-08-13 15:14:12 +02:00
Stanko K.R. 8574e53d83 Add test for the list users tool 2025-08-13 15:14:12 +02:00
Stanko K.R. 33daa866f3 Test the list cards tool 2025-08-13 15:14:12 +02:00
Stanko K.R. c1bd68d0e6 Add tests for OrderClause 2025-08-13 15:14:12 +02:00
Stanko K.R. 7f38586bda Fix crash when searching 2025-08-13 15:14:12 +02:00
Stanko K.R. d0734775c3 Reorganize tools 2025-08-13 15:14:12 +02:00
Stanko K.R. f6279b87cf Clean up filtering and serialization for tools 2025-08-13 15:14:12 +02:00
Stanko K.R. 8d323bb0aa Extract card filtering 2025-08-13 15:14:12 +02:00
Stanko K.R. 0e92447719 Partially fix tool URLs 2025-08-13 15:14:12 +02:00
Stanko K.R. 51f6326404 Add tenant to URLs 2025-08-13 15:14:12 +02:00
Stanko K.R. 7603d0bbcf Tweak the prompt so it's clearer 2025-08-13 15:14:12 +02:00
Stanko K.R. 8a8888c3ef Tidy up #ask & #respond 2025-08-13 15:14:12 +02:00
Stanko K.R. c95e8678a9 Extract #all_emoji? to a Rails ext 2025-08-13 15:14:12 +02:00