Commit cea3dee
authored
feat(frontend): display discouraged feature information (#1824)
* feat(frontend): display discouraged feature information
This commit implements the frontend components to display information about discouraged features, building on the recent API additions.
- A prominent "Discouraged" notice is now displayed on the feature page for any feature marked as such. This notice explains why the feature is discouraged and offers alternatives if available.
- A new "discouraged" icon and chip style are used in the feature overview and on the feature page to clearly label these features.
- E2E tests and screenshot snapshots have been added to verify the new UI for discouraged features.
- The fake data generation script has been updated to include discouraged features for local development and testing.
* add unit tests
* move banner above breadcrumbs
* use img tag1 parent 07c63ec commit cea3dee
File tree
33 files changed
+406
-168
lines changed- e2e/tests
- 404.spec.ts-snapshots
- feature-page.spec.ts-snapshots
- overview-page.spec.ts-snapshots
- stats-page.spec.ts-snapshots
- frontend/src/static
- img
- js/components
- test
- util/cmd/load_fake_data
33 files changed
+406
-168
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
40 | 55 | | |
41 | 56 | | |
42 | 57 | | |
| |||
0 commit comments