-
Notifications
You must be signed in to change notification settings - Fork 0
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
611 strictly necessary improvements for exhibitions #645
Conversation
…sary-improvements-for-exhibitions
…sary-improvements-for-exhibitions
…sary-improvements-for-exhibitions
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.
Some minor things as well as a question regarding the new dependency :)
projects/bp-gallery/src/components/views/exhibitions/ExhibitonUtils.tsx
Outdated
Show resolved
Hide resolved
projects/bp-gallery/src/components/views/exhibitions/ExhibitionViewer.tsx
Outdated
Show resolved
Hide resolved
projects/bp-gallery/src/components/views/exhibitions/ExhibitonUtils.tsx
Outdated
Show resolved
Hide resolved
projects/bp-gallery/src/components/views/exhibitions/ExhibitonUtils.tsx
Outdated
Show resolved
Hide resolved
projects/bp-gallery/src/components/views/exhibitions/ExhibitonUtils.tsx
Outdated
Show resolved
Hide resolved
@@ -858,6 +818,10 @@ export const ExhibitionStateManager = ({ | |||
sections={sections} | |||
setSections={setSections} | |||
databaseSaver={databaseSaver} | |||
titlePicture={titlePicture} | |||
setTitlePicture={setTitlePicture} | |||
idealot={idealot} |
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.
unused
idealot={idealot} |
projects/bp-gallery/src/components/views/exhibitions/ExhibitonUtils.tsx
Outdated
Show resolved
Hide resolved
</div> | ||
))} | ||
</div> | ||
<Gallery |
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.
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.
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.
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.
projects/bp-gallery/src/components/views/exhibitions/ExhibitionTool.tsx
Outdated
Show resolved
Hide resolved
projects/bp-gallery/src/components/views/exhibitions/ExhibitionTool.tsx
Outdated
Show resolved
Hide resolved
projects/bp-gallery/src/components/views/exhibitions/ExhibitonUtils.tsx
Outdated
Show resolved
Hide resolved
projects/bp-gallery/src/components/views/exhibitions/ExhibitonUtils.tsx
Outdated
Show resolved
Hide resolved
group: 'exhibition', | ||
isAllowed: checkExhibition('id'), | ||
document: graphql` | ||
mutation deleteExhibitionSection($id: ID!) { |
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.
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.
Overall nice work adding (and removing :D) the requested features :) |
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.
great changes, thank you!!
concerns addressed, proceeding to merge on staging
See #611