Commit Graph

78 Commits

Author SHA1 Message Date
Andy Smith 8db9862eb1 Use hide avatars from tabindex on preview 2025-10-02 15:36:13 -05:00
Jorge Manrubia 4103e0c346 Adapt public collections/cards to the new columns model 2025-09-28 18:33:06 +02:00
Jorge Manrubia b94af96e8f Merge branch 'collapsing-columns' into collapsing-columns+domain
# Conflicts:
#	app/helpers/cards_helper.rb
2025-09-26 18:48:48 +02:00
Jorge Manrubia 26e5e6ae9e Render a collection resource (WIP) 2025-09-25 16:12:17 +02:00
Andy Smith 399791bddb Card design tweaks 2025-09-24 11:24:23 -05:00
Jorge Manrubia 2f6a639682 Prepare entropy code for the new auto postpone approach 2025-09-24 16:22:42 +02:00
Jorge Manrubia 346e0ef121 Proper cache invalidation for all the columns 2025-09-18 12:08:40 +02:00
Jorge Manrubia 690734d8ab Fix several caching issues when viewing card permas 2025-09-18 10:58:09 +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
Andy Smith 8f86b25a54 Ensure card__link is visible on cards with backgrounds 2025-08-12 15:20:21 -05:00
Andy Smith 54ecd47c77 Use stage preview when previewing 2025-08-12 15:15:11 -05:00
Jason Zimdars cf4c6dba9c Indicate cards with attachments in the description 2025-07-03 15:56:25 -05:00
Jason Zimdars 25a33fb9c8 Merge branch 'main' into card-steps
* main: (22 commits)
  Fix that stage should be visible above card background
  Indicate opens menu
  Hide dialog targets from screen readers when closed
  Mark up as heading for screen reader navigation
  Copy for screen readers
  Don't hide the input so it's accessible to screen readers
  Point skip links to correct anchor, don't navigate with turbo
  There aren't any `li` children so just use `div`
  Use headings for screen reader navigation
  Use `h3` for individual cards in collection view
  Make collection title `h1` for screen reader navigation
  Esc should not propagate when closing dialogs
  squash! Remove session controller actions other than delete
  Screen reader: Use heading for comments navigation
  Remove the invitation codes for now
  Remove session controller actions other than delete
  Correct label for field
  Style
  Screen reader: De-duplicate links for each person in account settings
  Account.signal_account is no longer optional
  ...
2025-07-02 16:09:49 -05:00
Jason Zimdars 70d6a7190f Use h3 for individual cards in collection view 2025-07-02 14:42:53 -05:00
Jason Zimdars f02215c5b7 Add steps to cards 2025-07-01 20:05:20 -05:00
Jason Zimdars c59a99fa68 Only display workflows when the card is in Doing 2025-06-19 13:35:20 -05:00
Jorge Manrubia 6907d07d07 Don't choke when a card is missing its stage
This can happen if the stage was destroyed
2025-06-19 08:25:48 +02:00
Jason Zimdars 975bbe2385 Render stage inline so it doesn't overlap collection name
Allows truncation of collection name to fit stage name
2025-06-17 15:11:21 -05:00
Jason Zimdars 73b3442e96 Make cards resilient to long collection names 2025-06-16 19:53:55 -05:00
Jorge Manrubia 50b20c4099 Make sure you can't drag drafts 2025-06-13 10:25:48 +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 69263766ec Make sure that only cards in do/considering are draggable
Not in complete, not in the event timeline
2025-06-13 10:02:31 +02:00
Jorge Manrubia f58aaadba5 Drag and drop cards to move between doing/considering 2025-06-12 11:57:53 +02:00
Andy Smith 4beeb60484 Closing cards on mobile 2025-06-11 11:42:36 -05:00
Jason Zimdars c7cc4fb286 Zoom background on perma 2025-06-09 16:30:12 -05:00
Jorge Manrubia a6ffbf7ec6 Rename method 2025-06-04 14:56:19 +02:00
Jorge Manrubia db86d17880 Refactor to introduce an entropy model
Instead of keeping two tracks of similar logic (auto-reconsider / auto-close).
2025-06-04 14:40:02 +02:00
Jorge Manrubia e8249d2405 Consider the new default settings for previews 2025-06-04 13:13:45 +02:00
Jason Zimdars acfc7da551 Merge pull request #548 from basecamp/change-collection
Change collection
2025-06-03 08:56:00 -05:00
Jason Zimdars 902a99ca56 Merge branch 'main' into change-collection
* main: (25 commits)
  Add controller to retarget links
  Use more complete regexp
  dep: bundle update
  refactor: Extract a Card::Entropy concern
  Autolink emails and URLs at rendering time
  Remove the "mirror" storage service
  Update production storage to write to the Pure blob store
  Clean up the purestorage config, and add explanatory comments.
  Drop the action_text_markdowns table
  Mount mission control under `/admin/jobs`
  dep: add mission_control-jobs
  Flip the storage mirror to write to Pure as the primary
  Production mirrors Active Storage to `:purestorage`
  Make sure Sentry is configured for the beta env.
  Update lexical
  update lexical
  update lexical
  Create a distinct "beta" environment
  Revert "Patch for cards missing description"
  Add a kamal "ssh" alias
  ...
2025-06-02 09:34:01 -05:00
Jorge Manrubia 51dcf8b25f Invalidate card caches when editing workflows
https://37s.fizzy.37signals.com/collections/2/cards/607
2025-06-02 13:08:54 +02:00
Mike Dalessio 28ed744d0c refactor: Extract a Card::Entropy concern
to encompass behavior related to auto-closing and auto-reconsidering.

Note that putting this code in a single place reveals an asymmetry
between the actions:

- Auto-closing period is an optional attribute of a collection
- Auto-reconsidering period is hard-coded to 30 days for all collections
2025-06-01 16:50:12 -04:00
Andy Smith 68906321e8 Card shadow tweaks 2025-05-30 13:11:36 -05:00
Jason Zimdars c4ca5d34e4 Allow cards to be moved to another collection 2025-05-29 21:41:29 -05:00
Andy Smith f5dc923b43 Merge branch 'main' into tray-updates
* main:
  Tighten cards
  Stub recently closed filter
  Introduce a list style for all but the first six completed cards
2025-05-21 09:49:33 -05:00
Jason Zimdars f5e3e58be4 Tighten cards 2025-05-20 18:11:18 -05:00
Andy Smith 5a8da321fe Merge branch 'main' into tray-updates 2025-05-20 15:58:30 -05:00
Andy Smith 04d01d7d10 Merge notification styles into a card variant 2025-05-20 13:50:53 -05:00
Andy Smith 900fbef686 Add card header to notifications 2025-05-19 15:20:56 -05:00
Andy Smith 8077e85019 Consolidate a few styles for card headers 2025-05-19 14:41:26 -05:00
Mike Dalessio 1d11f31fba Only render bubbles for cards in auto-closing collections 2025-05-16 10:46:04 -04:00
Mike Dalessio 388fe2de73 Introduce a stimulus controller for bubbles
The "closing soon" bubbles were introduced in #406, and the "falling
back" bubbles in #500. However, these bubbles are part of the cached
card and so as time passes, the relative time doesn't change unless
the card is touched.

This PR introduces a stimulus controller for bubbles, which takes care
of:

- making the bubble visible during the reminder period
- calculating the relative number of days until entropy kicks in
- rendering appropriate text around the day count

ref: https://37s.fizzy.37signals.com/collections/693169850/cards/999009091
2025-05-16 10:27:00 -04:00
Andy Smith e7495046d9 Update label to "Falls back" 2025-05-15 09:49:54 -05:00
Andy Smith 15e3802a33 Add basic rules for reconsider bubble 2025-05-14 15:25:17 -05:00
Andy Smith 95298d4fce Stub out considering bubble 2025-05-14 14:53:09 -05:00
Andy Smith d568a7ff13 Create space for bubbles in containers 2025-05-14 14:39:33 -05:00
Jason Zimdars ebba9a11fb Merge branch 'main' into jz-5-8-25
* main:
  Fix the flashing notif tray
  Remove unused var
  Update bubble text when 0 days
  More yellow, less orange
  Don't run solid queue in dev by default
  Add more gold to the golden cards
  Remove outlined letters, only use mono for date
  Tweak stroke values for legibility
  Try monospace font
  Text stroke outlines
2025-05-08 17:26:46 -05:00
Jason Zimdars 3bfb25ebc2 Close pinned cards when you click since the tray persists between page loads 2025-05-08 16:23:57 -05:00
Andy Smith d6736a8bcf Update bubble text when 0 days 2025-05-08 15:43:56 -05:00
Andy Smith 4d1c215f02 Merge branch 'main' into closing-soon-badge 2025-05-06 15:25:01 -05:00