feat: Add Dev Server Integration#143
Open
cspath1 wants to merge 17 commits intocspath/REL-11971-security-filefrom
Open
feat: Add Dev Server Integration#143cspath1 wants to merge 17 commits intocspath/REL-11971-security-filefrom
cspath1 wants to merge 17 commits intocspath/REL-11971-security-filefrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In using the VSCode Extension during my day-to-day, one of the pain points I have with the extension is how it goes about handling toggling flags. Toggling a flag via the VSCode Extension (as it exists right now) will update the value in LaunchDarkly, meaning that users who have a shared environment with other developers will affect one another when toggling flags for testing.
Inspired in no small part to how the Developer Toolbar allows for a local means of overriding flag values without affecting other developers, I wanted to research and implement something similar, especially for developers working in more of a full-stack or back-end capacity. This PR introduces a tie-in to the
ldcli dev-serverallowing users to have an interface within their IDE to see dev-server flag values and locally override dev-server flag values. This functionality is not meant to replace any existing functionality, but enhance/take precedence when enabled.It features:
ldcli dev-server. This command will default to usinghttp://localhost:8765, but users can override this and the overridden value will be remembered for re-connecting in the futureFuture Considerations:
To-Do List before merging (given we like this):