-
Notifications
You must be signed in to change notification settings - Fork 128
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
Image Popup in MainImageModule IMPROVED: #437
Conversation
@VladimirMikulic @cesswairimu @jywarren My previous two PR's having the same problem in |
@NitinBhasneria I've checked it out know. The failing tests are not your fault. |
Please post a gif of your change. |
@VladimirMikulic while changing the things in the src folder in editor's code. The changes are reflected in example/index.html but it is not reflected in http://localhost:3000/post , even after |
You can simply copy the PublicLab Editor to the node_modules of |
@VladimirMikulic I have copied the PublicLab.Editor in |
In plots2/public/lib there is also a folder named publiclab-editor. Is there something to do with this too. I am really confused with these packages. Can you explain what to do? |
Correct, it's |
Bur still the changes are not reflecting. Can you help? @VladimirMikulic |
I don't have |
Actually I even tried to give output in console but no output is shown.🙄 |
Are you sure that you've compiled your changes and copied the old |
Yes, I m sure. I have tried many times. |
I think I know why. Your JS is inside of HTML file which is not served on the client-side in |
Ok I will update you after further tests thanks |
Also I want to ask do I have to do yarn install after tests. |
You don't need |
Also there is pre existing publiclab-editor folder do er have to replace that wirh PublicLab.Editor folder? |
My zsh history says that the file that needs to be replaced is |
Ok thanks, I will test and then update you surely |
@VladimirMikulic Thanks it worked. |
That's it @NitinBhasneria! Wohoo. |
@VladimirMikulic please have a look and approve this pr. |
@jywarren ready for your review |
@NitinBhasneria I have addressed this issue #396 .I think we can close this issue |
Hi, just to disambiguate -- thanks @keshav234156 -- does this PR hide the "drag to upload" text whereas @keshav234156's PR preserves the image aspect ratio? So perhaps both are needed? Thanks a lot, if you can both help clarify exactly what your PR does, we can probably make use of both! Thanks!!! 🎉 |
This pr fixes the hiding of drag to upload text while uploading |
Ah, i'm sorry, i merged the other one first. Apologies for missing the parallel work here, I appreciate the contributions from everyone! @NitinBhasneria if you'd like to resolve conflicts and re-confirm that this works, I can merge it so everybody gets credited. Just be sure that the redundant parts of the code don't interfere destructively! Thank you @NitinBhasneria and @keshav234156 and @VladimirMikulic and @govindgoel! |
@jywarren done with conflicts. Thanks |
dragImageI.innerHTML = ""; | ||
|
||
// For hiding the HTML "Drag an image here to upload." after uploading image. | ||
dragImageI.innerHTML = ""; |
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.
Oh hm, is this line duplicated form 136? And, would you mind uploading a GIF of this working just so we can be sure? Thank you!
@jywarren Duplicate removed. here is the gif. |
Hooray! Thanks a huge amount. this is super great and thank you for sticking with it through a very careful and detailed review and revisions. Merging now! |
Fixes : #431
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
grunt jasmine
fixes #0000
-style reference to original issue #@publiclab/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
We have a loose schedule of reviewing and pulling in changes every Tuesday and Friday, and publishing changes on Fridays.
Thanks!