Skip to content

Commit c6b09d1

Browse files
update
1 parent fe1a6c9 commit c6b09d1

File tree

6 files changed

+24
-42
lines changed

6 files changed

+24
-42
lines changed

articles/azure-app-configuration/howto-feature-filters-javascript.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ ms.custom: mode-other, devx-track-js
1111
ms.date: 09/26/2024
1212
---
1313

14-
# Tutorial: Enable conditional features with a custom filter in a Node.js application
14+
# Tutorial: Enable conditional features with a custom filter in a JavaScript application
1515

1616
Feature flags can use feature filters to enable features conditionally. To learn more about feature filters, see [Tutorial: Enable conditional features with feature filters](./howto-feature-filters.md).
1717

1818
The example used in this tutorial is based on the Node.js application introduced in the feature management [quickstart](./quickstart-feature-flag-javascript.md). Before proceeding further, complete the quickstart to create a Node.js application with a *Beta* feature flag. Once completed, you must [add a custom feature filter](./howto-feature-filters.md) to the *Beta* feature flag in your App Configuration store.
1919

20-
In this tutorial, you'll learn how to implement a custom feature filter and use the feature filter to enable features conditionally.
20+
In this tutorial, you'll learn how to implement a custom feature filter and use the feature filter to enable features conditionally. We are using the Node.js console app you created in the [quickstart](./quickstart-feature-flag-javascript.md) as an example in the content.
2121

2222
## Prerequisites
2323

24-
- Create a [Node.js app with a feature flag](./quickstart-feature-flag-javascript.md).
24+
- Create a [console app with a feature flag](./quickstart-feature-flag-javascript.md).
2525
- [Add a custom feature filter to the feature flag](./howto-feature-filters.md)
2626

2727
## Implement a custom feature filter

articles/azure-app-configuration/howto-feature-filters.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,13 @@ You can create custom feature filters that enable features based on your specifi
5555
> [!div class="mx-imgBorder"]
5656
> ![Screenshot of the Azure portal, applying new custom filter.](./media/feature-filters/feature-flag-edit-apply-filter.png)
5757
58-
You have successfully added a custom filter to a feature flag. Continue to the following instructions to implement the feature filter into your application for the language or platform you are using.
58+
You have successfully added a custom filter to a feature flag.
5959

60-
- [ASP.NET Core](./howto-feature-filters-aspnet-core.md)
61-
- [Node.js](./howto-feature-filters-javascript.md)
62-
- [Python](./howto-feature-filters-python.md)
60+
1. Continue to the following instructions to implement the feature filter into your application for the language or platform you are using.
61+
62+
- [ASP.NET Core](./howto-feature-filters-aspnet-core.md)
63+
- [Node.js](./howto-feature-filters-javascript.md)
64+
- [Python](./howto-feature-filters-python.md)
6365

6466
## Next steps
6567

articles/azure-app-configuration/howto-targetingfilter.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,11 @@ In this article, you will learn how to add and configure a targeting filter for
6868
> [!div class="mx-imgBorder"]
6969
> ![Screenshot of the Azure portal, applying new targeting filter.](./media/feature-filters/feature-flag-edit-apply-targeting-filter.png)
7070
71-
Now, you successfully added a targeting filter for your feature flag. This targeting filter will use the targeting rule you configured to enable or disable the feature flag for specific users and groups. Continue to the following instructions to use the feature flag with a targeting filter in your application for the language or platform you are using.
71+
Now, you successfully added a targeting filter for your feature flag. This targeting filter will use the targeting rule you configured to enable or disable the feature flag for specific users and groups.
7272

73-
- [ASP.NET Core](./howto-targetingfilter-aspnet-core.md)
73+
1. Continue to the following instructions to use the feature flag with a targeting filter in your application for the language or platform you are using.
74+
75+
- [ASP.NET Core](./howto-targetingfilter-aspnet-core.md)
7476

7577
## Next steps
7678

