CSV export leaves trailing commas in tags and assigned-user fields
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 88/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript
- 領域
- frontend
調査の方向性
src/services/BoardApi.js の203~220行付近で、CSVのタグ値と割り当てユーザー値がシリアライズされている箇所から始めます。複数のタグまたは割り当てユーザーを含むカードでエクスポートを再現し、各フィールドに値がある場合、末尾にカンマを付けず、エントリが ", " で区切られていることを確認します。リポジトリに関連するCSVエクスポートのテストがある場合は、両方のフィールドのカバレッジを追加または更新します。
索引モデルが issue の本文から書いたものです。
説明
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Describe the bug
CSV export builds tag and assigned-user values by appending ", " after every entry. It then calls slice(0, -1), which removes only the final space and leaves the final comma:
https://github.com/nextcloud/deck/blob/main/src/services/BoardApi.js#L203-L220
For example, labels Backend and Urgent are serialized as:
Backend, Urgent,
instead of:
Backend, Urgent
The same logic is used for assigned users.
This was found by reviewing the CSV serialization code on the current main branch.
To Reproduce
- Create a card with one or more tags or assigned users.
- Export the board as CSV.
- Open the exported file.
- Inspect the Tags and Assigned users columns for that card.
- Observe the trailing comma in each non-empty multi-value field.
Expected behavior
Tags and assigned users should be separated with , without a trailing separator.
Screenshots
Not applicable. Example output:
Actual: Backend, Urgent,
Expected: Backend, Urgent
Client details:
- OS: Not environment-specific
- Browser: Not environment-specific
- Version: Current
mainbranch - Device: Desktop
Server details
Not environment-specific; the defect is in client-side CSV serialization.
Logs
No error is logged. The generated CSV contains the incorrectly formatted values.
Suggested fix
Build the values using map(...).join(', ') rather than manually appending and trimming separators. This would also make the intended formatting explicit.
Related issue
#8041 discusses missing cards and metadata in board exports. This report is limited to incorrect formatting of tag and assigned-user values that are already included in CSV export.
- 主要言語
- JavaScript
- スター
- 1.4k
- フォーク
- 358
- 平均マージ
- 2日 18時間
- マージ済み PR(30日)
- 83
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nextcloud/deck のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
Board clone API failure is treated as a successful board response対応中かも @Kumar-s75 が 38 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nextcloud/deck#8334 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
1. to develop bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nextcloud/deck#8146 · コメント 2 件 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Date picker should automatically open popup対応中かも @theoholl が 46 日前に担当しました。 オープン1. to develop enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
nextcloud/deck#8110 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
area:plugins enhancement platform:vscode
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
anthropics/claude-code#103166 ·
メンテナーはふだん 1 日以内に返信
-
Add: Kids Zone Logoオープンcheck:failed logos:add
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
-
[workshop-sim] Improve: Add verifiable checkpoint and bridge to Step 5 (What Are Agentic Workflows?)オープンfeedback simulation workshop
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
githubnext/gh-aw-workshop#4715 ·
メンテナーはふだん 1 日以内に返信
-
getComputedStyle ignores a rule whose selector list contains a pseudo-element (regression in 30.x)対応中かも @chiragjangiir が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
external-plugin external-plugin-canvas needs-review:MEDIUM ready-for-review
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
github/awesome-copilot#5153 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信