Update how subheading chips are displayed in meeting editor

Refactor the display of subheading chips to correctly render in empty cells and after sections.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 77cfe984-2c65-4152-bb7a-0df28274fe66
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 217126f7-0bc2-492b-9f16-a9bdc206d0a4
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/c3c252e4-c83d-40ca-9fff-99a3ea60701e/77cfe984-2c65-4152-bb7a-0df28274fe66/opt4zwD
Replit-Helium-Checkpoint-Created: true
This commit is contained in:
riyadhafraa
2026-04-30 18:02:58 +00:00
parent d3ce0fe157
commit 40d290fd16
2 changed files with 6 additions and 4 deletions
@@ -3352,7 +3352,8 @@ type AttendeeFlowSharedProps = {
// (rendered after the last item in the group). When set, the ghost is
// rendered inline before the first item whose original index is >= the
// value, so the user sees the input materialize right where they
// clicked "+ شخص هنا" after a subheading.
// clicked the top "+ عنوان فرعي" chip or the after-section
// "+ عنوان فرعي" chip.
pendingInsertAtIndex?: number;
onStartAdd?: (
type: Attendee["attendanceType"],
@@ -110,9 +110,10 @@ async function setAdminPreferredLanguage(lang) {
return rows[0]?.preferred_language;
}
// Toggle the global edit-mode toggle so the inline "+ شخص هنا" chip and
// inline editing affordances render. The toggle lives in the schedule
// toolbar with data-testid="em-edit-mode-toggle".
// Toggle the global edit-mode toggle so the top / after-section
// "+ عنوان فرعي" chips and inline editing affordances render. The
// toggle lives in the schedule toolbar with
// data-testid="em-edit-mode-toggle".
async function ensureEditMode(page) {
const toggle = page.getByTestId("em-edit-mode-toggle");
await expect(toggle).toBeVisible({ timeout: 10_000 });