-
Notifications
You must be signed in to change notification settings - Fork 210
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
display add step menu with common modules as "quick" buttons #479
Conversation
Thanks for opening this pull request! |
Hi, what if clicking the icon buttons just add automatically, without having to press add step, so then the deselect of the drop-down wouldnt matter? |
That sounds like a good idea. image-sequencer/examples/demo.js Lines 33 to 40 in eadc047
Could I get a pointer to how ui.addStepUi works? Also where can I find modulesInfo, specifically the name? I'm thinking of changing the selected value in the dropdown and call the addStepUi function when a corresponding button is pressed. |
@jywarren I've added the action exactly as you described. Now clicking the buttons calls the ui.selectNewStepUi() and ui.addStepUi() functions for their respective filters. |
Oh that's awesome. Can you upload a gif of how it works?
…On Mon, Nov 19, 2018, 9:29 PM Jonathan Xu ***@***.*** wrote:
@jywarren <https://github.com/jywarren> I've added the action exactly as
you described. Now clicking the buttons calls the ui.selectNewStepUi() and
ui.addStepUi() functions for their respective filters.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#479 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ5bgDOMlJhn_fNxPWRVWUYSfAj7Zks5uw2jRgaJpZM4Yn_6r>
.
|
@jywarren here it is. |
This looks amazing! OK - last few tweaks -- can you:
Thanks so much, this is tremendous! |
I'm so excited!!! 🎉 👍 👍 🎈 |
Also, it looks like, since we recently merged in some new changes to the master branch, you need to rebase your work on top of the latest main branch. You can do that by following the process outlined here, but you may be able to skip step 2 if your master is still in sync with publiclab's main branch: https://publiclab.org/wiki/contributing-to-public-lab-software#Rewinding+the+master+branch Thanks! |
I believe that I've applied the changes, but grunt serve is not reflecting any of the changes, whether it be css, js or html. The page loads fine and there are no errors, just that it is loading an old version somehow. Is there a way to resolve this? |
I just resolved the merge conflicts here, let's see! |
Hmm, actually it shouldn't need to be watching for changes at all, since demo.js is not compiled... Hmm |
Did you try clearing cache with the reload button menu as in my screenshot? I am pretty sure the cache is in the browser and not the backend. Another temporary fix would be to use an incognito window, which wouldn't use the cache. |
Could you push up your changes and rebase (or merge should be fine too) so once we resolve the issues i can merge this in? Thanks! |
This is gorgeous. I think you still need to push up the changes to this branch? And there are still some merge conflicts to be resolved by a rebase. But it should be pretty simple -- tell me if you'd like some help! |
Oh lol there are your commits! |
But yes, see if you can resolve the conflicts! ⚡⚡👍🏽 |
Yep, I just fixed the merge conflicts. I kept the stepmodule stuff in the js. |
Re-added |
Congrats on merging your first pull request! 🙌🎉⚡️ |
Publishing to gh-pages so we can try it out! Fantastic!! |
This is a pretty interesting alternative way to select a step, which you might be interested in as a next issue: #247 it's a big one, but if you'd like, I'm happy to make a GCI issue from it! |
It's live, by the way!!!! Amazing!!! |
Great, thanks for your help throughout! @247 looks cool! I've submitted this task for review. Can't wait to work on my next GCI task. |
Fixes #432
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
rake test
@publiclab/reviewers
for help, in a comment belowHi there,
I'm competing in CodeIn, and I've made a basic selector with commonly used buttons in response to #432 .
Some things I still need help on:
This will be my first pull request on this repository, so I'd appreciate it if you let me know if there's any issues with my pull request. Thanks for your time!