@silverpill oh, that's a function I wrote around detecting the platform from the version string, mapped to specific features supported. It's more like browser UA string detection instead of feature detection.
But never thought that I would be coding it this way, and it works ✨ Don't have to wait for next/newer versions of masto.js when there are API endpoints/parameter/method changes. It lacks types but fine for me.
Been trying this out secretly for the past few weeks — a "catch-up" timeline page. Did whole bunch of iterations, where I myself is the guinea pig, but this time reaching a point where I just got to share it out in the public.
- NOT final design, still very experimental, only on my local machine - Instead of algo timeline, this is focused on data-grid-like UI for configuring exactly what I want to see. - This honestly could be another full-fledged app/client by itself 🫠