PublicLab.Editor icon indicating copy to clipboard operation
PublicLab.Editor copied to clipboard

Hide publish bar when typing on mobile devices

Open Shulammite-Aso opened this issue 5 years ago • 14 comments

Fixes #435

pulled this out from here #464 so it gets a little easier to review. The original PR had two changes in it

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 grunt jasmine
  • [ ] code is in uniquely-named feature branch and has no merge conflicts
  • [ ] PR is descriptively titled
  • [ ] PR body includes fixes #0000-style reference to original issue #
  • [ ] ask @publiclab/reviewers for help, in a comment below

We're happy to help you get this ready -- don't be afraid to ask for help, and don't be discouraged if your tests fail at first!

If 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!

Shulammite-Aso avatar Jul 31 '20 21:07 Shulammite-Aso

gitpod-io[bot] avatar Jul 31 '20 21:07 gitpod-io[bot]

Looks like we have extra things added in /dist file, other than that PR is good to me merged

Oh! do i have to do anything about this @sagarpreet-chadha ?

Shulammite-Aso avatar Aug 02 '20 18:08 Shulammite-Aso

Hmm, re: dist file, i wonder if you need to do a clean rebuild with grunt build and readd the dist files so it only includes the content from your /src/ changes in this PR? Thank you both!!!

jywarren avatar Aug 04 '20 16:08 jywarren

Also would it be possible to show screenshots (or a gif) of how this works, for documentation's sake and so we all are on the same page? Thank you so much, @Shulammite-Aso !! Great work!

jywarren avatar Aug 04 '20 16:08 jywarren

gitpod-io[bot] avatar Aug 14 '20 21:08 gitpod-io[bot]

Hi @Shulammite-Aso , can you rebase your branch with main and then make a new /dist file as Jeff mentioned, then this PR is good to go 100 Also a screenshot/ GIF if possible smile

will do this.

Shulammite-Aso avatar Aug 15 '20 19:08 Shulammite-Aso

Hi @sagarpreet-chadha this is what i'm getting from trying to rebase. Resolved merge conflict by accepting both changes, but running git rebase --continue give me this output: Screenshot from 2020-08-16 19-30-50

i did use git add to add and commit the changes

Shulammite-Aso avatar Aug 16 '20 19:08 Shulammite-Aso

Also rebuilding dist file with grunt build is generating the same changes we currently have in the dist file here

Shulammite-Aso avatar Aug 16 '20 19:08 Shulammite-Aso

Did you do git add . after resolving conflicts and before doing git rebase --continue?

sagarpreet-chadha avatar Aug 18 '20 17:08 sagarpreet-chadha

Did you do git add . after resolving conflicts and before doing git rebase --continue?

Yes @sagarpreet-chadha i did add all the changes

Shulammite-Aso avatar Aug 18 '20 18:08 Shulammite-Aso

Okay if you can just pull recent changes from main branch, and resolving conflicts that should be fine then. Just make sure the commit history is fine using git log --pretty=oneline The history should have you commits after last commit of main branch and the final merge commit. In this way we can be sure the commits are right. Thanks!

sagarpreet-chadha avatar Aug 20 '20 16:08 sagarpreet-chadha

Hi @sagarpreet-chadha please check this out 😃

Is there anything i can do for the tests to pass? or can we merge it this way?

Shulammite-Aso avatar Aug 24 '20 08:08 Shulammite-Aso

Hey @Shulammite-Aso , I reviewed your PR, it is good to go 💯 However 4 tests are failing which arw unrelated to your PR it seems, would you like to debug this? I think @keshav234156 has opened a PR related to this maybe https://github.com/publiclab/PublicLab.Editor/pull/602

sagarpreet-chadha avatar Aug 25 '20 17:08 sagarpreet-chadha

gitpod-io[bot] avatar Aug 25 '20 17:08 gitpod-io[bot]