Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added feature to control the density of saccades which is also persisted #53

Merged
merged 6 commits into from
May 25, 2022

Conversation

asieduernest12
Copy link
Collaborator

@asieduernest12 asieduernest12 commented May 24, 2022

change includes adding buttons to popup.html , and updates to css in convert.js
the saccades rendered on the screen is controlled by setting an attribute on the body element which cause the right css to take over the styling br-bold elements

the initial saccades value (interval or gap between saccades) is 2 which is persisted when changed with the buttons
image

image

image

image

@asieduernest12
Copy link
Collaborator Author

#39 only saccades fixed with this
Replaces saccades edit buttons with a slider for simmplicity

image

Copy link
Contributor

@X140Yu X140Yu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @asieduernest12 , left a few comments, overall the PR looks pretty solid

PS. there are some formatting issues, can do an npm install and use ESLint to format changes

src/background.js Outdated Show resolved Hide resolved
src/popup.js Outdated Show resolved Hide resolved
src/popup.js Outdated Show resolved Hide resolved
src/popup.js Outdated Show resolved Hide resolved
Copy link
Contributor

@dingxuanyao dingxuanyao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets try to keep camelcase consistent, e.g. saccades_label_value, saccades_slider. I think const DEFAULT_SACCADE = 1; makes more sense, but just personal preference.

src/background.js Outdated Show resolved Hide resolved
@X140Yu X140Yu merged commit 4399e21 into ansh:master May 25, 2022
@X140Yu
Copy link
Contributor

X140Yu commented May 25, 2022

Thanks @asieduernest12 @dingxuanyao !

asieduernest12 added a commit that referenced this pull request Dec 26, 2024
fix(ci): bugs zipping opera, add time delay to stabilize parallel bui…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants