Skip to content

Commit fba5cab

Browse files
authored
Ld migration seo fix (#542)
* from-ld -> from-launchdarkly * png compress
1 parent 55762c8 commit fba5cab

File tree

12 files changed

+28
-20
lines changed

12 files changed

+28
-20
lines changed

website/docs/advanced/migration-from-ld-translation.mdx renamed to website/docs/advanced/migration-from-launchdarkly-translation.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
id: migration-from-ld-translation
2+
id: migration-from-launchdarkly-translation
33
title: Details of LaunchDarkly to ConfigCat Translation
44
description: Details of the LaunchDarkly to ConfigCat translation performed by the "Import from LaunchDarkly" tool.
55
---
@@ -8,7 +8,7 @@ import Tabs from '@theme/Tabs';
88
import TabItem from '@theme/TabItem';
99
import CodeBlock from '@theme/CodeBlock';
1010

11-
This document discusses the details of how [ConfigCat's "Import from LaunchDarkly" tool](../migration-from-ld#migrate-launchdarkly-feature-flags-and-segments-to-configcat) translates LaunchDarkly projects to ConfigCat products (i.e., how, in practice, the import tool converts the project
11+
This document discusses the details of how [ConfigCat's "Import from LaunchDarkly" tool](../migration-from-launchdarkly#migrate-launchdarkly-feature-flags-and-segments-to-configcat) translates LaunchDarkly projects to ConfigCat products (i.e., how, in practice, the import tool converts the project
1212
data fetched fromLaunchDarkly's REST API to ConfigCat's Export/Import JSON format).
1313

1414
You need this information if you want to understand
@@ -26,7 +26,7 @@ The table below shows how LaunchDarkly entities are mapped to ConfigCat entities
2626
| environment | [environment](../../main-concepts#environment) | |
2727
| segment | [segment](../../targeting/targeting-rule/segment-condition#what-is-a-segment-condition-what-is-a-segment) | LaunchDarkly segments are specific to an environment, but ConfigCat segments are specific to a product, so mapped segment names are prefixed with the environment name to avoid ambiguity. |
2828
| feature flag | [feature flag / setting](../../targeting/targeting-overview#feature-flag--setting) | LaunchDarkly feature flags are directly contained by a project, but ConfigCat feature flags are organized into [configs](../../main-concepts#config), so a config named "Main Config" is created to contain them. |
29-
| targeting toggle | - | No direct translation is possible. More on this [here](../migration-from-ld#targeting-toggle-translation-mode). |
29+
| targeting toggle | - | No direct translation is possible. More on this [here](../migration-from-launchdarkly#targeting-toggle-translation-mode). |
3030
| prerequisites | - | Each prerequisite is translated to a [Targeting Rule](../../targeting/targeting-overview#targeting-rule) containing a [Flag Condition](../../targeting/targeting-rule/flag-condition). |
3131
| individual targets | - | Each target group is translated to a [Targeting Rule](../../targeting/targeting-overview#targeting-rule) containing an IS ONE OF [User Condition](../../targeting/targeting-rule/user-condition). |
3232
| custom rule | [Targeting Rule](../../targeting/targeting-overview#targeting-rule) | Multiple clauses (i.e. [AND conditions](../../targeting/targeting-rule/targeting-rule-overview/#and-and-or-relationships) in ConfigCat's terminology) are not supported for segments, only for feature flags at the moment. |

website/docs/advanced/migration-from-ld.mdx renamed to website/docs/advanced/migration-from-launchdarkly.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
id: migration-from-ld
2+
id: migration-from-launchdarkly
33
title: Migration from LaunchDarkly
44
description: A guide to migration from LaunchDarkly to ConfigCat.
55
---
@@ -60,11 +60,11 @@ behavior as closely as possible.
6060
To launch the import tool, open the dropdown menu in the top left corner of the [ConfigCat Dashboard](https://app.configcat.com/organization),
6161
navigate to the Organization Overview page, then click the card labeled "Import from LaunchDarkly".
6262

63-
<img alt="Launching the import tool" src="/docs/assets/migration-from-ld/launch-import-tool_192dpi.png" width="1366" height="768" decoding="async" loading="lazy" />
63+
<img alt="Launching the import tool" src="/docs/assets/migration-from-launchdarkly/launch-import-tool_192dpi.png" width="1366" height="768" decoding="async" loading="lazy" />
6464

6565
This will take you to a page with a wizard-like UI:
6666

67-
<img alt="The import tool" src="/docs/assets/migration-from-ld/import-tool_192dpi.png" width="1366" height="768" decoding="async" loading="lazy" />
67+
<img alt="The import tool" src="/docs/assets/migration-from-launchdarkly/import-tool_192dpi.png" width="1366" height="768" decoding="async" loading="lazy" />
6868

6969
Follow the instructions and go through the steps to perform the import.
7070

@@ -134,7 +134,7 @@ operation by importing the selected LaunchDarkly projects one by one. Importing
134134
#### Translation phase
135135

136136
First, the import tool translates the LaunchDarkly project to a ConfigCat product. For more details on how this is done,
137-
please refer to [this document](../migration-from-ld-translation).
137+
please refer to [this document](../migration-from-launchdarkly-translation).
138138

139139
It's important to note that the import tool performs translation on a best effort basis. It aims to do translation in
140140
such a way that you get a feature flag evaluation behavior as close to the original as possible. However, since there
@@ -144,7 +144,7 @@ Such problematic cases are called *translation issues*. The import tool detects
144144
translation, and includes them in the report generated at the end of the import operation so you can review them, and
145145
make the necessary adjustments where necessary.
146146

147-
You can find the list of possible translation issues [here](../migration-from-ld-translation#translation-issues).
147+
You can find the list of possible translation issues [here](../migration-from-launchdarkly-translation#translation-issues).
148148

149149
#### Import phase
150150

@@ -285,7 +285,7 @@ Let's see now step by step how to convert this code to ConfigCat:
285285
To be able to convert a context data structure to a User Object one, you will need to do the following:
286286
* Read [the section on User Objects](../../sdk-reference/node#user-object) in the reference of the SDK for your
287287
platform.
288-
* Read [this section](../migration-from-ld-translation#mapping-between-launchdarkly-contexts-and-configcat-user-objects)
288+
* Read [this section](../migration-from-launchdarkly-translation#mapping-between-launchdarkly-contexts-and-configcat-user-objects)
289289
to learn how context paths are mapped to User Object attribute names.
290290
291291
For an example of such conversion, see the adjusted code at the end of this section.
@@ -308,7 +308,7 @@ Let's see now step by step how to convert this code to ConfigCat:
308308
* The order of parameters is different. In ConfigCat, the User Object comes last.
309309
* The ConfigCat feature flag key may be different from the LaunchDarkly one. E.g. if the key starts with a non-letter
310310
character, or contains a dot, it will be changed by the import tool because such keys are not valid in ConfigCat.
311-
To see which keys have been changed, look for <a href="/docs/advanced/migration-from-ld-translation#translation-issue-T002">T002</a>
311+
To see which keys have been changed, look for <a href="/docs/advanced/migration-from-launchdarkly-translation#translation-issue-T002">T002</a>
312312
translation issues in the report.
313313
* ConfigCat SDKs don't support [automatic camel casing](https://launchdarkly.com/docs/sdk/client-side/react/react-web#flag-keys-in-the-react-web-sdk)
314314
of feature flag keys.
@@ -387,7 +387,7 @@ Otherwise, to switch to ConfigCat, you need to do the following:
387387
1. Convert [LaunchDarkly-specific evaluation context objects](https://github.com/launchdarkly/openfeature-node-server?tab=readme-ov-file#openfeature-specific-considerations)
388388
to have a data structure compatible with ConfigCat.
389389
390-
This is done in a very similar way to what's described in the previous section. Read [this section](../migration-from-ld-translation#mapping-between-launchdarkly-contexts-and-configcat-user-objects)
390+
This is done in a very similar way to what's described in the previous section. Read [this section](../migration-from-launchdarkly-translation#mapping-between-launchdarkly-contexts-and-configcat-user-objects)
391391
to learn how context paths are mapped to User Object attribute names.
392392
393393
For example, something like
@@ -486,7 +486,7 @@ LaunchDarkly organization.
486486
To set up permission groups for a product, open the [ConfigCat Dashboard](https://app.configcat.com/organization),
487487
select the product on the sidebar, and choose "Permission Groups" in the top menu.
488488
489-
<img alt="Launching the import tool" src="/docs/assets/migration-from-ld/permission-groups_192dpi.png" width="1366" height="768" decoding="async" loading="lazy" />
489+
<img alt="Launching the import tool" src="/docs/assets/migration-from-launchdarkly/permission-groups_192dpi.png" width="1366" height="768" decoding="async" loading="lazy" />
490490
491491
### Invite users to ConfigCat and assign them to permission groups
492492
@@ -507,4 +507,4 @@ one of the products (it doesn't matter which one), then, after they've signed up
507507
organization, and assign them to the other products too, using the "Change roles" feature of the "Members & Roles"
508508
table.
509509
510-
<img alt="Launching the import tool" src="/docs/assets/migration-from-ld/member-and-roles_192dpi.png" width="1366" height="768" decoding="async" loading="lazy" />
510+
<img alt="Launching the import tool" src="/docs/assets/migration-from-launchdarkly/member-and-roles_192dpi.png" width="1366" height="768" decoding="async" loading="lazy" />

website/docs/news.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ You can find the import tool on the [Organization Overview](https://app.configca
2727
ConfigCat Dashboard:
2828

2929
<p>
30-
<img alt="Launching the import tool" src="/docs/assets/migration-from-ld/launch-import-tool_192dpi.png" width="1366" height="768" decoding="async" loading="lazy" />
30+
<img alt="Launching the import tool" src="/docs/assets/migration-from-launchdarkly/launch-import-tool_192dpi.png" width="1366" height="768" decoding="async" loading="lazy" />
3131
</p>
3232

3333
:::info
3434
You'll need to be an Organization Admin to access it.
3535
:::
3636

37-
If you decide to make the full switch, we've prepared a [migration guide](../advanced/migration-from-ld) to walk you
37+
If you decide to make the full switch, we've prepared a [migration guide](../advanced/migration-from-launchdarkly) to walk you
3838
through the whole process.
3939

4040
So why not make the jump? You'll land on your paws anyway. :cat:

website/docusaurus.config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ const config: Config = {
5454
from: '/advanced/segments',
5555
to: '/targeting/targeting-rule/segment-condition',
5656
},
57+
{
58+
from: '/advanced/migration-from-ld',
59+
to: '/advanced/migration-from-launchdarkly',
60+
},
61+
{
62+
from: '/advanced/migration-from-ld-translation',
63+
to: '/advanced/migration-from-launchdarkly-translation',
64+
},
5765
{
5866
from: '/V2/targeting/targeting-overview',
5967
to: '/targeting/targeting-overview',

website/sidebars.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,11 @@ const sidebars: SidebarsConfig = {
165165
{
166166
label: 'Migration from LaunchDarkly',
167167
type: 'category',
168-
link: { type: 'doc', id: 'advanced/migration-from-ld' },
168+
link: { type: 'doc', id: 'advanced/migration-from-launchdarkly' },
169169
items: [
170170
{
171171
type: 'doc',
172-
id: 'advanced/migration-from-ld-translation',
172+
id: 'advanced/migration-from-launchdarkly-translation',
173173
label: 'Details of LaunchDarkly to ConfigCat Translation',
174174
},
175175
],

website/src/pages/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const features = [
5353
title: 'ConfigCat Proxy',
5454
},
5555
{
56-
url: 'advanced/migration-from-ld',
56+
url: 'advanced/migration-from-launchdarkly',
5757
title: 'Migration from LaunchDarkly',
5858
},
5959
// { url: 'advanced/config-v2-migration-guide', title: 'Config V2 Migration Guide' },
Loading

0 commit comments

Comments
 (0)