disable the user avatar/menu during onboarding?

Is there an easy way to just turn off the little user avatar/menu in the top right during user signup flow?
No description
Solution:
If you extend the EmailVerificationPrompt page, you can just add protected bool $hasTopbar = false; to get rid off the topbar
Jump to solution
34 Replies
awcodes
awcodes7mo ago
I’m surprised it’s even showing. Why would the user be logged in if they haven’t verified their email yet? This might be a bug.
stursby
stursbyOP7mo ago
yea, seemed odd I am using multi-tenancy
awcodes
awcodes7mo ago
Are you overriding any of the auth routes?
stursby
stursbyOP7mo ago
and a custom Edot Profile page not that I'm aware of 😂
awcodes
awcodes7mo ago
Definitely seems odd. Feel free to submit an issue on github if you feel it’s a bug. I honestly don’t know enough about the tenancy internals to be confident of it’s a bug or not.
stursby
stursbyOP7mo ago
🤷‍♂️ sounds good, yea, I can make a quick reproduction repo and will submit a ticket
awcodes
awcodes7mo ago
Thank you.
stursby
stursbyOP7mo ago
@awcodes looks like it shows up even w/o multi tenancy just spun up a brand new test repo
stursby
stursbyOP7mo ago
added
No description
stursby
stursbyOP7mo ago
and
stursby
stursbyOP7mo ago
No description
stursby
stursbyOP7mo ago
No description
stursby
stursbyOP7mo ago
there it is so seems like it's... intended?
awcodes
awcodes7mo ago
Maybe there’s a reason for it. But definitely seems odd to me.
stursby
stursbyOP7mo ago
GitHub
Ability to disable the avatar/user menu on registration flow · Issu...
Package filament/filament Package Version v3.2.72 Laravel Version v11.6.0 Livewire Version v3.4.12 PHP Version PHP 8.3.4 Problem description Not sure if this is really a bug... but when I enable re...
stursby
stursbyOP7mo ago
done and done 😉 yea... seems like that should just be hiddden until AFTER you finish registration 🤷‍♂️
awcodes
awcodes7mo ago
Thanks. I’ve asked about it to the team too.
Solution
Saade
Saade7mo ago
If you extend the EmailVerificationPrompt page, you can just add protected bool $hasTopbar = false; to get rid off the topbar
stursby
stursbyOP7mo ago
hmmm, I tried add that page and the top bar is still showing up... am I doing it correctly?
No description
stursby
stursbyOP7mo ago
No description
stursby
stursbyOP7mo ago
still show up
No description
Saade
Saade7mo ago
did you added ->emailVerification(EmailVerificationPrompt::class) to the panel?
stursby
stursbyOP7mo ago
ah no 🤦‍♂️ let me try that! hmmm, I added that and the avatar is still shwing up
stursby
stursbyOP7mo ago
No description
stursby
stursbyOP7mo ago
No description
stursby
stursbyOP7mo ago
nvm got it fixed! VSCode class auto imported the filament one since I named it the same 😂
stursby
stursbyOP7mo ago
No description
stursby
stursbyOP7mo ago
it's gone now! woot thank you @Saade 🙏 cc @awcodes 👆 I will update the GH discussion w/ a code sample
Saade
Saade7mo ago
no worries, its a requirement on my end too to not show the user menu there
Saade
Saade7mo ago
i've recently made a PR to the profile page too https://github.com/filamentphp/filament/pull/12515
GitHub
Add option to remove topbar from the profile page by saade · Pull R...
Description Every auth page has an option to remove the topbar except for the profile page. This PR adds the same configuration option as the other pages.
stursby
stursbyOP7mo ago
ha! I though it was odd it showed up there too glad I'm not the only one 😉 thanks for your help!!
stursby
stursbyOP7mo ago
GitHub
Ability to disable the avatar/user menu on registration flow · fila...
Package filament/filament Package Version v3.2.72 Laravel Version v11.6.0 Livewire Version v3.4.12 PHP Version PHP 8.3.4 Problem description Not sure if this is really a bug... but when I enable re...
stursby
stursbyOP7mo ago
updated and marked as resolved on the GH Discussion 🕺
Want results from more Discord servers?
Add your server