0xfurai / 0xfurai/peekaping

Switching tab reset name

オープン 初心者向け
#161 コメント 1 件 リアクション 4 件 担当者 0 名 GitHub で見る
bug good first issue help wanted
主要言語
Go
スター
1.2k
フォーク
69
PR マージ指標
30日以内にマージされた PR はありません

説明

**Describe the bug**
Hello !

Quiet the same as : https://github.com/0xfurai/peekaping/issues/151
But this time it's about switching tab
When you switch your tab (i'm using Firefox) custom field get reseted

I'm trying to add a notification chanel, i need to switch tab to let's say write the "SMTP Host", when i switch tab it goes back to "exemple.com"

**Database**
- sqlite

**To Reproduce**
Steps to reproduce the behavior:

1. Go to Notification channels
2. Add a new one
3. Click on SMTP Host
4. Write "Google.com"
5. Switch to another Tab in your web browser
6. Go back to Peekaping
7. It get reseted to "Exemple.com"
**Expected behavior**
Keep what i wrote ! :)

**Desktop (please complete the following information):**
- OS: Windows 11
- Browser Firefox
- Version 142

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

The issue is in the frontend form handling for notification channels. Look at the JavaScript code that manages the SMTP Host input field, likely in a React/Vue component or vanilla JS file for the notification settings. The bug is that tab switching triggers a reset; investigate browser tab visibility events or form state management. Check for any 'blur' or 'focus' event listeners that might be resetting the value. Reproduce locally by following the steps, then inspect the network and console to see if a re-fetch happens on tab return.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
css, go, html, javascript
領域
frontend, web-dev
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
65/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。