Commit Graph

2635 Commits

Author SHA1 Message Date
Jorge Manrubia 9e3dbb0858 Remove semantic searches
We may revisit in the future but we'll go with keyword search only for launch
2025-06-25 09:36:14 +02:00
Jorge Manrubia c319c49345 Add search command 2025-06-25 07:48:02 +02:00
Jorge Manrubia 1ce8d8bff0 Merge pull request #630 from basecamp/search-page-markup
Standalone search screen
2025-06-25 07:02:06 +02:00
Andy Smith 21b7b29846 Use clip instead of hidden for body overflow 2025-06-24 15:49:38 -05:00
Andy Smith c087ceee52 Properly close the span 2025-06-24 15:29:41 -05:00
Andy Smith 174a4799bd Polish up the search results page 2025-06-24 15:07:56 -05:00
Mike Dalessio bb54aa1c7e Don't require encrypted credentials in test 2025-06-24 12:09:41 -04:00
Jorge Manrubia 9c9c17bb47 Extract common markup to constants 2025-06-24 13:47:52 +02:00
Jorge Manrubia c500a2f178 format 2025-06-24 13:34:52 +02:00
Jorge Manrubia 7371147e5f Separate search paths 2025-06-24 13:32:31 +02:00
Jorge Manrubia 0fe54e2047 Save one query 2025-06-24 13:00:30 +02:00
Jorge Manrubia 21ac312a6d Add outer link for cards 2025-06-24 12:53:55 +02:00
Jorge Manrubia 2821cf9850 Extract common concern 2025-06-24 12:45:15 +02:00
Jorge Manrubia 96c9a95a18 Tidy up 2025-06-24 12:38:21 +02:00
Jorge Manrubia c8e11cdbfe Extract query_terms to an instance variable 2025-06-24 12:36:10 +02:00
Jorge Manrubia ff57eeba16 Add blank state 2025-06-24 12:32:44 +02:00
Jorge Manrubia dfd52fc946 Move queries to its own resource 2025-06-24 12:17:08 +02:00
Jorge Manrubia e1d643cebd We can just use AR! 2025-06-24 11:14:14 +02:00
Jorge Manrubia 4710a20836 Limit results with just AR in the controller 2025-06-24 11:08:54 +02:00
Jorge Manrubia e59b7fcd18 Format 2025-06-24 10:45:11 +02:00
Jorge Manrubia 6059d8bf39 Not used 2025-06-24 10:43:09 +02:00
Jorge Manrubia 4f01b1763b Remember recent searches 2025-06-24 10:41:06 +02:00
Jorge Manrubia 67fa9a46a8 Animate the search screen mockup 2025-06-24 09:58:48 +02:00
Jorge Manrubia 0997b45e37 Make searchable work with multiple fields and index card descriptions as separated columns 2025-06-24 08:03:25 +02:00
Jorge Manrubia 124c47b5be Merge branch 'main' into search-page-markup
* main: (67 commits)
  Add jason@37signals.com to the seeds.
  Rework menu sizing
  Firefox has its own psuedo elements
  Allow pop-ups to overflow without breaking the layout
  Style the prompt empty state
  Update lexical
  Scope CSS to custom attachments
  Update to point to version with fix for attachments
  Update AR::Tenanted to address tenant creation raciness
  dep: Update signal_id to quash noisy test warnings
  Update dependences, including Rails and queenbee-plugin
  Update 400/422/500 error pages with latest stock Rails versions
  Remove subdomain listing from the 404 page
  Delete the first runs controller/routes/model
  Redirect unauthenticated users to Launchpad
  Update a few users' email to link to a valid identity.
  Make sure the beta env keeps local authentication (for now)
  Trampoline the Launchpad auth redirect from a GET into a POST
  Add the shared signal_id secret
  Script to create QB and SignalID accounts, and SignalID users
  ...
2025-06-24 06:19:39 +02:00
Jason Zimdars 23bb045111 Rework menu sizing 2025-06-23 17:56:26 -05:00
Jason Zimdars 0dfb05ce3a Firefox has its own psuedo elements 2025-06-23 16:54:20 -05:00
Jason Zimdars 780b0bee98 Allow pop-ups to overflow without breaking the layout
See: https://caniuse.com/mdn-css_properties_contain_inline-size
2025-06-23 15:34:57 -05:00
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