Skip to content

Disable Apply button on Mentors page when registration is closed #291

Description

@IrynaLypnyk

Description

Update the Mentors page so the “Apply for this mentor” button reflects the mentorship registration state.

The existing Mentor Filter API should remain unchanged. No new API or frontend filtering logic is required.

Expected behaviour

  • If IS_REGISTRATION_OPEN = false, disable the “Apply for this mentor” button for all mentors.
  • If IS_REGISTRATION_OPEN = true, keep the current behaviour: the UI/API flow shows only active mentors for the current cycle.
  • Do not add additional mentor filtering on the frontend.

Scope

Frontend only.

Acceptance criteria

  • “Apply for this mentor” is disabled when IS_REGISTRATION_OPEN is false.
  • Existing mentor filters continue to work as before.
  • No new API changes are introduced.
  • Mentors page renders correctly.

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