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
awcodes3mo 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
stursby3mo ago
yea, seemed odd I am using multi-tenancy
awcodes
awcodes3mo ago
Are you overriding any of the auth routes?
stursby
stursby3mo ago
and a custom Edot Profile page not that I'm aware of 😂
awcodes
awcodes3mo 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
stursby3mo ago
🤷‍♂️ sounds good, yea, I can make a quick reproduction repo and will submit a ticket
awcodes
awcodes3mo ago
Thank you.
stursby
stursby3mo ago
@awcodes looks like it shows up even w/o multi tenancy just spun up a brand new test repo
stursby
stursby3mo ago
added
No description
stursby
stursby3mo ago
and
stursby
stursby3mo ago
No description
stursby
stursby3mo ago
No description
stursby
stursby3mo ago
there it is so seems like it's... intended?
awcodes
awcodes3mo ago
Maybe there’s a reason for it. But definitely seems odd to me.
stursby
stursby3mo 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
stursby3mo ago
done and done 😉 yea... seems like that should just be hiddden until AFTER you finish registration 🤷‍♂️
awcodes
awcodes3mo ago
Thanks. I’ve asked about it to the team too.
Solution
Saade
Saade3mo ago
If you extend the EmailVerificationPrompt page, you can just add protected bool $hasTopbar = false; to get rid off the topbar
stursby
stursby3mo ago
hmmm, I tried add that page and the top bar is still showing up... am I doing it correctly?
No description
stursby
stursby3mo ago
No description
stursby
stursby3mo ago
still show up
No description
Saade
Saade3mo ago
did you added ->emailVerification(EmailVerificationPrompt::class) to the panel?
stursby
stursby3mo ago
ah no 🤦‍♂️ let me try that! hmmm, I added that and the avatar is still shwing up
stursby
stursby3mo ago
No description
stursby
stursby3mo ago
No description
stursby
stursby3mo ago
nvm got it fixed! VSCode class auto imported the filament one since I named it the same 😂
stursby
stursby3mo ago
No description
stursby
stursby3mo ago
it's gone now! woot thank you @Saade 🙏 cc @awcodes 👆 I will update the GH discussion w/ a code sample
Saade
Saade3mo ago
no worries, its a requirement on my end too to not show the user menu there
Saade
Saade3mo 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
stursby3mo ago
ha! I though it was odd it showed up there too glad I'm not the only one 😉 thanks for your help!!
stursby
stursby3mo 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
stursby3mo ago
updated and marked as resolved on the GH Discussion 🕺