Commit Graph

2763 Commits

Author SHA1 Message Date
Jorge Manrubia a2ca8b1dc0 Improved support to act on cards via ID 2025-07-03 13:09:10 +02:00
Jorge Manrubia 75387891d5 Refine prompt 2025-07-03 12:54:24 +02:00
Jorge Manrubia ca4628b457 Add more tests and fix failing ones 2025-07-03 12:46:36 +02:00
Jorge Manrubia 98e568482a Add clarifying comment 2025-07-03 11:42:29 +02:00
Jorge Manrubia 96faca3ff6 Return standalone command when only one command
this avoids unnecessary redirects
2025-07-03 11:39:46 +02:00
Jorge Manrubia 9b897191d0 Extract attachable concerns 2025-07-03 11:25:47 +02:00
Jorge Manrubia 3684eaa7a0 Format 2025-07-03 11:22:43 +02:00
Jorge Manrubia 8e7268cd6e Use your user gid to resolve yourself, so that this is not ambiguous 2025-07-03 10:09:01 +02:00
Jorge Manrubia 11d2b005a2 Support trailing spaces in inserted commands 2025-07-03 09:57:01 +02:00
Jorge Manrubia 75a8316609 Disable attachments in the terminal 2025-07-03 09:35:38 +02:00
Jorge Manrubia 15eb09a1fe Close should show up before than clear for "cl" 2025-07-02 23:08:52 +02:00
Jorge Manrubia 0c4baed8a4 Show help menu without introducing newlines after updating lexical 2025-07-02 23:03:38 +02:00
Jorge Manrubia 7913513826 Reset after entering help command 2025-07-02 22:35:52 +02:00
Jorge Manrubia b469caca33 Add command to show help menu
cc @jzimdars
2025-07-02 22:25:57 +02:00
Jason Zimdars ca70d47576 Copy edits 2025-07-02 15:08:58 -05:00
Jorge Manrubia 33768757db Don't submit on /help command 2025-07-02 21:59:53 +02:00
Jorge Manrubia 8330bb25fc Support help command 2025-07-02 21:55:13 +02:00
Jorge Manrubia b0e35bcd54 Remove trace 2025-07-02 21:51:42 +02:00
Jorge Manrubia ccdaec4721 Include command in the search string 2025-07-02 21:27:47 +02:00
Jorge Manrubia ddb0470480 Format 2025-07-02 21:26:24 +02:00
Jorge Manrubia cee3925057 Add all commands 2025-07-02 21:26:10 +02:00
Jason Zimdars d699223248 Tweak virtual cursor 2025-07-02 11:27:41 -05:00
Jorge Manrubia cbe246c3c1 Revert "We insert these now to make sure the cursor is visible when the attachment is the only element in the paragraph"
This reverts commit b67d2eefd7.
2025-07-02 18:03:29 +02:00
Jorge Manrubia b67d2eefd7 We insert these now to make sure the cursor is visible when the attachment is the only element in the paragraph 2025-07-02 18:03:02 +02:00
Jason Zimdars 36d1da692c Use selection color 2025-07-02 10:27:42 -05:00
Jason Zimdars e1fc813bb1 Make caption more WYSIWYG 2025-07-02 10:27:42 -05:00
Jason Zimdars 4f8fd6107d Mentions should match the surrounding text 2025-07-02 10:27:42 -05:00
Jorge Manrubia 09ee0324cd Push simulated cursor (I'll ask for design help next) 2025-07-02 16:05:50 +02:00
Jorge Manrubia 18afaa87c2 For custom attachments we don't manage figures anymore, but action-text-attachments
So that we keep HTML valid when nesting them within paragraphs
2025-07-02 16:01:34 +02:00
Andy Smith 22283851ee Style prompts and insertions in the terminal 2025-07-01 13:58:54 -05:00
Jorge Manrubia a34b18a77c Refine 2025-07-01 18:33:45 +02:00
Jorge Manrubia 9e45cf625d Remove caching so that it doesn't interfere when working on design 2025-07-01 18:31:51 +02:00
Jorge Manrubia 6440e22030 To be used 2025-07-01 18:31:26 +02:00
Jorge Manrubia b2f9bf1f2e Stub for command prompts 2025-07-01 18:27:38 +02:00
Jorge Manrubia d6ba1573c3 Set max height for the menus 2025-07-01 16:11:28 +02:00
Jorge Manrubia cae01b777e Add prompt for tags too 2025-07-01 14:58:24 +02:00
Jorge Manrubia 60d243da52 Support direct references such as @user via rich text commands 2025-07-01 14:16:29 +02:00
Jorge Manrubia 93be9e945f Support user prompts in Fizzy do, move parsing logic to context 2025-07-01 14:06:39 +02:00
Jorge Manrubia 0f7b45ab38 Use lexical in the command line 2025-07-01 12:15:02 +02:00
Jorge Manrubia 939d68b941 Don't prevent default with light/right arrows since this prevents moving cursor on input fields 2025-07-01 11:38:44 +02:00
Jorge Manrubia c2e1b36d7e Merge pull request #675 from basecamp/command-errors
Show command errors
2025-07-01 09:56:42 +02:00
Jorge Manrubia 50b4f34f34 Copy tweaks 2025-07-01 09:51:11 +02:00
Jorge Manrubia 888923d32b Copy tweaks 2025-07-01 09:50:10 +02:00
Jorge Manrubia 01bda1b529 Merge pull request #672 from basecamp/filter-ignore-diacritics
Convert diacritics to approximations before filtering
2025-07-01 09:46:14 +02:00
Jorge Manrubia a5f5a4ec26 Remove helper not used anymore because lexical handles it
https://github.com/basecamp/actiontext-lexical/pull/18
2025-07-01 09:44:24 +02:00
Jorge Manrubia 2ab322adfe Tidy up code to normalize text, extract text helpers 2025-07-01 09:42:22 +02:00
Mike Dalessio 3156fbd770 Fix notification rendering on card closure events
where the closure no longer exists, possibly due to being
reopened.

Previously, fragment caching generally prevented any problems, but if
the cache is busted for any reason (like Andy did in c7eeb56c), then
the previous logic would raise an exception like "undefined method
'reason' for nil".

So, if the closure no longer exists, let's just note that it was
closed, and by who.
2025-06-30 23:45:53 -04:00
Jason Zimdars fb1ec2ab3a Copy edits 2025-06-30 18:14:48 -05:00
Jason Zimdars ab5d6931de Color the output red, too 2025-06-30 18:14:43 -05:00
Jason Zimdars ffb422ac61 This attribute is no longer needed 2025-06-30 17:31:07 -05:00