The UI in SatisPress has always been lacking since it mainly leveraged existing interfaces to get a prototype out there. Bouncing between screens to get things set up wasn't ever the best experience, but nothing is ever half as permanent as a temporary solution.
This PR aims to improve the interface and experience in setting up and managing a repository.
The Repository tab (renamed from "Packages") is now the initial view since it's likely the most visited tab.
Introduced the Access and Composer tabs to simplify the set up process.
Consolidated the flow for adding plugins and themes so it's no longer necessary to manage them from separate screens.
REST controllers have been introduced to expose SatisPress resources and allow them to be consumed in React.
Gutenberg components have been used where possible to minimize the amount of code that needs to be written.
SatisPress is often installed as a Composer dependency, so it needs to be possible to run it directly after installation. That being the case, there isn't a build process for compiling the JavaScript files. Instead it relies on adding type="module" to the enqueued scripts and should work in most modern browsers. I reckon we'll find out!
If anyone is interested in trying this out and providing feedback, clone the repo, checkout the feature/ui branch and run composer install:
The UI in SatisPress has always been lacking since it mainly leveraged existing interfaces to get a prototype out there. Bouncing between screens to get things set up wasn't ever the best experience, but nothing is ever half as permanent as a temporary solution.
This PR aims to improve the interface and experience in setting up and managing a repository.
SatisPress is often installed as a Composer dependency, so it needs to be possible to run it directly after installation. That being the case, there isn't a build process for compiling the JavaScript files. Instead it relies on adding
type="module"
to the enqueued scripts and should work in most modern browsers. I reckon we'll find out!If anyone is interested in trying this out and providing feedback, clone the repo, checkout the
feature/ui
branch and runcomposer install
: