Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature previews #4079

Merged
merged 15 commits into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .featureFlags/generated.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// @ts-nocheck

import K35081 from "./images/filters.png"

const product_filters = () => (<><p><img src={K35081} alt="new filters"/></p>
<p>Experience the new look and enhanced abilities of new fitering mechanism.
Easily combine any criteria you want, and quickly browse their values.</p>
</>)

export const AVAILABLE_FLAGS = [{
name: "product_filters",
displayName: "Products filtering",
component: product_filters,
visible: true,
content: {
enabled: false,
payload: "default",
}
}] as const;
Binary file added .featureFlags/images/filters.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions .featureFlags/product-filters.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: product_filters
displayName: Products filtering
enabled: false
payload: "default"
visible: true
---

![new filters](./images/filters.png)

Experience the new look and enhanced abilities of new fitering mechanism.
Easily combine any criteria you want, and quickly browse their values.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,4 @@ django-queries-results.html

!.env.template
!.dependency-cruiser.js
!.featureFlags
1 change: 1 addition & 0 deletions .storybook/helpers/MockedUserProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const MockedUserProvider: React.FC<{
__typename: "User",
accessibleChannels: [],
restrictedAccessToChannels: false,
metadata: []
},
errors: [],
}}
Expand Down
10 changes: 10 additions & 0 deletions locale/defaultMessages.json
Original file line number Diff line number Diff line change
Expand Up @@ -758,6 +758,10 @@
"context": "code ending with label",
"string": "Code ending with {last4CodeChars}"
},
"38dc43": {
"context": "Features preview",
"string": "Features preview"
},
"39yi8w": {
"context": "selected currency",
"string": "Selected currency"
Expand Down Expand Up @@ -6844,6 +6848,9 @@
"context": "Require email confirmation link",
"string": "Require email confirmation link"
},
"krer6Z": {
"string": "Features preview"
},
"kuo4fW": {
"context": "dialog title",
"string": "Capture manual transaction"
Expand Down Expand Up @@ -7408,6 +7415,9 @@
"context": "gift card history message",
"string": "Gift card was activated"
},
"pEf/m+": {
"string": "There are no previews at the moment. Stay tuned!"
},
"pFVX6g": {
"string": "Variant with these attributes already exists"
},
Expand Down
Loading