Commit Graph

132 Commits

Author SHA1 Message Date
Kevin McConnell bfaac4bd44 Render activity directly into requested timezone 2025-01-27 15:41:01 +00:00
Jason Zimdars 881e1d07fc Merge branch 'main' into latest-activity
* main: (27 commits)
  Leave some space for the tray
  Let's not assume it's a due date
  Avoid overlap
  Let's try without the big drag button, extend beyond the column a touch
  Tighten labels
  Match notification dot
  Spacing
  Add more context
  Avoid leaving the tray open
  This shouldn't be here
  Paginate the read notifications
  Add a test case
  Split up a big view
  Allow filtering by stage
  Send beacon request on disconnect as well
  Wire up notifications "Mark all as read" button
  Add unread dot
  Set state for when there are no new notifications
  Move to right side, smooth transition
  Open tray on click, stub mark-as-read button
  ...
2025-01-24 15:07:17 -06:00
Jason Zimdars 40f3925712 Add more context 2025-01-24 14:09:59 -06:00
Jason Zimdars 823602bcee Avoid leaving the tray open 2025-01-24 13:56:03 -06:00
Kevin McConnell 1f3bc1134f Paginate the read notifications 2025-01-24 17:42:36 +00:00
Jason Zimdars c0a2b36000 Color all cells 2025-01-23 09:53:12 -06:00
Jason Zimdars c160e3c6eb Active => Touched 2025-01-22 15:59:56 -06:00
Kevin McConnell 2320a10c74 Show "published" in the added column
Making a draft shouldn't show up here.
2025-01-22 16:46:19 +00:00
Kevin McConnell b2f72ff668 Use Stimulus to position events by timezone 2025-01-22 14:38:38 +00:00
Jason Zimdars e11b5095d5 Add grid cell styles and time markers 2025-01-21 18:29:56 -06:00
Jason Zimdars 49866a121d Merge branch 'main' into latest-activity
* main:
  Don't round up in time distance expression
  Tidy Gemfile
  Banner for draft state
  Drafts should always use the dashed outline wherever they're displayed
  Unnecessary parens
  Use distance to nearest edge
  Simplify overlap logic
  Fix divider drag jankiness
  Use cache-friendly "time ago"
  positionedClass -> installedClass
  Pull out moveDividerTo
  Before comes before After
  DividerElement -> Divider
  Clean up divider-controller
  Drag bubble divider
