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

Migrate quick connect page to react #4777

Merged
merged 3 commits into from
Sep 19, 2023

Conversation

thornbill
Copy link
Member

Changes

  • Simplifies adding redirects
  • Updates InputElement to support specifying classes for the container div, call a callback function on value changes, provide an initial value, and prevent re-renders that break the webcomponent
  • Migrates the quick connect page to React + TS SDK
  • Allows specifying the code as a url param to allow for clients to link to the form prefilled

Issues
N/A

@thornbill thornbill added enhancement Improve existing functionality or small fixes cleanup Cleanup of legacy code or code smells labels Sep 15, 2023
@thornbill thornbill requested a review from a team as a code owner September 15, 2023 14:55
@nielsvanvelzen
Copy link
Member

Is this just a 1 to 1 conversion or are there changes to the UI/UX? I'm asking because I've never been satisfied with the UX once a (valid) quick connect code was entered. The toast showing up in the bottom-left corner is not notable at all.

@thornbill
Copy link
Member Author

Well it was a 1:1 conversion except for being able to prefill from a url parameter, but updating the ui sounds like a good idea too lol

@thornbill
Copy link
Member Author

How about this? It's still not really great, but there really isn't much in the way of existing components for the stable app. 😅

Screenshot 2023-09-16 at 01-50-45 Jellyfin

Screenshot 2023-09-16 at 02-48-33 Jellyfin

@nielsvanvelzen
Copy link
Member

Way better!

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
1.7% 1.7% Duplication

@thornbill thornbill merged commit f14a61c into jellyfin:master Sep 19, 2023
@thornbill thornbill deleted the migrate-quick-connect branch September 19, 2023 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Cleanup of legacy code or code smells enhancement Improve existing functionality or small fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants