3 ms·
> But it's straight up impossible to do a lot of what Git{Hub,Lab} do without JS. Like infinite incremental loading that randomly stops working and also breaks
by clarry 7y ago
> But it's straight up impossible to do a lot of what Git{Hub,Lab} do without JS.
Like infinite incremental loading that randomly stops working and also breaks browser's built-in search functionality because the thing you want to find is not loaded yet until you scroll down? Yeah, I'm glad they can't do that BS.
Making a good service isn't only about what you can technically do. I'd say it's much more about what you choose to do with whatever tech you have at hand. My experience with GitLag is that it's slow and the UI is generally clumsy (I have to use Google so often to find my way around), and you run into antifeatures like infinite scrolling and this: https://i.imgur.com/Qmtec2b.png https://i.imgur.com/Qmtec2b.png
Sadly I think all these sites (SourceHut, Github, Gitlab..) have things to learn from cvsweb. That is, if one could ever convince them to prioritize convenience over prettiness. That is, probably never.
- Sir_Cmpwn 7y agoRegarding that screenshot of GitLab: https://git.sr.ht/~sircmpwn/linux/tree/master/arch/arm/boot/dts https://git.sr.ht/~sircmpwn/linux/tree/master/arch/arm/boot/...
- clarry 7y agoThank you for posting that. Actually I checked it out and contemplated including that very link in my original post, but I wasn't sure if your service was facing the same hug of death that presumably hit your Mastodon. :)
- Sir_Cmpwn 7y agoSourceHut is on different infrastructure than my personal Mastodon instance, it can take a lot more heat :)
- andr3 7y ago@clarry, thanks for your comment. It keeps us on our toes. I'm a Frontend Engineering Manager at GitLab for specifically the area of Create, which is where your screenshot falls under. We do value convenience and good experience. We're in the final steps of preparing a significant improvement to the Repository Browser [1]. We steered away from things like virtual scrolling exactly for the reason you mention: it breaks the browser's built-in search functionality. We're currently putting the repository refactor up to feature completeness with a plan to make this as fast and useful of an experience as possible on a modern browser. Navigating between folders is much swifter than if we didn't use any JavaScript at all, just to name one of the benefits. Another benefit of using JS here is the fuzzy file finder (press t on any folder and it pops up). All in the sake of convenience. We hope you'll appreciate the efforts we've put into these details. Feel free to drop your thoughts on the Epic or creating new issues. Tag @andr3 on them and I'll follow up. We're listening. [1] https://gitlab.com/groups/gitlab-org/-/epics/159 https://gitlab.com/groups/gitlab-org/-/epics/159