Real-Dev-Squad / feature-flag-frontend

Feature flag frontend repo
MIT License
0 stars 1 forks source link

Feat: Feature flag listing page #10

Open MehulKChaudhari opened 1 week ago

MehulKChaudhari commented 1 week ago

Issue Description

Add a /featureFlags route to render a list of all the feature-flags

Expected Behavior

We should have a page to show all the feature-flags.

Current Behavior

We don't have a page which renders all the feature-flags

Note: We don't have any mockups/figma for this. Just make the colors etc reference from other RDS sites and match the design system.

Reproducibility

Steps to Reproduce

Severity/Priority

Additional Information

Checklist

MehulKChaudhari commented 1 week ago

For now we can use this dummy data,

[
    {
        "id": "287dc2fd-9982-4d15-9df2-3300aa7659e6",
        "name": "feature-flag-1",
        "description": "Demo feature flag 1",
        "status": "ENABLED",
        "createdAt": 1718140371,
        "createdBy": "user1",
        "updatedAt": 1718140371,
        "updatedBy": "user1"
    },
    {
        "id": "3a2fcd44-6fb7-4d56-8c14-5b4c7a1e482b",
        "name": "feature-flag-2",
        "description": "Demo feature flag 2",
        "status": "DISABLED",
        "createdAt": 1718140450,
        "createdBy": "user2",
        "updatedAt": 1718140450,
        "updatedBy": "user2"
    },
    {
        "id": "57f1a3d0-6740-438e-8ff3-15bc1d5aa789",
        "name": "feature-flag-3",
        "description": "Demo feature flag 3",
        "status": "ENABLED",
        "createdAt": 1718140520,
        "createdBy": "user3",
        "updatedAt": 1718140520,
        "updatedBy": "user3"
    },
    {
        "id": "8a54f032-4509-4f43-a6d7-4e3e7bca6d8c",
        "name": "feature-flag-4",
        "description": "Demo feature flag 4",
        "status": "ENABLED",
        "createdAt": 1718140600,
        "createdBy": "user4",
        "updatedAt": 1718140600,
        "updatedBy": "user4"
    },
    {
        "id": "b5e567e7-f1e1-4d8d-b827-f3e77653d6b1",
        "name": "feature-flag-5",
        "description": "Demo feature flag 5",
        "status": "DISABLED",
        "createdAt": 1718140650,
        "createdBy": "user5",
        "updatedAt": 1718140650,
        "updatedBy": "user5"
    }
]