Commit Graph

497 Commits

Author SHA1 Message Date
Jason Zimdars 1cb9ccdf15 Comparing params is fragile, use id for saved filters 2025-06-26 17:57:30 -05:00
Jason Zimdars b862d5909a Keep the current filter params after deleting a saved filter so you can change your mind 2025-06-26 10:19:24 -05:00
Jason Zimdars ae12a7294c New UI for exposing filter options and saving/deleting them 2025-06-25 19:00:47 -05:00
Jason Zimdars 03dd82bcfc Merge branch 'main' into track-collection-access
* main: (45 commits)
  Make sure QB subscriptions reload properly in dev
  Refine prompt to avoid invalid JSON
  Format
  Format
  Add stemming to search tables
  Refine prompt to avoid invalid JSON
  Make sure it generates valid JSON
  Execute raw SQL to see if this is making production crash
  Just use drop table
  schema update
  Remove VCR record
  Fix tests
  recreate vcr fixtures
  Fix schema, it was missing a FK
  Favor search over terms
  Remove insights, default to keyword search
  Remove semantic searches
  Add search command
  Use clip instead of hidden for body overflow
  Polish up the search results page
  ...
2025-06-25 09:54:58 -05:00
Jorge Manrubia 1ce8d8bff0 Merge pull request #630 from basecamp/search-page-markup
Standalone search screen
2025-06-25 07:02:06 +02:00
Kevin McConnell 5a9f9692f2 Track collection access when viewing cards 2025-06-24 15:48:05 -05:00
Mike Dalessio bb54aa1c7e Don't require encrypted credentials in test 2025-06-24 12:09:41 -04:00
Jorge Manrubia 2821cf9850 Extract common concern 2025-06-24 12:45:15 +02:00
Jorge Manrubia c8e11cdbfe Extract query_terms to an instance variable 2025-06-24 12:36:10 +02:00
Jorge Manrubia dfd52fc946 Move queries to its own resource 2025-06-24 12:17:08 +02:00
Jorge Manrubia 4710a20836 Limit results with just AR in the controller 2025-06-24 11:08:54 +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 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
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 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 ee60e8dd01 Signup::AccountsController suppports signing up with a new identity 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
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 9ddb18792b Only offer users accessible in the collection 2025-06-20 10:44:42 +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
Andy Smith b9c28aeacd Merge branch 'main' into search-page-markup 2025-06-19 15:37:50 -05:00
Jorge Manrubia 6446e5b409 Select cards with # 2025-06-19 13:00:26 +02:00
Jorge Manrubia cda20600b1 Show mentions in the editor 2025-06-19 12:16:32 +02:00
Jason Zimdars fcfd149bd6 Add an optional description field for public collections 2025-06-18 19:02:02 -05:00
Andy Smith 33a9bbf043 Stub out search page 2025-06-18 12:47:16 -05:00
Kevin McConnell 63ddb23585 Opt out of writer affinity on readings controller 2025-06-16 15:05:47 +01:00
Jorge Manrubia d9323fa3e7 Add flash notice when adding another card 2025-06-13 11:02:40 +02:00
Jorge Manrubia 303a3faea1 Merge pull request #607 from basecamp/drag-and-drop-cards
Drag and drop cards to move between doing/considering
2025-06-13 10:04:59 +02:00
Jorge Manrubia 7a4e59391b Add test 2025-06-13 09:55:37 +02:00
Jorge Manrubia 1175bf5dce Merge pull request #608 from basecamp/create-and-add-another
Add multiple cards quickly
2025-06-13 08:58:35 +02:00
Jorge Manrubia 31c851aa5b Use the same controller for publishing cards and for publishing and adding another 2025-06-13 08:55:30 +02:00
Mike Dalessio 5430355da6 Avoid losing access to a Collection when updating entropy
ref: https://37s.fizzy.37signals.com/collections/2/cards/820
2025-06-12 13:43:13 -04:00
Jason Zimdars 75d9ce0b82 Add multiple cards quickly 2025-06-12 11:59:09 -05:00
Jorge Manrubia 0cb3648785 Extract concern with common column-related code 2025-06-12 12:48:10 +02:00
Jorge Manrubia a979daddf3 Reuse filter scope 2025-06-12 12:39:33 +02:00
Jorge Manrubia 97fecc2bbe Extract method 2025-06-12 12:10:17 +02:00
Jorge Manrubia a5de3cf64b Replace with morph 2025-06-12 12:06:00 +02:00
Jorge Manrubia f58aaadba5 Drag and drop cards to move between doing/considering 2025-06-12 11:57:53 +02:00
Jorge Manrubia 1ab3877f65 Enable caching at intermediate proxies during traffic spikes
Implement suggestion by Kevin here https://github.com/basecamp/fizzy/pull/596#discussion_r2137474704
2025-06-10 21:52:33 +02:00
Jorge Manrubia 80c4e6fd92 Format 2025-06-10 11:19:13 +02:00
Jorge Manrubia a916fe4470 Add tests 2025-06-10 11:18:33 +02:00