bramp / bramp/js-sequence-diagrams
waitForFont adds ~5 second delay
- Dominant language
- JavaScript
- Stars
- 7.8k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Noticed my diagrams were rendering very slowly. It appears that waitForFont takes time to load even if it's not doing any loading. I've just disabled it in my local version of the code but it might make sense to make it a configuration option if people don't want to incur the delay?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the waitForFont implementation and tracing why it waits when no font loading is needed. Confirm the roughly five-second delay while rendering diagrams, then determine how the requested opt-out configuration should affect that behavior; the issue names no specific test or file to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100