You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please verify that this feature request has NOT been suggested before.
I checked and didn't find a similar feature request
Problem statement
The current admin (global settings) UI is using HTML templates. This means you can not use all admin features headless and the UI needs to be fully rendered on the server side before being shown.
Good idea to start this, but I am not sure if the admin ui would be a good thing for the start. I just think we should build something users daily would use. The admin ui is something that gets not used very often. Or was that your thinking so that we can experiment with something that's not used so much?
@wolflu05 there is nearly nothing in the daily UI that does not require fast rewrites of the modal and forms interfaces - which is 20+ files.
The admin UI is pretty much standalone so the idea is to get fast results that can be discussed. And add the missing admin APIs.
Regarding this I ran into the first interesting question: do we define where settings go on the backend (ie making it pluggable and frontend version independent) or is that done in the frontend? Thoughts @inventree/triage?
By "where they go" do you mean the display
location? I think it is probably simpler to let the front-end define this, but you know more about the react/mantine setup...
I mean in terms of categories. Ie a category security with 3 settings, reporting with 20 settings etc. So a mapping where settings should be rendered. Because that is contingent on the server version.
The general URLs and layout will need to be done in react.
Activity
matmair commentedon Jun 11, 2023
I will use this as a first PR to show the capabilities of the new UI.
wolflu05 commentedon Jun 11, 2023
Good idea to start this, but I am not sure if the admin ui would be a good thing for the start. I just think we should build something users daily would use. The admin ui is something that gets not used very often. Or was that your thinking so that we can experiment with something that's not used so much?
matmair commentedon Jun 11, 2023
@wolflu05 there is nearly nothing in the daily UI that does not require fast rewrites of the modal and forms interfaces - which is 20+ files.
The admin UI is pretty much standalone so the idea is to get fast results that can be discussed. And add the missing admin APIs.
SchrodingersGat commentedon Jun 12, 2023
@matmair do you mean the "django admin" page (which we use mostly out-of-the-box) or our "settings" page (which is user facing)?
matmair commentedon Jun 12, 2023
@SchrodingersGat our settings page
matmair commentedon Jun 15, 2023
Regarding this I ran into the first interesting question: do we define where settings go on the backend (ie making it pluggable and frontend version independent) or is that done in the frontend? Thoughts @inventree/triage?
SchrodingersGat commentedon Jun 15, 2023
By "where they go" do you mean the display
location? I think it is probably simpler to let the front-end define this, but you know more about the react/mantine setup...
matmair commentedon Jun 15, 2023
I mean in terms of categories. Ie a category security with 3 settings, reporting with 20 settings etc. So a mapping where settings should be rendered. Because that is contingent on the server version.
The general URLs and layout will need to be done in react.
SchrodingersGat commentedon Jun 15, 2023
Oh right, yeah I think the categories have to be specified by the server and then rendered out by the front-end
[-][FR] New admin UI[/-][+][FR/P-UI] New admin UI[/+]Add in basic settings ui
matmair commentedon Oct 30, 2023
Closed by #5679