Commit Graph

3022 Commits

Author SHA1 Message Date
Jason Zimdars f413e19508 Prefer Account.sole 2025-07-22 22:45:23 -05:00
Jason Zimdars 785de2f0cb Whitespace 2025-07-22 22:42:36 -05:00
Jason Zimdars 88dae3b0db Didn't end up needing this 2025-07-21 20:16:48 -05:00
Jason Zimdars 0afc738d19 Whitespace 2025-07-21 20:11:03 -05:00
Jason Zimdars 2593fe2221 DRY 2025-07-21 19:58:11 -05:00
Jason Zimdars 97022be929 Clean up 2025-07-21 19:01:48 -05:00
Jason Zimdars 211403f584 Remove debug 2025-07-21 18:49:29 -05:00
Jason Zimdars 9b6995194c Break sooner, use switch 2025-07-21 18:49:18 -05:00
Jason Zimdars 5cb2d46768 Merge branch 'main' into web-push
* main:
  Move fix to the existing btn--circle class
  Don't justify content for avatar buttons to make FF happy
  Use smaller action size on mobile
  Nudge position when mini
  Remove aspect ratio for closed stamps
  Put animated popups within cascade layer
  Dry up utility classes for popup__group
  Inline padding for popup__items, not popup__groups
  Same padding for all popup__items
  popup__items full-width by default
  Remove redundant flex-grow class from popup__items
  Set min-width on popup__items
2025-07-21 18:27:41 -05:00
Jason Zimdars c3b946c961 Design flow for enabling push and the various status that go with it 2025-07-21 18:27:31 -05:00
Andy Smith a0ae6dccd6 Move fix to the existing btn--circle class 2025-07-21 16:57:44 -05:00
Andy Smith 7db9d972aa Don't justify content for avatar buttons to make FF happy 2025-07-21 16:53:52 -05:00
Andy Smith 464aec4827 Merge pull request #777 from basecamp/stamp-alignment
Stamp alignment
2025-07-21 16:39:39 -05:00
Andy Smith ed0492e2f4 Use smaller action size on mobile 2025-07-21 16:30:56 -05:00
Andy Smith a49c97ad1c Nudge position when mini 2025-07-21 16:15:04 -05:00
Andy Smith 2cc9a40372 Remove aspect ratio for closed stamps 2025-07-21 16:09:43 -05:00
Andy Smith 06c2e6d0aa Put animated popups within cascade layer 2025-07-21 14:03:15 -05:00
Andy Smith 67df61b57d Dry up utility classes for popup__group 2025-07-21 13:59:33 -05:00
Andy Smith ace44d709e Inline padding for popup__items, not popup__groups 2025-07-21 13:40:59 -05:00
Andy Smith 7e0df47c8f Same padding for all popup__items 2025-07-21 13:38:08 -05:00
Andy Smith 37cc6a6955 popup__items full-width by default 2025-07-21 13:37:33 -05:00
Andy Smith d3db752f39 Remove redundant flex-grow class from popup__items 2025-07-21 13:35:24 -05:00
Andy Smith 1e62ae8c94 Set min-width on popup__items 2025-07-21 13:32:56 -05:00
Jason Zimdars a6e9e51071 Merge branch 'main' into web-push
* main: (28 commits)
  Clean up the /scripts directory
  Prevent recursion when invoking AI
  Bump sqlite3 from 2.7.2 to 2.7.3
  Port over Jeremy's fix for slow uploads
  .gitignore log files and portfolio's local storage
  Drop Current.account and just use Account.sole
  Use the utf8-patched mysql driver
  Call blob.preview for previewable attachments
  Make sure the image variants we use are preprocessed
  Add /user command
  Make sure it doesn't infer custom abbreviations when matching user names
  Script to load prod db in development
  Update Signup to use the queenbee_id for the tenant name
  Bump cache version
  Make sure it uses latest bundler to prevent error due to mismatch
  Invalidate cache
  Update ruby
  Update bundler to prevent error on lower version
  Update bundler to prevent error on lower version
  Resolve stages
  ...
2025-07-21 11:03:56 -05:00
Jorge Manrubia 2cd4dd8709 Prevent recursion when invoking AI
This can result in stack overflow errors for missing commands.

https://fizzy.37signals.com/5986089/collections/7/cards/1135

Follow up to https://github.com/basecamp/fizzy/pull/766
2025-07-21 10:25:26 +02:00
Mike Dalessio 8e13ce5b78 Drop Current.account and just use Account.sole
I had reintroduced this in dacb53b8 after David removed it in
6bbf68a4, but now I agree we don't need it.

Also, fix a CORS error when trying to redirect a user to an untenanted
path after login (see
https://fizzy.37signals.com/5986089/collections/2/cards/1032).
2025-07-20 13:00:09 -04:00
Mike Dalessio 692e563d3f Call blob.preview for previewable attachments
undoing a mistake introduced in ef6198d3
2025-07-19 09:08:59 -04:00
Mike Dalessio ef6198d394 Make sure the image variants we use are preprocessed
to avoid implicitly creating a variant during a GET to a read replica,
which will raise an exception and cause the image to fail to load.

This feels pretty brittle, to be honest, and we'll need to be careful
in the future about creating and using new variants; we will probably
need to backfill the new variant for existing images because we can't
guarantee that they will be created implicitly/lazily if the GET lands
on the replica.

ref: https://fizzy.37signals.com/5986089/collections/7/cards/942
2025-07-18 15:43:31 -04:00
Jorge Manrubia 39c7a54ad6 Add /user command
The LLM was relying on it. Having it missing resulted in a stack overflow error!

https://fizzy.37signals.com/5986089/collections/7/cards/1135
2025-07-18 17:59:02 +02:00
Jorge Manrubia 921db25646 Make sure it doesn't infer custom abbreviations when matching user names 2025-07-18 17:31:19 +02:00
Mike Dalessio 15876b8762 Update Signup to use the queenbee_id for the tenant name
and not the subdomain. This change should have been in #665
2025-07-18 10:11:10 -04:00
Jorge Manrubia 16abcf2049 Bump cache version 2025-07-18 14:32:04 +02:00
Jorge Manrubia c144ef68cb Invalidate cache 2025-07-18 14:14:40 +02:00
Jorge Manrubia d9b2a49892 Resolve stages 2025-07-18 12:47:03 +02:00
Jorge Manrubia a1e3835eb8 Prevent 500 when running /search with empty string 2025-07-18 10:55:36 +02:00
Jorge Manrubia 44873e8ac4 More refinements 2025-07-18 06:50:13 +02:00
Jorge Manrubia d81568ff57 Filter by stage id, much better collection filtering 2025-07-18 05:50:22 +02:00
Jason Zimdars 4330cb4071 Ensure notifications link to the correct account 2025-07-17 22:20:16 -05:00
Jorge Manrubia b30bc85f4e Rework prompt to make it less ambiguous and better overall 2025-07-18 05:11:08 +02:00
Jason Zimdars 045460cd60 Revert "Use urls"
This reverts commit 74b5ac4244.
2025-07-17 20:12:06 -05:00
Jason Zimdars 74b5ac4244 Use urls 2025-07-17 19:54:29 -05:00
Jason Zimdars 4ba3bbc4f1 Revert "Linux wet the bed on this, trim whitespace and ensure 8-bit values"
This reverts commit 3940d9d60f.
2025-07-17 19:51:31 -05:00
Jason Zimdars b2334fc8be Revert "Add debug for Linux"
This reverts commit 37e344d9f1.
2025-07-17 19:51:25 -05:00
Jason Zimdars 37e344d9f1 Add debug for Linux 2025-07-17 19:33:21 -05:00
Jason Zimdars 3940d9d60f Linux wet the bed on this, trim whitespace and ensure 8-bit values 2025-07-17 19:30:30 -05:00
Jason Zimdars 1b52a860f3 No need to talk to other controllers right now 2025-07-17 18:04:40 -05:00
Jason Zimdars 347e41037f Simplify connect method, stub a method that will display various states based on detection 2025-07-17 17:54:23 -05:00
Jason Zimdars 04df81bc75 Move to settings screen 2025-07-17 17:49:07 -05:00
Jason Zimdars 3ddb5e536e Use async method instead of getter, use root scope 2025-07-17 17:29:20 -05:00
Jason Zimdars 6524363aec Merge branch 'main' into web-push
* main:
  Update dependencies
  dep: bump to ruby 3.4.5
  Switch to docker-dev
  Cache needs to include publication key
  First iteration on adding new users, from the console.
  Fix clear button position in Safari
  Give them screen reader labels
  Not needed
  Add missing `lang` attribute
  Restore missing aspect ratio on the perma
  Give the field more space when typing on mobile
  We're only concerned with truncating the placeholder, scope to that
  Make sure users can't login from launchpad if they're deactivated
  Destroy the SignalId::User when a user is deactivated
2025-07-17 14:31:05 -05:00