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

feat: Add has expired column in the api keys table #3433

Merged
merged 4 commits into from
Feb 28, 2024

Conversation

novakzaballa
Copy link
Contributor

@novakzaballa novakzaballa commented Feb 16, 2024

Thanks for submitting a PR! Please check the boxes below:

  • I have run pre-commit to check linting
  • I have added information to docs/ if required so people know about the feature!
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

How did you test this code?

  • Go to API keys

Copy link

vercel bot commented Feb 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 28, 2024 5:03pm
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 28, 2024 5:03pm
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 28, 2024 5:03pm

@github-actions github-actions bot added the front-end Issue related to the React Front End Dashboard label Feb 16, 2024
Copy link
Contributor

github-actions bot commented Feb 16, 2024

Uffizzi Preview deployment-46718 was deleted.

@matthewelwell
Copy link
Contributor

Is there anything we can do to make this look a bit nicer?

image

Perhaps expired isn't the correct data point here, maybe we should have an 'active' column which just includes a tick / cross and add a tooltip explaining if it's because it has expired?

@novakzaballa
Copy link
Contributor Author

Is there anything we can do to make this look a bit nicer?

image Perhaps expired isn't the correct data point here, maybe we should have an 'active' column which just includes a tick / cross and add a tooltip explaining if it's because it has expired?

Yes, those are good ideas, I'll make those changes.

@novakzaballa
Copy link
Contributor Author

Screen Shot 2024-02-27 at 16 46 20 Hey @matthewelwell I already made the changes, it looks like the image above.

@matthewelwell
Copy link
Contributor

image

Can we align things / make things consistent. The active badge should probably be green, right?

@novakzaballa
Copy link
Contributor Author

image Can we align things / make things consistent. The active badge should probably be green, right?
Screen Shot 2024-02-27 at 18 01 20

Done

<div className='ml-1'>
<Tooltip title={<Icon name='close-circle' />}>
{
'This API key has expired due to reaching its expiration date'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'This API key has expired due to reaching its expiration date'
'This API key has expired'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed

Copy link
Contributor

@matthewelwell matthewelwell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with one minor suggestion on the wording.

Merged via the queue into main with commit 3f83130 Feb 28, 2024
21 checks passed
@novakzaballa novakzaballa deleted the feat/add-has-expired-column-in-the-api-keys branch February 28, 2024 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
front-end Issue related to the React Front End Dashboard
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants