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

feat: persist gallery draft #326

Merged
merged 51 commits into from
Nov 3, 2023

Conversation

shahin-hq
Copy link
Contributor

@shahin-hq shahin-hq commented Oct 31, 2023

Summary

Closes: https://app.clickup.com/t/862kh23eg

Checklist

  • I checked my UI changes against the design and there are no notable differences
  • I checked my UI changes for any responsiveness issues
  • I checked my (code) changes for obvious issues, debug statements and commented code
  • I opened a corresponding card on Clickup for any remaining TODOs in my code
  • I added a short description on how to test this PR (if necessary)
  • I added a storybook entry for the component that was added (if necessary)
  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

// eslint-disable-next-line promise/prefer-await-to-then
void blob.arrayBuffer().then((buf) => {
setDraftCover(buf, blob.type);
});
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 didn't want to make this function async that is why used then

@ItsANameToo ItsANameToo added this to the 0.11.0 milestone Oct 31, 2023
@shahin-hq shahin-hq marked this pull request as ready for review November 2, 2023 13:42
Base automatically changed from feat/persist-gallery-drafts to feat/gallery-drafts November 2, 2023 15:13
# Conflicts:
#	resources/js/Pages/Galleries/hooks/useGalleryDrafts.test.ts
#	resources/js/Pages/Galleries/hooks/useGalleryDrafts.ts
@alfonsobries alfonsobries force-pushed the feat/save-gallery-drafts branch from 09ca991 to cd569ac Compare November 2, 2023 19:58
@ItsANameToo ItsANameToo merged commit 4630311 into feat/gallery-drafts Nov 3, 2023
12 checks passed
@ItsANameToo ItsANameToo deleted the feat/save-gallery-drafts branch November 3, 2023 09:28
@goga-m goga-m mentioned this pull request Nov 15, 2023
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants