The experience while navigating throughout the UI of Suse Manager it's not that nice. Whenever we navigate to a new page, the whole page gets refreshed and recreated, even when half of it didn't change a thing, for instance, the menu, topbar, and the notifications WebSocket connection, which in my opinion doesn't provide a smooth experience.
This project has the goal to test out an automatic way to transform the Suse Manager UI into a Single Page Application.
My idea is to have something working with the following workflow:
This can be tricky especially when the UI is composed of so many different technologies but seems like an idea worth trying.
For older parts, this would only work for navigation (page transitions). Old form posts would never work as a SPA in an automated way, but it can be a nice intermediate solution until everything is migrated to react, where we can follow a more SPA development mindset.
I tried to implement a custom solution for this and the first results are promising! The navigation is looking awesome and way more smooth.
Also some libraries to try out:
- https://github.com/liferay/senna.js - https://github.com/MoOx/pjax - https://github.com/barbajs/barba - https://github.com/turbolinks/turbolinks - https://github.com/gmrchk/swup
Looking for mad skills in:
susemanager ui spacewalk spa frontend reactjs
This project is part of:
Hack Week 18
This project is one of its kind!