Skip to content

Conversation

@printgourav
Copy link
Member

@printgourav printgourav commented Dec 27, 2025

Description

closes #925

This PR improves Ux for user by showing expiration dates in a table with warnings when keys are about to expire also it consist of backend changes done to ensure clean response is being sent to user without containing anything sensitive information about API key which is meant to be shown only when created .

What type of PR is this? (Check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📄 Documentation Update
  • 👨‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🛠️ CI/CD

Screenshots.

Frontend

The UI enhancement makes API Key that would expire expire very soon user, get warn with red

image

Frontend test

image

Coverage for Frontend

image

Backend

The response sent now does not consist of sensitive info about keys.

image

Existing backend test are running fine.

image

Coverage of backend

image

Checklist

  • I have performed a self-review of my code
  • New and existing unit tests pass locally with my changes

…i-key`to maintain security & safety, for readablity shifted expiry-options to `constants.js` from `dashboard.jsx`
printgourav and others added 3 commits December 28, 2025 09:57
…that-are-about-to-expire-ensure-good-shaped-response' of github.com:TeamShiksha/openlogo into 925-show-date-of-expiry-of-api-warn-enduser-about-keys-that-are-about-to-expire-ensure-good-shaped-response
@sonarqubecloud
Copy link

@printgourav printgourav marked this pull request as ready for review December 28, 2025 07:42
@github-actions github-actions bot added the enhancement New feature or request label Dec 28, 2025
@printgourav printgourav requested review from AryaDharkar, Sumitgitup and sachinkmrsin and removed request for sachinkmrsin December 28, 2025 07:47
@aps08 aps08 requested review from sachinkmrsin and removed request for AryaDharkar and Sumitgitup January 3, 2026 16:48
Copy link
Member

@sachinkmrsin sachinkmrsin left a comment

Choose a reason for hiding this comment

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

Looks good to me. Pr follows coding standards.

@printgourav printgourav changed the title enhancement: Show date of expiry of API in table & ensure response of getUserDataController does not consist of API keys. enhancement: Show date of expiry for generated keys & ensure clean response is only returned. Jan 4, 2026
@printgourav printgourav changed the title enhancement: Show date of expiry for generated keys & ensure clean response is only returned. Show date of expiry for generated keys & ensure clean response is only returned. Jan 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0.7.0 Show API key expiry, warn before expiration, and return a clean response.

4 participants