[Feature] Keep sorting order after changing row information
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- frontend
調査の方向性
まず、issue で言及されている getSortedRowModel のエントリーポイントを読み、編集された行をどのように識別して配置できるかを追跡します。変更された行に対する table パラメーターとソート動作を定義し、変更された行が指定されていない場合は現在の動作を維持します。完了条件は、例で編集された行が元の位置に維持され、変更されていない行が通常どおりソートされることです。
索引モデルが issue の本文から書いたものです。
説明
I would like to discuss a new feature to keep the table with the same sorting data on screen after the user has changed the visible row information.
As it is, if you sort the column "numbers" as ASC:
| numbers |
|---|
| 1 |
| 2 |
| 6 |
| 10 |
and then change the value "2" to "8", for example, the table will refresh like this:
| numbers |
|---|
| 1 |
| 6 |
| 8 |
| 10 |
But, what I want is to keep it like it were with the new value:
| numbers |
|---|
| 1 |
| 8 |
| 6 |
| 10 |
A possible solution would be to implement a new parameter into the table to store the changed rows and a new function in getSortedRowModel where, before you return the sortedData, you would get these rows and place them in their original position.
The user would need to provide the table with the changed rows in order to use the feature, otherwise it would behave as usual.
- 主要言語
- TypeScript
- スター
- 28.6k
- フォーク
- 3.6k
- 平均マージ
- 5時間 55分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TanStack/table のほかの issue
-
Median aggregation overflows for large finite middle values対応中かも @EnesKartal が 12 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
TanStack/table#6654 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Column resize does not end if mouseup is missed (screenshot, switching tabs)対応中かも @lx3133584 が 13 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
svelte-table: controlled expanded and pagination state resets straight after every change対応中かも @NickSpag が 28 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
TanStack/table#6640 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
TanStack/table#6601 · コメント 5 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Cast required to access custom options when defining a custom plugin/feature対応中かも @sorena-paydar が 59 日前に担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
inference/go type/feature
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
anomalyco/opencode#65148 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
truapi-release
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
paritytech/product-sdk#529 ·
メンテナーはふだん 1 日以内に返信
-
Add: Mansudae TVオープンapproved check:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
[Perf] Canvas layer composition is quadratic: splitRenderLayers re-copies the node array per nodeオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
devlikeapro/waha#2369 ·
メンテナーはふだん 5 日以内に返信