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

Rebuild Studio page by splitting view and edit #1629

Merged
merged 3 commits into from
Aug 11, 2021

Conversation

gitgiggety
Copy link
Contributor

As the title says :) Refactor the Studio component into a StudioDetailsPanel and a StudioEditComponent component just like all other of these pages.

After this refactor links are used for both the URL field as the parent studio which where previously not available as the read-only form field was shown. Furthermore it allows for expanding the features like implementing #1625.

@WithoutPants WithoutPants added the improvement Something needed tweaking. label Aug 11, 2021
@WithoutPants WithoutPants added this to the Version 0.9.0 milestone Aug 11, 2021
@WithoutPants WithoutPants merged commit d4d45d5 into stashapp:develop Aug 11, 2021
value={studio.parent_studio?.name}
url={`/studios/${studio.parent_studio?.id}`}
trusted
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 believe these could/should be applied in more places then. Movies for one also uses URLField for studio and thus also opens a new tab, and applies noopener noreferrer

@gitgiggety gitgiggety deleted the studio-details-refactor branch August 24, 2021 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Something needed tweaking.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants