Commit Graph

2193 Commits

Author SHA1 Message Date
Mike Dalessio ec119b774a Remove the caching around Identity-related fragments
The Identity table read should be OK given the menu is etagged
and the untenanted page should be a rarity.
2025-10-10 11:53:36 -04:00
Mike Dalessio b7abf33c29 Bump identity cache fragments 2025-10-10 11:08:39 -04:00
Mike Dalessio 3399e45130 Introduce an "Identity" model to ease login
- New untenanted Identity and Membership models
- New `identity_token` cookie with path "/" holds state across tenants

We're not sure whether the untenanted database will be sqlite or
MySQL, and so I've been careful to minimize

- database reads, placing them behind etags and caching
- database writes, only writing when a new Session is created (login)

Note that we track two things in the identity_token cookie: a signed
id, and the updated_at for the underlying Identity object. This allows
us to effectively cache on the Identity without having to hit the
database, by using an Identity::Mock object that is compatible with
etag and cache methods.

The new integration test shows the desired user-facing behavior, which
is to make it easy to login without a tenanted URL and to jump between
tenants.

- the untenanted "login_help" page shows all linked memberships
- the jump menu shows all linked memberships (except the current)

Also introduced a utility script to populate existing employee
Identities, grouping accounts by email address.
2025-10-10 10:12:25 -04:00
Jason Zimdars 094c2c056b Don't try to wrap with a download link, every file already has one in the caption 2025-10-08 21:54:25 -05:00
Jason Zimdars 8c3f0c66b7 Show column title on public collections 2025-10-08 17:55:35 -05:00
Jason Zimdars 4bc304f762 Check the selected color 2025-10-08 17:37:10 -05:00
Jason Zimdars 3390cd95af Style 2025-10-08 17:11:42 -05:00
Jason Zimdars fcba8b6acb Add column color to cache keys
So cards change colors when you change the column color
2025-10-08 17:08:32 -05:00
Jason Zimdars d7cf5c9348 Set and change column colors 2025-10-08 16:47:36 -05:00
Andy Smith 4638237889 Cleanup prototyping 2025-10-08 14:45:02 -05:00
Andy Smith 86b458bad0 Sorta working x-scroll 2025-10-08 13:54:24 -05:00
Andy Smith c87dce0e7f Add gap 2025-10-08 10:57:07 -05:00
Jorge Manrubia 245823ad1c Don't cache the whole stream column
It can result in serving the wrong watch button, causing trouble like https://fizzy.37signals.com/5986089/cards/2157

The list of cards is already cached.
2025-10-08 12:18:31 +02:00
Jorge Manrubia 509464778f Format 2025-10-08 11:21:49 +02:00
Jason Zimdars 6f73c6a729 Fix squashed users lists
Regressed in 9b1cd84f96 cc: @andyra
2025-10-07 20:27:55 -05:00
Andy Smith 42aa213312 Remove aside and toolbar role from perma actions 2025-10-07 10:48:05 -05:00
Jorge Manrubia 1d1a3da9cf Cleanup workflow/stages
This was pending after moving to columns
2025-10-07 11:10:10 +02:00
Jorge Manrubia 6af27c91d8 Fix: anchor links to comments not working
The problem was having the turbo frames as targets: their display: contents would make
auto-scrolling not working!

