feat hide phone call floating button via developer settings toggle#6358
feat hide phone call floating button via developer settings toggle#6358krushnarout wants to merge 11 commits intomainfrom
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ntal section Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…4 locales Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Greptile SummaryThis PR adds a Show Phone Call Button toggle in Developer Settings → Experimental, allowing users to hide the floating phone call button on the home screen. The implementation uses Confidence Score: 5/5Safe to merge — feature is additive, default of true preserves existing behavior for all users, and all 33 locales are translated. No P0 or P1 findings. The implementation follows established patterns in the codebase (identical structure to showGoalTrackerEnabled, showDailyScoreEnabled, showTasksEnabled toggles). The Consumer/Positioned nesting inside Stack is valid Flutter — Consumer is a StatelessWidget with no render object, so Positioned correctly applies StackParentData to the GestureDetector's render object which is a direct RenderStack child. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Developer Settings
Experimental Section] -->|Toggle| B[DeveloperModeProvider
onShowPhoneCallButtonChanged]
B --> C[SharedPreferences
saveBool showPhoneCallButton]
B --> D[notifyListeners]
D --> E[Consumer<DeveloperModeProvider>
in home/page.dart]
E -->|showPhoneCallButton == true| F[Positioned
Phone Call Button visible]
E -->|showPhoneCallButton == false| G[SizedBox.shrink
Phone Call Button hidden]
H[App Startup] --> I[DeveloperModeProvider.init
loadFromPreferences]
I --> E
Reviews (1): Last reviewed commit: "chore(app) regenerate l10n dart files" | Re-trigger Greptile |
|
but why though? It isn't an experimental feature |
|
I see, let's create a separate section itself for these features instead of keeping them under experimental features, also remove the follow up experimental feature (it prob doesn't work or it doesn't exist). Also while at it, in settings we have a phone calls option which when clicked opens a new page where users can manage their phone numbers, move this page to the phone calls page (where you already have the contacts and keypad tab), on that page we can have settings icon or something on the top right which when clicked will open the page to manage the phone numbers |
…ettings, remove follow-up questions toggle Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…mbers Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…n-toggle Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>


Summary
Consumer<DeveloperModeProvider>)Demo
ScreenRecording_04-06-2026.18-53-42_1.MP4
Test plan
🤖 Generated with Claude Code