Commit Graph

52 Commits

Author SHA1 Message Date
Jason Zimdars 28a569c49b Tickets 2025-03-17 21:24:08 -05:00
Bruno Prieto 7354e74432 Improve bubble readability for screen readers 2025-03-14 01:35:40 +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 18707300d4 Try a lighter bubble style and bring back splats for popped 2025-02-18 19:02:00 -06:00
Kevin McConnell 85749687f7 Associate the draft comment with the bubble form 2025-02-13 15:05:04 +00:00
Jason Zimdars 946f387e7c Missed this one 2025-02-12 17:27:44 -06:00
Jason Zimdars e16d7f1138 Polish bubble title inputs for WYSIWYG 2025-02-12 17:25:46 -06:00
Jason Zimdars c2112735f8 Try a simpler popped treatment, consistency for small bubbles 2025-02-12 15:54:38 -06:00
Jason Zimdars ff8a2b56b3 Burst effect for popped bubbles 2025-02-12 13:10:58 -06:00
Jason Zimdars 0c57f9cdc5 Polish draft/post UI 2025-02-11 21:48:33 -06:00
Kevin McConnell 4121f68f7d Auto-save edits to bubble title 2025-02-11 14:34:39 +00:00
Kevin McConnell cc3e147e85 When creating, put a form in the bubble title area 2025-02-11 14:34:39 +00:00
Kevin McConnell 321384b573 Replace "editing" param with creating? state 2025-02-11 14:34:39 +00:00
Jason Zimdars 0956917546 Display the number of comments on bubbles 2025-02-07 16:44:43 -06:00
Kevin McConnell cd1e6378d0 Add drafted and published states 2025-01-15 10:58:00 +00:00
Kevin McConnell 46989f6ebe Mark notification read when viewing the Bubble 2025-01-13 14:21:47 +00:00
Jason Zimdars 520bead27f Open the title field for editing after creating a new bubble 2024-12-16 16:59:31 -06:00
Jason Zimdars b8d256d68d Improve the flow for editing bubble titles
- Keyboard shortcuts (ctrl-enter, meta-enter, esc)
- Visible submit button
- Hide tags while editing (so we can edit them inline later)
2024-12-16 12:04:21 -06:00
Jason Zimdars 245e2ea3bd Ensure tags don't affect the bubble shape or spill out of the container 2024-12-04 17:42:47 -06:00
Jason Zimdars ddefd9b548 Display tags inside the bubble 2024-11-22 15:59:29 -06:00
Jason Zimdars b5291acf7c Bump proportionally 2024-11-20 17:19:23 -06:00
Jason Zimdars 9b6498290a Tighten up list view 2024-11-20 13:00:14 -06:00
Jason Zimdars d33226a92b Apply colors in the sidebar 2024-11-14 14:04:35 -06:00
Jason Zimdars b4623b632c No need for turbo frames here either 2024-11-14 12:33:34 -06:00
Jason Zimdars f7d7ea6e49 No need for turbo frames after all 2024-11-14 12:30:05 -06:00
Jason Zimdars 619dcc171c Use turbo frame for assignments 2024-11-12 20:50:17 -06:00
Jason Zimdars 3da6f954dd Use turbo frame for due dates 2024-11-12 20:23:46 -06:00
Jason Zimdars c74e2ecd1d Improve bubble animation effect 2024-11-01 09:32:12 -05:00
Jason Zimdars d3acbd2a55 Render bubbles without inline SVG, try a more fluid animation 2024-10-30 17:44:15 -05:00
David Heinemeier Hansson cd14fda395 Cache bubble partial on itself 2024-10-19 16:50:05 -07:00
Jason Zimdars fb3077811d Remove for now, needs more thought 2024-10-06 10:36:51 -04:00
Jeffrey Hardy f7c79ac6d8 Ensure popped bubbles are clickable 2024-10-04 16:16:50 -04:00
Jeffrey Hardy 86e30fffcc Stub filtering for popped bubbles 2024-10-04 16:11:09 -04:00
Jason Zimdars 547b0f49ae Popped effect 2024-10-03 15:41:00 -05:00
Kevin McConnell 4161862966 Add pop/restore button to bubble 2024-10-03 13:43:57 +01:00
Jeffrey Hardy 4e579e5a34 Rename Project to Bucket 2024-09-24 15:32:44 -04:00
Jeffrey Hardy 1d8d10ce63 Replace Bubble#color enum with a standard attribute with a default 2024-09-18 16:00:29 -04:00
Jeffrey Hardy 355e144ddc Nest bubbles et al under projects 2024-09-18 13:09:06 -04:00
Jason Zimdars 56c7fe4abb Add assignees to a bubble WIP
- Still needs UI to display multiple assignees
- Still needs UI for changing/removing assignees
2024-09-17 17:10:23 -05:00
Jason Zimdars 362f373378 Inline color picker 2024-09-16 17:41:14 -05:00
Jeffrey Hardy bd2aa802d9 Remove bubble images independently 2024-09-13 19:16:36 -04:00
Jason Zimdars 5636711ae4 Clean up with partials 2024-09-13 17:16:15 -05:00
Jason Zimdars 4b7fc61136 Add and change a due date on bubbles 2024-09-13 17:16:15 -05:00
Jason Zimdars 24643341cd Click to edit bubble titles 2024-09-06 18:14:08 -05:00
Jason Zimdars ea6a968034 Improve image add/remove buttons 2024-09-06 16:05:48 -05:00
Jason Zimdars 0c46df4890 Fix image bubbles display in Safari and Firefox 2024-09-06 11:10:45 -05:00
Jason Zimdars 4910c82d0a Remove images inline, too 2024-09-05 20:15:04 -05:00
Jason Zimdars f330afb04c Add bubble images inline without a special form 2024-09-05 20:14:22 -05:00
Jeffrey Hardy 0930879ec7 Indentation and formatting 2024-09-05 17:36:51 -04:00