You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Referencing the last item in this dropdown (”Auction Ends In”)
The current implementation will say:
“Auction Starts In …”
“Auction Ends In …”
“Round Ends In …”
“Fossil Ready In …”
“Round Ended …”
Depending on the round’s state.
If the round is Open, it says “Auction Starts In …”
If the round is Auctioning, it says “Auction Ends in …”
If the round is Running && now is < settlement_date it shows “Round ends In …”
Before the round’s settlement date the user should know “round settles in x minutes”
If the round is Running && now is <= settlement date + FOSSIL_DELAY (15 min) it shows “Fossil Ready In …”
If the settlement date has been reached but fossil is not ready to be executed, the user should know when fossil will become ready
And finally if the round is Running && now > settlement date + FOSSIL_DELAY (or if the round is Settled) it shows “Round Ended …”
This text is confusing to the user, as well as the “…” portion. Currently, a helper function looks at the target date and now, it returns their difference in a DayHourMinute(SometimesSeconds) format, if now is > the target date it returns the same text but with a “-” in front. I.e., Auction Ends In 3H 30M || Auction Ends In -3H 30 M
This is confusing to the user. When the value is negative, it means the state transition could have happened 3 hours and 30 minutes ago, but hasnt yet (intending user action). Instead of this we should adjust the text/number outputs here so that it is intuitive to the user.
💡 “→” represents the tabbing/spacing/different columns on the UI
🏗️ Update the logic while the state is Open
If now < auctionStartDate, it should say “Auction Starts In → 3H 30M” (same as before)
If now ≥ auctionStartDate, should say “Auction Can Start → Now”
🏗️ Update the logic while the state is Auctioning
If now < auctionEndDate, it should say “Auction Ends In → 3H 30M” (same as before)
If now ≥ auctionEndDate, should say “Auction Can End → Now”
🏗️ Update the logic while the state is Running
If now < optionSettleDate, it should say “Round Ends In → 3H 30M” (same as before)
If now < optionSettleDate + FOSSIL_DELAY , it should say “Fossil Ready In → 14M 30S” (same as before)
Else (now ≥ optionSettleDate + FOSSIL_DELAY), it should say “Round Can End → Now”
🏗️ Update the logic while the state is Settled
Should say “Round Settled → 3h 30M ago”
The text was updated successfully, but these errors were encountered:
Referencing the last item in this dropdown (”Auction Ends In”)
The current implementation will say:
Depending on the round’s state.
now is < settlement_date
it shows “Round ends In …”now is <= settlement date + FOSSIL_DELAY (15 min)
it shows “Fossil Ready In …”now > settlement date + FOSSIL_DELAY
(or if the round is Settled) it shows “Round Ended …”This text is confusing to the user, as well as the “…” portion. Currently, a helper function looks at the target date and now, it returns their difference in a DayHourMinute(SometimesSeconds) format, if
now is > the target date
it returns the same text but with a “-” in front. I.e.,Auction Ends In 3H 30M
||Auction Ends In -3H 30 M
This is confusing to the user. When the value is negative, it means the state transition could have happened 3 hours and 30 minutes ago, but hasnt yet (intending user action). Instead of this we should adjust the text/number outputs here so that it is intuitive to the user.
💡 “→” represents the tabbing/spacing/different columns on the UI
🏗️ Update the logic while the state is Open
now < auctionStartDate
, it should say “Auction Starts In → 3H 30M” (same as before)now ≥ auctionStartDate
, should say “Auction Can Start → Now”🏗️ Update the logic while the state is Auctioning
now < auctionEndDate
, it should say “Auction Ends In → 3H 30M” (same as before)now ≥ auctionEndDate
, should say “Auction Can End → Now”🏗️ Update the logic while the state is Running
now < optionSettleDate
, it should say “Round Ends In → 3H 30M” (same as before)now < optionSettleDate + FOSSIL_DELAY
, it should say “Fossil Ready In → 14M 30S” (same as before)now ≥ optionSettleDate + FOSSIL_DELAY
), it should say “Round Can End → Now”🏗️ Update the logic while the state is Settled
The text was updated successfully, but these errors were encountered: