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

Import recipes by drag-and-drop and copy/paste #67

Merged
merged 5 commits into from
Nov 10, 2021

Conversation

cydanil
Copy link
Contributor

@cydanil cydanil commented Nov 7, 2021

Description

This PR adds the import of recipes via drag and drop, or copy/paste.

Files, urls, and text can now be dragged or pasted in the main window to trigger imports.

To make the functionalities complete, the export of recipes as text from drag is also added:

How Has This Been Tested?

This was tested by each of the following:

URL Files Plain text
Paste
Drop

Screenshots (if appropriate):

An example of drag and drop import, more visual than pasting:
import

The export of plain text recipe via dragging, similar to copying:
export

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@cydanil cydanil marked this pull request as ready for review November 10, 2021 14:19
@cydanil cydanil merged commit eb2a571 into GourmandRecipeManager:main Nov 10, 2021
@cydanil cydanil deleted the feat/18 branch November 10, 2021 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant