Commit Graph

247 Commits

Author SHA1 Message Date
Jason Zimdars 7280077531 Remove debug 2025-07-22 18:59:02 -05:00
Jason Zimdars be29567718 Wrap them both in the container so the generating state looks right 2025-07-22 18:15:59 -05:00
Jason Zimdars ab315cdd75 Style activity summaries 2025-07-22 18:12:05 -05:00
Jorge Manrubia 7e5bdf59ec Prefer sandbox over debug for the resource name 2025-07-22 15:57:12 +02:00
Jorge Manrubia e3d9001861 Move condition outside to avoid double nesting 2025-07-22 15:13:39 +02:00
Jorge Manrubia 8f6e81a687 Only summarize today if there are at least 10 events
https://3.basecamp.com/2914079/buckets/37331921/todos/8877635813#__recording_8879434338
2025-07-22 15:04:55 +02:00
Jorge Manrubia 6ba1884fb0 Fix: summaries where failing to generate with filters 2025-07-22 14:59:38 +02:00
Jorge Manrubia 9c6f1354c4 Broadcast and show summaries on the fly 2025-07-22 12:26:32 +02:00
Jorge Manrubia 7cd459f2b8 AI Summaries: basic abstractions, functional version 2025-07-22 11:57:39 +02:00
Andy Smith ed0492e2f4 Use smaller action size on mobile 2025-07-21 16:30:56 -05:00
Andy Smith 67df61b57d Dry up utility classes for popup__group 2025-07-21 13:59: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
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
Jason Zimdars ed37bf0ff8 When adding a card out of context, default to most recently accessed collection 2025-07-09 15:37:39 -05:00
Jason Zimdars 32e967c1f9 Fine tuning to handle different attachment types 2025-07-09 14:46:33 -05:00
Jason Zimdars 7a058a18d9 Merge branch 'main' into card-attachments
* main:
  Add circle-on-mobile button class
2025-07-09 11:22:41 -05:00
Jorge Manrubia 78d446369c Replace helper with view lookup 2025-07-09 17:11:27 +02:00
Andy Smith 6627482f04 Add circle-on-mobile button class 2025-07-09 10:11:12 -05:00
Jason Zimdars 642c03b51f Extract attachments to a partial 2025-07-08 16:34:10 -05:00
Jason Zimdars 8d162be5e3 Remove card_published check and render its own template 2025-07-08 16:16:33 -05:00
Jason Zimdars 485e575c40 Merge branch 'main' into card-attachments
* main: (45 commits)
  Display tag counts in the filter menu
  Move Add Card button to header
  Re-write help content, try a modal-like display
  Move to internal registry
  Show date instead of time for notifications older than 1 day
  Ensure checks are visible for tags and assignments
  Adjust padding so card number isn't cut off
  Don't color the collection header in considering
  Golden cards bubble to the top of Considering, too
  Adjust card collection header when colored golden
  Allow cards in Considering to gilded
  Hide focus ring on new card titles and step inputs
  Add hover effect for comment edit button
  Add hover effect to overflow button
  Improve multi-account behavior of the PWA
  Remove unneeded *
  Rename test
  Review the code to move cards
  Update editor
  Generalize and delete mentions too
  ...
2025-07-08 16:04:14 -05:00
Jason Zimdars 27285a3dcb Display tag counts in the filter menu
- Provides a little information scent
- Prevents being surprised by "no results"
2025-07-08 15:57:29 -05:00
Andy Smith fdbb9c185e Merge branch 'main' into collection-nav
* main: (203 commits)
  Re-write help content, try a modal-like display
  Move to internal registry
  Show date instead of time for notifications older than 1 day
  Ensure checks are visible for tags and assignments
  Adjust padding so card number isn't cut off
  Don't color the collection header in considering
  Golden cards bubble to the top of Considering, too
  Adjust card collection header when colored golden
  Allow cards in Considering to gilded
  Hide focus ring on new card titles and step inputs
  Add hover effect for comment edit button
  Add hover effect to overflow button
  Improve multi-account behavior of the PWA
  Remove unneeded *
  Rename test
  Review the code to move cards
  Update editor
  Generalize and delete mentions too
  Remove unused code
  Make sure we don't remove accesses if collection is accessible
  ...
2025-07-08 15:34:01 -05:00
Andy Smith 00d68a482c Move Add Card button to header 2025-07-08 15:30:43 -05:00
Jason Zimdars 132059e77a This is a hack but we should be showing the card description and attachments for new cards 2025-07-03 16:54:26 -05:00
Jason Zimdars 0539d366d7 Display attachments in events for comments 2025-07-03 16:48:43 -05:00
Mike Dalessio a565504113 Fix activity feed pagination to fetch on demand
Commit 01c642e6 restructured the page so that the "next page" link was
always in view, meaning the page always loaded the entire history.

Now we load the next day as the user scrolls to the bottom, as intended.
2025-07-03 01:36:21 -04:00
Jason Zimdars c19e5a6253 Use headings for screen reader navigation 2025-07-02 14:46:43 -05:00
Jason Zimdars ffb422ac61 This attribute is no longer needed 2025-06-30 17:31:07 -05:00
Jason Zimdars 3af949edca Merge branch 'main' into filter-ignore-diacritics
* main:
  Clear the comments cache
  Add context for search screens
  Needs changed for both states
  Use lighter icon and update asset
  Add btn--circle class to user edit form
  Organize button variants
  Untangle `avatar btn` crossover styles
  Remove redundant classes and styles for avatars
  Adjust footer line height
  Tweak padding
2025-06-30 17:01:43 -05:00
Andy Smith be003cd3f7 Remove redundant classes and styles for avatars 2025-06-30 14:00:59 -05:00
Jason Zimdars 2678f8c099 Convert diacritics to approximations before filtering
- Introduces a helper method for setting the filterable value
- Updates `filter_controller.js` to use `data-filter-text-value` attribute populated with converted content. This was previous `data-value` in the earlier implementation but ignored in the current on.
- Also uses the same helper to make @mentions diacritic insensitive
2025-06-30 13:53:50 -05:00
Andy Smith 4b026c443d Merge branch 'main' into collection-nav
* main: (54 commits)
  Remove creation and closure params
  Support viewing user profiles and activity
  Support downcase
  refresh fixtures
  Always downcase names
  Remove vcr_record call
  Support closing soon and falling back soon via natural language
  Add scopes and filters for falling back soon and auto closing soon
  Fix label
  Add chip filters for the new time window filters
  Fix: creator_ids is an array, not a single value
  Add support for filtering by creation or completion windows of times
  Adjust spacing
  Use new logo placeholder
  Update logo assets
  Need to return all collections so it's not blank
  Button to add a new filter
  Update test for new redirect
  Comparing params is fragile, use `id` for saved filters
  Update summary tests
  ...
2025-06-30 12:57:10 -05:00
Jason Zimdars d81e8b9118 Merge branch 'main' into logo-placeholder-update
* main:
  Need to return all collections so it's not blank
  Button to add a new filter
  Update test for new redirect
  Comparing params is fragile, use `id` for saved filters
  Update summary tests
  Improve summary display in menu
  Add keyboard navigation and filtering to quick filters
  Copy
  Keep stage when clearing
  Keep the current filter params after deleting a saved filter so you can change your mind
  Update test because we now drop all filters on destroy
  New UI for exposing filter options and saving/deleting them
  Unnecessary
  These aren't actually in the events namespace, use utility class
2025-06-26 20:08:54 -05:00
Jason Zimdars 3129b6e205 Use new logo placeholder 2025-06-26 20:08:48 -05:00
Jason Zimdars 703718ca90 Button to add a new filter 2025-06-26 18:05:04 -05:00
Jason Zimdars 1cb9ccdf15 Comparing params is fragile, use id for saved filters 2025-06-26 17:57:30 -05:00
Jason Zimdars c85b22b28f Improve summary display in menu 2025-06-26 17:09:57 -05:00
Andy Smith a27331409e Consolidate Add card buttons 2025-06-26 15:32:33 -05:00
Andy Smith 8211eda682 Fix fizzy menu position 2025-06-26 14:59:44 -05:00
Andy Smith 8308151500 Use header component everywhere 2025-06-26 14:54:27 -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 c5e384cc68 These aren't actually in the events namespace, use utility class 2025-06-25 14:38:23 -05:00
Jason Zimdars c240259631 Order by recently visited in the Fizzy menu 2025-06-24 22:55:14 -05: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 ac09940509 This isn't a generic component, change to proper namespace 2025-06-19 14:20:07 -05:00
Jason Zimdars 907c5512e3 Merge branch 'main' into jz-6-18-25
* main:
  Render tags and users in menu, filter them
  Don't add reserved bubble space to all columns in larger viewports
  Don't allow horizontal scrolling on the body element
  Fix the space reserved for bubbles in card columns
2025-06-18 15:39:14 -05:00
Jason Zimdars 1b1a38b8a1 Render tags and users in menu, filter them 2025-06-18 15:36:01 -05:00