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

Add "copy from seed realm" checkbox #2077

Merged
merged 12 commits into from
Jan 23, 2025

Conversation

FadhlanR
Copy link
Contributor

@FadhlanR FadhlanR commented Jan 22, 2025

In this PR, I added a checkbox to the create workspace form to specify whether to copy files from the seed realm.

Copy link

github-actions bot commented Jan 22, 2025

Host Test Results

    1 files  ±0      1 suites  ±0   23m 6s ⏱️ -12s
736 tests ±0  734 ✔️ ±0  2 💤 ±0  0 ±0 
741 runs  ±0  739 ✔️ ±0  2 💤 ±0  0 ±0 

Results for commit 3c401af. ± Comparison against base commit 163fb69.

♻️ This comment has been updated with latest results.

@FadhlanR FadhlanR changed the title Add copy from seed realm checkbox Add "copy from seed realm" checkbox Jan 22, 2025
join(this.seedPath!.replace(/\/$/, ''), 'index.json'),
join(realmPath!.replace(/\/$/, ''), 'index.json'),
);
}
}

let realm = new Realm(
Copy link
Contributor

@habdelra habdelra Jan 22, 2025

Choose a reason for hiding this comment

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

you are going to have to also make sure to not set the copiedFromRealm value in the Realm constructor options below (after you merge from upstream) when copyFromSeedRealm is false.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@FadhlanR FadhlanR marked this pull request as ready for review January 23, 2025 06:02
@FadhlanR FadhlanR requested a review from a team January 23, 2025 06:02
Copy link
Contributor

@habdelra habdelra left a comment

Choose a reason for hiding this comment

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

Minor nit, but otherwise looks good

@FadhlanR FadhlanR merged commit af16d7f into main Jan 23, 2025
51 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.

3 participants