MohammadYounes / MohammadYounes/AlertifyJS

How to Replace the syncronised alert(), input() etc

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

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

Open the contributing guide

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.