-
Notifications
You must be signed in to change notification settings - Fork 50
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
On /identities
I have expired domains that don't seem expired
#924
Comments
Hey, @fricoben I will like to be assigned this issue |
Can I attempt this issue? read the proposed actions checklist and requirements, things are clear and straightforward |
Can I tackle this one? |
Would love to take this on. 💪 |
Hi @fricoben |
Let me handle this issue! |
Hi, I'm Josué Brenes and I'll be working on issue. I estimate this will take 1 day to complete. My Plan for Adding a Warning Label for Expired Domains1. Create a BranchI will fork the repo and create a branch for the issue: git checkout -b fix-[issue-number] 2. Debug and Implement ChangesDebug the Existing CodeI will identify why the current condition is not working, focusing on potential timestamp conversion issues. I will verify the following:
Implement the FixI will modify the {needAutoRenewal?.includes(identity.domain) &&
(isIdentityExpired(identity) || isIdentityExpiringSoon(identity)) ? (
<div className={styles.expiryWarning}>
<Tooltip
title={
isIdentityExpired(identity)
? "This domain has expired! Renew it now to keep using it."
: `This domain will expire on ${timestampToReadableDate(identity?.domain_expiry ?? 0)}`
}
arrow
>
<RebewalIcon color="error" />
</Tooltip>
</div>
) : null} Key Fixes
3. Test LocallyI will ensure my changes work as expected and do not break existing functionality: npm run build
npm run start I will verify:
4. Commit and PushI will commit the changes with a clear message: git add components/IdentitiesGalleryV1.tsx
git commit -m "Fix: Add red warning for expired domains in identities"
git push origin fix-[issue-number] 5. Submit PRI will create a pull request referencing the issue:
6. Review and FinalizeI will label the PR as "ready for review," address feedback, and confirm all tests pass. |
Could I try solving this? |
Can I take this issue? |
Is it okay if I tackle this? I will send screen as proof things work as expected. |
May I pick this up? |
Could I take over this issue? |
Could I grab this task? |
Would love to tackle this! |
Could I be assigned to this? |
assigned @emarc99 |
Thanks, just seeing this. Getting to work. |
@fricoben I sent a DM on Telegram. |
…starknet.id into fix-lfglabs-dev#924 Implemented distinct warning for expired domains
Description 📹
On
/identities
I have expired domains that don't seem expired, when I click on them I can see clearly they are 👇We need to add a warning label in red as we do with the
subscription
when a domain is expired to inform the user directly on/identity
Proposed Actions 🛠️
Here's a checklist of actions to follow for resolving this issue:
Fork and Create Branch:
Fork the repository and create a new branch using the issue number:
Implement Changes:
This code exists right now but it doesn't work so please find out why (timestamp conversion problem or something else), moreover transform the warning (yellow) color in error (red) if it's expired).
Make sure your changes don't break existing functionality and commit with a clear message:
git commit -m "Fix: Add distinct warning for expired domains"
Required 📋
To keep our workflow smooth, please make sure you follow these guidelines:
Close #[issue_id]
.Thank you for your contribution 🙏
The text was updated successfully, but these errors were encountered: