Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change list of semantic descriptors to sortable and filterable tables #182

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

koriym
Copy link
Member

@koriym koriym commented Aug 14, 2023

Change the list of semantic descriptors to the following table.

ページが読み込まれると、テーブルの行はtypeのルールに基づいてソートされます。ソートの順序は「semantic」,「safe」,「unsafe」,「idempotent」となります。同じtype値を持つ行の中では、idの文字列に基づいて二次ソートされます。
typeの列の特定の値(例:semanticやsafe)がクリックされると、該当するtypeの行のみが表示されます。
<th>type</th>ヘッダーがクリックされると、全ての行が再表示されます。
<th>id</th>ヘッダーがクリックされると、行はidの文字列に基づいてソートされます。
  1. Behavior on page load:.
  • Table rows are sorted based on the type column. The sort order is "semantic", "safe", "unsafe", and "idempotent".
  • If the values of type are the same, sorting is done by the string in the id column.
  1. Click on a value in the type column
  • If you click on a specific type value (e.g., "semantic"), the table will show only rows matching that type value.
  1. Click on the header <th>type</th>
  • All rows of the table will be displayed, returning to the sort order based on the initial type column.
  1. Click on the header <th>id</th>
  • The rows of the table are sorted alphabetically based on the string in the id column.
sd.table.mov

@codecov
Copy link

codecov bot commented Aug 14, 2023

Codecov Report

Merging #182 (c3f3b70) into master (bbceb80) will not change coverage.
Report is 1 commits behind head on master.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##              master      #182   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
+ Complexity       333       332    -1     
===========================================
  Files             32        32           
  Lines            927       883   -44     
===========================================
- Hits             927       883   -44     
Files Changed Coverage Δ
src/MdToHtml.php 100.00% <ø> (ø)
src/TransDescriptor.php 100.00% <ø> (ø)
src/IndexPage.php 100.00% <100.00%> (ø)

... and 23 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant