Integration button elements do not work.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 29k
- Forks
- 4k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 71
Description
Bug description
There is a difference in loader styles between the edit and published views for button components. This is causing most users to experience "panic clicking" resulting a 500 back from GitBook if the button is clicked twice in a row. There may be two issues here. Firstly, the button component does not render a loader and lock out the button from being clicked twice. The second, a server side issue with CloudFlare causing a 500 to result when two requests a simultaneously being processed.
How to reproduce
https://github.com/GitbookIO/gitbook/assets/156371756/720cb11a-157d-434c-8995-67e327499b81
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Use the reproduction video and compare the integration button behavior in the edit and published views. Start by locating the integration button implementation, then verify that a click shows a loader and prevents a second request; done means repeated clicks no longer produce the reported 500 response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100