Commit Graph

514 Commits

Author SHA1 Message Date
Jason Zimdars a0520d34fc Merge pull request #1306 from basecamp/fix-postpones-copy
"Postpones" -> "Closes in"
2025-10-14 12:08:32 -05:00
Jason Zimdars 040c8a92c2 "Postpones" -> "Closes in" 2025-10-14 12:05:21 -05:00
Jorge Manrubia 956faaa67d More fine-grained approach to listen for broadcasted refresh signals
Only listen for collections actually involved in the view
2025-10-14 11:10:49 +02:00
Jorge Manrubia 6d434ec467 Reuse existing cache invalidation logic that replaced this helper 2025-10-14 11:02:15 +02:00
Jason Zimdars 940db09063 Refactor to remove workflows styles 2025-10-13 18:06:14 -05: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 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
Jorge Manrubia 5a329195fe Invalidate on collection (so that when we let you edit column colors it invalidates) 2025-10-07 11:25:14 +02:00
Jorge Manrubia 6035738bb4 No workflows anymore 2025-10-07 11:23:25 +02:00
Jorge Manrubia 1d1a3da9cf Cleanup workflow/stages
This was pending after moving to columns
2025-10-07 11:10:10 +02:00
Jorge Manrubia 00a9682bdf Prepare pagination link to be styled 2025-10-07 08:56:29 +02:00
Jorge Manrubia 0aca2a24bc Keep params when paginating, so that filters are kept 2025-10-07 08:41:48 +02:00
Jorge Manrubia e7db336a84 Use new method to fetch collection watchers 2025-10-07 08:33:14 +02:00
Andy Smith 9c536361a6 Inline a shared logo for 404 page and fizzy-menu 2025-10-06 15:28:57 -05:00
Jason Zimdars 96f00bf122 Merge branch 'JZ/10/6/2025' 2025-10-06 14:07:01 -05:00
Jason Zimdars bfb60deb80 Fix display of button in varying conditions 2025-10-06 13:34:18 -05:00
Andy Smith 9b1cd84f96 Fade out overflow on watcher avatars 2025-10-06 11:37:16 -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
Andy Smith c785d1105d Only reverse Watching button if icon_only 2025-10-02 16:10:22 -05:00
Jason Zimdars a8b48d570e Merge pull request #1210 from basecamp/collections-filter
Collections filtering
2025-10-02 15:39:49 -05:00
Jason Zimdars 67ab3d307e Visually hide the pagination indicator
It was appearing when the page first loads and anytime you changed the
filter
2025-10-02 15:37:07 -05:00
Andy Smith 9518495ce2 Reverse involvement buttons if watching 2025-10-02 14:22:54 -05:00
Jorge Manrubia 44c3910699 Don't render next link unless there is more activity 2025-10-02 16:10:00 +02:00
Jorge Manrubia b986927e25 Add pagination to the list of filtered cards 2025-10-02 15:54:02 +02:00
Jorge Manrubia 0d6333f8ba Use frame-based pagination for the activity timeline 2025-10-02 15:07:52 +02:00
Jason Zimdars d71960a733 Avoid Load More buttons spanning the column width 2025-09-30 16:41:35 -05:00
Jorge Manrubia 520a80cf1d Remove role=list for now, it expects listitems as direct descendants 2025-09-30 09:30:37 +02:00
Andy Smith bd7ac0d510 Fix Stream workflow stage BG 2025-09-29 11:50:41 -05:00
Andy Smith 75379d1305 Use parent layout when using with_manual_pagination 2025-09-29 10:20:17 -05:00
Andy Smith 4aec61a4e8 Reinstate gap to cards list 2025-09-29 10:16:07 -05:00
Jorge Manrubia fffdb623c1 Merge main into collapsing-columns branch
Resolved conflict in card-columns.css by keeping both changes:
- Added padding-inline for non-collapsed cards from collapsing-columns
- Kept bubble positioning, hover effects, and card steps from main
2025-09-29 14:03:59 +02:00
Jorge Manrubia 1bb8de8564 Fix tests 2025-09-29 13:13:40 +02:00
Jorge Manrubia 6e1e0eddd8 Add pagination to the rest of the sections 2025-09-28 14:28:13 +02:00
Jorge Manrubia 72fb15dd0f Pagination working for columns
Bring pagination system from KIA that is compatible with page refreshes
2025-09-28 14:21:16 +02:00
Jorge Manrubia f3959ced0d Extract expander to partial 2025-09-27 07:57:36 +02:00
Andy Smith ece2dae154 Ensure icon_only persists after turbo frame reload 2025-09-26 12:50:39 -05:00
Andy Smith 8d9eacdb01 Add reverse icon 2025-09-26 12:43:54 -05:00
Jorge Manrubia b94af96e8f Merge branch 'collapsing-columns' into collapsing-columns+domain
# Conflicts:
#	app/helpers/cards_helper.rb
2025-09-26 18:48:48 +02:00
Jorge Manrubia f5c7d3d35b Reload frames with morphing to pervent blink when re-rendering columns 2025-09-26 16:38:04 +02:00
Jorge Manrubia 5c52b6b056 More fidelity for D&D cards
- Reload source frame with morphing. E.g: to deal with pagination or with the D&D placeholder
- Decrease source counter with JS
2025-09-26 15:30:09 +02:00
Jorge Manrubia aa9d7664ef Move cards to different columns from the perma 2025-09-26 11:14:02 +02:00
Andy Smith 418406e6ee Align column overflow better 2025-09-25 11:45:25 -05:00
Andy Smith d9958d01d0 Stub out column menus 2025-09-24 15:38:01 -05:00
Andy Smith 37cc95f7ce Hide stages within columns 2025-09-24 13:23:15 -05:00
Andy Smith 113063ada3 Add wavy BG to Stream workflow stage 2025-09-24 12:03:58 -05:00
Jorge Manrubia 2f6a639682 Prepare entropy code for the new auto postpone approach 2025-09-24 16:22:42 +02:00
Jorge Manrubia c96334ca3d Merge main into collapsing-columns branch
Resolves merge conflicts by:
- Integrating new Cards::Columns architecture from main
- Preserving collapsible columns functionality
- Maintaining stage-specific doing columns support
- Using new column-based rendering while keeping expanders

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 10:19:04 +02:00
Andy Smith 82bac33f41 Tidy up the expander 2025-09-23 15:15:41 -05:00
Stanko K.R. 24ac7cd00d Add custom labels for Webhooks 2025-09-23 18:00:13 +02:00
Andy Smith 7fec5a98c1 Use class_names helper 2025-09-22 11:22:40 -05:00