monkeytype icon indicating copy to clipboard operation
monkeytype copied to clipboard

Change show yesterday button to show today when viewing yesterdays daily leaderboards

Open jeffrey-zang opened this issue 2 years ago • 2 comments

Did you clear cache before opening an issue?

  • [X] I have cleared my cache

Is there an existing issue for this?

  • [X] I have searched the existing issues

Does the issue happen when logged in?

Yes

Does the issue happen when logged out?

Yes

Does the issue happen in incognito mode when logged in?

Yes

Does the issue happen in incognito mode when logged out?

Yes

Account name

largank

Account config

No response

Current Behavior

When looking at yesterday's daily leaderboards, clicking "show yesterday" goes back to showing today today: image after clicking "show yesterday" (yesterday) image after clicking "show yesterday" again (today) image

Expected Behavior

Either it shows the day before yesterday, or it says "show today" after clicking on it

Steps To Reproduce

  1. go to "leaderboards"
  2. go to "daily"
  3. click "show yesterday"
  4. click "show yesterday" again

Environment

  • OS: Windows 11
  • Browser: Brave (chrome)
  • Browser Version: image

Anything else?

No response

jeffrey-zang avatar Aug 07 '22 17:08 jeffrey-zang

Not a bug - the button is a toggle. However for readability, well change the text on it and make it a normal button, not a toggle.

Miodec avatar Aug 07 '22 19:08 Miodec

I'm looking for a quick and easy contribution for onboarding and familiarity with the codebase... Can I get this assigned to me?

I know it's not a high priority but would be nice to get it done still.

sankalpmukim avatar Aug 13 '22 08:08 sankalpmukim

can i solve this one I am a beginner

anikaitprasar avatar Aug 19 '22 12:08 anikaitprasar