Skip to content

Recreates Emby configuration page with a simpler layout.#4776

Closed
bernarden wants to merge 3 commits intoOmbi-app:developfrom
bernarden:feature/new-emby-configuration-page
Closed

Recreates Emby configuration page with a simpler layout.#4776
bernarden wants to merge 3 commits intoOmbi-app:developfrom
bernarden:feature/new-emby-configuration-page

Conversation

@bernarden
Copy link
Copy Markdown
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
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown
Contributor Author

Here is a screenshot of slightly adjusted margins:
image

};
}

public processChangeEvent() {
Copy link
Copy Markdown
Member

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
Copy Markdown
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.

@tidusjar tidusjar closed this Oct 6, 2025
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