[FND-198] Switch project’s type variant in background - #24559
Conversation
0ccbd53 to
cb018ce
Compare
|
Warning Flaky specs
🤖 Ask Copilot to investigateCopy the prompt below into a new comment on this PR to delegate the investigation to GitHub Copilot. It will look into the flakiness and open a separate pull request with you as reviewer. |
|
Warning Flaky specs
🤖 Ask Copilot to investigateCopy the prompt below into a new comment on this PR to delegate the investigation to GitHub Copilot. It will look into the flakiness and open a separate pull request with you as reviewer. |
cedc6f3 to
ce55a7b
Compare
|
Warning Flaky specs
🤖 Ask Copilot to investigateCopy the prompt below into a new comment on this PR to delegate the investigation to GitHub Copilot. It will look into the flakiness and open a separate pull request with you as reviewer. |
5674cbe to
f583a27
Compare
|
Warning Flaky specs
🤖 Ask Copilot to investigateCopy the prompt below into a new comment on this PR to delegate the investigation to GitHub Copilot. It will look into the flakiness and open a separate pull request with you as reviewer. |
Every switch is enqueued. The request then waits up to a second for it to settle, so a small project reads as a plain page refresh while a slower one leaves a spinner on the type row until it finishes.
f583a27 to
aa30b39
Compare
|
Caution The provided work package version does not match the core version Details:
Please make sure that:
|
|
Warning Flaky specs
🤖 Ask Copilot to investigateCopy the prompt below into a new comment on this PR to delegate the investigation to GitHub Copilot. It will look into the flakiness and open a separate pull request with you as reviewer. |
Ticket
https://community.openproject.org/wp/FND-198
Stacked on #24540 (FND-109) — the base of this PR is that branch, so it needs to merge first. The diff here is the background execution only.
What are you trying to accomplish?
Feedback is in-place state on the type row — a spinner plus "Switching to variant: …", keyed on the project rather than the user, so a colleague who did not start it sees it too.
A job-status dialog was built as the alternative so the two could be compared. The designer chose the row indicator, so the last commit removes the dialog.
Screenshots
What approach did you choose and why?
BACKGROUND_THRESHOLD); the debounce replaces it, since process time per WP can’t be steadily guessed.Merge checklist