-
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
[GCI] InsertStep functionality added for loadImage step #1360
[GCI] InsertStep functionality added for loadImage step #1360
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1360 +/- ##
==========================================
- Coverage 66.41% 66.23% -0.19%
==========================================
Files 125 125
Lines 2552 2559 +7
Branches 397 400 +3
==========================================
Hits 1695 1695
- Misses 857 864 +7
|
This was supposed to be a one or two file PR but I ended up changing 6 files. |
This ended up being more complicated than I had initially guessed. |
@harshkhandeparkar Can you please open a separate issue and PR for that? |
But then the two are related. The insert step for loadImage depends upon
the fix. Without the fix, loadImage cannot have insertStep functionality.
What do you suggest I do ?
…On Sun, 15 Dec, 2019, 11:34 PM keshav234156, ***@***.***> wrote:
@harshkhandeparkar <https://github.com/HarshKhandeparkar> Can you please
open a separate issue and PR for that?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1360?email_source=notifications&email_token=AIJI5H2UAWNKRZGM5DNILYLQYZWRXA5CNFSM4J3ALRA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG46SOI#issuecomment-565831993>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIJI5HYS6KUPZCCXP2GLO5LQYZWRXANCNFSM4J3ALRAQ>
.
|
ok then i will open a new task please claim that also. |
Uh ok. Do you want me to still open a new pr? Will it be easier to review
that way?
…On Sun, 15 Dec, 2019, 11:39 PM keshav234156, ***@***.***> wrote:
@ok <https://github.com/ok> then i will open a new task please claim that
also.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1360?email_source=notifications&email_token=AIJI5H32IEWZ3ELNN5Q3DZTQYZXGDA5CNFSM4J3ALRA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG46V5Y#issuecomment-565832439>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIJI5HZQAUP47PXYA63XWVTQYZXGDANCNFSM4J3ALRAQ>
.
|
If you can. then go for it |
It will be really difficult though. I will have to get the first pr merged
while hiding the second one. Once the first one is merged, I will have to
rebase the second, get it reviewed, get it merged.... It will be difficult
for you too. If it is possible to review a single PR then please do so.
…On Sun, 15 Dec, 2019, 11:42 PM keshav234156, ***@***.***> wrote:
If you can. then go for it
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1360?email_source=notifications&email_token=AIJI5H2AE7JDGEK7HAHJ7WDQYZXQTA5CNFSM4J3ALRA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG46YAI#issuecomment-565832705>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIJI5H7IZKU3XB5PHAIIUOLQYZXQTANCNFSM4J3ALRAQ>
.
|
ok,i understand that .Will do the review in single PR |
Thanks.
On Sun, 15 Dec, 2019, 11:48 PM keshav234156, <notifications@github.com>
wrote:
… It will be really difficult though. I will have to get the first pr merged
while hiding the second one. Once the first one is merged, I will have to
rebase the second, get it reviewed, get it merged.... It will be difficult
for you too. If it is possible to review a single PR then please do so.
… <#m_6771268481377171796_>
On Sun, 15 Dec, 2019, 11:42 PM keshav234156, *@*.***> wrote: If you can.
then go for it — You are receiving this because you were mentioned. Reply
to this email directly, view it on GitHub <#1360
<#1360>?email_source=notifications&email_token=AIJI5H2AE7JDGEK7HAHJ7WDQYZXQTA5CNFSM4J3ALRA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG46YAI#issuecomment-565832705>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIJI5H7IZKU3XB5PHAIIUOLQYZXQTANCNFSM4J3ALRAQ
.
ok,i understand that .Will do the review in single PR
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1360?email_source=notifications&email_token=AIJI5H6MTLZQY4GK546GLKTQYZYGRA5CNFSM4J3ALRA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG463MQ#issuecomment-565833138>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIJI5HYSGYH5QF5VY5H2D6DQYZYGRANCNFSM4J3ALRAQ>
.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1.insert step in load image is not present once you delete any step.please try to figure out.
1.insert step in load image is not present once you delete any step.please try to figure out. |
What? I didn't get you. |
Ok ok, I found the error. Fixing it now. |
@harshkhandeparkar I couldn't get why previews were not displayed in the second step ie where were we wrong. |
That is because the previews were being added directly to the last step's dropdown instead of adding to the dropdown which is clicked. |
@keshav234156 I opened the new issue on request. |
Aha! Cool, thanks for working through this. I think it needs an update (i can press the button if you like?) but just ping me when it's ready for merge and we can prioritize this! Thank you! |
This needs a mentor review, can we merge the comments PRs before this? Rebasing will be simple. |
Comments PR? Can u point me to it? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great Work!!!!!!
@jywarren we can merge this as well before update |
Thanks, @keshav234156. Should I add the label? |
|
OK, now if we update this it should pass and we can merge 🙌 |
* add markuo * add markupfix insertPreview * fix insertPreview test * make the new insertPreview work * fix disabled * small fix * fix comments * remove console log * fix enabling/disabling of insert-step btn
Fixes #1300 (<=== Replace
0000
with the Issue Number)Fixes #1363
As I mentioned in the issue thread, I fixed the whole insert step function which was broken badly.
Here's what was broken:
When the insert step button is clicked, it generates the previews in the last step instead of the step that is clicked(This was an
insertPreviews.js
bug)Fixed
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
npm test
@publiclab/is-reviewers
for help, in a comment belowIf tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Please make sure to get at least two reviews before asking for merging the PR as that would make the PR more reliable on our part
Thanks!