Commit Graph

44 Commits

Author SHA1 Message Date
Jason Zimdars 80a43454a8 Bring back chips to indicate custom collections 2025-04-26 19:48:51 -05:00
Andy Smith ec7161bde5 Clean up abstractions 2025-04-17 15:42:17 -05:00
David Heinemeier Hansson 6bbf68a4f9 The tenanted db is the account scope 2025-04-12 20:06:34 +02:00
Jason Zimdars 197fe95497 These are unused partials from the removed buckets#index view 2025-04-09 14:00:19 -05:00
Jason Zimdars 5d0366a20f Delete unused icons 2025-04-09 13:24:10 -05:00
Jorge Manrubia b035c8506e Fix issues with styling card__ components 2025-04-09 15:10:48 +02:00
Jorge Manrubia 723e6d94f5 Rename bubbles => cards 2025-04-09 14:50:58 +02:00
Andy Smith b8a1acefd8 Use mask icons everywhere 2025-04-02 14:22:42 -05:00
Jason Zimdars 28c7c07030 Whitespace 2025-04-01 15:16:38 -05:00
Jason Zimdars 988fa33b32 Revert unrealized changes 2025-04-01 15:13:21 -05:00
Jason Zimdars 286e3808e2 Removed unused filters (for now) 2025-03-31 17:13:34 -05:00
Jason Zimdars 01230a870c Filter the doing column by stage 2025-03-31 17:11:22 -05:00
Jason Zimdars f16f0ae48f Mock layout 2025-03-31 14:04:20 -05:00
David Heinemeier Hansson de6f782ca3 Extract icon_tag helper to reduce repetition 2025-03-29 17:22:51 +01:00
David Heinemeier Hansson 3faea3c39c Proper spacing 2025-03-29 15:43:54 +01:00
David Heinemeier Hansson 57ad7d169c If there are no tags, show no tag column for the filter 2025-03-29 15:40:59 +01:00
David Heinemeier Hansson ad3b7ef319 Protect against an account without workflows
Probably should make it such that a new account sets up the default
workflows, but right now it doesnt, so protect against them by not
showing the workflow filter.
2025-03-29 15:38:02 +01:00
Jason Zimdars 9b9e09601e Introduce text-based UI 2025-03-24 11:33:04 -05: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 63a098fcdb Fix filter input and label id assigments 2025-03-13 23:44:05 +01:00
Bruno Prieto 793a43ff27 Add aria-label and aria-description to filter dialog
Otherwise the browser will try to infer the properties. That process is slow for screen readers
2025-03-13 22:56:28 +01:00
Bruno Prieto dfb49d0f87 Add aria-label and aria-description to filter dialog
Otherwise the browser will try to infer the properties. That process is slow for screen readers
2025-03-13 22:46:19 +01:00
Bruno Prieto cea43da13f Organize filter inputs by group, similar to fieldset
Menu tag is deprecated, li elements are only valid inside ul or ol elements
2025-03-13 22:36:12 +01:00
Bruno Prieto fdd3fb53c0 Label tag don't need a for attribute if it has a input as a children
Then input ids aren't required
2025-03-13 22:20:40 +01:00
Bruno Prieto 8a9d57e4c8 Show filter inputs for screen readers 2025-03-13 21:53:53 +01:00
Bruno Prieto 4425e0d16a Hide bubbles for SR users for now 2025-03-13 21:24:30 +01:00
Kevin McConnell 16a80ff3a6 More dynamic activity scores
This introduces a more dynamic system of activity scoring, to improve
the way bubbles "bubble up" due to their activity. There are a few
different parts we can tune here, and it's likely we'll need to make
adjustments once we get a feel for how this works in practice.

The basic idea here is:

- We assign points for certain types of event that happen on a bubble. A
  boost gets 1 point, a comment gets 10 points, and so on.
- These points decay over time, at a rate of 50% per day. So old
  activity is worth much less than new activity. Bubbles should rise up
  quickly when acted upon, bit will float back down if left idle.
- Some comments can score higher than others: the first comment from
  each person on a bubble is worth more (20) because it signals that
  more people are getting involved; and comments that follow a comment
  by a different author are also worth more (15) because that signals
  there's ongoing conversation between people, not just a series of
  notes being left by one individual.

In terms of implementation, we persist the score on the bubble
whenever it changes, but we handle the decay on the client side. That
allows us to cache the bubble representation without having to
continually change it while its activity decays.

We also keep a separate `activity_score_order` attribute on the model.
This can be used to sort the bubbles in order of "most active", without
having to think about the decay.
2025-03-05 17:16:31 +00:00
Jason Zimdars 1d0562f905 Refactor 2025-02-21 10:44:40 -06:00
Jason Zimdars fb01444a88 "Added by…" is a more useful filter than "Assigned by…" 2025-02-20 16:07:07 -06:00
Jason Zimdars 1ad6a9adb8 Introduce quick filters on the page so the dialog becomes advanced filtering 2025-02-20 15:20:30 -06:00
Jason Zimdars bba3794454 Attribute is on the wrong element 2025-02-13 16:16:25 -06:00
Jason Zimdars 19c8cb370c Fix alignment and truncation 2025-02-06 16:27:33 -06:00
Jason Zimdars 346ecc34af Projects -> Collections 2025-02-06 16:24:05 -06:00
Jason Zimdars 65f12378bb Smaller 2025-02-06 16:19:42 -06:00
Kevin McConnell bd6e0b62b1 Split up a big view 2025-01-24 10:36:33 +00:00
Jose Farias e9a085f848 Simplify filters 2025-01-15 16:27:33 -06:00
Kevin McConnell e7bc04856f Broadcast bucket changes to index page
This will cause each filtered view to stay updated as the items in the
buckets change.

For filters that are specific to buckets, we listen to broadcasts on
those buckets; for filters on "All projects" we listen instead for
broadcasts on an account-specific channel. This is so that "All
projects" views will be aware of any new buckets that are added, while
also avoid unnecessary refreshes from buckets that are filtered out.
2025-01-09 09:14:22 +00:00
Jason Zimdars f8f320d76c Adjust position of settings buttons 2024-12-06 17:21:34 -06:00
Jason Zimdars d387e3b65d Decorate with filter icon 2024-11-19 13:55:26 -06:00
Jason Zimdars ca7cccdb7c Add some structure to buckets index 2024-11-19 12:45:16 -06:00
Jason Zimdars dcd819d1ec Restore bucket settings link, adjust styles for filters 2024-11-19 12:32:20 -06:00
Jason Zimdars 5f6cc046b7 No need for inline svg here anymore 2024-11-19 12:30:23 -06:00
Jose Farias f2706d0f74 Unnest bubble filters 2024-11-05 13:04:05 -06:00