Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(channels): restore all channels sidebar section (#9611)
dev-rb01555dea6ceb
diff --git a/apps/web/AGENTS.md b/apps/web/AGENTS.mdindex 0b1a0ff155..5232622fdf 100644--- a/apps/web/AGENTS.md+++ b/apps/web/AGENTS.md@@ -665,9 +665,9 @@ resolved session ID; keep the existing `AgentSessionProvider` subscription tofor a notification (Home, Inbox) wait for it to choose a target.- Gate the Chat redesign with `enable-chat-sidebar-sections`; wait for its result, restore the tabbed rail when off, and keep mobile unchanged.Keep the original rail renderer and label dialogs in `components/rail/`; build the redesigned rail and section dialogs in `components/rail/next/`, with shared controller, context, and row primitives outside `next/`.- Default desktop Chat to Favorites, Direct messages, the team's channels, then custom sections; preserve personal section reordering and omit All channels. Keep joined public/private conversations outside these sections available through sidebar search.+ Default desktop Chat to Favorites, Direct messages, the team's channels, custom sections, then All channels; preserve personal section reordering. Keep every joined public/private channel in All channels regardless of custom-section assignments.Keep resize and reorder grips keyboard-accessible; reveal bare reorder grips only on header hover or keyboard focus, keep them fixed in the left gutter without shifting section names, and include them within the drag highlight. Allow dragging from the whole heading while preserving normal collapse clicks and excluding action buttons. Preserve personal section heights/order, edge-scroll the sidebar while resizing and compensate resize drags for scrolling, disable stack scroll anchoring only during resizing, and route list navigation through the sectioned renderer's scroll handle. Scroll keyboard targets immediately without animation, keeping two rows of context on either side, clamped to the viewport.- Cap section heights at measured list content and available pane space; keep each list independently scrollable, hide resize grips for two or fewer items, and default Favorites and DMs to four rows. Use TanStack Virtual for the redesigned section stack, channel rows, and search results; snapshot its index-reconciled rows before keying by identity, and retain focused rows and drag sources.+ Cap section heights at measured list content and available pane space; keep each list independently scrollable, hide resize grips for two or fewer items, and default Favorites and DMs to four rows. Let All channels use the sidebar scroll area at full content height while last and not manually resized; cap it when another section follows without discarding its saved height. Use TanStack Virtual for the redesigned section stack, channel rows, and search results; snapshot its index-reconciled rows before keying by identity, and retain focused rows and drag sources.Mobile retains the recent feed. Keep New channel and New direct message on their separate existing creation flows, independent of the sidebar flag; size the sidebar's New dropdown to its trigger width.Use `--sidebar-gutter` for the outer section, DM, and search containers; shared headings and rows provide their own item padding.Indent section rows by 8px; style empty states like saved views with a padded, bordered surface and secondary actions, without the extra row indentation. Keep unsectioned search results unindented.diff --git a/apps/web/src/features/channels-view/components/rail/ChannelFavoriteRows.test.tsx b/apps/web/src/features/channels-view/components/rail/ChannelFavoriteRows.test.tsxindex b81a70cdb5..b8379a1341 100644--- a/apps/web/src/features/channels-view/components/rail/ChannelFavoriteRows.test.tsx+++ b/apps/web/src/features/channels-view/components/rail/ChannelFavoriteRows.test.tsx@@ -584,16 +584,16 @@ describe('section reordering', () => {});describe('resizable chat sections', () => {- it('caps every section to its available height while preserving manual heights', () => {- const [maximum, setMaximum] = createSignal(400);+ it('grows the last All channels list to its content while preserving manual heights', () => {+ const [maximum, setMaximum] = createSignal(Number.POSITIVE_INFINITY);const [savedHeight, setSavedHeight] = createSignal<number>();rail.sectionPreferences = () => ({ sort: 'manual', height: savedHeight() });measurements.contentHeight = () => 1360;let viewport!: HTMLDivElement;render(() => (<ResizableRailSection- section="team_channels"- label="Team channels"+ section="channels"+ label="All channels"openmaxHeight={maximum()}itemCount={40}@@ -607,22 +607,23 @@ describe('resizable chat sections', () => {</ResizableRailSection>));- expect(viewport.style.height).toBe('400px');+ expect(viewport.style.height).toBe('1360px');setMaximum(252);expect(viewport.style.height).toBe('252px');setSavedHeight(180);+ setMaximum(Number.POSITIVE_INFINITY);expect(viewport.style.height).toBe('180px');- setMaximum(400);+ setMaximum(252);expect(viewport.style.height).toBe('180px');+ setMaximum(Number.POSITIVE_INFINITY);setSavedHeight(1100);- expect(viewport.style.height).toBe('400px');+ expect(viewport.style.height).toBe('1100px');expect(clampChannelSectionHeight(1100)).toBe(1100);- setSavedHeight(180);fireEvent.keyDown(screen.getByRole('separator'), { key: 'ArrowDown' });- expect(rail.setSectionPreferences).toHaveBeenCalledWith('team_channels', {- height: 200,+ expect(rail.setSectionPreferences).toHaveBeenCalledWith('channels', {+ height: 1120,});});diff --git a/apps/web/src/features/channels-view/components/rail/ChannelsRail.test.tsx b/apps/web/src/features/channels-view/components/rail/ChannelsRail.test.tsxindex 038f75d7f9..26dee96ca2 100644--- a/apps/web/src/features/channels-view/components/rail/ChannelsRail.test.tsx+++ b/apps/web/src/features/channels-view/components/rail/ChannelsRail.test.tsx@@ -502,97 +502,102 @@ it('delegates keyboard scrolling to the sectioned renderer instead of global indexpect(mocks.scrollBrowse).toHaveBeenCalledExactlyOnceWith(0, undefined);});-it('keeps a pressed channel row attached through a live data refresh and activates once', async () => {- mocks.realRenderer = true;- vi.spyOn(HTMLElement.prototype, 'offsetParent', 'get').mockImplementation(- function (this: HTMLElement) {- return this.parentElement;- }- );- vi.spyOn(HTMLElement.prototype, 'offsetHeight', 'get').mockImplementation(- function (this: HTMLElement) {- return this.hasAttribute('data-index') ? 34 : 200;- }- );- vi.spyOn(HTMLElement.prototype, 'offsetWidth', 'get').mockReturnValue(300);- const observers: Array<{- callback: ResizeObserverCallback;- targets: Element[];- }> = [];- vi.stubGlobal(- 'ResizeObserver',- class {- targets: Element[] = [];- constructor(readonly callback: ResizeObserverCallback) {- observers.push(this);+it.each(['team_channels', 'channels'] as const)(+ 'keeps a pressed %s row attached through a live data refresh and activates once',+ async (scope) => {+ mocks.realRenderer = true;+ vi.spyOn(HTMLElement.prototype, 'offsetParent', 'get').mockImplementation(+ function (this: HTMLElement) {+ return this.parentElement;}- observe(target: Element) {- this.targets.push(target);+ );+ vi.spyOn(HTMLElement.prototype, 'offsetHeight', 'get').mockImplementation(+ function (this: HTMLElement) {+ return this.hasAttribute('data-index') ? 34 : 200;}- unobserve(target: Element) {- this.targets = this.targets.filter((item) => item !== target);+ );+ vi.spyOn(HTMLElement.prototype, 'offsetWidth', 'get').mockReturnValue(300);+ const observers: Array<{+ callback: ResizeObserverCallback;+ targets: Element[];+ }> = [];+ vi.stubGlobal(+ 'ResizeObserver',+ class {+ targets: Element[] = [];+ constructor(readonly callback: ResizeObserverCallback) {+ observers.push(this);+ }+ observe(target: Element) {+ this.targets.push(target);+ }+ unobserve(target: Element) {+ this.targets = this.targets.filter((item) => item !== target);+ }+ disconnect() {+ this.targets = [];+ }}- disconnect() {- this.targets = [];+ );+ mocks.selected = undefined;+ const [channels, setChannels] = createSignal([channel]);+ const liveSources: ChannelsSources = {+ ...sources,+ team_channels: { ...source, items: () => [] },+ channels: { ...source, items: () => [] },+ [scope]: { ...source, items: channels },+ direct_messages: { ...source, items: () => [] },+ };+ const { container } = render(() => (+ <ChannelsRail+ sources={liveSources}+ searchQuery=""+ onSearchQueryChange={() => {}}+ searchOpen={false}+ onSearchOpenChange={() => {}}+ />+ ));+ for (let pass = 0; pass < 3; pass++) {+ await Promise.resolve();+ for (const observer of observers) {+ if (observer.targets.length === 0) continue;+ observer.callback(+ observer.targets.map((target) => ({+ target,+ contentRect: new DOMRect(+ 0,+ 0,+ 300,+ target.hasAttribute('data-index') ? 34 : 200+ ),+ borderBoxSize: [+ {+ inlineSize: 300,+ blockSize: target.hasAttribute('data-index') ? 34 : 200,+ },+ ],+ contentBoxSize: [],+ devicePixelContentBoxSize: [],+ })),+ observer as unknown as ResizeObserver+ );}}- );- mocks.selected = undefined;- const [channels, setChannels] = createSignal([channel]);- const liveSources: ChannelsSources = {- ...sources,- team_channels: { ...source, items: channels },- direct_messages: { ...source, items: () => [] },- };- const { container } = render(() => (- <ChannelsRail- sources={liveSources}- searchQuery=""- onSearchQueryChange={() => {}}- searchOpen={false}- onSearchOpenChange={() => {}}- />- ));- for (let pass = 0; pass < 3; pass++) {- await Promise.resolve();- for (const observer of observers) {- if (observer.targets.length === 0) continue;- observer.callback(- observer.targets.map((target) => ({- target,- contentRect: new DOMRect(- 0,- 0,- 300,- target.hasAttribute('data-index') ? 34 : 200- ),- borderBoxSize: [- {- inlineSize: 300,- blockSize: target.hasAttribute('data-index') ? 34 : 200,- },- ],- contentBoxSize: [],- devicePixelContentBoxSize: [],- })),- observer as unknown as ResizeObserver- );- }+ const row = screen.getByRole('button', { name: 'One' });+ fireEvent.pointerDown(row, { pointerType: 'mouse', button: 0 });+ setChannels([{ ...channel, name: 'One updated' }]);++ expect(screen.getByRole('button', { name: 'One updated' })).toBe(row);+ expect(container.contains(row)).toBe(true);+ fireEvent.pointerUp(row, { pointerType: 'mouse', button: 0 });+ fireEvent.click(row);+ expect(mocks.select).toHaveBeenCalledExactlyOnceWith({+ type: 'channel',+ id: 'one',+ target: undefined,+ });}- const row = screen.getByRole('button', { name: 'One' });- fireEvent.pointerDown(row, { pointerType: 'mouse', button: 0 });- setChannels([{ ...channel, name: 'One updated' }]);-- expect(screen.getByRole('button', { name: 'One updated' })).toBe(row);- expect(container.contains(row)).toBe(true);- fireEvent.pointerUp(row, { pointerType: 'mouse', button: 0 });- fireEvent.click(row);- expect(mocks.select).toHaveBeenCalledExactlyOnceWith({- type: 'channel',- id: 'one',- target: undefined,- });-});+);describe('section heading navigation', () => {it.each([diff --git a/apps/web/src/features/channels-view/components/rail/build-channel-rail-rows.test.ts b/apps/web/src/features/channels-view/components/rail/build-channel-rail-rows.test.tsindex 5494fb16a2..2ff6995e59 100644--- a/apps/web/src/features/channels-view/components/rail/build-channel-rail-rows.test.ts+++ b/apps/web/src/features/channels-view/components/rail/build-channel-rail-rows.test.ts@@ -571,7 +571,7 @@ it.each([true, false])();it.each([true, false])(- 'omits All channels while keeping custom public and private channel sections open=%s',+ 'keeps assigned public and private channels in All channels when custom sections are open=%s',(open) => {const publicChannel = channel('public', 'Public', 'public');const privateChannel = channel('private', 'Private', 'private');@@ -616,10 +616,16 @@ it.each([true, false])('team_channels','label:manual','label:smart',+ 'channels',]);expect(grouped.get('team_channels')?.rows.map((row) => row.id)).toEqual(['status:team_channels',]);+ expect(grouped.get('channels')?.rows.map((row) => row.id)).toEqual([+ 'channel:public',+ 'channel:private',+ 'status:channels',+ ]);expect(grouped.get('label:manual')?.rows.map((row) => row.id)).toEqual(open ? ['channel:public:label:manual'] : []);@@ -666,15 +672,26 @@ it('keeps section membership and navigation together after reordering with stale'team_channels','favorites','direct_messages',+ 'channels',]);expect(grouped.get('label:first')?.rows.map((row) => row.id)).toEqual(['channel:acme:label:first','reference-status:label:first',]);+ expect(grouped.get('channels')?.rows.map((row) => row.id)).toEqual([+ 'channel:private',+ 'status:channels',+ ]);expect(new Set(rows.map((row) => row.id)).size).toBe(rows.length);expect([...groupChannelRailSections(- orderChannelRailSections(rows, ['favorites', 'direct_messages'])+ orderChannelRailSections(rows, ['favorites', 'channels'])).keys(),- ]).toEqual(['favorites', 'direct_messages', 'label:first', 'team_channels']);+ ]).toEqual([+ 'favorites',+ 'label:first',+ 'team_channels',+ 'direct_messages',+ 'channels',+ ]);});diff --git a/apps/web/src/features/channels-view/components/rail/next/ExpandedChannelsRail.tsx b/apps/web/src/features/channels-view/components/rail/next/ExpandedChannelsRail.tsxindex 79021b1802..a9779d8060 100644--- a/apps/web/src/features/channels-view/components/rail/next/ExpandedChannelsRail.tsx+++ b/apps/web/src/features/channels-view/components/rail/next/ExpandedChannelsRail.tsx@@ -170,6 +170,10 @@ function SectionHeading(props: { group: 'favorites' | ChannelsGroup }) {}}+ if (props.group === 'channels') {+ return t('channelSections.allChannels');+ }+return t(`channelSections.${props.group}`);};@@ -310,6 +314,7 @@ type SectionHandle = {root?: HTMLDivElement;virtualizer?: ChannelRailVirtualizerHandle;viewport?: HTMLDivElement;+ outerScroll?: boolean;};function BrowseSection(props: {@@ -317,6 +322,8 @@ function BrowseSection(props: {section: ChannelRailSectionRows;maxHeight: number;outerScrollRoot: HTMLDivElement | undefined;+ layoutVersion: number;+ sectionOrder: readonly ChannelSectionKey[];scrollVersion: number;savedScrollTop: number;onReady: () => void;@@ -331,6 +338,14 @@ function BrowseSection(props: {const [virtualizer, setVirtualizer] =createSignal<ChannelRailVirtualizerHandle>();const size = createElementSize(scrollRoot);+ const [resizing, setResizing] = createSignal(false);+ const [startMargin, setStartMargin] = createSignal(0);+ const outerScroll = () =>+ props.maxHeight === Number.POSITIVE_INFINITY &&+ rail.sectionPreferences(props.sectionKey).height === undefined &&+ !resizing();+ const rowsScrollRoot = () =>+ outerScroll() ? props.outerScrollRoot : scrollRoot();const droppable = createDroppable(`${props.sectionReorder.scope}:${props.sectionKey}`,{@@ -343,10 +358,41 @@ function BrowseSection(props: {onCleanup(props.register(props.sectionKey, handle));onMount(() => {const viewport = scrollRoot();- if (viewport) viewport.scrollTop = props.savedScrollTop;+ if (viewport && !outerScroll()) viewport.scrollTop = props.savedScrollTop;props.onReady();});+ createEffect(+ on(+ [+ scrollRoot,+ outerScroll,+ () => props.layoutVersion,+ () => props.sectionOrder,+ () => size.height,+ ],+ () => {+ if (!outerScroll()) return;++ const frame = requestAnimationFrame(() => {+ let element: HTMLElement | undefined = scrollRoot();+ let offset = 0;++ while (element && element !== props.outerScrollRoot) {+ offset += element.offsetTop;+ element =+ element.offsetParent instanceof HTMLElement+ ? element.offsetParent+ : undefined;+ }++ setStartMargin(offset);+ });+ onCleanup(() => cancelAnimationFrame(frame));+ }+ )+ );+// Stable row IDs preserve in-flight pointer gestures during live updates.const rowsById = createMemo(() => new Map(props.section.rows.map((row) => [row.id, row]))@@ -371,6 +417,11 @@ function BrowseSection(props: {const label = () => {const row = heading();++ if (row.kind === 'section' && row.group === 'channels') {+ return t('channelSections.allChannels');+ }+return row.kind === 'label'? row.label.name: t(`channelSections.${row.group}`);@@ -466,6 +517,7 @@ function BrowseSection(props: {dragging={props.sectionReorder.isDragging(props.sectionKey)}outerScrollRoot={props.outerScrollRoot}itemCount={itemCount()}+ onResizingChange={setResizing}rootRef={(element) => {handle.root = element;droppable.ref(element);@@ -508,11 +560,13 @@ function BrowseSection(props: {<ChannelRailVirtualizerref={(current) => {handle.virtualizer = current;+ handle.outerScroll = outerScroll();setVirtualizer(current);if (current) props.onReady();}}keys={rowIds()}- scrollRoot={scrollRoot()}+ scrollRoot={rowsScrollRoot()}+ scrollMargin={outerScroll() ? startMargin() : 0}scrollPadding={CHANNEL_SECTION_ROW_HEIGHT * 2}estimateSize={CHANNEL_SECTION_ROW_HEIGHT}keepMounted={keepRows()}@@ -551,6 +605,7 @@ function BrowseSection(props: {function ExpandedBrowse() {const rail = useChannelsRail();const [scrollRoot, setScrollRoot] = createSignal<HTMLDivElement>();+ const [stackContent, setStackContent] = createSignal<HTMLDivElement>();const [scrollVersion, setScrollVersion] = createSignal(0);const [handlesVersion, setHandlesVersion] = createSignal(0);const [gestureSection, setGestureSection] = createSignal<ChannelSectionKey>();@@ -562,6 +617,7 @@ function ExpandedBrowse() {}>();const userId = useUserId();const scrollSize = createElementSize(scrollRoot);+ const stackSize = createElementSize(stackContent);const scrollOffsets = new Map<ChannelSectionKey, number>();const sections = createMemo(() =>groupChannelRailSections(rail.list.items.all())@@ -575,11 +631,22 @@ function ExpandedBrowse() {}return lookup;});- const maximumHeight = () =>- Math.min(+ const maximumHeight = (key: ChannelSectionKey) => {+ const paneHeight = Math.min(CHANNEL_SECTION_MAX_HEIGHT,Math.max(CHANNEL_SECTION_MIN_HEIGHT, (scrollSize.height ?? 300) - 48));++ if (key !== 'channels') {+ return paneHeight;+ }++ if (keys().at(-1) === key) {+ return Number.POSITIVE_INFINITY;+ }++ return Math.max(paneHeight, rail.sectionPreferences(key).height ?? 0);+ };const handles = new Map<ChannelSectionKey, SectionHandle>();const motion = createLayoutAnimation({viewport: scrollRoot,@@ -691,7 +758,7 @@ function ExpandedBrowse() {handles.set(key, handle);return () => {if (handles.get(key) === handle) {- if (handle.viewport) {+ if (handle.viewport && !handle.outerScroll) {scrollOffsets.set(key, handle.viewport.scrollTop);}handles.delete(key);@@ -742,7 +809,7 @@ function ExpandedBrowse() {const target = document.getElementById(domIdForRow(rail.railId, request.rowId));- if (container && target) {+ if (container && target && (!handle.outerScroll || currentIndex < 0)) {const nextOffset =currentIndex >= 0? handle.virtualizer?.getScrollOffsetForIndex(@@ -777,7 +844,7 @@ function ExpandedBrowse() {class="scrollbar-hidden relative min-h-0 flex-1 overflow-y-auto px-(--sidebar-gutter) [&:has([data-resizing])]:[overflow-anchor:none]"on:scroll={{ capture: true, handleEvent: updateDropTarget }}>- <div>+ <div ref={setStackContent}><ChannelRailVirtualizerscrollRoot={scrollRoot()}keys={keys()}@@ -791,8 +858,10 @@ function ExpandedBrowse() {<BrowseSectionsectionKey={key}section={section()}- maxHeight={maximumHeight()}+ maxHeight={maximumHeight(key)}outerScrollRoot={scrollRoot()}+ layoutVersion={stackSize.height ?? 0}+ sectionOrder={keys()}scrollVersion={scrollVersion()}savedScrollTop={scrollOffsets.get(key) ?? 0}onReady={ready}diff --git a/apps/web/src/features/channels-view/components/rail/next/build-channel-rail-rows.ts b/apps/web/src/features/channels-view/components/rail/next/build-channel-rail-rows.tsindex de290b703f..e07f8007b8 100644--- a/apps/web/src/features/channels-view/components/rail/next/build-channel-rail-rows.ts+++ b/apps/web/src/features/channels-view/components/rail/next/build-channel-rail-rows.ts@@ -272,29 +272,31 @@ export function buildChannelRailRows(});}- rows.push({- kind: 'section',- id: 'section:team_channels',- group: 'team_channels',- });+ for (const group of ['team_channels', 'channels'] as const) {+ const channels = items[group];++ if (group === 'channels' && channels.length === 0) {+ continue;+ }++ rows.push({ kind: 'section', id: `section:${group}`, group });++ if (!expandedGroups[group]) {+ continue;+ }- if (expandedGroups.team_channels) {- for (const channel of items.team_channels) {+ for (const channel of channels) {rows.push({kind: 'conversation',id: rowKeyForChannel(channel.id),- group: 'team_channels',- scope: 'team_channels',+ group,+ scope: group,localIndex: 0,channel,});}- rows.push({- kind: 'status',- id: 'status:team_channels',- group: 'team_channels',- });+ rows.push({ kind: 'status', id: `status:${group}`, group });}let previousLabelId: string | undefined;@@ -369,15 +371,22 @@ export function groupChannelRailSections(rows: readonly ChannelRailRow[]) {return sections;}-/** Keep saved sections in order and append new sections in source order. */+/** Keep saved sections in order and append new sections before All channels. */export function orderChannelRailSections(rows: readonly ChannelRailRow[],order: readonly ChannelSectionKey[]): ChannelRailRow[] {const sections = groupChannelRailSections(rows);const keys = [...new Set(order)].filter((key) => sections.has(key));- const missing = [...sections.keys()].filter((key) => !keys.includes(key));- keys.push(...missing);+ const missing = [...sections.keys()].filter(+ (key) => key !== 'channels' && !keys.includes(key)+ );+ const insertion = keys.at(-1) === 'channels' ? keys.length - 1 : keys.length;+ keys.splice(insertion, 0, ...missing);++ if (sections.has('channels') && !keys.includes('channels')) {+ keys.push('channels');+ }return keys.flatMap((key) => {const section = sections.get(key);diff --git a/docs/agent-guide/channels.md b/docs/agent-guide/channels.mdindex d13a662c36..d04cd64c1a 100644--- a/docs/agent-guide/channels.md+++ b/docs/agent-guide/channels.md@@ -1032,10 +1032,10 @@ between Threads, All, and Recent preserves an already-open navigation overlay.With the flag on, desktop Chat has one conversation sidebar, without All, Recent,or Threads view tabs. The default order is Favorites, Direct messages, the-team's channels, then custom sections. There is no All channels section; search-still finds joined public/private conversations outside these sections. The team-heading is **[Team name] channels**, with **Team channels** as the fallback while-its name is unavailable. The team section always shows joined team channels,+team's channels, custom sections, then **All channels**. All channels lists joined+public and private channels, including those assigned to manual or smart custom+sections. The team heading is **[Team name] channels**, with **Team channels** as+the fallback while its name is unavailable. The team section always shows joined team channels,including channels assigned to manual or smart custom sections. Each customsection is a top-level heading, independent of the Team channels disclosure. Empty sectionsuse padded, bordered cards like saved views, with a subtle background and secondary@@ -1067,8 +1067,11 @@ Keyboard navigation scrolls immediately, without animation, only when thehighlighted row enters the viewport's two-row context margin, leaving neighboringrows visible above and below. The margin shrinks in short sections.Section jumps also reveal the heading with surrounding context.-Every section scrolls independently. Lists with more than two items have a resize-grip; drag it to choose a height between two rows (68px) and the end of the list,+Sections normally scroll independently. When All channels is last and has no+manually saved height, it expands to its full content height and uses the sidebar's+scroll area. Moving another section below it restores the usual height cap,+without discarding a saved manual height. Lists with more than two items have a+resize grip; drag it to choose a height between two rows (68px) and the end of the list,capped by the section's maximum. Shorter lists fit their content and have noresize grip. Favorites and Direct messages default to four visible rows;other sections default to their maximum height within the pane. Focus the grip