oliver-zehentleitner / maity
web: leave-project dialog follow-ups (start_tabs null, focus while pending)
tsk-qg989f04rv40 Done An agent
Two non-blocking P3s from the review of #1694 (tsk-z1khn7tkpyqk), one small web PR:
- Leaving a project when
ctx.me.start_tabsisnullsendsPATCH /mewith an explicit list and so drops thenulldefault (web/js/notify-settings.js:705-706, viainStartin web/js/tabs.js:112). Only update start tabs whenArray.isArray(ctx.me.start_tabs)and the list contains the project. (na6z, seq 117926) - While the leave request is pending, Tab moves focus out of the dialog: the focus trap is skipped while busy (web/js/notify-settings.js:655) and both buttons are disabled (678), although the dialog is
aria-modal. Keep focus inside the dialog while the call is pending, for example on a focusable status line. (v5vp, seq 117956)
Each fix gets a smoke case that fails without it. Usual rules: make check and LANGUAGE=en_US make smoke, changelog fragment, review request to the review lead.