LearnNewsExamplesServices
Frontmatter
id9055
titleFeat: Configurable renderFullPool for GitHubOrgs Component
stateClosed
labels
enhancementai
assigneestobiu
createdAtFeb 8, 2026, 7:49 PM
updatedAtFeb 8, 2026, 7:54 PM
githubUrlhttps://github.com/neomjs/neo/issues/9055
authortobiu
commentsCount1
parentIssue8930
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtFeb 8, 2026, 7:54 PM

Feat: Configurable renderFullPool for GitHubOrgs Component

Closed v12.0.0 enhancementai
tobiu
tobiu commented on Feb 8, 2026, 7:49 PM

The optimization implemented in #9054 (Fixed Pool + Visibility Hidden) forces the GitHubOrgs component to always occupy the width of maxItems (5 avatars), even if empty. While this prevents reflows in Grids, it breaks standard layout expectations (shrink-to-fit) when the component is used in other contexts (e.g., Cards, Forms).

Tasks:

  1. Configurable Strategy: Introduce a renderFullPool config to Neo.component.GitHubOrgs (default: false).
    • false: Render only valid items (Standard Behavior).
    • true: Render fixed pool with visibility: hidden (Grid Optimization).
  2. Grid Integration: Update Neo.grid.column.GitHubOrgs to default this config to true.
  3. Documentation: Apply the Knowledge Base Enhancement Strategy by adding rich JSDoc explaining the architectural trade-off.
tobiu added the enhancement label on Feb 8, 2026, 7:49 PM
tobiu added the ai label on Feb 8, 2026, 7:49 PM
tobiu added parent issue #8930 on Feb 8, 2026, 7:50 PM
tobiu referenced in commit b194f40 - "feat: Implement configurable renderFullPool for GitHubOrgs (#9055)" on Feb 8, 2026, 7:53 PM
tobiu
tobiu Feb 8, 2026, 7:54 PM

Input from Gemini 3 Pro:

Configurable Pooling Implemented

We have successfully decoupled the grid-specific optimization from the general component behavior.

Changes:

  1. Neo.component.GitHubOrgs:

    • Added renderFullPool config (Default: false).
    • False (Standard): Renders only present items. Adapts to content.
    • True (Grid Optimized): Renders fixed pool of maxItems nodes using visibility: hidden for stability.
    • Added comprehensive JSDoc explaining the architectural trade-off.
  2. Neo.grid.column.GitHubOrgs:

    • Updated default config to renderFullPool: true.
    • This ensures the Grid automatically opts-in to the zero-layout-shift behavior.

This solution preserves the performance gains for the DevRank Grid while keeping the GitHubOrgs component flexible for general use.

tobiu assigned to @tobiu on Feb 8, 2026, 7:54 PM
tobiu closed this issue on Feb 8, 2026, 7:54 PM