articles/azure-app-configuration/howto-timewindow-filter.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,12 @@ In this article, you will learn how to add and configure a time window filter fo
3939
> [!div class="mx-imgBorder"]
4040
> ![Screenshot of the Azure portal, applying new time window filter.](./media/feature-filters/feature-flag-edit-apply-timewindow-filter.png)
4141
42-
Now, you successfully added a time window filter to a feature flag. Continue to the following instructions to use the feature flag with a time window filter in your application for the language or platform you are using.
42+
Now, you successfully added a time window filter to a feature flag.
4343

44-
- [ASP.NET Core](./howto-timewindow-filter-aspnet-core.md)
45-
- [Node.js](./howto-timewindow-filter-javascript.md)
46-
- [Python](./howto-timewindow-filter-python.md)
44+
1. Continue to the following instructions to use the feature flag with a time window filter in your application for the language or platform you are using.
45+
46+
- [ASP.NET Core](./howto-timewindow-filter-aspnet-core.md)
47+
- [Node.js](./howto-timewindow-filter-javascript.md)
4748

4849
## Next steps
4950

articles/azure-app-configuration/quickstart-feature-flag-javascript.md

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.custom: quickstart, mode-other, devx-track-js
1212
#Customer intent: As a JavaScript developer, I want to use feature flags to control feature availability quickly and confidently.
1313
---
1414

15-
# Quickstart: Add feature flags to a Node.js app
15+
# Quickstart: Add feature flags to a Node.js console app
1616

1717
In this quickstart, you incorporate Azure App Configuration into a Node.js console app to create an end-to-end implementation of feature management. You can use App Configuration to centrally store all your feature flags and control their states.
1818

@@ -32,32 +32,9 @@ Add a feature flag called *Beta* to the App Configuration store and leave **Labe
3232
> ![Enable feature flag named Beta](media/quickstart-feature-flag-javascript/add-beta-feature-flag.png)
3333
3434

35-
## Create a Node.js console app
36-
37-
In this tutorial, you create a Node.js console app and load the feature flag from your App Configuration store.
38-
39-
1. Create a new directory for the project named *feature-management-quickstart*.
40-
41-
```console
42-
mkdir feature-management-quickstart
43-
```
44-
45-
1. Switch to the newly created *feature-management-quickstart* directory.
46-
47-
```console
48-
cd app-configuration-quickstart
49-
```
50-
51-
1. Install the Azure App Configuration provider and feature management by using the `npm install` command.
52-
53-
```console
54-
npm install @azure/app-configuration-provider
55-
npm install @microsoft/feature-management
56-
```
57-
5835
## Use the feature flag
5936

60-
1. Create a file named *app.js* in the *feature-management-quickstart* directory and copy the following code.
37+
1. Create a file named *app.js* and add the following code.
6138

6239
``` javascript
6340
const sleepInMs = require("util").promisify(setTimeout);

articles/azure-app-configuration/quickstart-javascript-provider.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
title: Quickstart for using Azure App Configuration with JavaScript apps
33
description: In this quickstart, create a Node.js app with Azure App Configuration to centralize storage and management of application settings separate from your code.
44
services: azure-app-configuration
5-
author: eskibear
5+
author: zhiyuanliang-ms
66
ms.service: azure-app-configuration
77
ms.devlang: javascript
88
ms.topic: quickstart
99
ms.custom: quickstart, mode-other, devx-track-js
10-
ms.date: 04/18/2024
11-
ms.author: yanzh
10+
ms.date: 11/07/2024
11+
ms.author: zhiyuanliang
1212
#Customer intent: As a JavaScript developer, I want to manage all my app settings in one place.
1313
---
14-
# Quickstart: Create a Node.js app with Azure App Configuration
14+
# Quickstart: Create a Node.js console app with Azure App Configuration
1515

1616
In this quickstart, you use Azure App Configuration to centralize storage and management of application settings using the [Azure App Configuration JavaScript provider client library](https://github.com/Azure/AppConfiguration-JavaScriptProvider).
1717

0 commit comments

Comments
 (0)