Commit Graph

3219 Commits

Author SHA1 Message Date
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 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 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 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 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
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 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 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 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 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 a2e43f6bf9 Merge branch 'dark-mode-events-fix'
* dark-mode-events-fix:
  Summary should be the same as color as the canvas
2025-08-05 22:03:18 -05:00
Jason Zimdars 3f8a010162 Summary should be the same as color as the canvas 2025-08-05 22:00:11 -05:00
Andy Smith 41c187b736 Tidy up the rest of collection settings 2025-08-05 17:08:40 -05:00
Andy Smith 806e1b2af2 Simplify Name & Access on collection settings 2025-08-05 17:02:24 -05:00
Andy Smith 3b97e905c6 Make popup group title padding more targeted 2025-08-05 16:44:20 -05:00
Andy Smith 4ab48a0d9a Use proper tags, adjust spacing, reset list height 2025-08-05 16:40:46 -05:00
Andy Smith 6df28577d9 Simplify dividers padding 2025-08-05 16:13:56 -05:00
Jason Zimdars 9362b711d8 Adjust prompt 2025-08-05 16:02:11 -05:00
Andy Smith 72194598d9 Merge pull request #849 from basecamp/filter-improvements
Filter improvements
2025-08-05 15:34:27 -05:00
Andy Smith e616b68fbe Fix markup in other filter locations 2025-08-05 10:29:43 -05:00
Andy Smith d5a1c9824c Merge pull request #836 from basecamp/lightbox-improvements
Lightbox improvements
2025-08-05 09:59:37 -05:00
Andy Smith 38be44dd11 Move lightbox to cards/show so we can use it for description and Lexical images 2025-08-04 16:11:43 -05:00
Andy Smith 7211d7f953 Make group title sticky when scrolling 2025-08-04 16:00:03 -05:00
Andy Smith 6d43582f5b Hide lists when children are all hidden 2025-08-04 15:54:16 -05:00
Andy Smith f587fd7e1f Handle group padding better 2025-08-04 15:04:59 -05:00
Andy Smith f0c63bd2f1 Better padding and alignment for radio buttons in filter menu 2025-08-04 14:56:24 -05:00
Andy Smith 6e479d3dd1 Dont end-justify check icons in radio 2025-08-04 14:33:09 -05:00
Andy Smith 7d35ab11ec Add a remove image button inside the lightbox 2025-08-04 13:36:56 -05:00
Andy Smith afa6430c12 CSS support for multiple actions 2025-08-04 13:08:28 -05:00
Andy Smith 34f926ffca Support optional captions 2025-08-04 13:05:39 -05:00
Andy Smith 8a7d992f72 Merge pull request #820 from basecamp/404-page
Add a custom 404 page
2025-08-04 11:55:19 -05:00
Andy Smith 4c505aeb23 Get all transitions working properly 2025-07-31 15:34:27 -05:00
Jason Zimdars b30a329a1a Surface some fun user activity 2025-07-31 14:30:08 -05:00
Jason Zimdars 43b6414015 Flatten fizzy menu button 2025-07-31 12:26:22 -05:00
Jason Zimdars 7d55069d88 Adjust prompt 2025-07-31 10:30:00 -05:00
Jason Zimdars ad1b535e83 Try calling them "Highlights", allow for truncation 2025-07-31 09:45:23 -05:00
Jason Zimdars b795a43d5c Simplify the prompt, try a top 5 points format 2025-07-30 18:14:37 -05:00
Jason Zimdars 9418543f76 Include date in column headers 2025-07-30 17:56:49 -05:00
Jason Zimdars 3322ac9e4e Label the summary day 2025-07-30 17:42:59 -05:00
Andy Smith 514dbc536b Fix lightbox initial display 2025-07-30 17:30:56 -05:00