feat: Debug mode indicator if true in production #18
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pxlrbt/filament-environment-indicator!18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/debug-mode-in-production"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A new indicator which is shown in navbar when
APP_DEBUGis set totruewhileAPP_ENVis set toproduction.Visual preview
When
APP_ENVisproductionWhen
APP_DEBUGisfalseWhen
APP_DEBUGistrueWhen
APP_ENVis notproductionWhen
APP_DEBUGisfalseWhen
APP_DEBUGistrueThanks for the PR. I refactored it a bit, so it's A) opt-in and B) independent from the badge itself. What do you think. Does that work for you? You can use
->showDebugModeWarningInProduction().I created a PR for the Filament v3 version here: #19
Yes this more than works for me.
Thank you
Cool. Thank you!