Skip to content

Commit

Permalink
feat: change flag toggle success message for mobile sdks (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunny Guduru authored Apr 9, 2024
1 parent adbc53c commit 37c2d6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions internal/quickstart/choose_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ var (

const (
clientSideSDK = "client"
mobileSDK = "mobile"
serverSideSDK = "server"
)

Expand Down Expand Up @@ -116,12 +117,12 @@ var SDKs = []sdkDetail{
kind: clientSideSDK,
url: "https://raw.githubusercontent.com/launchdarkly/vue-client-sdk/main/example/README.md",
},
{canonicalName: "ios-swift", displayName: "iOS", kind: clientSideSDK},
{canonicalName: "ios-swift", displayName: "iOS", kind: mobileSDK},
{canonicalName: "go", displayName: "Go", kind: serverSideSDK},
{canonicalName: "android", displayName: "Android", kind: clientSideSDK},
{canonicalName: "react-native", displayName: "React Native", kind: clientSideSDK},
{canonicalName: "android", displayName: "Android", kind: mobileSDK},
{canonicalName: "react-native", displayName: "React Native", kind: mobileSDK},
{canonicalName: "ruby", displayName: "Ruby", kind: serverSideSDK},
{canonicalName: "flutter", displayName: "Flutter", kind: clientSideSDK},
{canonicalName: "flutter", displayName: "Flutter", kind: mobileSDK},
{canonicalName: "dotnet-client", displayName: ".NET (client-side)", kind: clientSideSDK},
{canonicalName: "erlang", displayName: "Erlang", kind: serverSideSDK},
{canonicalName: "rust", displayName: "Rust", kind: serverSideSDK},
Expand Down
1 change: 1 addition & 0 deletions internal/quickstart/toggle_flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ func (m toggleFlagModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {

var logTypeMap = map[string]string{
serverSideSDK: "application logs",
mobileSDK: "application",
clientSideSDK: "browser",
}

Expand Down

0 comments on commit 37c2d6d

Please sign in to comment.