-
Notifications
You must be signed in to change notification settings - Fork 23
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
Port Tobira integration #313
Conversation
The old admin ui had an integration for tobira in the series details and new series modal. This starts porting the integration by laying out some basic DOM structure and adding CSS and translations. I.e. it should already look similar to the old admin ui, but there is no actual functionality yet.
Ports basic page functionality. This still does not do anything useful, since I currently cannot test with real data to fully understand how this is supposed to work. But most of the code from the old admin ui is now here.
This pull request has conflicts ☹ |
Can now actually be used to link new series to exisiting or new tobira pages, or view linked pages in the series details.
When creating a new series, notifications for the tobira tab would not show at all. This fixes that.
While the user was warned about malformed input, they were not actually prevented from submitting it. This hacks our custom validation into WizardNavigationButtons.tsx to achieve validation.
Ready for review! (...as soon as I fix the merge conficts I guess) |
This pull request has conflicts ☹ |
d0a08a6
to
a09b946
Compare
This pull request has conflicts ☹ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conflicts fixed, see: https://github.com/KatrinIhler/opencast-admin-interface/tree/pr313-conflicts-fixed
The error for a non-working Tobira connection should appear in the Tobira tab, not the access tab, like in the old UI (see also comment above).
Minor differences in style between the two UIs (new one on the left), note the missing space between the table and the text above.
Obscure bug: The path is always one letter behind the one entered in the text field. (see text below and summary).
Apart from the fact that I can't figure out how to select existing pages (in the old and the new UI, but maybe it's because they aren't empty?) and the issues mentioned above, it looks fine.
Use Run test server using develop.opencast.org as backend:
Specify a different backend like stable.opencast.org:
It may take a few seconds for the interface to spin up. |
66d4cf7
to
bf2ec50
Compare
This pull request has conflicts ☹ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is working and a clear improvement, and not breaking anything as far as I can tell.
There are some additional features that were requested in #311 after this was already finished and that I will be working on, but their omission shouldn't block merging what's already here.
This pull request has conflicts ☹ |
Thanks for the review @owi92. There were some merge conflicts since your review, would you mind quickly checking again if this still works to your satisfaction? |
Seen that elsewhere, like not a cause of this PR.
Would be great if you could fix that. |
This pull request has conflicts ☹ |
This pull request has conflicts ☹ |
This pull request has conflicts ☹ |
Merging this even though there is still a requested change, as following reviews have approved this PR and it is already being used in #878. |
Resolves #311
The old admin ui had an integration for tobira in the series details and new series modal. This ports the integration to our new ui. The user experience could arguably be improved upon, but this should work and be familiar to users who already used the integration in the old admin ui.