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

611 strictly necessary improvements for exhibitions #645

Merged
merged 23 commits into from
Nov 26, 2023

Conversation

rheaSPK
Copy link
Collaborator

@rheaSPK rheaSPK commented Oct 6, 2023

See #611

@rheaSPK rheaSPK linked an issue Oct 6, 2023 that may be closed by this pull request
8 tasks
Copy link
Collaborator

@MariusDoe MariusDoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor things as well as a question regarding the new dependency :)

@@ -858,6 +818,10 @@ export const ExhibitionStateManager = ({
sections={sections}
setSections={setSections}
databaseSaver={databaseSaver}
titlePicture={titlePicture}
setTitlePicture={setTitlePicture}
idealot={idealot}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unused

Suggested change
idealot={idealot}

</div>
))}
</div>
<Gallery
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you choose to use a new dependency instead of using a PictureGrid? Gallery seems a little out of place (no rounded corners on the pictures, no hover effects, etc.) and also crops the pictures on the left and right.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because I can't set the hight of a PictureGrid and they need to be bigger than a usual PictureGrid. Before I just used Pictures with flex but this didn't worked on safari.

MariusDoe

This comment was marked as duplicate.

group: 'exhibition',
isAllowed: checkExhibition('id'),
document: graphql`
mutation deleteExhibitionSection($id: ID!) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When this PR is merged, we will have to remember to perform some manual database migration to grant these new permissions (this one and deleteExhibitionPicture) to the relevant users.

@MariusDoe
Copy link
Collaborator

Overall nice work adding (and removing :D) the requested features :)

Copy link
Collaborator

@tom95 tom95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great changes, thank you!!

@tom95 tom95 dismissed MariusDoe’s stale review November 26, 2023 07:40

concerns addressed, proceeding to merge on staging

@tom95 tom95 merged commit ac12a52 into staging Nov 26, 2023
2 checks passed
@MariusDoe MariusDoe deleted the 611-strictly-necessary-improvements-for-exhibitions branch August 22, 2024 21:50
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.

strictly necessary improvements for exhibitions
3 participants