Commit Graph

1923 Commits

Author SHA1 Message Date
Jason Zimdars 36c3571848 Fix spacing, simplify layout 2025-09-12 16:08:24 -05:00
Jason Zimdars 24d4bd2551 Limit to one row 2025-09-12 14:32:42 -05:00
Jason Zimdars e717875dfc Fix button style regression 2025-09-12 13:57:33 -05:00
Jorge Manrubia ba3b782d21 Merge branch 'main' into watchers
* main:
  Fix add card not working in the cards screen
  Submit and refresh results as you type terms
  Fix: When expanding filters, submitting filters should keep the filters expanded
  Invalidate cache when filter changes
  Switch to gpt-5-chat
  Handle filter toggles with JS
  Prevent glitch where you see the filter bar expanded when you clear it
  Remove unused templates
  Fix: all collections link not working after moving to turbo frame
  Restore cache I deleted by mistake
  Speed up filter expansion with turbo stream
  Fix: filtering collections not working after moving menu to turbo frame
  Respect params when loading the menu or they won't be reflected!
  Add HTTP cache for the menu
  Load main menu lazily with a turbo frame
  Inline :has(&) as it's REALLY slow in Safari
  Extract helper method
  Remove transition that is making Safari choke when navigating to Fizzy menus
  Reduce page size to reduce load for processing local times on initial page load
  Avoid having to parse strings

# Conflicts:
#	app/views/cards/index/_add_card_button.html.erb
#	test/vcr_cassettes/period_highlight_test-test_don_t_generate_highlights_for_existing_periods.yml
#	test/vcr_cassettes/period_highlight_test-test_generate_period_highlights.yml
#	test/vcr_cassettes/user/highlights_test-test_don_t_generate_highlights_for_existing_periods.yml
#	test/vcr_cassettes/user/highlights_test-test_generate_weekly_highlights.yml
2025-09-12 18:52:17 +02:00
Jorge Manrubia b79e754443 Merge branch 'faster-filters'
* faster-filters:
  Fix add card not working in the cards screen
2025-09-12 18:42:34 +02:00
Jorge Manrubia 877400afbf Fix add card not working in the cards screen 2025-09-12 18:42:17 +02:00
Jorge Manrubia 58cf8b3428 Merge pull request #1097 from basecamp/faster-filters
Submit and refresh results as you type terms
2025-09-12 18:28:41 +02:00
Jorge Manrubia 55a22f98e3 Submit and refresh results as you type terms 2025-09-12 18:25:27 +02:00
Jorge Manrubia b7b705ba19 Fix: When expanding filters, submitting filters should keep the filters expanded 2025-09-12 18:01:25 +02:00
Jorge Manrubia 30cdb658b6 Merge pull request #1093 from basecamp/refine-filter-expansion
Refine filter expansion (handle in the client)
2025-09-12 14:15:12 +02:00
Jorge Manrubia 5e0918d373 Handle filter toggles with JS
To make them feel faster
2025-09-12 14:12:16 +02:00
Jorge Manrubia ae4fbc6443 Prevent glitch where you see the filter bar expanded when you clear it 2025-09-12 14:08:36 +02:00
Jorge Manrubia 3f9f5e5025 Remove unused templates 2025-09-12 13:52:40 +02:00
Jorge Manrubia 249addc8dd Fix: all collections link not working after moving to turbo frame
This is turbo handling the GET form under the hood ignoring the script name
2025-09-12 13:52:35 +02:00
Jorge Manrubia a6c2bac780 Restore cache I deleted by mistake 2025-09-12 13:17:49 +02:00
Jorge Manrubia af6cb37db1 Speed up filter expansion with turbo stream 2025-09-12 13:06:00 +02:00
Jorge Manrubia 87ed533b2e Fix: filtering collections not working after moving menu to turbo frame 2025-09-12 12:10:56 +02:00
Jorge Manrubia 13cc12514a Respect params when loading the menu or they won't be reflected! 2025-09-12 12:10:46 +02:00
Jorge Manrubia 0a98cbb6b3 Load main menu lazily with a turbo frame 2025-09-12 11:01:56 +02:00
Jason Zimdars 76e2ae47f7 Tighten this up 2025-09-11 21:59:28 -05:00
Jason Zimdars 34e5b14b58 Move the watchers list into the turbo frame
Passes around a param to opt-out of rendering the watchers on the
notification settings screen
2025-09-11 18:05:34 -05:00
Jason Zimdars f9aed44fd2 Move involvement toggle and display all the watchers 2025-09-11 16:22:57 -05:00
Jason Zimdars 263f2d6201 Merge branch 'bring-back-not-assigned-on-perma' 2025-09-10 16:46:44 -05:00
Jason Zimdars 67f76e8874 We have space here to show it
And it makes the assignment UI clearer on the perma
2025-09-10 16:45:32 -05:00
Andy Smith ccd18def01 Merge pull request #1080 from basecamp/print-styles
Print styles
2025-09-10 16:29:50 -05:00
Jason Zimdars f7847717e9 Add a nicer effect when sticky 2025-09-10 13:42:52 -05:00
Jason Zimdars ed0b15f843 Consider the state where there is no activity yet
https://fizzy.37signals.com/5986089/cards/1582
2025-09-10 13:28:09 -05:00
Andy Smith ab0b3055c9 Cleanup 2025-09-10 13:18:59 -05:00
Jason Zimdars 9fe38ec8d1 Remove unimplemented closure filter
https://fizzy.37signals.com/5986089/cards/1558
2025-09-10 13:16:30 -05:00
Jason Zimdars 53e0950e24 Forward slash is better because period followed by a comma is awkward 2025-09-10 13:09:44 -05:00
Jason Zimdars 8f9e49c18e Save space by avoiding "and" 2025-09-10 13:06:29 -05:00
Andy Smith 22f9c9d168 WIP 2025-09-10 12:15:31 -05:00
Jorge Manrubia 312c5c7331 Fix some cache invalidation problems
- https://fizzy.37signals.com/5986089/cards/1585
- https://fizzy.37signals.com/5986089/cards/1616
2025-09-10 17:37:13 +02:00
Jorge Manrubia 4e72566856 Flatten card resource
We only need the parent collection for creating cards. Carrying it in the
rest of actions is a hassle.
2025-09-10 11:24:23 +02:00
Jorge Manrubia 2752cd80b1 Merge pull request #1073 from basecamp/move-bulk-read
Use vanilla resources for handling notifications
2025-09-10 09:28:46 +02:00
Jorge Manrubia d533f05c7b Use vanilla resources for handling notifications 2025-09-10 09:17:57 +02:00
Jason Zimdars 825522158c Just show icons for the second column 2025-09-09 22:52:19 -05:00
Jason Zimdars 0449396aea Bring back UI for adding filter terms as the primary filter method 2025-09-09 22:45:03 -05:00
Jason Zimdars 0e0de36ca2 Use icons in footer meta, dump the labels in previews 2025-09-09 20:27:53 -05:00
Jason Zimdars 2a9fc5720f Further polish mailer styles and type hierarchy 2025-09-09 15:28:27 -05:00
Jorge Manrubia 8ea2d7346b Restore add card button in the timeline
It will add to the first selected collection, or to the
first one in the menu if no collection selected
2025-09-09 17:41:07 +02:00
Jorge Manrubia efcf477fba Merge pull request #1055 from basecamp/add-card-single-collections
Fix: add card adding cards to the wrong collection
2025-09-09 15:38:12 +02:00
Jorge Manrubia be246d204f Replace assignees with a turbo stream instead of replacing the full card
So that we don't lose th editing context if you do it while editing a card

https://fizzy.37signals.com/5986089/collections/2/cards/1479
2025-09-09 15:32:18 +02:00
Jorge Manrubia 4ed29b8fa4 Autosave cards descriptions locally 2025-09-09 15:18:40 +02:00
Jorge Manrubia 242a367e0a Fix: add card adding cards to the wrong collection
Make sure we only show the "add card" button when there is a single collection selected, and that it adds to that collection.

https://fizzy.37signals.com/5986089/collections/2/cards/1439
2025-09-09 14:47:34 +02:00
Jorge Manrubia 996a96547a Fix: closed should be outside! 2025-09-09 12:53:43 +02:00
Jorge Manrubia 36488278a8 Merge pull request #1052 from basecamp/caching
Add more caching
2025-09-09 12:31:46 +02:00
Jorge Manrubia 209e8b61b8 Add caching and http caching for rendering the card perma 2025-09-09 12:07:32 +02:00
Jorge Manrubia 1366ccc8df Add caching and http caching to the cards index screen 2025-09-09 12:05:16 +02:00
Jorge Manrubia e3aabaafbf Fix: use the proper filter 2025-09-09 11:46:29 +02:00