Tighten mobile meet room header and bottom toolbar layout.
Deploy Ladill Meet / deploy (push) Successful in 50s

Show participant count without labels on phones, cap the title at 40% width, and keep four bottom-nav icons by moving React into More only after speak access is granted.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-03 15:13:22 +00:00
co-authored by Cursor
parent 9943dc9e44
commit 08a1437b44
3 changed files with 60 additions and 20 deletions
+29 -4
View File
@@ -85,19 +85,44 @@ class ParticipantPresenter
* @param list<array<string, mixed>> $participants
* @param list<string> $presenterRefs
*/
public static function headerCountLabel(array $participants, bool $usesStageLayout, array $presenterRefs = []): string
public static function headerCountNumber(array $participants, bool $usesStageLayout, array $presenterRefs = []): string
{
$joined = array_values(array_filter($participants, fn ($p) => ($p['status'] ?? '') === 'joined'));
if ($usesStageLayout) {
$count = count(array_filter($joined, fn ($p) => self::isSpeakerPerson($p, $presenterRefs)));
} else {
$count = count($joined);
}
return (string) $count;
}
/**
* @param list<array<string, mixed>> $participants
* @param list<string> $presenterRefs
*/
public static function headerCountSuffix(array $participants, bool $usesStageLayout, array $presenterRefs = []): string
{
$joined = array_values(array_filter($participants, fn ($p) => ($p['status'] ?? '') === 'joined'));
if ($usesStageLayout) {
$count = count(array_filter($joined, fn ($p) => self::isSpeakerPerson($p, $presenterRefs)));
return $count === 1 ? '1 speaker' : "{$count} speakers";
return $count === 1 ? ' speaker' : ' speakers';
}
$count = count($joined);
return ' in call';
}
return "{$count} in call";
/**
* @param list<array<string, mixed>> $participants
* @param list<string> $presenterRefs
*/
public static function headerCountLabel(array $participants, bool $usesStageLayout, array $presenterRefs = []): string
{
return self::headerCountNumber($participants, $usesStageLayout, $presenterRefs)
.self::headerCountSuffix($participants, $usesStageLayout, $presenterRefs);
}
/**