The "closing soon" bubbles were introduced in #406, and the "falling
back" bubbles in #500. However, these bubbles are part of the cached
card and so as time passes, the relative time doesn't change unless
the card is touched.
This PR introduces a stimulus controller for bubbles, which takes care
of:
- making the bubble visible during the reminder period
- calculating the relative number of days until entropy kicks in
- rendering appropriate text around the day count
ref: https://37s.fizzy.37signals.com/collections/693169850/cards/999009091
* main:
Just set the clear filter so `restore_collections_filter_from_cookie` can do the right thing
Refresh local time target when morphed
Handle case where no params are sent because nothing is checked
Ensure checkboxes in menus have full size click targets
Do or die
Handle collections that do not auto close
Ensure dates are re-formatted on turbo frame load
Render the "last active at" timestamp in the card meta
dep: update rack and rack-session
Simplify selector
Fix the flashing notif tray
Close pinned cards when you click since the tray persists between page loads
Remove unused var
Update bubble text when 0 days
Nudge people that `/` is for commands
Show help if you arrow-up but don't have any previous commands yet
* main:
Just set the clear filter so `restore_collections_filter_from_cookie` can do the right thing
Refresh local time target when morphed
Handle case where no params are sent because nothing is checked
Ensure checkboxes in menus have full size click targets
Do or die
Handle collections that do not auto close
Ensure dates are re-formatted on turbo frame load
* main:
Fix the flashing notif tray
Remove unused var
Update bubble text when 0 days
More yellow, less orange
Don't run solid queue in dev by default
Add more gold to the golden cards
Remove outlined letters, only use mono for date
Tweak stroke values for legibility
Try monospace font
Text stroke outlines
- @jorgemanrubia this is a little fragile because it relies on CSS `:empty` which fails if any whitespace is present, which is why I needed to make the `<ul>` a one-liner. If we like this we may want to implement something more robust