[PR #908] [CLOSED] Add setting to disable developer LAN mode warning banner #1126

Closed
opened 2026-05-06 12:35:12 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/maziggy/bambuddy/pull/908
Author: @piitaya
Created: 4/6/2026
Status: Closed

Base: mainHead: disable_developer_mode_warning


📝 Commits (1)

  • 14fc6d9 Add setting to disable developer LAN mode warning banner

📊 Changes

6 files changed (+33 additions, -2 deletions)

View changed files

📝 backend/app/schemas/settings.py (+6 -0)
📝 frontend/src/api/client.ts (+2 -0)
📝 frontend/src/components/Layout.tsx (+2 -2)
📝 frontend/src/i18n/locales/en.ts (+2 -0)
📝 frontend/src/i18n/locales/fr.ts (+2 -0)
📝 frontend/src/pages/SettingsPage.tsx (+19 -0)

📄 Description

Description

Allow users to dismiss the developer LAN mode warning banner via a toggle in Settings > General. The setting is persisted server-side and resets with "Reset Settings". This is useful for users running a limited setup where the banner becomes repetitive and distracting on every page load (e.g. for monitoring and filament tracking only)

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Code refactoring
  • Performance improvement
  • Test addition or update

Changes Made

  • Add disable_developer_mode_warning backend setting, resets with "Reset Settings"
  • Add English and French translations

Screenshots

CleanShot 2026-04-06 at 20 53 27@2x

Testing

  • I have tested this on my local machine
  • I have tested with my printer model: H2C, P2S

Checklist

  • My code follows the project's coding style
  • I have commented my code where necessary
  • I have updated the documentation (if needed)
  • My changes generate no new warnings
  • I have tested my changes thoroughly

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/maziggy/bambuddy/pull/908 **Author:** [@piitaya](https://github.com/piitaya) **Created:** 4/6/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `disable_developer_mode_warning` --- ### 📝 Commits (1) - [`14fc6d9`](https://github.com/maziggy/bambuddy/commit/14fc6d9cd85d8af4ee4b91024219bf2885fbb7f0) Add setting to disable developer LAN mode warning banner ### 📊 Changes **6 files changed** (+33 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `backend/app/schemas/settings.py` (+6 -0) 📝 `frontend/src/api/client.ts` (+2 -0) 📝 `frontend/src/components/Layout.tsx` (+2 -2) 📝 `frontend/src/i18n/locales/en.ts` (+2 -0) 📝 `frontend/src/i18n/locales/fr.ts` (+2 -0) 📝 `frontend/src/pages/SettingsPage.tsx` (+19 -0) </details> ### 📄 Description ## Description Allow users to dismiss the developer LAN mode warning banner via a toggle in Settings > General. The setting is persisted server-side and resets with "Reset Settings". This is useful for users running a limited setup where the banner becomes repetitive and distracting on every page load (e.g. for monitoring and filament tracking only) ## Type of Change - [ ] Bug fix (non-breaking change that fixes an issue) - [x] New feature (non-breaking change that adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update - [ ] Code refactoring - [ ] Performance improvement - [ ] Test addition or update ## Changes Made - Add `disable_developer_mode_warning` backend setting, resets with "Reset Settings" - Add English and French translations ## Screenshots <img width="539" height="764" alt="CleanShot 2026-04-06 at 20 53 27@2x" src="https://github.com/user-attachments/assets/1861f0f9-0874-41a5-b370-de22648a9214" /> ## Testing - [x] I have tested this on my local machine - [x] I have tested with my printer model: H2C, P2S ## Checklist - [x] My code follows the project's coding style - [x] I have commented my code where necessary - [x] I have updated the documentation (if needed) - [x] My changes generate no new warnings - [x] I have tested my changes thoroughly --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 12:35:12 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy#1126
No description provided.