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: add fork data to metadata in the editor #214

Merged

Conversation

jackson-harris-iii
Copy link
Contributor

Closes: near/near-discovery#852

Here are some test cases for anyone interested in testing the desired behavior.

  1. From the near.social hamburger menu click fork

  2. The IDE should open with the forked component code in focus, there should be a default tab visible.

  3. When switching between tabs the editor should display the code associated with the selected tab

  4. When "saving"(equivalenet to near.org publish) the user should be prompted with a "Saving Data" modal. Ensure that the metadata for the fork_of property is there if the current component is in fact a fork and not there if the component is not a fork.

  5. Ensure that if there are multiple components in the editor that switching between the tabs results in the component data in the active tab of the editor to be displayed in the "Saving Data" modal.

  6. When renaming a forked component the metadata is still properly attributed to the component when publishing

@charleslavon
Copy link

@jackson-harris-iii nice job addressing those edge-case bugs

@jackson-harris-iii
Copy link
Contributor Author

@charleslavon made the changes ✅

Copy link

@charleslavon charleslavon left a comment

Choose a reason for hiding this comment

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

nice work! :shipit:

@jackson-harris-iii
Copy link
Contributor Author

Closes: near/near-discovery#852

@charleslavon charleslavon merged commit aae44e3 into NearSocial:master Jan 26, 2024
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.

Near.org IDE enhancement to collect fork metadata
2 participants