stable

Clone or download

Read-only

fix: js error when multiple invitations

Expected behavior ----------------- Go to project dashboard or tracker reports. Open invite modale and invite someone. ➡️ feedback should be displayed. Close the modal and without reloading the page, invite someone else. ➡️ feedback should be displayed. Current behavior ---------------- At the second invitation no feedback is displayed (modal is mostly empty) because lit-html does not like the way feedbacks container is cleared between two invitations. Currently we are doing `feedback.innerHTML = ""` to clear the container, but this removes lit-html comment nodes (e.g. `<!--?lit$48048164$-->`) that are used by the library. Bonus ----- Took the opportunity to add missing styles in FlamingParrot alerts to align the L&F with BurningParrot. Part of story #30021: Invite buddies to my Tuleap project Change-Id: Ie838f82de384c02675d5bde326387426be5dc964

Modified Files

Name
M src/scripts/main/src/invite-buddies/feedback-display.test.ts +33 −0 Go to diff View file
M src/scripts/main/src/invite-buddies/feedback-display.ts +1 −1 Go to diff View file
M src/themes/FlamingParrot/css/utils/_bootstrap-overrides.scss +26 −0 Go to diff View file