more descriptive wait message #33

Yhdistetty
coolaj86 yhdistetty 1 committia lähteestä clarify-waiting kohteeseen master 2019-05-18 19:39:45 +00:00
Omistaja

Changed from waiting... to waiting for you to check your email

Changed from `waiting...` to `waiting for you to check your email`
ryanburnette hyväksyi nämä muutokset 2019-05-18 19:29:18 +00:00
ryanburnette jätti kommentin
Collaborator

lgtm

lgtm
Ghost Kommentoi%!(EXTRA template.HTML=2019-05-18 19:30:56 +00:00)
@ -540,3 +540,3 @@
return;
}
console.info("waiting...");
console.info(TPLS.remote.waiting.replace(/{email}/, state.config.email));
First-time contributor

Have we verified that this code has been run? Does TPLS ever change state/does TPLS.remote.waiting ever become unavailable if the state changes?

Have we verified that this code has been run? Does TPLS ever change state/does `TPLS.remote.waiting` ever become unavailable if the state changes?
First-time contributor

Same with state.config.email ??? What about a decent fallback? What if the user doesn't enter an email??

Same with `state.config.email` ??? What about a decent fallback? What if the user doesn't enter an email??
Tekijä
Omistaja
TPLS is loaded only once, right at the start and it's values are static. https://git.coolaj86.com/coolaj86/telebit.js/src/branch/master/lib/en-us.toml https://git.coolaj86.com/coolaj86/telebit.js/src/branch/master/bin/telebit-remote.js#L15
First-time contributor

Still not convinced that TPLS is assured as available, same with state.config. TPLS depends on valid loading of toml file. Still, am confident that error would throw before getting to this state/flow. Even if state.config.email is null, replace op would work, but would throw IF state.config is null.

Still not convinced that TPLS is assured as available, same with state.config. TPLS depends on valid loading of `toml` file. Still, am confident that error would throw before getting to this state/flow. Even if `state.config.email` is null, `replace` op would work, but would throw IF `state.config` is `null`.
Tekijä
Omistaja

The user must enter an email. Otherwise it'll loop back.

The user must enter an email. Otherwise it'll loop back.
First-time contributor

But approving nonetheless as it is hard to verify the above for now. LGTM.

But approving nonetheless as it is hard to verify the above for now. LGTM.
Ghost hyväksyi nämä muutokset 2019-05-18 19:35:19 +00:00
coolaj86 closed this pull request 2019-05-18 19:39:45 +00:00
Sign in to join this conversation.
No Reviewers
3 osallistujaa
Ilmoitukset
Määräpäivä
Määräpäivää ei asetettu.
Riippuvuudet

Riippuvuuksia ei asetettu.

Reference: coolaj86/telebit.js#33
No description provided.