Jason Zimdars
96602d7a97
Show date instead of time for notifications older than 1 day
2025-07-07 17:12:43 -05:00
Jorge Manrubia
515396263e
Refresh local time target when morphed
...
Alternative to https://github.com/basecamp/fizzy/pull/486
2025-05-13 05:44:19 +02:00
Jorge Manrubia
dc28f4c9c5
Add command to close cards
...
https://3.basecamp.com/2914079/buckets/37331921/todos/8620236700
2025-05-07 11:00:22 +02:00
Jorge Manrubia
4657663e35
Create local time formatter to match the previous format we were generating server-side
2025-04-25 08:55:36 +02:00
Jorge Manrubia
ba6eab509c
Refresh timers when morphing happens
2025-04-11 13:26:01 +02:00
Jorge Manrubia
a0579f7b6f
Inject a span with a class with the value so that we can style it
...
https://37s.fizzy.37signals.com/buckets/693169850/bubbles/999008854
2025-04-07 10:46:24 +02:00
Jorge Manrubia
8e01a277ad
Add daysago formatter and extract common helper to reuse with indays formatter
2025-04-07 10:46:22 +02:00
Mike Dalessio
2e917b90a2
Fix the DaysAgoFormatter output to say "days ago"
...
and not "in N days" 😅
2025-04-06 22:08:51 -04:00
Jorge Manrubia
488e96b20b
Handle times on the client to make this cache-friendly
2025-04-04 14:35:24 +02:00
Kevin McConnell
dac2611c57
Auto-pop bubbles
2025-02-12 13:20:05 +00:00
Kevin McConnell
7189e7a39e
Periodically refresh relative times
...
Otherwise the text will get out of date. For example, a new notification
will say "Less than a minute ago", which is not true for very long if
the page isn't refreshed.
2025-02-05 15:18:40 +00:00
Kevin McConnell
b320b72bc6
Use local time helper for comment dates
...
Also has the advantage you can hover to see the time.
2025-01-30 17:10:58 +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
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