Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make organizations easier to change #13

Open
Lermatroid opened this issue Jun 27, 2023 · 2 comments
Open

Make organizations easier to change #13

Lermatroid opened this issue Jun 27, 2023 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed long term This issue will probably take a while or major effort to complete.

Comments

@Lermatroid
Copy link
Member

No description provided.

@Lermatroid Lermatroid converted this from a draft issue Jun 27, 2023
@Lermatroid
Copy link
Member Author

Currently orgs are hard coded. Should be changed to some kind of config file or other solution.

@Lermatroid Lermatroid moved this from Todo to Planning in Portal Jun 27, 2023
@Lermatroid Lermatroid changed the title Make setting organizations easier to change Make organizations easier to change Jun 27, 2023
@Xevion
Copy link
Member

Xevion commented Sep 14, 2023

So, what are our actual interests in doing this? Currently, they're all statically typed and available to Typescript values, which makes them annoying - but gives them resiliency.

If we change to a configuration file

  • We give the ability to create and modify attributes about an organization slightly faster
  • We have to rewrite a lot of things to make this happen
  • But only software engineers can do this. We assume at this moment in time, long term, people won't be editing our code or doing much to it.

So is a configuration file the right choice? What about a database? What's the difference in loading from JSON files and connecting to Prisma?

With a database

  • It's still dynamic, same as a file.
  • Stronger typing through Prisma, although it's still pretty much the same.
  • Allows us to build interfaces long-term for people to edit, configure, and change organizations.

@Xevion Xevion added enhancement New feature or request long term This issue will probably take a while or major effort to complete. help wanted Extra attention is needed labels Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed long term This issue will probably take a while or major effort to complete.
Projects
Status: Planning
Development

No branches or pull requests

3 participants