[Frontend]: Move all constants to Origami/src/constants
- Dominant language
- JavaScript
- Stars
- 172
- Forks
- 109
- PR merge metrics
- No merged PRs in 30d
Description
Currently, the codebase for origami is not very pretty when it comes to code reusability and flexibility. There is a lot that can be done in this context.
Global constants still exist hard coded in the frontend component modules, that can rather be shifted to a more general `Origami/src/constants` which will make the code more readable and usable.
I have added some of these while working on another issue. This should be a guideline which should be strictly followed throughout the codebase.
**This is a parent for all the issues dealing with the same.**
Contributor guide
Research direction
Start by reviewing the frontend component modules and the existing Origami/src/constants directory to identify hard-coded global constants. The issue is a parent for related work, so the overall completion boundary and any specific tests are not defined in the payload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100