Commit Graph

5337 Commits

Author SHA1 Message Date
Jorge Manrubia 6269f3c47e Reload notifications tray when the window regain the focus
https://app.fizzy.do/5986089/cards/2743

It includes a debounce interval to avoid too many of these.
2025-11-18 08:49:19 +01:00
Jason Zimdars 5964431fc4 Merge pull request #1592 from basecamp/add-nav-logotype
Add logotype to nav
2025-11-17 18:03:50 -06:00
Jason Zimdars a4ada7df20 Add logotype to public layout, too 2025-11-17 18:01:51 -06:00
Jason Zimdars f11ec1187c Keep padding the same all around 2025-11-17 17:40:26 -06:00
Jason Zimdars eeeb3a6e7e Remove extra mark-up 2025-11-17 17:38:25 -06:00
Jason Zimdars 51a9edf419 Contain hotkeys inside the button 2025-11-17 17:35:14 -06:00
Jason Zimdars def42d3375 Use symbols when reasonable 2025-11-17 17:35:01 -06:00
Jason Zimdars e3e56e8289 Hide hotkeys on mobile 2025-11-17 17:07:28 -06:00
Jason Zimdars 14d9d317ff Panels now need a specific upperbound in these cases 2025-11-17 17:05:44 -06:00
Jason Zimdars 13dce732b2 Fussy punctuation 2025-11-17 17:01:08 -06:00
Jason Zimdars 385b70eea5 Should be "Done" when user-facing 2025-11-17 16:59:56 -06:00
Jason Zimdars 91d1cd9bd4 Merge pull request #1590 from basecamp/activity-user-filter
Activity user filter
2025-11-17 16:56:37 -06:00
Jason Zimdars d8f519d7bf Adjust so the filters are only displayed when useful 2025-11-17 16:52:10 -06:00
Mike Dalessio da7219722f Merge pull request #1618 from basecamp/flavorjones/card-created-at
Update a card's `created_at` when it is published
2025-11-17 17:46:14 -05:00
Mike Dalessio 97a6916ae1 Update a card's created_at when it is published
ref: https://app.fizzy.do/5986089/cards/2854
2025-11-17 17:39:25 -05:00
Jason Fried 8534584052 Small copy adjustment on the new or sign in screen. 2025-11-17 13:14:12 -08:00
Mike Dalessio e3ce26c53d rubocop: more style fixes 2025-11-17 14:54:42 -05:00
Mike Dalessio f98478ee1e Merge pull request #1612 from basecamp/flavorjones/debounce-sign-in-enter
Prevent multiple form submissions during sign-in
2025-11-17 14:54:01 -05:00
Mike Dalessio 6a3135b67a Introduce a simple stimulus controller for the magic link form
which avoids the double-submit problem from:

- https://app.fizzy.do/5986089/cards/2980
- https://app.fizzy.do/5986089/cards/2771
2025-11-17 14:48:20 -05:00
Jason Zimdars fdf02c8fe2 Don't allow zooming inside PWAs 2025-11-17 13:47:57 -06:00
Jason Zimdars 561542922c Target Safari to enforce min font size
Prevents zooming the viewport on Mobile Safari
2025-11-17 13:47:37 -06:00
Jorge Manrubia d263649b7e Extract partials 2025-11-17 20:21:56 +01:00
Jorge Manrubia 22d042b900 Fix typo with tag 2025-11-17 20:21:56 +01:00
Jason Zimdars 54197c0ef3 Add a user filter 2025-11-17 20:21:56 +01:00
Jason Zimdars 0e5e8d5019 Whitespace 2025-11-17 20:21:56 +01:00
Kevin McConnell f378f7c122 Use non-numeric user ID in JS 2025-11-17 17:00:58 +00:00
Stanko K.R. 0f7b1312eb Fix tests broken by optimizations 2025-11-17 17:45:24 +01:00
Stanko K.R. 0b8c51c2e9 Preload cards for columns 2025-11-17 16:16:19 +01:00
Mike Dalessio 2cb050af33 Missed a few changes in a rebase somewhere
This changeset now matches plan-b commit 609a0041
2025-11-17 09:19:46 -05:00
Mike Dalessio 3b09a92193 rubocop: style fixes 2025-11-17 09:12:41 -05:00
Stanko K.R. e539754e2c Preload cards 2025-11-17 09:12:41 -05:00
Stanko K.R. ee85c25672 Include association used to render events 2025-11-17 09:12:41 -05:00
Kevin McConnell a764a08863 Use card number as ID when dragging
Because the endpoints are `CardScoped` by number, we should also use the
number here for consistency.
2025-11-17 09:12:41 -05:00
Mike Dalessio f5305b2fe6 Use Card number as the model param
instead of the UUID `id`
2025-11-17 09:12:41 -05:00
Mike Dalessio 3ed36004e4 Use script_name and url helpers
instead of string concatenation
2025-11-17 09:12:41 -05:00
Mike Dalessio 29aa0f7fea Make sure notifications jobs don't need Current.account set 2025-11-17 09:12:41 -05:00
Mike Dalessio 4976e4a7bb Update Card::Entropic so its scopes work cross-accounts
with an eye towards making the postpone_all_due recurring job work efficiently.
2025-11-17 09:12:41 -05:00
Mike Dalessio e3d86bb21e Clean up some spots where "current account" is ambiguous
Primarily this is in tests (which were caught by temporarily
introducing acts_as_tenant and enabling safety checks), but notably
action cable connections were not working properly, and that's now
fixed.
2025-11-17 09:12:41 -05:00
Kevin McConnell 9615753e1f Add routing header to see who served request 2025-11-17 09:12:41 -05:00
Mike Dalessio 2c765fa03f rubocop: style fixes 2025-11-17 09:12:41 -05:00
Stanko K.R. 15eeba82f5 Scope model methods by account 2025-11-17 09:12:41 -05:00
Stanko K.R. a0251255a7 Rename IdenityMailer to UserMailer 2025-11-17 09:12:41 -05:00
Stanko K.R. e0693de7c3 Scope jobs and controllers by account 2025-11-17 09:12:41 -05:00
Donal McBreen 28efe28f24 Replace Search::Index with Search::Records
Lean on ActiveRecord models for searching and strip out the raw SQL.
Replaces the search_index_* tables with sharded search_records_* tables
as that allows us to use a Search::Record model name.

A Class is dynamically created for each record table shard so that we
and we can access it via the Search::Record.for_account(account_id)
method.
2025-11-17 09:12:40 -05:00
Mike Dalessio fe6df7085f Finish the rollout of account_id to all core data models
Schema:
- add account_id to tables it was missing from
- make account_id a required column everywhere
- add [account_id] indexes, or add `account_id` to existing indices

Models:
- add `belongs_to :account` to all models (default to using a domain
  model's account whenever possible)
- add account_id in all the necessary fixtures
- add account_id to insert_all hashes
- pass account_id to a few initialize calls

Miscellaneous:
- update the import script to set account_id

Note that I'm not adding account_id to the join tables primarily
because I couldn't think of an easy way to populate it without making
it a full Join model, and that was more work than I have time to take
on right now.
2025-11-17 09:12:40 -05:00
Mike Dalessio 5a7f08067a Move setting Current.account into the middleware
so that code called from the Rails controllers can use Current.account
2025-11-17 09:12:40 -05:00
Stanko K.R. 56c41d45eb Reinstate email changes 2025-11-17 09:12:40 -05:00
Mike Dalessio 039e4a0bed Remove dead code (after deleting Membership) 2025-11-17 09:12:40 -05:00
Stanko K.R. 4f4bf5bee1 Fix potential crash due to execution of default blocks 2025-11-17 09:12:40 -05:00
Stanko K.R. 34d83aaa7c Fix tests after the removal of memberships 2025-11-17 09:12:40 -05:00