twelve-of-code-official / website

The source code for the Twelve of Code website
https://mesure.x10.mx/twelve-of-code
GNU General Public License v3.0
0 stars 0 forks source link

12oC hash for URL navigation #83

Closed Mesure73L closed 7 months ago

Mesure73L commented 7 months ago

Resolves #64 Resolves #78

Mesure73L commented 7 months ago

Ready to merge if it looks good

Mesure73L commented 7 months ago

By the way, the format for the hash is #year-month-challenge Example: #2023-dec-1 If something is invalid, it should remove it and whatever comes after. (This means, if we have like #2023-idk-1 it will change it to #2023 because idk is invalid.)

[!IMPORTANT] After merging this, the yearSelect(), monthSelect(), and challengeSelect() functions will take one more parameter, true or false (as a boolean) and will specify whether the function should modify the hash. This is to prevent some bugs. It should always be true unless the function was called in a hash related function.

BeepBot99 commented 7 months ago

Imagine not knowing how to spell existent.

BeepBot99 commented 7 months ago

Why are there 2023 november challenges?

Mesure73L commented 7 months ago

Imagine not knowing how to spell existent.

Timeout when I get home Also I thought it was e instead of a, but before autocorrect triggered it for whatever reason so it made me unsure so I just guessed, but i do know how to spell it IDIOT

Why are there 2023 november challenges?

For testing with multiple months

BeepBot99 commented 7 months ago

Sure, time me out when you get home. I probably won't be home until a few hours after that. In addition, I will be invisible the whole time so you don't know.

Mesure73L commented 7 months ago

Please don't leave a review to say you'll review it later. Just leave a comment.

Mesure73L commented 7 months ago

The branch can be deleted after merging.

BeepBot99 commented 7 months ago

You can remove your assignment if you want, but the reason I assigned you is because you made it, and if I want any changes made, you would be the one to do it.

Mesure73L commented 7 months ago

Okay, I will change that.