-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Elise Richards
authored
Nov 8, 2023
1 parent
5dddfec
commit df7fff8
Showing
7 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
id: branches-page-deep-dive | ||
title: Branches | ||
slug: branches-page | ||
--- | ||
|
||
|
||
### Feature Manifest Language errors (mobile only) | ||
|
||
:::tip | ||
Want more info on the Feature Manifest Language? | ||
Check out the documentation [here](/fml-spec) | ||
::: | ||
|
||
For non-desktop applications, the Feature Manifest Language (FML) is used to surface errors when we are configuring our branches. This is particularly helpful for deeply nested features, which can be difficult to configure on the Branches page. | ||
|
||
You can see that the save button validation has given us usable FML errors, including the line/col number that the error occurs at: | ||
|
||
<img src="/img/deep-dives/deeply-nested-fml-error.png"/> | ||
|
||
The FML generates errors based on the **feature** you are using, the **application**, and the **channel**. Changing the channel on your experiment may result in different FML errors, since there may be differences between the feature manifests for each channel. | ||
|
||
|
||
## Desktop | ||
|
||
When configuring your branches for a desktop experiment, you will see **autocomplete** as you type, as well as **JSON linting**. FML errors are not present on desktop, since desktop does not use the Feature Manifest Language. | ||
|
||
|
||
<img src="/img/deep-dives/desktop-json-error.png"/> | ||
|
||
<img src="/img/deep-dives/branches-autocomplete.png"/> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
id: fml-errors | ||
title: FML Errors | ||
slug: fml-errors | ||
--- | ||
|
||
When creating your experiment, you may come across Feature Manifest errors on the Branches page: | ||
|
||
<img src="/img/faq/simple-fml-error.png"/> | ||
|
||
These errors are generated by the [Feature Manifest Language](/fml-spec) (FML). Learn more about these errors [here](/deep-dives/experimenter/branches-page). |
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.