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 second spinner to make progress visible when modules are collapsed #679

Closed
wants to merge 3 commits into from
Closed

Added second spinner to make progress visible when modules are collapsed #679

wants to merge 3 commits into from

Conversation

aashna27
Copy link

@aashna27 aashna27 commented Jan 15, 2019

Fixes #657

Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!

  • tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR -- or run tests locally with rake test
  • code is in uniquely-named feature branch and has no merge conflicts
  • PR is descriptively titled
  • ask @publiclab/is-reviewers for help, in a comment below

Thanks!

Mridul97 and others added 2 commits October 26, 2018 13:58
* Add manifest.json

* cache static assets for offline use

* update cache

* add meta theme-color and change static files to be cache

* cache the files on network request

* caching on first run

Signed-off-by: tech4GT <[email protected]>

* add a button to clear cache

* add styling to clear cache link
I've arranged the modules in alphabetical order.
@aashna27
Copy link
Author

@publiclab/is-reviewers please have a look.

Copy link
Member

@Divy123 Divy123 left a comment

Choose a reason for hiding this comment

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

The PR is good to be merged.
@aashna27 thanks for your contributions. 😄

@jywarren
Copy link
Member

Agreed! Can you rebase it? Thank you!!!

Copy link
Member

@harshkhandeparkar harshkhandeparkar left a comment

Choose a reason for hiding this comment

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

I have a general suggestion

@@ -347,10 +348,15 @@ function DefaultHtmlStepUi(_sequencer, options) {
function onDraw(step) {
$(step.ui.querySelector(".load")).show();
$(step.ui.querySelector("img")).hide();
if($(step.ui.querySelector(".toggle").innerHTML.className="fa fa-caret-down")){
$(step.ui.querySelector(".load-spin")).show();
Copy link
Member

Choose a reason for hiding this comment

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

I don't know if this is possible or even useful but can you implement it in such a way that when the primary spinner is on then the collapse spinner is not shown?

@aashna27
Copy link
Author

Closing this , I made mistake by rebasing 😭

@aashna27 aashna27 closed this Jan 19, 2019
@aashna27 aashna27 deleted the toggle-spinner branch January 19, 2019 20:31
@aashna27 aashna27 mentioned this pull request Jan 19, 2019
4 tasks
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.

5 participants