Had to dig GitHub issues because `shrink-ray` is dead, its maintained fork requires old dependencies that don't build on macOS (seemingly), so I ended up `compress-next` which is a fork of `compression` w/ brotli compression https://github.com/Econify/compression-next
Found out about Lucide which is basically Feather Icons but with more icons so that'll be perfect for placeholder(?) icons https://lucide.dev/
A few helpers and a refactor later, we got mentions column baby
Ended up going with `superstruct`. It's neat, a bit less verbose than io-ts and has better type inference in some places.
Native enums support is not there yet but can be worked around https://github.com/ianstormtaylor/superstruct/issues/993
@Eramdam what's wrong with BigInts? also idk how you're sorting but you could split the id into a top and bottom part, compare top parts as integers, and only compare bottom parts if the top parts are equal
A) they're not widely supported yet iirc
B) they're not free to use.
That said, I checked a bit more and:
- IDs are sequential but I feel like edge cases could be possible but very unlikely
- I checked how current TweetDeck does its sorting and... it's not that much more complex lmao
@dogo well, api v2 is supposed to replace 1.1 in the long term but it's not feature complete with it just yet so
@dogo like, the "deprecate legacy apis" is the very last item in the roadmap https://trello.com/b/myf7rKwV/twitter-developer-platform-roadmap
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!