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 data functionality #114

Merged
merged 21 commits into from Sep 15, 2023

Conversation

mrfelipemartins
Copy link
Contributor

@mrfelipemartins mrfelipemartins commented Sep 6, 2023

Description

This PR implements the possibility to import and merge .pandora files into the existing data set. As suggested by @bitbrain in the issue #17, repeated data will be skipped by default.

Addressed issues

Screenshots

image image
image

@bitbrain
Copy link
Owner

bitbrain commented Sep 6, 2023

Looks good! We may need a few more unit tests in api_test.gd for:

  • importing an empty data.pandora
  • importing a data.pandora
  • importing duplicates
  • importing happy path

You could dynamically create data.pandora files in there by using the context id and then importing them into another file. Make sure to clean up all the data afterwards. Similar logic exists already in there.

addons/pandora/api.gd Outdated Show resolved Hide resolved
addons/pandora/api.gd Outdated Show resolved Hide resolved
addons/pandora/api.gd Outdated Show resolved Hide resolved
test/api_test.gd Outdated Show resolved Hide resolved
Copy link
Owner

@bitbrain bitbrain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, good job!

@bitbrain bitbrain merged commit c1cf8a1 into bitbrain:godot-4.x Sep 15, 2023
3 checks passed
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.

💽 Import data functionality
2 participants