Skip to content

Remove login disabled banner - #1249

Open
aryankalantri wants to merge 3 commits into
chaoss:devfrom
aryankalantri:patch-1
Open

aryankalantri wants to merge 3 commits into
chaoss:devfrom
aryankalantri:patch-1

Conversation

@aryankalantri

Copy link
Copy Markdown

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.

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>
@MoralCode

Copy link
Copy Markdown
Contributor

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!

@EngCaioFonseca

Copy link
Copy Markdown
Contributor

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.

@EngCaioFonseca
EngCaioFonseca self-requested a review November 23, 2026 22:30
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.

Take off login disabled pop up

3 participants