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: added image crop option when selecting images (cocktail, ingredient, glass and garnish) #413

Merged
merged 13 commits into from
Sep 11, 2024

Conversation

jo-gross
Copy link
Owner

@jo-gross jo-gross commented Sep 4, 2024

Closing issues:

Before you mark this PR as ready, please check the following points

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before
merging your code.

  • I´e created all necessary migrations?
  • The format is correct (pnpm format:check, if invalid pnpm format:fix)
  • No build errors (pnpm build)
  • I´ve tested the implemented function by my own
  • Ensure the pr title fits the conventional commit standard

Describe your work, what changed

To ensure the correct image aspect ration it is neccessary to crop them before upload. This issue resolves this wanted behavior by adding a crop option before every upload

Affected sites (please check during review):

  • [workspaceId]/manage/<cocktails|garnishes|ingredients|glasses>/<id|create> - Every image upload component

Signed-off-by: Johannes Groß <mail@gross-johannes.de>
Signed-off-by: Johannes Groß <mail@gross-johannes.de>
…orm validation not working correctly

Signed-off-by: Johannes Groß <mail@gross-johannes.de>
Signed-off-by: Johannes Groß <mail@gross-johannes.de>
Signed-off-by: Johannes Groß <mail@gross-johannes.de>
Signed-off-by: Johannes Groß <mail@gross-johannes.de>
@jo-gross jo-gross linked an issue Sep 4, 2024 that may be closed by this pull request
1 task
Signed-off-by: Johannes Groß <mail@gross-johannes.de>
@jo-gross jo-gross enabled auto-merge (squash) September 4, 2024 14:56
…-add-image-crop-when-uploading-images

# Conflicts:
#	package.json
#	pnpm-lock.yaml
Signed-off-by: Johannes Groß <mail@gross-johannes.de>
Signed-off-by: Johannes Groß <mail@gross-johannes.de>
Signed-off-by: Johannes Groß <mail@gross-johannes.de>
…-add-image-crop-when-uploading-images

# Conflicts:
#	components/cocktails/CocktailRecipeForm.tsx
#	pnpm-lock.yaml
Signed-off-by: Johannes Groß <mail@gross-johannes.de>
@jo-gross jo-gross merged commit d5ec542 into main Sep 11, 2024
5 checks passed
@jo-gross jo-gross deleted the 400-feat-add-image-crop-when-uploading-images branch September 11, 2024 08:52
jg-semantic-release-bot bot pushed a commit that referenced this pull request Sep 11, 2024
# [1.9.0](v1.8.2...v1.9.0) (2024-09-11)

### Bug Fixes

* Form validation and error message handling ([cdda452](cdda452))
* Routing when updating an cocktail from the search view ([a5abba8](a5abba8))

### Features

* added cocktail ratings ([#415](#415)) ([850646a](850646a))
* added image crop option when selecting images (cocktail, ingredient, glass and garnish) ([#413](#413)) ([d5ec542](d5ec542))
* Added name similarity check at ingredient-, cocktail-, garnish- and glassform ([#403](#403)) ([0183a0a](0183a0a))
* Added notes to cocktails, redesigned the cocktail info popup field, general popup behavior improved ([#402](#402)) ([a57aeee](a57aeee))
* Added offline availability with service workers ([#405](#405)) by [@Resaki1](https://github.com/resaki1) ([43798b3](43798b3))
* Added option to make cocktail ingredients and steps optional ([#404](#404)) ([83e7f8c](83e7f8c))
@jg-semantic-release-bot
Copy link

🎉 This PR is included in version 1.9.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

feat: Add image crop when uploading images
2 participants