Conversation
Member
Author
|
Hold off on the review I want to make changes |
yakov116
commented
Nov 28, 2020
fregante
requested changes
Nov 29, 2020
source/options.tsx
Outdated
Comment on lines
160
to
162
| setTimeout(() => { | ||
| void validateToken(); | ||
| }, 100); |
Member
There was a problem hiding this comment.
Suggested change
| setTimeout(() => { | |
| void validateToken(); | |
| }, 100); | |
| setTimeout(validateToken, 100); |
But better yet if you dispatch an event at the end of https://github.com/fregante/webext-options-sync-per-domain/blob/dcc61fe58ab67d0982b2948cf3c1264375ef4096/index.ts#L129
Example: https://github.com/fregante/webext-options-sync/blob/master/index.ts#L253
… and then listen to that event specifically, instead of changing this listener
Member
Author
There was a problem hiding this comment.
I tried to figure this out. But I could not get it to work by listening to the event.
fregante
requested changes
Jan 2, 2021
mohdjuwaiser
approved these changes
Jan 2, 2021
Co-Authored-By: Fregante <opensource@bfred.it>
fregante
reviewed
Jan 3, 2021
Co-authored-by: Federico <me@fregante.com>
yakov116
commented
Jan 4, 2021
Co-authored-by: Federico <me@fregante.com>
Member
Author
|
Should all be good now. (I was looking over the code and I was wondering where my updated code was. Turns out I forgot to push :hehe) |
Member
fregante
approved these changes
Jan 4, 2021
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.






LINKED ISSUES:
Closes Verify token in options #3752
TEST URLS:
The options Page
SCREENSHOT:

I also fixed the dropdown listener since it was broken