Commit Graph

2602 Commits

Author SHA1 Message Date
Andy Smith faeaff20f1 Style the prompt empty state 2025-06-23 14:31:35 -05:00
Jorge Manrubia f3eb99959a Merge pull request #640 from basecamp/fix-attachments
Fix issues with invalid attachments markup
2025-06-23 15:11:02 +02:00
Jorge Manrubia 176c597783 Scope CSS to custom attachments
This was necessary after fixing the issue of having figure attachments appear within <p> elements (which was invalid).
2025-06-23 15:07:18 +02:00
Mike Dalessio e1609a1aa4 Delete the first runs controller/routes/model
which has been replaced by the signups controller
2025-06-21 10:38:36 -04:00
Mike Dalessio d0dcb6dfa8 Redirect unauthenticated users to Launchpad 2025-06-20 17:14:58 -04:00
Mike Dalessio 141554c21c Make sure the beta env keeps local authentication (for now)
and more importantly, don't try to connect to the 37id database, which
will hang.

And finally, set the connect_timeout to something small so if we do
try to make a connection, it will fail quickly instead of hanging for
the default 120 seconds.
2025-06-20 16:17:02 -04:00
Mike Dalessio 2c18173f08 Trampoline the Launchpad auth redirect from a GET into a POST
to always route it to the writer.
2025-06-20 15:16:57 -04:00
Mike Dalessio d29bfb9f5a Add a QB API endpoint for plans
- add the shared api token to all environments
- add a single FreeV1 subscription
- add QB routes
- allow the queenbee routes in the tenanting middleware

ref: https://3.basecamp.com/2914079/buckets/37331921/todos/8746302763
2025-06-20 15:16:57 -04:00
Mike Dalessio 6f09d6a737 Add HTTP basic auth to the signup controllers
so that signup is internal-only for now.
2025-06-20 15:16:57 -04:00
Mike Dalessio b29e884b1b Rate limit new signups. 2025-06-20 15:16:57 -04:00
Mike Dalessio 1be9ba6ee3 Signup workflow for existing identity 2025-06-20 15:16:57 -04:00
Mike Dalessio 237830d91c During signup, name beta accounts distinctly
because Launchpad will present both in the UI, but will not be able to
redirect to a beta fizzy account from production launchpad (or vice versa).
2025-06-20 15:16:57 -04:00
Mike Dalessio ee60e8dd01 Signup::AccountsController suppports signing up with a new identity 2025-06-20 15:16:57 -04:00
Mike Dalessio a8a64a2384 Link the seeds up to the signal_id fixture data 2025-06-20 15:16:57 -04:00
Mike Dalessio 4d7cd3a8a7 Signup supports using an existing identity 2025-06-20 15:16:57 -04:00
Mike Dalessio 73ba0c074f Introduce a Signup model and integrate with QB/37id
- Creates a Queenbee::Account
- SignalId peer classes work properly
- Set up a basic template for the account (closure reasons, workflow, collection)
- Load signal_id fixtures during `bin/setup --reset`
- Update signal_id to pull in the Fizzy product
2025-06-20 15:16:57 -04:00
Mike Dalessio dacb53b8b1 Launchpad login works for existing 37id identities 2025-06-20 15:16:56 -04:00
Mike Dalessio 319e4223e4 Add request details to Current 2025-06-20 15:16:56 -04:00
Mike Dalessio 0da5f8101e User belongs to Signal::User 2025-06-20 15:16:56 -04:00
Mike Dalessio 192c6036bc Account belongs to Signal::Account 2025-06-20 15:16:56 -04:00
Jorge Manrubia f5688175fa Merge pull request #629 from basecamp/prompts-init
Prompts for mentions and links
2025-06-20 14:34:50 +02:00
Jorge Manrubia 7286d03f57 Format 2025-06-20 11:35:23 +02:00
Jorge Manrubia c5304870c7 Add http caching for prompts 2025-06-20 11:19:28 +02:00
Jorge Manrubia ba225f5b4f Format 2025-06-20 10:46:21 +02:00
Jorge Manrubia 9ddb18792b Only offer users accessible in the collection 2025-06-20 10:44:42 +02:00
Jorge Manrubia 5c98744743 Support rich text mentions 2025-06-20 10:39:22 +02:00
Jorge Manrubia 076a30a37f More predictable approach to match cards by ID
Always place them at the top. Our current search support in SQLite is based on
standalone fields. We should add a field for IDs and make it work with prefixes. Going
with something simpler for now.

https://3.basecamp.com/2914079/buckets/37331921/todos/8773497815#__recording_8775856927
2025-06-20 06:46:21 +02:00
Jason Zimdars c2b92fd4f5 DRY this up 2025-06-19 20:42:11 -05:00
Jason Zimdars 8b9ee506a5 DRY up, tweak look 2025-06-19 20:24:02 -05:00
Jason Zimdars 4edb5e5a01 Try plain color items 2025-06-19 18:13:24 -05:00
Jason Zimdars cb4b0eebca These are inline, they should be relative to the enclosing text size 2025-06-19 17:56:45 -05:00
Jason Zimdars 9553a75ea9 Adjust styles when footer is present 2025-06-19 17:56:21 -05:00
Andy Smith 87f70f93c4 Differentiate hover and select states 2025-06-19 15:33:04 -05:00
Jason Zimdars 0d03c4027c Clearer put before nested selectors 2025-06-19 15:09:54 -05:00
Jason Zimdars 5163382bee Avoid visits to the card when marking as read 2025-06-19 15:02:24 -05:00
Jason Zimdars 6946c1d6d5 Set @layer 2025-06-19 14:40:52 -05:00
Andy Smith b0f3404eb8 Add z-index to the menu 2025-06-19 14:27:55 -05:00
Andy Smith c9db74bb6f Style the selected state 2025-06-19 14:22:37 -05:00
Jason Zimdars ac09940509 This isn't a generic component, change to proper namespace 2025-06-19 14:20:07 -05:00
Jason Zimdars 36c3b58558 Adjust layout to keep items 3-up 2025-06-19 14:17:52 -05:00
Andy Smith 123b7de089 Style inserted mentions 2025-06-19 14:05:41 -05:00
Jason Zimdars 188d5266bc Needs overflow to contain code elements 2025-06-19 13:51:14 -05:00
Andy Smith e51b47ad40 Style the prompt 2025-06-19 13:48:08 -05:00
Jason Zimdars c59a99fa68 Only display workflows when the card is in Doing 2025-06-19 13:35:20 -05:00
Jason Zimdars 1cae7e7a76 Merge branch 'main' into public-collection-description
* main:
  Don't choke when a card is missing its stage
  Restore missing overlapping grid effect
  Fix alignment of stamp in closed card rows
  Improve card number alignment in Considering
  Tighten space between title and collection in considering
  Only display shortcut hints on desktop
  Bring back hotkey for returning to collection
2025-06-19 09:19:37 -05:00
Jorge Manrubia 2dbb53da1f Add prompts to the rest of rich text editors 2025-06-19 13:34:44 +02:00
Jorge Manrubia 68dededbca CSS tweak for clickable elements 2025-06-19 13:34:36 +02:00
Jorge Manrubia 6446e5b409 Select cards with # 2025-06-19 13:00:26 +02:00
Jorge Manrubia 0b8d93be02 Prefer first names for now 2025-06-19 12:28:00 +02:00
Jorge Manrubia cda20600b1 Show mentions in the editor 2025-06-19 12:16:32 +02:00