Skip to content

Feature request: Random ayah navigation (with range options) #3689

Description

@kkebb

Problem / motivation

There is currently no quick way to jump to a random ayah for reflection, study, or memorization review. Users who want to "open to a random verse" have to pick a sura/ayah manually via the Jump dialog.

Proposed feature

Add a Random ayah entry to the overflow menu on both the home screen and the reading screen. It would be a submenu offering:

  • Whole Quran - instantly jump to and highlight a uniformly random ayah.
  • Sura range... - random ayah within a chosen span of suras.
  • Ayah range... - random ayah within an arbitrary sura:ayah to sura:ayah span.
  • Juz range... - random ayah within a chosen span of juz' (1-30).

Selecting a result reuses the existing jump-and-highlight navigation, so it behaves like the existing Jump/Search flows.

Scope / notes

  • Core selection logic can live in reusable QuranInfo helpers (random ayah id -> SuraAyah), keeping it unit-testable.
  • The range pickers can follow the existing Jump dialog pattern.
  • English strings first; other locales can be translated separately.

Implementation

Implemented in PR #3686 (opened per the README guidance to file an issue for new features).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions