readthedocs / readthedocs/ext-theme

Dont hit API when the view docs button is disabled

Open
#638 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
12
Forks
6
Avg merge
13h 25m
Merged PRs (30d)
1

Description

In the dashboard, when a project doesn't have a good build the "view docs" button is marked as disabled, but if you hover over it, it still makes an API call.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the dashboard by reproducing the disabled “view docs” button case and hovering over it while observing API requests. Trace the button’s hover behavior and verify that a disabled button makes no API call; done when the request is absent in this state while enabled buttons still work.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.