[6.x]: Element index View menu: sort direction buttons only update after the table has loaded
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 64/100
Research direction
Start by inspecting the element index View menu and the sort-direction controls involved in loading new rows. Reproduce the delay with network throttling, then verify that the selected button becomes active immediately when clicked, before the rows finish loading.
Written by the indexing model from the issue text.
Description
What happened?
Steps to reproduce
- Open an element index and open View.
- Press the other sort direction button (asc/desc). Throttling the network (e.g. Slow 4G) makes it easy to see.
Expected behavior
The pressed button shows as active as soon as it's clicked.
Actual behavior
The previous direction stays active until the new rows have loaded. On Slow 4G it took about 3.7 seconds after the request was sent.
Craft CMS version
6.x-dev @ 420552c31b
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 712
- Avg merge
- 12h 40m
- Merged PRs (30d)
- 344
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from craftcms/cms
-
bug repo:cms
Difficulty 1/5 Under an hour Newbie friendliness 78/100
craftcms/cms#20266 · 1 comment ·
Maintainers usually reply within 1 day
-
bug repo:cms
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
craftcms/cms#20248 · 1 comment ·
Maintainers usually reply within 1 day
-
bug repo:cms
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
craftcms/cms#20205 · 1 comment ·
Maintainers usually reply within 1 day
-
[5.x]: Moving an asset with “Replace it” throws TypeError: volumeUid must be of type string, null givenPossibly taken @i-just claimed this 6 days ago. Openbug repo:cms
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
craftcms/cms#20128 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
bug repo:cms
Difficulty 3/5 1-2 days Newbie friendliness 52/100
craftcms/cms#20271 · 1 comment ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
0. Needs triage 35-feedback bug
Difficulty 1/5 Under an hour Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
getgrav/grav-plugin-api#74 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
heroku/heroku-buildpack-php#1024 ·
Maintainers usually reply within 1 day