Skip to content

Conversation

@VallariAg
Copy link

Solves #34

Moved all the constants to provider files.

@elit-altum
Copy link
Contributor

@VallariAg Thank you for your contribution! 🎉

But this is not what we were looking for. We just wanted to move the constants file before to a new destination. We need the constants to be at a single place for reusability so other files can use it from there and on change, we won't have to make that change everywhere.

@VallariAg
Copy link
Author

@elit-altum

We just wanted to move the constants file before to a new destination.

I see, so do we just want to move the files from dashboard/lib/constants/ to dashboard/server/constants/?

Also, I'm interested to make more meaningful contributions to this project. Can you help me pick a ticket that I could work on?

@coditva
Copy link
Member

coditva commented Dec 21, 2021

@VallariAg @elit-altum Actually it would make sense for the files that are the "provider" of the constants to define and export them. The consumers (who call the APIs with the constant values) should import and use them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants