Commit Graph

193 Commits

Author SHA1 Message Date
Andy Smith 8db9862eb1 Use hide avatars from tabindex on preview 2025-10-02 15:36:13 -05:00
Jason Zimdars 1ecbc6d8ac This child of <ol> should be <li> 2025-09-30 18:11:24 -05:00
Andy Smith 58c0314c17 Merge branch 'main' into tooltip-orient
* main: (161 commits)
  Save expanded state to localStorage
  Update seeds to use the workflow stages
  Disable autocomplete when editing columns
  Reset column form and disable autocomplete
  Remove unused job
  Fix Stream workflow stage BG
  We need the grid layout when filtering events
  Fix: proper filtering by collection in the collection perma
  Fix test
  Fix test
  Position expander menu
  Use parent layout when using with_manual_pagination
  Reinstate gap to cards list
  Fix: include collection filter in the collection perma
  Add some basic caching for the new columns approach
  Format
  Fix tests
  No need to use extra method here
  Move actions to stream templates
  Prevent recursive loop now that we have nested frames
  ...
2025-09-29 13:55:33 -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 113063ada3 Add wavy BG to Stream workflow stage 2025-09-24 12:03:58 -05: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
Andy Smith b82c6e9102 Use data-controller instead of class for tooltip CSS 2025-09-22 16:58:57 -05:00
Andy Smith 3d5bdc64f4 Add JS controller to existing tooltips 2025-09-22 16:50:07 -05:00
Andy Smith 2404d6d0f9 Use the same markup for public card columns 2025-09-18 16:18:06 -05: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
Stanko Krtalić 0e2c7f7d4d Escape HTML everywhere where html_safe is used (#1114)
* Escape HTML everywhere where html_safe is used
* Mark search results as HTML safe at the attribute
2025-09-16 11:52:15 +02:00
Andy Smith a2fd470c63 Refactor popup item class names 2025-09-12 11:27:47 -05:00
Andy Smith e864ec6d69 Organize existing popup styles 2025-09-12 10:49:30 -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
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
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
Jason Zimdars 825522158c Just show icons for the second column 2025-09-09 22:52:19 -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 36ddcba6dc Don't display "not assigned" 2025-09-08 16:57:21 -05:00
Jason Zimdars a44073c001 Order by recently accessed like the Fizzy menu for convenience 2025-09-02 14:30:50 -05:00
Andy Smith 167434d238 Refactor meta display 2025-08-19 16:52:27 -05:00
Andy Smith 20e27541be Truncate tags on cards 2025-08-14 13:55:20 -05: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
Andy Smith 327f48bd4f Ensure avatars aren't tab-focusable when previewing 2025-08-12 15:12:48 -05:00
Andy Smith 19364af144 Merge pull request #870 from basecamp/tooltips
Tooltips
2025-08-12 11:49:08 -05:00
Andy Smith 267a5f11fa Stack meta info on mobile 2025-08-11 15:54:59 -05:00
Andy Smith 9224b76104 Workflow stages look better on mobile 2025-08-11 11:43:03 -05:00
Andy Smith a83b0a5e15 Assign tooltip 2025-08-07 15:38:47 -05:00
Andy Smith ffe88b824e Tooltip for Add a tag 2025-08-07 15:36:50 -05:00
Andy Smith 24617a8861 Add a couple more tooltips 2025-08-07 15:31:48 -05:00
Andy Smith d5a1c9824c Merge pull request #836 from basecamp/lightbox-improvements
Lightbox improvements
2025-08-05 09:59:37 -05:00
Andy Smith 38be44dd11 Move lightbox to cards/show so we can use it for description and Lexical images 2025-08-04 16:11:43 -05:00
Andy Smith 7d35ab11ec Add a remove image button inside the lightbox 2025-08-04 13:36:56 -05:00
Andy Smith 34f926ffca Support optional captions 2025-08-04 13:05:39 -05:00
Jason Zimdars 6227cf9a8b Keyboard arrow through pins and notifications 2025-07-30 16:07:55 -05:00
Jason Zimdars d3a01cf9bb Dialog target needs to be in the DOM on connect
Moves it out of the turbo frame so it's available even when empty
2025-07-24 14:58:52 -05:00
Andy Smith 67df61b57d Dry up utility classes for popup__group 2025-07-21 13:59:33 -05:00
Andy Smith 7e0df47c8f Same padding for all popup__items 2025-07-21 13:38:08 -05:00
Andy Smith 37cc6a6955 popup__items full-width by default 2025-07-21 13:37: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
Jason Zimdars 70c2cc62a1 Merge branch 'main' into public-collection-cards
* main:
  Revert "Adjust borders"
  Don't allow wrapping initially
  Adjust borders
  Truncate long commands
  Try using env safe insets to avoid overlapping elements on mobile
  Correct asset width and remove caption input focus ring
  Revert "Make a focus-ring global variable"
  Make a focus-ring global variable
  Set `id` explicitly so the `label for` reference works
  Higher resolution image
  When adding a card out of context, default to most recently accessed collection
  Fine tuning to handle different attachment types
  Replace helper with view lookup
  Make nil safe
  Extract attachments to a partial
  Remove `card_published` check and render its own template
  Extract common concern to examine attachments
  This is a hack but we should be showing the card description and attachments for new cards
  Display attachments in events for comments
  Indicate cards with attachments in the description
2025-07-10 16:33:51 -05:00
Jorge Manrubia 81560c73dd Use existing direct route 2025-07-10 14:57:20 +02:00
Jason Zimdars 55f92e73f7 Not needed here 2025-07-09 11:08:09 -05:00