Kevin McConnell
2cd2d5e2a1
We're not using the future class now
2025-01-23 12:45:22 +00:00
Kevin McConnell
6bc88466a3
Only highlight current hour on today's entry
2025-01-23 12:45:12 +00:00
Jason Zimdars
3185e261e9
Stub project filter
2025-01-22 22:02:55 -06:00
Jason Zimdars
1c20872b83
Highlight the current hour
...
FIXME: only do this on the current day
2025-01-22 21:57:38 -06:00
Jason Zimdars
4674a45820
Space between days
2025-01-22 21:40:01 -06:00
Jason Zimdars
63da34c2d9
Show bucket name
2025-01-22 16:50:07 -06:00
Jason Zimdars
46b46aeb79
Show this always, too
2025-01-22 16:00:33 -06:00
Jason Zimdars
c160e3c6eb
Active => Touched
2025-01-22 15:59:56 -06:00
Jason Zimdars
0857f449a2
Let's display the whole day after all
2025-01-22 15:59:24 -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
86cb627120
Include neighbouring events in paginated query
...
Since we're rendering according to the local timezone, we'll need to
include events that fall before or after the specific date on the
server, as they might get be inside the current day in the client's
timezone. So let's just grab a window of events either side of today,
and then hide anything that falls outside the client's day.
2025-01-22 16:44:30 +00:00
Kevin McConnell
4807d3cf7d
Don't try to render fetched response
...
Because it's a turbo stream response, it will be rendered automatically.
2025-01-22 16:41:53 +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
e6fe7f680d
Associate Event with Bubble
...
It's kind of a long way to get from one to the other right now. Every
event belongs to a bubble, so let's link them directly.
2025-01-17 14:40:36 +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
Kevin McConnell
24f60aa71b
Tidy Gemfile
2025-01-17 12:22:24 +00:00
Jason Zimdars
29b221f65c
Banner for draft state
2025-01-16 19:21:27 -06:00
Jason Zimdars
340ff19a8c
Drafts should always use the dashed outline wherever they're displayed
2025-01-16 19:14:58 -06: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
26f714189b
Merge pull request #207 from basecamp/drag-divider
...
Drag bubble divider
2025-01-15 20:59:43 -06: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
Jason Zimdars
410cc95396
Stub out basic design
2025-01-15 17:16:59 -06:00
Jose Farias
e6e7cb2f72
Merge pull request #188 from basecamp/dependabot/bundler/hotwire_combobox-c280da0
...
Bump hotwire_combobox from `57ee6c9` to `c280da0`
2025-01-15 17:03:36 -06:00
Jose Farias
07ee06ddbd
Merge pull request #205 from basecamp/simplify-filters
...
Simplify filters
2025-01-15 17:03:17 -06:00
Jose Farias
5ac9063a84
default_fields -> default_values
2025-01-15 16:57:02 -06:00
Jose Farias
4441dc7cd8
Test passing params in different order
2025-01-15 16:55:57 -06:00
Jose Farias
8d75429431
Remove old digest_params method
2025-01-15 16:45:15 -06:00
Jose Farias
19874dcc2a
Test creating an equivalent filter with a different user
2025-01-15 16:41:25 -06:00
Jose Farias
e9a085f848
Simplify filters
2025-01-15 16:27:33 -06:00
Kevin McConnell
e807c2a8d1
Migration shouldn't unpublish existing bubbles
2025-01-15 12:34:58 +00:00
Kevin McConnell
8a114e0d8d
Merge pull request #195 from basecamp/drafts
...
Draft bubbles
2025-01-15 12:08:06 +00: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
731f93b55a
Add test
2025-01-15 10:58:00 +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
cd1e6378d0
Add drafted and published states
2025-01-15 10:58:00 +00:00