-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New UI #84
Comments
So far I have a simple UI running using the following:
The app only supports login authorization at the moment. Once there is a substantial implementation, I can push a mock version to PCF for demonstration. |
Any progress? |
@v00d00 - I think I found a solution to the A good MVP for review???
This could help to get some feedback on the code and user interface. Let me know if you have suggestions. If anyone else has made progress on the UI don't wait for me!! 🥇 |
I made light progress on the infrastructure for the New UI. https://github.com/elmodaddyb/gerbera/tree/jquery/gerbera-web Includes, specs and e2e tests.
** Next Task ** - Load the DB tree...this might take some time depending on how much can be adapted from the existing tree system. |
Hello, I was able to get login/logout working consistently. Made progress on the tree view display, showing a simple tree view using bootstrap-treeview. Updating to the newer frameworks is removing a lot of the boiler plate code in the current UI dealing with DOM manipulation. Let me know what you think about using bootstrap-treeview versus re-using the nano-tree implementation? |
I have no desire to keep any of the old code bootstrap treeview that's good to me! Especially like the counts against each item. |
Hello, A brief status on the jquery-based UI. I integrated bootstrap-treeview and the following items seems to be stable:
The next tasks should be done rather soon
Here is the UI part of the branch so far: https://github.com/elmodaddyb/gerbera/tree/jquery/gerbera-web Any direction, suggestions, ideas, recommendations?? Only a few more items to get a MVP with Login/Logout & read-only. |
Keep up the good work! |
Sorry for the delay on this, I was disappointed when I found out 'bootstrap-treeview ' didn't support incremental loading of the tree. Killed the momentum I had. I think I'll try a different approach and get something demonstrable in the next few days. |
Great to hear you are still working on it! |
I ended up dropping bootstrap-treeview in favor of a custom jquery widget. It's a lot simpler and should allow for the capability needed by the gerbera web ui. Hopefully should have a MVP cleaned up enough for demo in a few days. I'll post back as I progress. |
Looking good! Would it be possible for you to move your code into the same directory as the existing code? And to add an option to use the new UI instead (in config.xml for example)? Then we can integrate this into the main repo |
Yes, consolidating the code is a good idea. Giving the users ability to choose the UI will help with testing and feedback. All the files are named separately so that should be easy enough. I don't fully understand how Will keep posting progress... |
Looks like gerbera binds the As near as i can tell, there is not an easy way to differentiate the content of |
We could have a |
Yea, good idea. I will cleanup the code and move the new resources into /web/ Once it's landed there, we could open a 'project' to track the new features. |
I migrated the new gerbera-ui over to default I will try to get basic read-only of What are your thoughts about running UI tests during the Travis CI? |
More progress on the jQuery User Interface...I completed the initial MVP
There are a few items from usability that still need improvement
I will keep you posted on the progress. |
Great News, I found a way to utilize the FFMPEG Thumbnail content handler on the web UI interface. We can now load the list of movies, including the thumbnails!! This should bring a new dimension to the web UI. |
Looking forward to seeing it 👍 |
With HTML5 |
Im hoping to release 1.1 in the next few weeks, do you think a preview would be ready to be included? |
@v00d00, that is a great idea to include in v1.1. The new UI lives alongside existing, so it should work OK. I will try an install workflow to confirm the new components land in the right spot. Then open a PR. The current feature set is:
I think we should exclude the thumbnails and movie player until it's fully tested. |
Okay great, I look forward to a pull request 👍 |
@v00d00 - I have the new UI squared away with the following features: Base Functionality
ExperimentalDisabled via front-end configuration
I provided a Report an Issue menu link. I also included a Intro page that lists the above features. I would like to further document the architecture, and features. What do you recommend? Should we create a Should I post some documentation to https://github.com/v00d00/gerbera.io Let me know what you suggest. Thanks, E |
I think a UI README.md in the web folder would be a good place for more dev focused info (how do set up an dev environment, data flows etc) I'm not overly keen on using github pages, so pulls on the site repo would be better. |
OK, sounds good. I tested the installation and runtime side/by/side....worked successfully. I plan to cleanup the code a bit including some documentation and provide the PR in the next few days. |
@v00d00 - Just a heads up. I am done with documentation and working to submit the PR. I think it would be good to have a few people test out the front-end interface prior to You can expect the PR in the next day. |
Nice, you probably wouldnt want people editing the Class or mimetype though! Item is also an internal concept, so that should probably not be there either. |
I agree with you on the editable'ness. Presently the server sends back a list of fields, their values, and whether they are editable (true/false). I lifted the same logic from existing system. 👎 Another 1-2 iterations we should have full CRUD and we can customize. |
We should fix that on the server side too, then. |
So, the add capability can potentially trigger a Any ideas for long polling notification? Here are some ideas I had:
Anyone have suggestions? Thanks, E |
The Web UI ADD seems to have a plethora of capabilities tied to it. So far I've found:
So far |
I am making steady progress on the CRUD operations for the new UI. Here is a breakdown.
Most of the heavy lifting is done with component architecture breaking into 2 parts
The components so far are:
There will likely be 2 more components added after CRUD is complete.
|
Sounds good, what is your ETA for CRUD completion? I want to release 1.1 on the 1st Oct. |
@v00d00 - I don't think the CRUD capability will be done by |
Making steady progress on UI CRUD capability. There is a new
This covers the bulk of CRUD with only the long-polling updates to take care of. |
Good News - All the Add/Edit scenarios are done and working....except for AutoScan item Edit/Add Autoscan should be done in the next day (excluding long polling mechanism). Aside from functionality there are a few areas that need usability improvement.
After autoscan is complete, the CRUD operations are totally done. I plan to create a few journey specifications that verify data persistance BEFORE/AFTER the UI changes. Long story short....should have UI ready for next PR in about a week. |
Looks great! I do wonder why there is "none" an autoscan option. What does that even do? 😆 We probably don't need to show the autoscan ID either, Im not sure if that's useful to the user. |
Hello All, Its been a while since last update. Great news! All the basic features of the existing UI are now complete in the new UI!!!The long polling updates are not yet done 👎 , but should be done soon. All the automated tests pass, but there is still a few usability issues with clicking, navigating to resolve. I should have a PR request to the new gerbera-ui in the next week or so. |
Awesome news! |
Hello All, The paging support is complete in the new UI. Only remaining items are below:
After these Thanks, |
Long polling updates are complete!! These means all major capability for the new UI is DONE!! There are a few edge cases to cleanup like:
Pull Request in the near future. 👍 |
@v00d00 - I am organizing the source code for next PR of the New UI. Any ideas how to handle license in each file? I was thinking to just copy existing license, as most of the code logic flow is same in new code. What do you think? |
That seems most sensible to me. |
I am organizing the code for PR, adding license and seeing if there is a way to document the behavior in some easy way. PR expected soon. |
Closing as per #184 |
There is an appetite for a modern UI, its high on the wish list.
In terms to technologies ideally for simplicity I would like a SPA that has no compilation requirement, BS4 is ideal, and uses jquery so perhaps that would be enough in terms of libraries for this case.
The text was updated successfully, but these errors were encountered: