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

Add MudStaticNavDrawerToggle on IndividualLocalAuth projects #493

Merged
merged 5 commits into from
Jan 24, 2025

Conversation

Anu6is
Copy link
Contributor

@Anu6is Anu6is commented Jan 23, 2025

Introduces the use of the MudStaticNavDrawerToggle component in projects generated using IndividualLocalAuth.
This allows the MudDrawer to be opened and closed on static (account) pages.

@ScarletKuro
Copy link
Member

Change the script by replacing 'WebAssembly' with 'Wasm' and 'AllInteractive' with 'Global.' The reason for this is that, on Windows, the path can sometimes reach the maximum limit, causing the compilation to fail, which is pretty annoying during testing.

Copy link
Member

@ScarletKuro ScarletKuro left a comment

Choose a reason for hiding this comment

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

LGTM.

Side note: It would be nice to have this for the InteractivityNone mode as well (!InteractiveAtRoot and no auth). I looked into it, and it requires many new if statements & modifying existing ones, as it would need the static SSR input library to be included in MudBlazor.Template.csproj, App.razor, MainLayout.razor, and _Imports.razor (Server). It's a bit much, so it can be done separately if anyone wants to take it on.

@ScarletKuro ScarletKuro merged commit cb3cabe into MudBlazor:dev Jan 24, 2025
6 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.

2 participants