镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Bug: Homepage is missing available cards/widgets from new frontend system #5325

Open

Description

@christoph-jerolimov

in workspaces/homepage, there is a backstage app with new frontend system. But the custom implementation of the homepage loads only configured cards as available cards, not all new frontend system cards. Can you research that problem.

Activity

  1. christoph-jerolimov commented on Oct 22, 2026

    @christoph-jerolimov
    MemberAuthor

    /fs-triage

  2. fullsend-ai-triage commented on Oct 22, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 10:41 PM UTC · Completed 10:46 PM UTC

    Commit: 7433085 · View workflow run →

    Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $1.26

  3. fullsend-ai-triage commented on Oct 22, 2026

    @fullsend-ai-triage

    Root cause

    applyDefaultWidgetsToNfsWidgets() in src/components/applyDefaultWidgets.ts acts as a strict allowlist: it iterates over the backend's defaultWidgets entries and only keeps NFS widgets whose extension name matches a ref. Any widget attached to page:homepage that isn't in the backend configuration is silently dropped from the result.

    Recommended fix

    After building the ordered result from defaultWidgets, append any remaining input widgets that had no matching defaultWidget entry. This preserves backend-driven ordering and persona filtering for known widgets while still surfacing third-party or newly registered NFS widgets as available cards.

    Proposed test case

    it('includes widgets that have no matching defaultWidgets ref', () => {
      const widgets = [
        widget('quickaccess-card'),
        widget('third-party-widget'),
      ];
    
      const result = applyDefaultWidgetsToNfsWidgets(widgets, [
        { id: 'qa', ref: 'quickaccess-card' },
      ]);
    
      expect(result).toHaveLength(2);
      expect(result.map(getHomepageWidgetExtensionName)).toContain('third-party-widget');
    });

    Labels: Bug in the homepage workspace — matches the repo convention of pairing a type label with a workspace label.


    Next steps:

    • /fs-code — agent creates a PR to implement this issue
    • /fs-code <your instruction> — agent implements with your specific guidance
  4. christoph-jerolimov commented on Oct 22, 2026

    @christoph-jerolimov
    MemberAuthor

    /fs-code just show all NFS widgets under add widgets. No filtering needed. Widgets from the backend should match that and can be ignored if the NFS extension id is missing.

  5. fullsend-ai-coder commented on Oct 22, 2026

    @fullsend-ai-coder
    Contributor

    🤖 Finished Code · ✅ Success · Started 10:50 PM UTC · Completed 11:01 PM UTC

    Commit: 7433085 · View workflow run →

    Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $1.91

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions