Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Keyboard-driven method for reordering rows

オープン
#30 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
typescript

調査の方向性

まず、ドラッグ可能なセレクターと既存の行位置計算を見つけ、次に、マウスまたはドラッグの開始・終了ロジックが行順の変更からどのように分離されているかを確認します。完了条件は、並べ替えコントロールがキーボードでフォーカス可能で、X/Y 座標に依存せず、合意したキーボードショートカットをサポートし、同等の行の並べ替え動作を提供することです。

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

説明

This idea was brought up before:

          It would also be massively useful when trying to provide a keyboard-driven alternative method for reordering rows, for use by the vision-impaired or others with special needs.

Originally posted by @QuixoteOne in https://github.com/DataTables/RowReorder/issues/10#issuecomment-275780532

We want to provide row reordering functionality for our users, but if it doesn't work via the keyboard, we wouldn't be able to provide an equitable experience for our users. It would also open us up to legal concerns.

As far as implementation:

  • The draggable selector needs to be focusable
  • A keyboard shortcut that is already popular for manual sorting (for example, Google Tasks seems to use Ctrl-UpArrow and Ctrl-DownArrow)
  • Optional: For the keyboard, the position calculations shouldn't need to use X/Y coordinates. Thus, it may be good to segment the existing code such that the "where did the mouse/drag start/end" code that calculates the old and new positions is separate from the "change row position" code.

Thank you for considering this request! ❤️

主要言語
TypeScript
スター
23
フォーク
27
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DataTables/RowReorder のほかの issue

DataTables/RowReorder の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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