Commit Graph

125 Commits

Author SHA1 Message Date
Andy Smith c087ceee52 Properly close the span 2025-06-24 15:29:41 -05:00
Jason Zimdars c2b92fd4f5 DRY this up 2025-06-19 20:42:11 -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 cc407f6198 Rework truncation so tag and collection menus display correctly 2025-06-17 16:26:54 -05: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 ba7cef801a Band aid for dialog inside overflow elements 2025-06-16 20:44:25 -05:00
Jason Zimdars 73b3442e96 Make cards resilient to long collection names 2025-06-16 19:53:55 -05:00
Jason Zimdars 2b74ece8b3 Merge branch 'main' into add-cards-in-more-places
* main: (34 commits)
  Opt out of writer affinity on readings controller
  Enable VFS, but don't load extension again
  Add flash notice when adding another card
  Fix tests after updating rails
  Fix fixtures after updating gem
  Make sure you can't drag drafts
  Fix clipped tag selector
  Don't miss cards dropped in the same container!
  Make sure that only cards in do/considering are draggable
  Add test
  Add test
  Use the same controller for publishing cards and for publishing and adding another
  Position Completed stamps better
  Bump sentry-rails from 5.24.0 to 5.25.0
  Bump rails from `0ac3fba` to `fd49d6a`
  Bump sentry-ruby from 5.24.0 to 5.25.0
  Add multiple cards quickly
  Tweak a little more
  Tighter bubbles on small screens
  Need a little space in the layout for the drag/drop outline
  ...
2025-06-16 12:13:38 -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
Jason Zimdars f79f51b1e3 Don't navigate, activate the menu 2025-06-12 15:43:03 -05: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 319050fe94 Merge branch 'main' into public-collections
* main:
  Zoom background on perma
  Flip hover behavior between collection and perma
2025-06-10 10:47:36 -05:00
Jorge Manrubia e5f7d252fe Create dedicate templates for card previews
To remove links and customize as we need to
2025-06-10 10:17:19 +02:00
Jason Zimdars c7cc4fb286 Zoom background on perma 2025-06-09 16:30:12 -05:00
Jorge Manrubia 15d3c0e724 Simplify since the design is identical 2025-06-06 09:19:51 +02:00
Jorge Manrubia f742749b0f Tidy up controller and make sure the different targets are properly separated
If not, it wouldn't show stalled if there were entropy bubbles in the page
2025-06-06 09:15:51 +02:00
Jorge Manrubia 6287acf5ba Tidy up controller
Remove namespace "entropy" since the regions are common now
2025-06-06 09:04:42 +02:00
Jason Zimdars 9d706902e8 Style stalled bubble 2025-06-05 16:25:21 -05:00
Jorge Manrubia 19e27370fa Stimulus can't handle "null" JSON string 2025-06-05 11:10:09 +02:00
Jorge Manrubia fbe12014ab Format 2025-06-05 11:08:37 +02:00
Jorge Manrubia 6e8087ee2e Toggle entropy/stalled container in the bubbles controller 2025-06-05 11:08:20 +02:00
Jorge Manrubia 76119b17bd Entropy, not bubble! 2025-06-05 10:33:02 +02:00
Jorge Manrubia 22ed605884 Namespace bubble-related targets 2025-06-05 10:32:14 +02:00
Jorge Manrubia 2cbd451944 Group entropy options in an object value
We'll add stalling considerations next, this helps keeping things organized.
2025-06-05 10:28:33 +02:00
Jorge Manrubia 5dc33c304c Restore reminder period I replaced by mistake 2025-06-04 17:17:47 +02: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 ff403021cc Wire-up keyboard navigation
- Introduces a distinct controller and individual forms for each option so they behave like other pop-ups
- Adds `filter` and `navigable-list` behaviors
2025-06-03 11:05:39 -05:00
Jason Zimdars acfc7da551 Merge pull request #548 from basecamp/change-collection
Change collection
2025-06-03 08:56:00 -05:00
Jorge Manrubia c0cd5e1967 Merge pull request #566 from basecamp/fix-caching
Invalidate card caches when editing workflows
2025-06-02 18:09:52 +02:00
Jorge Manrubia 08c5abfbdb Extract common method to query when entropy is cleaned
We were always quering auto_close_at
https://37s.fizzy.37signals.com/collections/2/cards/743
2025-06-02 18:04:14 +02:00
Jason Zimdars 3ab0cb7422 Down arrow glyph 2025-06-02 10:02:27 -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 c3c5b38b84 Finishing touches 2025-05-22 13:36:20 -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
Jason Zimdars e5f25b8d39 Introduce a list style for all but the first six completed cards 2025-05-20 15:43:24 -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