Commit Graph

60 Commits

Author SHA1 Message Date
Kevin McConnell b2f72ff668 Use Stimulus to position events by timezone 2025-01-22 14:38:38 +00: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 181b7f3b64 Don't round up in time distance expression
e.g. 1.5 days ago is still "1 day ago", not "2 days ago".
2025-01-17 13:33:26 +00:00
Jose Farias d65d8a899b Merge pull request #209 from basecamp/drag-jankiness
Fix divider drag jankiness
2025-01-16 15:13:05 -06:00
Jose Farias fb27cee9b0 Unnecessary parens 2025-01-16 15:11:44 -06:00
Jose Farias 8877d2e66d Use distance to nearest edge
This feels the smoothest
2025-01-16 15:09:46 -06:00
Jose Farias dc6da76b38 Simplify overlap logic 2025-01-16 14:01:25 -06:00
Jose Farias af0783d8ff Fix divider drag jankiness 2025-01-16 13:54:42 -06: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
Jose Farias 622e340e83 positionedClass -> installedClass 2025-01-15 20:31:09 -06:00
Jose Farias 775e29fb8e Pull out moveDividerTo 2025-01-15 20:26:56 -06:00
Jose Farias 40085b16d6 Before comes before After 2025-01-15 20:14:30 -06:00
Jose Farias 3ab6ee84d0 DividerElement -> Divider 2025-01-15 20:13:18 -06:00
Jose Farias 9b1c140eef Clean up divider-controller 2025-01-15 20:10:54 -06:00
Jose Farias dac9aa9d26 Drag bubble divider 2025-01-15 17:22:25 -06:00
Kevin McConnell c11b5af5e0 Make Stimulus controller more generic 2025-01-14 13:37:54 +00:00
Kevin McConnell 46989f6ebe Mark notification read when viewing the Bubble 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
Jason Zimdars 1530b76af8 Hit esc to navigate back after opening a bubble 2024-12-19 16:22:01 -06:00
Jose Farias 0e8d4104f8 Implement lightbox 2024-11-29 15:52:45 -06:00
Jose Farias d556e21287 Use House for MD comments 2024-11-27 18:59:15 -06:00
Jose Farias f266e46b57 Wire up comboboxes 2024-11-21 19:58:21 -06:00
Jose Farias 0995eee074 Turn filter chips into links 2024-11-18 11:34:44 -06:00
Jose Farias fb04249209 Make filters into a simple form 2024-11-14 21:50:38 -06:00
Jose Farias 9e99d961ba Iron out quirks from navigating back and forth 2024-11-11 15:05:54 -06:00
Jose Farias 0baaf5d87f Wire up filter form sans search 2024-11-11 13:46:15 -06:00
Jose Farias 4c02a46867 Comment on the query merger controller 2024-11-07 11:32:21 -06:00
Jose Farias f2706d0f74 Unnest bubble filters 2024-11-05 13:04:05 -06:00
Jason Zimdars c74e2ecd1d Improve bubble animation effect 2024-11-01 09:32:12 -05:00
Jose Farias e6622a1e7d Use targets for created-by-current-user-controller 2024-10-28 10:14:39 -06:00
Jose Farias ee96d4425e Inline selector method in created-by-user-controller 2024-10-25 16:14:16 -06:00
Jose Farias e85f688e35 Remove JS extensions 2024-10-25 15:46:05 -06:00
Jose Farias 7b104287ba Roll up boosts server-side 2024-10-25 15:39:54 -06:00
Jose Farias 9a562d8ab1 differentiator -> mine 2024-10-25 15:08:22 -06:00
Jose Farias a1c7de721b Remove remaining rollup references 2024-10-25 15:05:07 -06:00
Jose Farias b16d2ed2d8 Pull out .#isBoosted() in rollup-controller 2024-10-24 17:53:36 -06:00
Jose Farias 2a4a07f00a Typo in rollup-controller 2024-10-24 17:45:35 -06:00
Jose Farias 2dd719e94b Don't summarize boosts if there are none 2024-10-24 17:36:26 -06:00
Jose Farias 3543121d3d thread-controller -> created-by-current-user-controller 2024-10-24 16:00:09 -06:00
Jose Farias 8233254de3 Make comments cache-safe 2024-10-23 18:58:10 -06:00
Jose Farias c575cb4bc4 Make boosts span temporary 2024-10-23 16:21:33 -06:00
Jose Farias 5221807847 Render threadables 2024-10-23 14:12:28 -06:00
Jose Farias f127fad1e4 Add flash notices 2024-10-16 17:22:11 -06:00
Jose Farias dd1752de2a Implement bucket access form 2024-10-09 11:53:05 -04:00
Jason Zimdars dd9c7c2b96 Close filters on click outside 2024-10-06 10:36:51 -04:00
Jason Zimdars 4d26a8c765 Fix color dialog behavior 2024-10-02 16:19:01 -05:00
Jeffrey Hardy e6bb6ad76b Join links for user registration 2024-09-24 14:30:22 -04:00
Jason Zimdars 362f373378 Inline color picker 2024-09-16 17:41:14 -05:00
Jeffrey Hardy fa4eb26eb5 Remove unnecessary image-preview#clear
Destroying an image happens asynchronously and requests are fast enough that
we don't need to be optimistic. Uploads by contrast are slow, and benefit
from immediate feedback.
2024-09-13 19:50:33 -04:00