https://fizzy.37signals.com/5986089/cards/2190
2025-10-07 10:11:05 +02:00
Jorge Manrubia 543469965a Make all the pagination automatic 2025-10-07 08:50:33 +02:00
Jorge Manrubia 4e6866bd2e Add pagination to searches 2025-10-07 08:49:05 +02:00
Jorge Manrubia 85907e2a4e Paginate filtered cards 2025-10-07 08:44:56 +02:00
Andy Smith 9c536361a6 Inline a shared logo for 404 page and fizzy-menu 2025-10-06 15:28:57 -05:00
Andy Smith 7affff16fd Add proper radio functionality to column picker 2025-10-06 14:25:07 -05:00
Andy Smith a2b21b75ee Merge pull request #1246 from basecamp/a11y-column-header
Use button instead of header for expander
2025-10-06 14:10:47 -05:00
Jason Zimdars 96f00bf122 Merge branch 'JZ/10/6/2025' 2025-10-06 14:07:01 -05:00
Andy Smith efb0fd5237 Use button instead of header for expander 2025-10-06 13:59:02 -05:00
Jason Zimdars 37c20caf98 Tighten up, remove keyboard nav hint
You'll only rarely need to use this, no need to explain a feature most
people don't need
2025-10-06 13:24:52 -05:00
Jason Zimdars f2abbb5d59 Display email address for users
Helps identify invited people
2025-10-06 13:10:19 -05:00
Andy Smith 9b1cd84f96 Fade out overflow on watcher avatars 2025-10-06 11:37:16 -05:00
Jorge Manrubia 307d46855b Remove trace 2025-10-06 12:48:04 +02:00
Jorge Manrubia 3e67da7d0e Add a new join model to link summaries with users
So that changing the set of events does not result in not being able to find a generated highlight summary
2025-10-06 12:33:28 +02:00
Jorge Manrubia 38116f64e4 Higher fidelity for watching/unwatching cards 2025-10-06 10:48:31 +02:00
Jason Zimdars 5aa2e5016d Tighten filter input 2025-10-03 18:02:10 -05:00
Jason Zimdars d591166f01 Merge pull request #1212 from basecamp/column-perma
Column perma
2025-10-03 16:09:42 -05:00
Jason Zimdars 613e19145b Improve blank slates 2025-10-03 16:05:20 -05:00
Jason Zimdars 57f78f9e6c Match menu button color 2025-10-03 15:39:35 -05:00
Jason Zimdars 903e1c6789 Missed one 2025-10-03 14:36:02 -05:00
Jason Zimdars eeacf5e0c2 Align collapsed columns 2025-10-03 14:22:45 -05:00
Jason Zimdars a7187472f8 Adjust icon 2025-10-03 14:16:12 -05:00
Jason Zimdars 3546788aaf Adjust gradient effect 2025-10-03 14:09:29 -05:00
Jorge Manrubia a6383d0e43 Don't prepend yourself to the list if you are not watching 2025-10-03 19:03:26 +02:00
Jorge Manrubia e610bc981e Handle update with a page refresh so that both the list of subscribers and the bell update on the same operation
We can optimize with streams separately, this fixes a bug
2025-10-03 18:25:04 +02:00
Jorge Manrubia 7eb99c308c Fix: watchers list not updating due to caching
https://fizzy.37signals.com/5986089/cards/2157/edit
2025-10-03 16:56:39 +02:00
Jorge Manrubia 711609bd51 Remove cache for the settings form
It is sensitive to the screen, it is causing trouble and it is not really justified

https://fizzy.37signals.com/5986089/cards/2159
2025-10-03 15:54:40 +02:00
Jorge Manrubia 4527dcbeda Remove unnecessary filtering code
After removing collections from the filtering menu, there was quite a good cleanup here pending
2025-10-03 10:56:34 +02:00
Jason Zimdars 3d253309b0 Add a dedicated expand button 2025-10-02 19:51:42 -05:00
Jason Zimdars 610db7d203 Make The Stream expandable 2025-10-02 17:57:09 -05:00
Jason Zimdars 095d5f8b0f Merge branch 'main' into column-perma
* main: (47 commits)
  Remove overflow from columns
  Only reverse Watching button if icon_only
  Move video captions below content
  Account#slug uses the virtual "tenant" attribute
  Rename LOCAL_AUTHENTICATION to OSS_CONFIG
  Add a script to generate unique passwords per email address
  Visually hide the pagination indicator
  Use hide avatars from tabindex on preview
  Render a helpful menu of tenants temporarily
  Remove code related to Launchpad auth or 37id Users
  Formatting
  Fix missing close bracket from merge
  Reverse involvement buttons if watching
  Only render the manifest link for tenanted URLs
  Move load-balancer to fizzy-lb-101
  Add otel_collector accessory for load balancer
  Fix: this was getting idiomorph confused as it was being invoked on many subtree elements
  Keep column popups during page refreshes
  Don't render next link unless there is more activity
  Live updates for the collection perma
  ...
2025-10-02 17:36:56 -05:00
Jason Zimdars d080773fa0 Expand Closed and Not Now columns 2025-10-02 16:59:46 -05:00
Mike Dalessio 9bed917b49 Merge pull request #1216 from basecamp/flavorjones/local-authentication
Standalone authentication: step 1
2025-10-02 17:33:56 -04:00