8000 feat: add registration timestamp to passkey data by kelvin-chappell · Pull Request #567 · guardian/janus-app · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: add registration timestamp to passkey data #567

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

Merged
merged 3 commits into from
May 13, 2025

Conversation

kelvin-chappell
Copy link
Member

What is the purpose of this change?

It adds the time that a passkey was created and registered in Janus to the database and shows it in the UI.

What is the value of this change and how do we measure success?

We can see when a passkey was created and use this data for troubleshooting or for sorting and filtering.

Any additional notes?

See also #566

@kelvin-chappell kelvin-chappell requested review from a team and Copilot May 12, 2025 12:47
Copy link
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 6 changed files in this pull request and generated no comments.

Files not reviewed (5)
  • app/aws/PasskeyDB.scala: Language not supported
  • app/controllers/PasskeyController.scala: Language not supported
  • app/models/Passkey.scala: Language not supported
  • app/views/userAccount.scala.html: Language not supported
  • test/logic/PasskeyTest.scala: Language not supported

@kelvin-chappell kelvin-chappell force-pushed the kc/registration-timestamp branch from 7fb4252 to df9180d Compare May 12, 2025 12:55
@kelvin-chappell kelvin-chappell requested a review from Copilot May 12, 2025 12:56
Copy link
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 6 changed files in this pull request and generated no comments.

Files not reviewed (5)
  • app/aws/PasskeyDB.scala: Language not supported
  • app/controllers/PasskeyController.scala: Language not supported
  • app/models/Passkey.scala: Language not supported
  • app/views/userAccount.scala.html: Language not supported
  • test/logic/PasskeyTest.scala: Language not supported

Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like it's just whitespace changes in this file?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes there are no changes on the frontend. It's all in the template and serverside as we generate the timestamp there.

Copy link
Contributor
@tjsilver tjsilver left a comment

Choose a reason for hiding this comment

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

Tested locally and noticed that the key is being displayed twice, once with the user-friendly version and one with the code version.

Copy link
Contributor
@tjsilver tjsilver 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!

@kelvin-chappell kelvin-chappell merged commit ac9d192 into main May 13, 2025
6 checks passed
@kelvin-chappell kelvin-chappell deleted the kc/registration-timestamp branch May 13, 2025 15:09
@kelvin-chappell
Copy link
Member Author

Works in Prod:
(The UX needs a bit of work!)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0