Skip to content

[Bug] "More PR Submission Details" Button on Community Page is a Dead Link #597

Description

@Pranav-IIITM

Description

On the /community page, the "More PR Submission Details" button (located under the "If you find a new issue" section) appears interactive and has CSS hover effects, but clicking it does absolutely nothing.

Image

Root Cause

In src/pages/community.tsx (line 190), the <Button> component is missing the required path prop:

// Current Broken Implementation
<Button as="link" outline={true} text={submittingIssues[2].button.text} />

Because the path prop is omitted, the underlying <a> tag evaluates to <a href={undefined}>. Browsers treat an anchor tag without a destination as a placeholder — the CSS hover animations still trigger, but the click event is swallowed and nothing happens.

Proposed Solution

The data object submittingIssues[2].button already contains the correct intended URL (https://github.com/containers/podman/blob/main/CONTRIBUTING.md#submitting-pull-requests).

The fix is a simple one-line change to pass the path prop into the Button component:

- <Button as="link" outline={true} text={submittingIssues[2].button.text} />
+ <Button as="link" outline={true} text={submittingIssues[2].button.text} path={submittingIssues[2].button.path} />

Additional Context

This is a straightforward fix I'll open a quick PR to fix this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions