Repository navigation
Remove login disabled banner - #1249
aryankalantri wants to merge 3 commits into
Conversation
Removed functions for creating login disabled alert and banner. Signed-off-by: aryankalantri <aryan30kalantri1@gmail.com>
Removed the creation of the login disabled banner and its related code. Signed-off-by: aryankalantri <aryan30kalantri1@gmail.com>
Removed the login banner styles from main_layout.css. Signed-off-by: aryankalantri <aryan30kalantri1@gmail.com>
|
Thanks for making this PR, Welcome to the repo! One question i had (mostly for @cdolfi and @EngCaioFonseca) before diving too deeply into the code is: do we want to remove the login banner for all users of 8Knot? or just from our instance? Im a little worried that this change would affect anyone who is using 8Knot, when i think the intention was to specifically disable it on our instance. Is there maybe a way we can do this using a configuration flag instead so that it remains an optional feature instances can choose to use? Also dont forget to use the Pull request template so that the required disclosures are present in your PR! |
|
Yes, Thanks for the PR. like @MoralCode raised the question, I think we should head into removing just for our instance instead of removing it for all users. Could you please work on adapting the pr considering that? Also, yes, please use the repo PR template for the descriptions and disclosure. |
Fixes #1241. Removes the login disabled banner: the create_login_disabled_alert and create_login_disabled_banner helpers in 8Knot/pages/index/login_utils.py, their import and usage in 8Knot/pages/index/index_layout.py, and the banner CSS rules in 8Knot/assets/main_layout.css. The login itself stays disabled and the login nav, status logging, and is_login_enabled check are untouched. Verified no references to the banner remain.