habitica icon indicating copy to clipboard operation
habitica copied to clipboard

Challenge Category list is copy/pasted 4 times in the client code

Open phillipthelen opened this issue 2 years ago • 2 comments

The list to define the different challenge categories is copy and pasted in 4 different locations. Instead of having this long list in the code 4 times, it should be moved to the common code and added to the content definitions there.

It could also be useful to return it with the /content api call

Github search to find all occurrences of the list

phillipthelen avatar Aug 18 '22 12:08 phillipthelen

Is anyone currently working on this issue? If not I'd love to contribute to this. Please let me know if there's anything I need to be aware of before diving in.

Tundrian avatar Aug 24 '22 00:08 Tundrian

@Tundrian I don't know anything in particular that you need to know--this is essentially a refactor to streamline the codebase a tiny bit. 😄

CuriousMagpie avatar Aug 29 '22 21:08 CuriousMagpie

Hi, I'm interested in contributing to this issue. This would be my first open-source contribution. Can it be assigned to me?

anishcode19 avatar Sep 25 '22 06:09 anishcode19