Recreates Emby configuration page with a simpler layout.#4776
Closed
bernarden wants to merge 3 commits intoOmbi-app:developfrom
Closed
Recreates Emby configuration page with a simpler layout.#4776bernarden wants to merge 3 commits intoOmbi-app:developfrom
bernarden wants to merge 3 commits intoOmbi-app:developfrom
Conversation
Member
|
I like it! I was toying around with the Plex settings the other day wondering how I can improve it. I like this approach |
This was referenced Oct 28, 2022
Contributor
Author
|
I will resolve the merge conflicts in a few hours. Do you think any other changes are needed? |
3f8f3c9 to
044ba8e
Compare
Contributor
Author
tidusjar
reviewed
Oct 28, 2022
| }; | ||
| } | ||
|
|
||
| public processChangeEvent() { |
Member
There was a problem hiding this comment.
It feels like we are recreating some of the built in validation of angular reactive forms here, we should probably use a form with the servers being a form array (it's what we have been moving the other pages to).
What do you think?
Contributor
Author
There was a problem hiding this comment.
I started off with an angular reactive form but found it easier to implement all the validation and rules this way. I found that I had to listen to every change event anyway to determine if server discovery is required again.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR recreates Emby configuration page. All server configuration is now shown in dialogs instead of tabs. Fixes #4424.
I will create another PR for Jellyfin if you are happy with this layout.
New config page view:

Editing existing server:

Creating new server after clicking on "Discover Server" button:
