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

Improve app settings #906

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

hmpf
Copy link
Contributor

@hmpf hmpf commented Oct 14, 2024

The new frontend needs different simple settings (like LOGIN_URL) from the old frontend so we need to support that.

We can piggy-back on the (EXTRA|OVERRIDING)_APPS to do this but geant prefers vanilla settings files.

This is an attempt at having our cake and eating it too. Reusing the (EXTRA|OVERRIDING)_APPS-machinery and still making it easy to override everything with separate settings-files.

(This is not the final step in the journey, just an easily reviewable one.)

@hmpf hmpf added documentation Improvements or additions to documentation enhancement New feature or request geant Ideas from geant-argus labels Oct 14, 2024
@hmpf hmpf self-assigned this Oct 14, 2024
@hmpf hmpf requested review from a team October 14, 2024 07:51
Copy link
Collaborator

@elfjes elfjes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this is good, I like it

.. and due to this, move the overriding to the end of base settings
.. this makes it easy to change settings that are not app-specific, like
LOGIN_URL.
.. make sure the examples are valid JSON
Copy link

sonarcloud bot commented Oct 16, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request geant Ideas from geant-argus
Projects
Status: Ready for review
Development

Successfully merging this pull request may close these issues.

2 participants