Skip to content

[FEATURE]: automatically sort sponsors by sponsorship tier priority #11

@madhavansingh

Description

@madhavansingh

Feature and its Use Cases

Feature Description

Currently, sponsors are displayed in the same order they are passed through the props. This can lead to cases where lower-tier sponsors appear before higher-tier sponsors, which reduces the visibility and importance of premium sponsors.

To improve the sponsorship hierarchy and maintain consistency, the component should automatically sort sponsors based on their sponsorship tier before rendering.

Proposed Behavior

Sponsors should be displayed in the following priority order:

Platinum → Gold → Silver → Bronze

This ensures that higher-tier sponsors receive the appropriate visibility and prominence in the UI.

Use Cases

• Organizations displaying sponsors want premium sponsors (Platinum/Gold) to appear first.

• Developers integrating this component should not need to manually sort sponsor arrays before passing them as props.

• Maintains a consistent and professional sponsorship layout across different implementations.

Proposed Implementation

A sorting mechanism can be added inside the component to sort the sponsors array based on tier priority before rendering.

Additional Context

This enhancement will improve the developer experience and ensure that sponsor tiers are displayed in a consistent hierarchy across all implementations of the SupportUsButton component.

I would like to work on implementing this feature as part of my open-source contributions for GSoC 2026 with AOSSIE.

Code of Conduct

  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions