Skip to content

Fetch Charities and Categories, without showing the loading indicators on Donate Page #449

Description

@yusuphjoluwasen

Problem

The Donate page displays loading indicators while fetching charities and categories.

This results in a poor user experience, as users see spinners before they can interact with the form.

Expected Behavior

Fetch the charities and categories before rendering the Donate page, so the form is displayed only after the required data is available.

Current Behavior

  • Donate page renders immediately.
  • "Loading categories..." and "Loading charities..." indicators are shown.
  • Once the requests complete, the dropdowns become available.

Proposed Solution

  • Fetch charities and categories before navigating to or rendering the Donate page.
  • Remove the loading indicators from the Donate page.

Benefits

  • Cleaner UI with no unnecessary loading states.
  • Faster perceived performance.
  • Better user experience.

=
Image

Metadata

Metadata

Assignees

Labels

Frontendcontributor okTasks open to anyone interested in contributing

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions