mirror of
https://github.com/hansjone/dsh-ops-cron.git
synced 2026-10-08 23:20:45 +08:00
Keep the job list mounted across sidebar collapse so it does not flash.
Expanding used to replay a fade-in and sometimes remount CronApp onto an empty state before /jobs returned. Reattach the existing root and skip setState when the snapshot has not changed.
This commit is contained in:
parent
30e37b5e89
commit
4447404361
2 changed files with 43 additions and 22 deletions
|
|
@ -61,6 +61,9 @@ test('installable bundle declares host apply, client half, unique id, and no @de
|
|||
assert.match(client, /centerCol/)
|
||||
assert.match(client, /data-dsh-ct-host/)
|
||||
assert.match(client, /_collapsed"\]\[data-dsh-ct-mode=on\] \.dsh-ct-region/)
|
||||
assert.match(client, /listRoot\.parentElement !== region\) region\.appendChild\(listRoot\)/)
|
||||
assert.match(client, /jobStamp/)
|
||||
assert.doesNotMatch(client, /\[data-dsh-ct-mode=on\] \.dsh-ct-region\{display:flex !important;animation:/)
|
||||
assert.match(client, /visibility:hidden/)
|
||||
assert.match(client, /createPortal\(editor, paneHost\)/)
|
||||
assert.match(client, /sidebarCollapsed/)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue