jo-gross / Cocktail-Manager

The Cocktail Manager is an efficient tool for easily documenting and accessing cocktail recipes behind the bar. It also includes essentail bar management features like cost calculations and stats tools.
Other
10 stars 1 forks source link

feat: Added name similarity check at ingredient-, cocktail-, garnish- and glassform #403

Closed jo-gross closed 2 months ago

jo-gross commented 3 months ago

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.

Describe your work, what changed

Especially when importing ingredients, you may import an ingredient twice, not knowing if a similar or one with the same name already exists. This issue resolves this, by showing a warning to the user if the name is similar to an existing item.

The similarity is very unprecise, but for the first attemp it seems good enought.

Affected sites (please check during review):

jg-semantic-release-bot[bot] commented 2 months ago

:tada: This PR is included in version 1.9.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: