1
0
Fork 0
mirror of https://github.com/maziggy/bambuddy.git synced 2026-05-09 08:25:54 +02:00

[PR #494] [CLOSED] Make dev mode warning dismissable #1057

Closed
opened 2026-05-07 00:15:45 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/maziggy/bambuddy/pull/494
Author: @Keybored02
Created: 2/22/2026
Status: Closed

Base: 0.2.1b3Head: feature/lan_mode_nag


📝 Commits (1)

  • 4e1440a Make dev mode warning dismissable

📊 Changes

1 file changed (+17 additions, -1 deletions)

View changed files

📝 frontend/src/components/Layout.tsx (+17 -1)

📄 Description

Description

Make dev mode warning dismissible by adding a button. This setting persists sessions restarts. The idea is that if you do not want to enable Dev mode, the warning is just annoying.

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

  • Added dismissedDevModeWarning
  • Copied dismissUpdateBanner to maintain consistency

Testing

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

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

Additional Notes

Can be made to persist only the current session, and get restored after. Might be annoying to do.


🔄 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/494 **Author:** [@Keybored02](https://github.com/Keybored02) **Created:** 2/22/2026 **Status:** ❌ Closed **Base:** `0.2.1b3` ← **Head:** `feature/lan_mode_nag` --- ### 📝 Commits (1) - [`4e1440a`](https://github.com/maziggy/bambuddy/commit/4e1440ac85229e21e6911364270183ad1b8292ed) Make dev mode warning dismissable ### 📊 Changes **1 file changed** (+17 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/Layout.tsx` (+17 -1) </details> ### 📄 Description ## Description Make dev mode warning dismissible by adding a button. This setting persists sessions restarts. The idea is that if you do not want to enable Dev mode, the warning is just annoying. ## Type of Change <!-- Mark the relevant option with an "x" --> - [ ] 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 - Added `dismissedDevModeWarning` - Copied `dismissUpdateBanner` to maintain consistency ## Testing <!-- Describe how you tested your changes --> - [x] I have tested this on my local machine - [x] I have tested with my printer model: H2C ## Checklist - [x] My code follows the project's coding style - [x] I have commented my code where necessary - [ ] I have updated the documentation (if needed) - [x] My changes generate no new warnings - [x] I have tested my changes thoroughly ## Additional Notes Can be made to persist only the current session, and get restored after. Might be annoying to do. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:15:45 +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-maziggy-1#1057
No description provided.