Skip to content

[Port dspace-8_x] Edit bitstream page refactor #4103

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

Draft
wants to merge 17 commits into
base: dspace-8_x
Choose a base branch
from

Conversation

AAwouters
Copy link
Contributor

dspace-8_x port of #4102

AAwouters added 17 commits June 12, 2024 11:44
 - Introduced 'setFields' method
 - Applied more consistency in using fields vs parameters in methods
 - Split up methods related to iiif
Splitting the creation of the form into multiple methods that do one
specific thing (e.g. updating the form model, creating the form group,
prefilling data in the form, ...) allows for easier theming of the form
itself.
Without this fix the form showed old data when immediately going back
to the edit page after changing the primary bitstream or format.
Moved the creation of the update observables to their own methods and
unified the handling of their results in a single subscription
# Conflicts:
#	src/app/bitstream-page/edit-bitstream-page/edit-bitstream-page.component.html
#	src/app/bitstream-page/edit-bitstream-page/edit-bitstream-page.component.spec.ts
#	src/app/bitstream-page/edit-bitstream-page/edit-bitstream-page.component.ts
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.

1 participant