Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Feature/custom snapshot launch #1098

Merged
merged 21 commits into from
Aug 14, 2019
Merged

Conversation

JayImprobable
Copy link
Contributor

Description

  • Added a public string CustomSnapshotPath variable to the GdkToolsConfiguration class and a public const string CustomSnapshotPath to the DefaultValues class.

  • Added a "Custom snapshot path" field to the "GDK Tools Configuration" window. The field is disabled and can be only be edited via a file picker.

  • Added a private static GdkToolsConfiguration gdkToolsConfig variable to the LocalLaunch class, used to load the custom snapshot path. I've also split some code from the LaunchLocalDeployment method for code reusability.

Tests

Performed manual tests only with snapshots created with the snapshot generator. If an invalid snapshot is loaded the default error from the launcher is shown in the editor.

Documentation

No documentation yet

Primary reviewers

If your change will take a long time to review, you can name at most two primary reviewers who are ultimately responsible for reviewing this request. @ mention them.

Allows user to set a custom snapshot for local launch. The snapshot can be selected at the GDK tools configuration window
@improbable-prow-robot improbable-prow-robot added jira/no-ticket Indicates a PR has no corresponding JIRA ticket A: playground Area: Playground A: tooling Area: Tooling size/M Denotes a PR that changes 40-149 lines, ignoring generated files. labels Aug 7, 2019
Removed custom snapshot path from GdkToolsConfiguration class / Single local launch button that will load the selected snapshot
Added customSnapshotPath PlayerPref abstraction to the GdkToolsConfiguration class / When opening the snapshot selection window it now opens on the currently selected snapshot file folder.
@jamiebrynes7
Copy link
Contributor

Need to resolve the CHANGELOG.md conflicts and update the entry a little bit then I think this is good to go 😄

Copy link
Contributor

@paulbalaji paulbalaji left a comment

Choose a reason for hiding this comment

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

LGTM % changelog nit

CHANGELOG.md Outdated Show resolved Hide resolved
Co-Authored-By: Paul Balaji <paulbalaji@improbable.io>
Copy link
Contributor

@jamiebrynes7 jamiebrynes7 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 - looks good to me! :)

@JayImprobable JayImprobable merged commit 3aa596c into develop Aug 14, 2019
@JayImprobable JayImprobable deleted the feature/custom_snapshot_launch branch August 14, 2019 10:19
jessicafalk pushed a commit that referenced this pull request Nov 15, 2019
* Expose rep limit and consider list

* Added command to process command on server

* Expose multiple settings

* formatting

* PR feedback

* Spelling
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A: playground Area: Playground A: tooling Area: Tooling jira/no-ticket Indicates a PR has no corresponding JIRA ticket size/M Denotes a PR that changes 40-149 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants