Commit Graph

5430 Commits

Author SHA1 Message Date
Andy Smith 9224b76104 Workflow stages look better on mobile 2025-08-11 11:43:03 -05:00
Jorge Manrubia 278a8f9f96 Remove insight response (remaining stuff from the /insight experimental command) 2025-08-11 14:51:40 +02:00
Jorge Manrubia 27830ed633 Merge pull request #880 from basecamp/clean-insight
Clean experimental code for getting insight
2025-08-11 13:51:57 +02:00
Jorge Manrubia 028d507bcc Format 2025-08-11 13:41:23 +02:00
Jorge Manrubia 588f03e927 Remove insight experimental code
Also, downgrade LLM for commands to mini. It's much cheaper and I only upgraded because of the
interpretation complexities that the insight command introduced.

We are implementing a much better approach with Ask.
2025-08-11 13:40:56 +02:00
Jorge Manrubia 8addd4bd50 Remove comment 2025-08-11 12:42:31 +02:00
Jorge Manrubia bdcb3b90ba Update rubyllm to latest 2025-08-11 12:42:25 +02:00
Mike Dalessio 50d75678b1 Merge pull request #879 from basecamp/flavorjones/fix-cookie-paths2
Tenanted session token cookies
2025-08-10 18:59:18 -04:00
Mike Dalessio 5540b0fd1b Make sure session cookie has the correct path for the tenant
ref: https://fizzy.37signals.com/5986089/collections/7/cards/1234
2025-08-10 18:53:52 -04:00
Mike Dalessio 360e22feb0 Move testing setup for path-based tenanting into test helper
This was previously in the AR::Tenanted branch we were using, but
feels like it doesn't belong in the gem.
2025-08-10 18:53:33 -04:00
Mike Dalessio e5bedcee99 Merge pull request #878 from basecamp/flavorjones/account-slug
Prefer Account#slug to Account.script_name
2025-08-09 14:30:25 -04:00
Mike Dalessio 9bdc273c76 Prefer Account#slug to Account.script_name
Caching the script name in a class instance variable seemed like a bug
to me.
2025-08-09 14:27:41 -04:00
Mike Dalessio b40d22ccdc Merge pull request #877 from basecamp/flavorjones/lexical-entity-unescaping
Update actiontext-lexical to get the code block entities fix
2025-08-09 14:18:25 -04:00
Mike Dalessio d3aa7de351 Update actiontext-lexical to get the code block entities fix
ref: https://fizzy.37signals.com/5986089/collections/2/cards/1229
ref: https://github.com/basecamp/actiontext-lexical/pull/34
2025-08-09 14:16:44 -04:00
Mike Dalessio 367f6061a2 Merge pull request #876 from basecamp/flavorjones/fix-beacon-3
Clean up beacon on-visibility-change handling
2025-08-09 14:14:48 -04:00
Mike Dalessio c78bb652d5 Clean up beacon on-visibility-change handling
The previous version was not posting the beacon when the page was
loaded and visible.
2025-08-09 14:09:34 -04:00
Mike Dalessio 323bb3cb68 Merge pull request #874 from basecamp/flavorjones/fix-lightbox-attributes-2
Fix my fix to Action Text sanitizer config
2025-08-08 15:19:36 -04:00
Mike Dalessio 58ce8828fa Well, well, well, if it isn't the consequences of my own actions 2025-08-08 14:18:08 -04:00
Mike Dalessio c1cb25f3c5 Merge pull request #873 from basecamp/flavorjones/fix-lightbox-attributes
Ensure sanitizer config applies to ActionText in production
2025-08-08 13:56:18 -04:00
Mike Dalessio 6bf61b631e Ensure sanitizer config applies to ActionText in production
In production, eager loading prevents the default sanitizer config
from applying to Action Text. Let's explicitly set it.

ref: https://fizzy.37signals.com/5986089/collections/2/cards/1123
2025-08-08 13:50:23 -04:00
Mike Dalessio e0f7aa8241 Merge pull request #858 from basecamp/flavorjones/beacon-on-visible
Delay clearing notifications until a card is actually viewed.
2025-08-08 08:07:00 -04:00
Mike Dalessio 8ec109ec1a Delay clearing notifications until a card is actually viewed.
Send the "read" beacon when the card is made visible.

Also take care to only send the "disconnect" beacon if the card is
visible.

ref: https://fizzy.37signals.com/5986089/collections/2/cards/1301
2025-08-08 08:02:54 -04:00
Andy Smith a57bed2c6d Merge pull request #860 from basecamp/settings-page-improvements
Settings page improvements
2025-08-07 17:16:18 -05:00
Andy Smith 7fc2a662ee Merge branch 'main' into settings-page-improvements
* main:
  Whitespace
  Link to lightbox for images in comments and card descriptions
  Introduce turbo_stream_flash helper and use it for collection edit
  Extract flash message into a partial, and wrap in a turbo frame
  Display flash when saving public description, update notice
  Fix tray hat layout
  Only connect lightbox controller where the partial is present
  New script to allow creation of a local-auth User.
  Set up a "cleanslate" seed that has no cards and no collections
  Allow local authentication with LOCAL_AUTHENTICATION=1
  Account.signal_account is optional again
  Summary should be the same as color as the canvas
  Make popup group title padding more targeted
  Adjust prompt
2025-08-07 17:15:20 -05:00
Andy Smith a3cee15170 Add BG image tooltip 2025-08-07 15:40:26 -05:00
Andy Smith a83b0a5e15 Assign tooltip 2025-08-07 15:38:47 -05:00
Andy Smith ffe88b824e Tooltip for Add a tag 2025-08-07 15:36:50 -05:00
Andy Smith 24617a8861 Add a couple more tooltips 2025-08-07 15:31:48 -05:00
Andy Smith 49d3b900bf Add tooltips to icon buttons 2025-08-07 15:28:45 -05:00
Jason Zimdars 2ddd94cec8 Whitespace 2025-08-07 15:19:52 -05:00
Jason Zimdars d4d1134aca Link to lightbox for images in comments and card descriptions 2025-08-07 15:19:27 -05:00
Mike Dalessio fdcfbcf9f1 Merge pull request #867 from basecamp/flavorjones/collections-flash
Collections controllers render flash notices
2025-08-07 15:06:59 -04:00
Mike Dalessio 988b20a36d Introduce turbo_stream_flash helper and use it for collection edit
The collections/{entropy,publications,workflows} controllers all
respond via turbo stream, and now also provide a flash message.
2025-08-07 15:04:45 -04:00
Mike Dalessio a8a8a46efa Extract flash message into a partial, and wrap in a turbo frame
to prepare for turbo responses to set a flash message.
2025-08-07 15:04:09 -04:00
Jason Zimdars 99bf09139d Merge pull request #866 from basecamp/flash-collection-settings
Display flash when saving public description, update notice
2025-08-07 14:00:26 -05:00
Jason Zimdars d33cebd708 Display flash when saving public description, update notice 2025-08-07 13:50:45 -05:00
Jason Zimdars 3efdd766eb Merge pull request #865 from basecamp/fix-tray-hat
Fix tray hat layout
2025-08-06 17:55:17 -05:00
Jason Zimdars 3f077051be Fix tray hat layout 2025-08-06 17:46:34 -05:00
Jason Zimdars bdeb21b62f Merge pull request #864 from basecamp/lightbox-fix
Only connect lightbox controller where the partial is present
2025-08-06 17:40:22 -05:00
Jason Zimdars 7d77f014a2 Only connect lightbox controller where the partial is present
- Fixes a console error that complained the dialog target was missing
2025-08-06 17:38:45 -05:00
Mike Dalessio 46b86a6032 Merge pull request #863 from basecamp/flavorjones/seed-clean-slate
Dev env improvements for iterating on new accounts and users
2025-08-06 17:53:23 -04:00
Mike Dalessio ca8a566a99 New script to allow creation of a local-auth User.
ref: https://fizzy.37signals.com/5986089/collections/7/cards/1318
2025-08-06 17:47:54 -04:00
Mike Dalessio 9db98366c3 Set up a "cleanslate" seed that has no cards and no collections
and only a single user, david@37signals.com

ref: https://fizzy.37signals.com/5986089/collections/7/cards/1318
2025-08-06 17:35:55 -04:00
Mike Dalessio 6338edb351 Merge pull request #859 from basecamp/flavorones/allow-local-auth
Allow local authentication
2025-08-06 17:07:54 -04:00
Mike Dalessio 57269b1b9c Allow local authentication with LOCAL_AUTHENTICATION=1
You can touch `tmp/local-auth.txt` to persist this setting.
2025-08-06 17:05:35 -04:00
Andy Smith 6fc3174051 Align with right collumn better 2025-08-06 14:43:42 -05:00
Andy Smith 05705b4921 Special scrolling just for users panel 2025-08-06 14:11:52 -05:00
Andy Smith 4332b98d27 Max height on container 2025-08-06 14:05:24 -05:00
Mike Dalessio 0b938a8375 Account.signal_account is optional again
Also delete the no-op user password migration that I accidentally
committed last month.
2025-08-06 14:04:42 -04:00
Jason Zimdars ba15d4e5bb Merge pull request #856 from basecamp/dark-mode-events-fix
Summary should be the same as color as the canvas
2025-08-05 22:04:21 -05:00