4 ms·
> I like their keyboard shortcuts, for example, but these would be difficult (impossible?) to implement on a simple HTML page. There is a very old (pre-Javascr
by ratww 6y ago
> I like their keyboard shortcuts, for example, but these would be difficult (impossible?) to implement on a simple HTML page.
There is a very old (pre-Javascript) attribute called accesskey that allows primitive shortcuts without using JS. [1] Can't really use the same optimal shortcuts as GH, though!
As for the webpage vs web app, is it strange that I still consider GitHub having a webpage-based approach? I think they got a lot of functionality, but I don't really see them as being an SPA.
[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey https://developer.mozilla.org/en-US/docs/Web/HTML/Global_att...
- zomglings 6y agoThank you for teaching me about accesskey, very useful. You are right that GitHub is not an SPA, but they seem to be moving towards becoming a proper web application - probably will happen over the next year or two. The site is quite interactive - e.g. closing issues automatically when a PR is merged to master, GitHub actions triggering on pushed commits and giving developers valuable feedback on their changes. Now that they are pushing GitHub Codespaces, they are a small step from turning the GitHub site into the only place a developer needs to go to write code, test it, and release it.
- ratww 6y agoThat's true! The Actions UI is also very SPA-ish compared to the older parts of the site.