Inconsistent "New note" name behavior in web UI
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- frontend
調査の方向性
まず、Web UI でノートを作成して保存する一連の操作を再現し、その後、作成時および保存時にノートのタイトルを処理するコードを追跡します。“New note” として作成されたノートに一貫した名前が付けられ、報告された一連の操作全体で、その後の編集が一貫した命名動作に従うようになれば、修正は完了です。
索引モデルが issue の本文から書いたものです。
説明
This is a very minor bug.
Steps to reproduce
- Ensure no notes are named "New note"
- Create a new note in the web UI (I will call this note A)
- Observe the note is named "New note"
- Write "foo" in the note body
- Click on the check icon to save the note
- Observe the note is renamed to "foo"
- Edit "foo" in the note body to "foobar"
- Click on the check icon to save the note
- Observe the note is renamed to "foobar"
- Create a new note in the web UI (I will call this note B)
- Observe the note is named "New note"
- Write "bar" in the note body
- Create a new note in the web UI (I will call this note C)
- Observe note B is still named "New note"
- Observe note C is named "New note (1)"
- Write "baz" in the note body
- Create a new note in the web UI (I will call this note D)
- Observe note B is still named "New note"
- Observe note C is named "New note (1)"
- Observe note D is named "New note (2)"
- Write "quux" in the note body
- Click on the check icon to save note D
- Observe note D is renamed to "quux"
- Click on note B
- Edit "bar" in the note body to "bar bar"
- Click on the check icon to save note B
- Observe note B is renamed to "bar bar"
- Edit "bar bar" in the note body to "bar bar bar"
- Click on the check icon to save note B
- Observe note B is renamed to "bar bar bar"
- Click on note C
- Write "baz baz" in the note body
- Click on the check icon to save note C
- Observe note C is still named "New note (1)"
- Click on note B
- Edit "bar bar bar" in the note body to "bar bar bar bar"
- Click on the check icon to save note B
- Observe note B is still named "bar bar bar"
- Question my sanity after writing this
Expected behaviour
Consistent
Actual behaviour
Inconsistent
Server
- Notes app version: 4.12.3
- Nextcloud version: 32.0.0.13
- OS: Debian 12.11
- Web server: apache2 2.4.62
- PHP version: 8.2.28
- Database: MariaDB 10.11.11
Nextcloud configuration:
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"nextcloud.example.com"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "32.0.0.13",
"overwrite.cli.url": "https:\/\/nextcloud.example.com",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"dbindex": 0,
"password": "***REMOVED SENSITIVE VALUE***",
"timeout": 1.5
},
"maintenance": false,
"maintenance_window_start": 1,
"theme": "",
"loglevel": 2,
"default_phone_region": "US",
"mail_smtpmode": "smtp",
"mail_smtpsecure": "ssl",
"mail_sendmailmode": "smtp",
"memories.exiftool": "\/var\/www\/nextcloud.example.com\/apps\/memories\/bin-ext\/exiftool-amd64-glibc",
"memories.vod.path": "\/var\/www\/nextcloud.example.com\/apps\/memories\/bin-ext\/go-vod-amd64",
"memories.db.triggers.fcu": true
}
}
Client
Please complete the following information.
- Browser (incl. version): Firefox 142.0 (64-bit)
- OS: Debian forky/sid (using KDE)
- 主要言語
- JavaScript
- スター
- 738
- フォーク
- 162
- 平均マージ
- 2時間 40分
- マージ済み PR(30日)
- 39
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nextcloud/notes のほかの issue
-
bug need to reproduce
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
bug need to reproduce
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
feature request needs discussion
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
nextcloud/notes#1344 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
feature request needs discussion
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
nextcloud/notes の issue をすべて見る
似ている issue
-
Complexity: Small P-Feature: Projects page ready for merge team role: back end/devOps role: front end size: 0.25pt
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 67/100
bellingcat/toolkit#905 ·
-
self-care self-care:docs-build-time-investigator
難易度 2/5 半日 初心者へのやさしさ 76/100
githubnext/gh-aw-cao#14191 ·
メンテナーはふだん 1 日以内に返信
-
effort:low impact:medium RAG status: auto-triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
mastra-ai/mastra#25229 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
sugarlabs/musicblocks#8984 ·
メンテナーはふだん 1 日以内に返信