MohammadYounes / MohammadYounes/AlertifyJS
How to Replace the syncronised alert(), input() etc
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.1k
- Forks
- 294
- PR merge metrics
- No merged PRs in 30d
Description
Hi, don't think your functions return promises and this seems to conform it: https://github.com/MohammadYounes/AlertifyJS/issues/126
I'm no JS expert but I've worked out how to use promises.
Neither the documentation or examples show how lets say the standard alert() can be replaced. I need to wait while the dialog is displayed (and responded to). I'd normally use a discussion forum but if one exists I haven't seen it yet (and no luck googling so far).
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
Start by reviewing the documentation and examples for alert(), input(), and the other dialog functions, then compare their behavior with the promise usage described in the issue and linked AlertifyJS discussion. Done means the examples clearly show how to replace standard browser dialogs and wait for the dialog response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation, frontend
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100