2025-01-21 13:50:28 -06:00
Kevin McConnell 11454a1952 Lazy-load activity pages 2025-01-17 17:28:07 +00:00
Kevin McConnell 3481d1f93e Show activity per day 2025-01-17 15:33:24 +00:00
Kevin McConnell 6f8c929898 Use cache-friendly "time ago"
Also introduces a local time helper that we can use to format dates and
times.
2025-01-16 17:47:25 +00:00
Jason Zimdars 410cc95396 Stub out basic design 2025-01-15 17:16:59 -06:00
Kevin McConnell dbb3fd3b9c Simplify 2025-01-15 12:03:56 +00:00
Kevin McConnell 056d853cc8 Don't notify while bubbles are still drafted 2025-01-15 11:42:35 +00:00
Kevin McConnell 782259a678 Events should track published now
Previously when an item was `created`, we'd track the event, update the
summary text, and broadcast the notifications. But now that we have a
draft state, we shold do all of this when it's published instead.
2025-01-15 10:58:00 +00:00
Kevin McConnell ab154f2f35 Generate notification content in a helper 2025-01-14 13:08:12 +00:00
Jason Zimdars 5f88cd3900 Design for notifications 2025-01-13 20:46:51 -06:00
Kevin McConnell 64795804ba Style 2025-01-13 14:21:47 +00:00
Kevin McConnell 46989f6ebe Mark notification read when viewing the Bubble 2025-01-13 14:21:47 +00:00
Kevin McConnell febcb6c344 A partial is clearer than a helper here 2025-01-13 14:21:47 +00:00
Kevin McConnell 31ac7950ce Use turbo:click, not click
Otherwise Turbo falls back to a regular Browser navigation.
2025-01-13 14:21:47 +00:00
Kevin McConnell 6f7268f941 Set ID so a notification can't show up twice 2025-01-13 14:21:47 +00:00
Kevin McConnell fd1789ed58 Mark notifications read when clicked on 2025-01-13 14:21:47 +00:00
Kevin McConnell 876083c697 Broadcast new notifications 2025-01-13 14:21:47 +00:00
Kevin McConnell 0c152b5439 Style the tray a little bit 2025-01-13 14:21:47 +00:00
Kevin McConnell 952895ae67 WIP: show notifications in a tray 2025-01-13 14:21:47 +00:00
Kevin McConnell 93536c3e41 Don't reload entire page when creating comment 2025-01-07 14:47:31 +00:00
Jason Zimdars 53671bb1df Don't invert uploaded user avatars 2024-12-19 13:13:19 -06:00
Jason Zimdars 592c88e639 Add session transfer feature 2024-12-18 12:38:53 -06:00
Jose Farias 4482a7e5e9 Pull out access_menu_tag 2024-12-13 14:59:31 -06:00
Jose Farias ce0577d3c1 Users can remove themselves from buckets 2024-12-13 14:07:48 -06:00
Jose Farias d7e5e0d236 Submit form when toggling all-access + caching 2024-12-12 20:14:09 -06:00
Jose Farias 43add9d0be Move combobox initializer to helper 2024-11-25 16:30:38 -06:00
Jason Zimdars c052a796d8 Remove some of the more vertical ones 2024-11-22 16:25:40 -06:00
Jason Zimdars 43fa91fc05 Needs a little structure 2024-11-22 14:19:50 -06:00
Jose Farias df746e5a64 Merge branch 'main' into activity-score
* main:
  Missed one
  Tighten up workflow panel
  Fix test
  Forget about the dividing line for now
  Add some structure to buckets index
  Adjust form
  Restore bucket settings link, adjust styles for filters
  No need for inline svg here anymore
2024-11-19 13:38:39 -06:00
Jose Farias 0c38699dec Merge branch 'main' into activity-score
* main: (22 commits)
  Fix layout issue that caused comment form to be unselectable
  Stick with stock buttons for now
  Still a little odd that it's a separate form but this conceptually belongs here
  We've got a utility for this
  Fix navbar alignment
  Kind of hate that icon, let's try something else
  Use new bubble shape
  Prevent bubble getting squished
  Fix image fit, try animation
  Don't assume `@filter` is set
  Clicking assignees filters by that assignee
  Restore behavior: clicking tags filters by that tag
  Make these consist from view-to-view
  Improve hover motion for meta bubbles
  No longer used
  Improve assignee bubble display, especially when there are multiple assignees
  name -> key
  ** not required
  Swap one? and many? branches
  Change title based on selected buckets
  ...
2024-11-19 13:09:57 -06:00
Jason Zimdars 71d98d9eaa Tighten up workflow panel 2024-11-19 12:59:37 -06:00
Jose Farias 3d34bc0512 ** not required 2024-11-18 11:59:28 -06:00
Jose Farias 20d4319744 Pass params directly into filter chip helper 2024-11-18 11:45:29 -06:00
Jose Farias 0995eee074 Turn filter chips into links 2024-11-18 11:34:44 -06:00
Jose Farias 8cd22a7f20 Merge branch 'main' into activity-score
* main:
  Truncate headings, too
  Polish filter menu
2024-11-15 18:33:35 -06:00
Jose Farias b4e8adca47 Pre-calculate comment counts and activity scores 2024-11-15 18:17:42 -06:00
Jason Zimdars 0b22305169 Polish filter menu 2024-11-15 17:44:46 -06:00
Jose Farias bf704d6d0f Simplify filter_hidden_field_tag 2024-11-14 22:39:55 -06:00
Jose Farias a9913c28bd No need to call to_sym 2024-11-14 21:53:18 -06:00
Jose Farias fb04249209 Make filters into a simple form 2024-11-14 21:50:38 -06:00