summaryrefslogtreecommitdiff
path: root/ui/lib/constants.js
Commit message (Collapse)AuthorAge
* Move constant closer to usageOwen Jacobson2025-02-24
|
* Remember last active channel and navigate there on root loadKit La Touche2025-02-20
| | | | To facilitate PWA behaviour.
* Separate channel metadata out into its own storeKit La Touche2025-02-20
| | | | | | | | This is stored locally, and, while parallel to channel info, is not the same as. Eventually, this may hold info about moot/decayed channels, and grow unbounded. That'll need to be addressed.
* Merge local channel data and remote to maintain stateKit La Touche2025-02-20
When we hit the boot endpoint, we get the server's view of things. If we just setChannels with that, we overwrite all our locally-stored info in on things like lastReadAt. So we need to merge data. Eventually, this might militate for a `meta` key containing an object of locally stored data, rather than having to handle each key specially.