-
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
Add an "insert step" button on each step UI #466
Comments
GitMate.io thinks the contributor most likely able to help you is @tech4GT. Possibly related issues are #348 (Improve Images step Ui), #205 (add "drag to crop" UI feature to Crop module), #433 (display add step menu with common modules as "quick" buttons), #432 (display add step menu with common modules as "quick" buttons), and #303 (Disable/dim the Add step button until a module is selected). |
1 similar comment
GitMate.io thinks the contributor most likely able to help you is @tech4GT. Possibly related issues are #348 (Improve Images step Ui), #205 (add "drag to crop" UI feature to Crop module), #433 (display add step menu with common modules as "quick" buttons), #432 (display add step menu with common modules as "quick" buttons), and #303 (Disable/dim the Add step button until a module is selected). |
@jywarren can I work on this? |
oh that would be great, thank you!
…On Tue, Nov 13, 2018 at 12:15 PM Slytherin ***@***.***> wrote:
@jywarren <https://github.com/jywarren> can I work on this?
Looks interesting to me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#466 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ7XQBeO9HLUjFhTxICOGM4P2qb1gks5uuv4DgaJpZM4YYm4C>
.
|
I think the insert-step button might actually insert the entire box as
shown above, but between two steps. This might mean we have to have a
method which "constructs" the html for the interface, and be able to call
it to be inserted in a given HTML element, and specify an index at which to
add the new step, you know?
…On Mon, Nov 26, 2018 at 5:47 PM Jonathan Xu ***@***.***> wrote:
Hey I'm interested in this task! Is anyone working on it? Just to clarify,
will the add-step button display a drop-down and do the same thing as the
"add-step" button on the bottom of the page?
[image: image]
<https://user-images.githubusercontent.com/22998430/49046749-2ce57a80-f1a3-11e8-9b4e-a3433066db2f.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#466 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ-24I5Ttm1rUZ7R-uu0YgbGjMJh0ks5uzG9DgaJpZM4YYm4C>
.
|
Oh cool, thanks for clarifying. And I presume it hides itself after a new step is created? I'd love to work on this task but I'm not sure if someone else is working on it... |
yes, that's right. I don't think someone is at the moment?
…On Mon, Nov 26, 2018 at 5:52 PM Jonathan Xu ***@***.***> wrote:
Oh cool, thanks for clarifying. And I presume it hides itself after a new
step is created? I'd love to work on this task but I'm not sure if someone
else is working on it...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#466 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ1KykL3krHjJhIjlqva92jJhIhZGks5uzHCAgaJpZM4YYm4C>
.
|
I am working on it actually. |
Oh I'm sorry, no prob! Good luck with your exams!!!
…On Mon, Nov 26, 2018, 7:39 PM Slytherin ***@***.*** wrote:
I am working on it actually.
Sorry for being late.I am having my semester exams right now.
So will continue after 30th Nov. @jywarren <https://github.com/jywarren>
@JonathanXu1 <https://github.com/JonathanXu1>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#466 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ3vgIk6p_aLre9lFeUBEiAWvhl8nks5uzImcgaJpZM4YYm4C>
.
|
Ah no worries, good luck on your exams! |
ah - try clearing the cache with the link at the very bottom of the page!
Or clear the cache manually in the browser options! Hope that helps!
…On Tue, Dec 11, 2018 at 2:07 AM Slytherin ***@***.***> wrote:
@jywarren <https://github.com/jywarren> I am working on the issue right
now.
There is a problem that none of the changes that I am making are being
visible on my localhost.
Can you please help me with this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#466 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJxW1D_AgwRCx4s2LY_bpCyezjaMbks5u31mTgaJpZM4YYm4C>
.
|
Thanks @jywarren .One more thing while the majority of the work is done, that please look into the screenshot below: |
@Divy123 I think the problem here is not with run but with addSteps method, I think we need to use the insertSteps method to put the steps in the right order. |
I think the function needs the image too, do check out the example given by @jywarren above and try it in that format, if that doesn't work I'll be more than happy to look at your code. |
Thanks @tech4GT . Your advice is of great help. |
@tech4GT I tried passing ( _sequencer.images,id+1,stepName) as arguments to insertStep but then I am getting errors. |
This particular problem is resolved as stated above! |
@tech4GT I have almost don the work. Just one thing is there I am not able to figure out. |
oh, try looking into the run function, I think the steps are not being re-run properly. |
Try running it from 0, if that works then you can figure out the right index. Glad to hear you are making progress on this 😊 |
This code shows the excellent "insert step" method in use:
image-sequencer/test/modules/image-sequencer.js
Lines 139 to 144 in 5f57123
We should add a new button (next to the trash button) which lets you insert a new module:
See this for how the add step UI works, that could be adapted here:
The available modules are added to the select here:
image-sequencer/examples/demo.js
Lines 11 to 16 in 4d996b9
Here is how the "add step" button is triggered:
image-sequencer/examples/demo.js
Line 34 in a17d1a6
Here is the function that's run when the button is pressed; this could be adapted to accept a 'step' parameter too, so the insertion could happen at a different place in the sequence:
image-sequencer/examples/lib/defaultHtmlSequencerUi.js
Lines 38 to 60 in 88364de
@holykol perhaps you'd be interested in this one? Or someone else? We'd love some help!
The text was updated successfully, but these errors were encountered: