-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
Display options upon importing duplicate recipe URL #3408
Display options upon importing duplicate recipe URL #3408
Conversation
Currently translated at 5.9% (29 of 485 strings) Translation: Tandoor/Recipes Backend Translate-URL: http://translate.tandoor.dev/projects/tandoor/recipes-backend/tr/
update compose configuration for pgbackup to include .env file
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.2.0 to 10.3.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](python-pillow/Pillow@10.2.0...10.3.0) --- updated-dependencies: - dependency-name: pillow dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
…/pip/pillow-10.3.0 Bump pillow from 10.2.0 to 10.3.0
…/pip/recipe-scrapers-14.55.0 Bump recipe-scrapers from 14.52.0 to 14.55.0
…/pip/django-crispy-forms-2.1 Bump django-crispy-forms from 2.0 to 2.1
…/pip/pytest-cov-5.0.0 Bump pytest-cov from 4.1.0 to 5.0.0
…/pip/django-debug-toolbar-4.3.0 Bump django-debug-toolbar from 4.2.0 to 4.3.0
…/pip/beautifulsoup4-4.12.3 Bump beautifulsoup4 from 4.12.2 to 4.12.3
…/github_actions/awalsh128/cache-apt-pkgs-action-1.4.2 Bump awalsh128/cache-apt-pkgs-action from 1.4.1 to 1.4.2
Improve docker run speeds
project level formatting with prettier project level formatting with yapf
…evelop" This reverts commit f14acc3.
This reverts commit c33c4ed.
This reverts commit cc24964.
This reverts commit 714242b.
scrape_me has been deprecated
remove reliance on custom text_scraper class changed url on test case to generic wildmode vs specific site
Currently translated at 15.3% (75 of 488 strings) Translation: Tandoor/Recipes Backend Translate-URL: http://translate.tandoor.dev/projects/tandoor/recipes-backend/sl/
Currently translated at 71.7% (409 of 570 strings) Translation: Tandoor/Recipes Frontend Translate-URL: http://translate.tandoor.dev/projects/tandoor/recipes-frontend/sl/
Currently translated at 100.0% (570 of 570 strings) Translation: Tandoor/Recipes Frontend Translate-URL: http://translate.tandoor.dev/projects/tandoor/recipes-frontend/it/
Currently translated at 84.0% (410 of 488 strings) Translation: Tandoor/Recipes Backend Translate-URL: http://translate.tandoor.dev/projects/tandoor/recipes-backend/sl/
Currently translated at 71.7% (409 of 570 strings) Translation: Tandoor/Recipes Frontend Translate-URL: http://translate.tandoor.dev/projects/tandoor/recipes-frontend/sl/
--- updated-dependencies: - dependency-name: aiohttp dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
…/pip/aiohttp-3.10.11 Bump aiohttp from 3.10.2 to 3.10.11
Currently translated at 100.0% (488 of 488 strings) Translation: Tandoor/Recipes Backend Translate-URL: http://translate.tandoor.dev/projects/tandoor/recipes-backend/sl/
Currently translated at 100.0% (570 of 570 strings) Translation: Tandoor/Recipes Frontend Translate-URL: http://translate.tandoor.dev/projects/tandoor/recipes-frontend/sl/
Currently translated at 100.0% (570 of 570 strings) Translation: Tandoor/Recipes Frontend Translate-URL: http://translate.tandoor.dev/projects/tandoor/recipes-frontend/sl/
Currently translated at 94.5% (539 of 570 strings) Translation: Tandoor/Recipes Frontend Translate-URL: http://translate.tandoor.dev/projects/tandoor/recipes-frontend/da/
Currently translated at 100.0% (570 of 570 strings) Translation: Tandoor/Recipes Frontend Translate-URL: http://translate.tandoor.dev/projects/tandoor/recipes-frontend/hr/
Currently translated at 30.9% (151 of 488 strings) Translation: Tandoor/Recipes Backend Translate-URL: http://translate.tandoor.dev/projects/tandoor/recipes-backend/hr/
The user can either continue to import a duplicate recipe or edit the existing recipe. This addresses issue TandoorRecipes#2857.
|
I have already signed the CLA. Also, with respect to the "not to be a GitHub user" issue, is it because my email on my account is private? |
Hi, thanks for your PR. Since I am currently working on #2976 I am not entirely sure if I want to merge this into the existing branch. Also I think I would prefer if the API endpoint returned a list of existing recipes with the same URL and the client just showed an warning (found existing recipes with the same URL). This would reduce complexity and solve the issue just as well. What do you think. |
Honestly I am not sure, so far it has worked for everyone, if you did it its fine for me. |
Sure, I can remove the options I added (edit existing recipe and continue to import) and only display a warning message so the user can continue to import like normal. Regarding the status of this PR, if you don't think it will get merged in the near future I am wondering if there is any other good first issue I can work on to support #2976. Contributing to open-source projects and getting a PR merged in is part of one of my courses so it would be great if you could guide me on how best to approach this, thanks! |
thank you very much. Yes please make it so that the only change for now is just a "warning" message in the importer when it detects a duplicate (maybe by annotating a field to the response). Regarding your other question: Sadly its currently pretty hard to contribute as some technical fundamentals need to be implemented first. What are the parts you would like to work on most, frontend or backend ? |
Updated this PR to only display a warning message. If there is a small beginner friendly task on the backend, I could try to help. |
de12d0c
to
7973bd3
Compare
The user can either continue to import a duplicate recipe or edit the existing recipe. This addresses issue #2857.