Commit Graph

651 Commits

Author SHA1 Message Date
Jason Zimdars f3bc2a2316 Tray placeholders 2025-03-26 15:20:23 -05:00
Jason Zimdars a6c10d3de7 Unused 2025-03-26 14:22:03 -05:00
Jason Zimdars c7aba17303 Massive refactor for better font sizing and responsive layout 2025-03-26 11:45:14 -05:00
Mike Dalessio 1a4e2fdea4 Remove unnecessary "turbo: false" from forms
because the turbo responses have been moved from EventsController to
Events::PagesController, we can now redirect to the Events index page
within a turbo session.
2025-03-26 07:47:01 -04:00
Mike Dalessio 91de604815 Move event activity loading into Events::DaysController 2025-03-26 07:46:56 -04:00
Jason Zimdars 3bde5fdc1c Comments, list and font improvements 2025-03-25 16:59:13 -05:00
Jason Zimdars 07c2c53c49 Close attribute 2025-03-25 15:06:25 -05:00
Jason Zimdars 46cd84f306 Remove divider 2025-03-25 15:06:25 -05:00
Mike Dalessio 733e7f0b09 Load past activity when collections list is quite long
ref: https://37s.fizzy.37signals.com/buckets/693169850/bubbles/999008733

This moves the "fetch-on-visible" link to right after the
"div#activity" to which it will append, so that it immediately
triggers if the first day's grid is short.

The link previously was at the end of the page, meaning that a long
list of Collections would push it out of the viewport, requiring a
scroll before loading the next day.
2025-03-25 14:10:52 -04:00
Mike Dalessio 23e4fd9b1c Remove the buckets#index action and view
and have bucket#destroy redirect to root_path
2025-03-25 13:40:36 -04:00
Mike Dalessio 95a7406b67 Restore commenting and subscriber bar
removed in 403a328e
2025-03-25 09:43:26 -04:00
Jason Zimdars 403a328ef8 Walk-back two-column comments design 2025-03-24 17:43:43 -05:00
Jason Zimdars abeb0762f6 Untangle list 2025-03-24 17:27:24 -05:00
Jason Zimdars c9a8f73134 Avoid wrapping 2025-03-24 17:04:18 -05:00
Jason Zimdars 7c54a20ece DRY this up a bit 2025-03-24 17:04:08 -05:00
Mike Dalessio a66dc2a789 Move tags and assignments partials out of "bubbles/sidebar"
They're part of the card now, let's name them that way.

Also, rename the "tag" partial to "tagging", following the naming
convention established by the controller.
2025-03-24 17:11:58 -04:00
Mike Dalessio 5ae87d8140 Ensure the tags dropdown is not subject to the cached card fragment
- Rearrange the _tags and _tag partial, so they are properly nested concerns
- Add turbo frames for _tags and _tag
- Load _tag in a separate request, so it's not cached with the card
- Cache _tag using the bubble and the account
- New model behavior: touch Account when tags are added or removed
- New controller action: "new" for taggings toggles, which renders the _tag partial
- Updating taggings responds with a turbo stream response that updates the _tags frame

This is very much a parallel change to what was done with assignments
in #317.
2025-03-24 16:48:11 -04:00
Jason Zimdars 9c690c5822 Don't display before login 2025-03-24 15:19:51 -05:00
Mike Dalessio df377861fc Merge pull request #317 from basecamp/flavorjones-assignee-card-cache
Assignee dropdown no longer subject to the card fragment cache
2025-03-24 15:27:53 -04:00
Jason Zimdars bc5858081a Make sure back restores any active filters 2025-03-24 14:15:45 -05:00
Jason Zimdars 4bc125c7eb Load the form in a turbo frame so focused field doesn't intercept hotkeys 2025-03-24 14:15:28 -05:00
Jason Zimdars 9b9e09601e Introduce text-based UI 2025-03-24 11:33:04 -05:00
Mike Dalessio 44650cc36e Reload the assignees turbo frame when assigments are updated
Also, add a cache around the dropdown keyed on [bubble, bucket].
2025-03-21 17:53:41 -04:00
Mike Dalessio a830ec1999 Extract an "assignees" partial
pulling the avatars down from the "people" partial, and pulling the
add button up from the "assignment" partial.

The result is:

- the "bubbles/sidebar/assignment" partial is just the dialog box
- the "bubbles/assignees" partial contains everything about assignees
- the "bubbles/people" partial makes one render call

and I've introduced some turbo frames in the expectation of the next
commit which will load the dialog in the background.
2025-03-21 17:20:14 -04:00
Jason Zimdars cbc9567966 Smaller tray cards 2025-03-21 14:54:26 -05:00
Jason Zimdars 53b906423a Overflow needs to be on the nearest item 2025-03-20 18:12:43 -05:00
Jason Zimdars 39ebeadc08 Hide button when empty 2025-03-20 18:04:39 -05:00
Jason Zimdars 9dba039096 Missing class 2025-03-20 17:59:29 -05:00
Jason Zimdars eaf927f1a8 Refactor tray styles 2025-03-20 17:54:24 -05:00
Jason Zimdars 0da84efd01 Tray pins design 2025-03-20 16:52:56 -05:00
Jason Zimdars 1802a6391a Tweak events and dates 2025-03-20 13:54:56 -05:00
Jason Zimdars 2e0f787777 Polish trays behavior 2025-03-20 11:41:17 -05:00
Jason Zimdars e92995b5e5 Account for untitled bubbles 2025-03-20 11:41:02 -05:00
Jason Zimdars 7f06504a55 Ensure something is rendered when title is blank 2025-03-20 11:16:31 -05:00
Jason Zimdars 015b26e7e8 Dark mode 2025-03-20 11:16:31 -05:00
Jason Zimdars e315e66d58 Keep it top right 2025-03-19 17:54:52 -05:00
Jason Zimdars 05d377e919 Actually let's use the icons and the state 2025-03-19 17:45:20 -05:00
Jason Zimdars 264d78b21a Update test 2025-03-19 16:37:06 -05:00
Jason Zimdars 572428bfbc Improved comments and events layout 2025-03-19 16:33:03 -05:00
Jason Zimdars 714ae9d317 Differentiate events with an icon 2025-03-19 13:35:17 -05:00
Mike Dalessio a6197753ff Make sure first runs redirect will work
by turning off turbo on the form
2025-03-19 12:36:32 -04:00
Jason Zimdars 5973d14e2c Trays everywhere 2025-03-18 17:13:57 -05:00
Jason Zimdars fc163886e8 Move search onto home 2025-03-18 17:11:42 -05:00
Jason Zimdars de851fa69c Move back to edges 2025-03-18 17:10:50 -05:00
Jason Zimdars b99fc7484b Handful of tweaks 2025-03-18 16:01:31 -05:00
Kevin McConnell bc5e32e737 Only "published" notifies collection subscribers
The other notifications are only sent to the watchers of the bubble.
2025-03-18 17:46:57 +00:00
Jason Zimdars 28a569c49b Tickets 2025-03-17 21:24:08 -05:00
Jason Zimdars e53052b7e7 Fix visual button regression
`.for-screen-reader` has specific behavior inside `.btn` that makes it unsuitable for use on form elements. This fix adds a second, functionally identical, class `visually-hidden` for those cases. Later we can figure out a way to make it clear when to use which.
2025-03-14 09:58:50 -05:00
Bruno Prieto 10cdb8c1a8 Improve accessibility of comments and reactions 2025-03-14 02:29:44 +01:00
Bruno Prieto 7354e74432 Improve bubble readability for screen readers 2025-03-14 01:35:40 +01:00