Skip to content
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

Recreates Emby configuration page with a simpler layout. #4776

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

bernarden
Copy link
Contributor

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:
image

Editing existing server:
image

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

@tidusjar
Copy link
Collaborator

tidusjar commented Oct 9, 2022

I like it! I was toying around with the Plex settings the other day wondering how I can improve it. I like this approach

@bernarden
Copy link
Contributor Author

I will resolve the merge conflicts in a few hours. Do you think any other changes are needed?

@bernarden bernarden force-pushed the feature/new-emby-configuration-page branch from 3f8f3c9 to 044ba8e Compare October 28, 2022 11:22
@bernarden
Copy link
Contributor Author

Here is a screenshot of slightly adjusted margins:
image

};
}

public processChangeEvent() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot save media server settings after changing them
2 participants