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

Remove user-specific settings from menu #439

Merged
merged 3 commits into from
Mar 19, 2025
Merged

Remove user-specific settings from menu #439

merged 3 commits into from
Mar 19, 2025

Conversation

ethangardner
Copy link
Contributor

@ethangardner ethangardner commented Mar 19, 2025

Hides the user-specific settings menu per #264.

Deployment requires a new env var:

ENABLE_USER_SETTINGS_MENU=false

@ethangardner ethangardner linked an issue Mar 19, 2025 that may be closed by this pull request
19 tasks
@ethangardner ethangardner requested a review from echappen March 19, 2025 20:40
@echappen
Copy link
Contributor

echappen commented Mar 19, 2025

[non-blocking question] Want to stick that new env var in .env.example? (I can also do it if you're close to done for the day.)

Don't mind me, you already did!

echappen
echappen previously approved these changes Mar 19, 2025
Copy link
Contributor

@jimmoffet jimmoffet left a comment

Choose a reason for hiding this comment

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

LGTM

on:click={async () => {
await showSettings.set(true);
show = false;
{#if $config?.features?.enable_user_settings_menu || role === 'admin'}
Copy link
Contributor

Choose a reason for hiding this comment

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

@ethangardner @echappen made a minor change here to keep the menu visible to admin users.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks, I was assuming we didn't want them for admins either, but I should've checked :)

@jimmoffet jimmoffet merged commit 893135b into main Mar 19, 2025
8 of 9 checks passed
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.

Cull settings for the general user
3 participants