Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

show long code expiry in UI on code check #458

Merged
merged 2 commits into from
Sep 2, 2020

Conversation

mikehelmick
Copy link
Contributor

Proposed Changes

  • Long code expiration displayed in code check UI

image

Release Note

When checking code status via UUID, the long expiry time/countdown will be shown.

@google-cla google-cla bot added the cla: yes Auto: added by CLA bot when all committers have signed a CLA. label Sep 2, 2020
cmd/server/assets/codestatus/show.html Outdated Show resolved Hide resolved
{{if .code.HasLongExpires}}
let $longCodeExpiresAt = $('#long-code-expires-at');
// Start countdown
countdown($longCodeExpiresAt, longExpires, function() {
Copy link
Member

Choose a reason for hiding this comment

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

do-da-do---do, da-da-do-do-do, do-da-do---do...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you ok?

also - I made this better

Copy link
Member

Choose a reason for hiding this comment

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

It's really hard to put musical intonation into words. I was going for: https://www.youtube.com/watch?v=9jK-NcRmVcw

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sethvargo
Copy link
Member

/lgtm
/approve

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mikehelmick, sethvargo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [mikehelmick,sethvargo]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-robot google-oss-robot merged commit bc70e71 into google:main Sep 2, 2020
@mikehelmick mikehelmick deleted the countdowns branch September 2, 2020 21:02
@google google locked and limited conversation to collaborators Oct 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Auto: added by CLA bot when all committers have signed a CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants