Skip to content
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

Make the site responsive #1382

Merged
merged 10 commits into from
Oct 17, 2020
Merged

Make the site responsive #1382

merged 10 commits into from
Oct 17, 2020

Conversation

adamg703
Copy link

@adamg703 adamg703 commented Dec 21, 2019

Fixes #1381 (<=== Replace 0000 with the Issue Number)

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 npm test
  • code is in uniquely-named feature branch and has no merge conflicts
  • PR is descriptively titled
  • ask @publiclab/is-reviewers for help, in a comment below
  • Insert-step functionality is working correct as expected.

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

@welcome
Copy link

welcome bot commented Dec 21, 2019

Thanks for opening this pull request!
There may be some errors, but don't worry! We're here to help! 👍🎉😄

@adamg703 adamg703 mentioned this pull request Dec 21, 2019
5 tasks
@codecov
Copy link

codecov bot commented Dec 21, 2019

Codecov Report

Merging #1382 into main will increase coverage by 10.31%.
The diff coverage is 64.01%.

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #1382       +/-   ##
===========================================
+ Coverage   55.11%   65.43%   +10.31%     
===========================================
  Files         117      133       +16     
  Lines        2344     2743      +399     
  Branches      360      438       +78     
===========================================
+ Hits         1292     1795      +503     
+ Misses       1052      948      -104     
Impacted Files Coverage Δ
examples/lib/scopeQuery.js 18.51% <ø> (ø)
src/Modules.js 100.00% <ø> (ø)
src/modules/WebglDistort/Module.js 2.29% <0.00%> (ø)
src/ui/SetInputStep.js 12.90% <0.00%> (-1.39%) ⬇️
src/modules/ColorHalftone/Module.js 3.63% <3.63%> (ø)
examples/lib/defaultHtmlStepUi.js 11.35% <4.08%> (-0.85%) ⬇️
examples/lib/intermediateHtmlStepUi.js 11.11% <5.55%> (+0.94%) ⬆️
examples/lib/insertPreview.js 13.15% <20.00%> (-0.36%) ⬇️
src/util/getImageDimensions.js 20.00% <20.00%> (ø)
src/util/isGif.js 20.00% <20.00%> (ø)
... and 102 more

@VladimirMikulic
Copy link

VladimirMikulic commented Dec 21, 2019

@adamg703 I can confirm that you did a great job making the website responsive.
However, I have a few suggestions. 📝

I've noticed that you've named the PR title "Worked on issue #1381".
It is really a bad naming convention since a reviewer doesn't know what exactly you tried to accomplish with the PR.

Your second mistake is closely related to the first one and that is committed messages.
In the first commit, your message is "Removed line 47 & 68, added line 154".
The reviewer doesn't know what is line 47 or 68, right?
Also, in the future line can change and it is no longer a valid commit message.
Commit messages purpose is to tell us what was changed and most importantly why it was changed.

The same applies to your second commit.

Finally, you should edit your PR message.
Fixes #1381 and mark checkboxes.

I know this was a lot for you first-time contribution(PR).
My purpose was not to discourage you, but quite the opposite, to make you a better programmer.
We all make mistakes and that is alright, but the mistake is not a mistake if you've learned something from it 😄
You'll make your life and the life of your colleagues easier when you look back at this a few months later.

@VladimirMikulic
Copy link

Also, don't work on the main branch!
You should always create a new branch when you want to introduce a change.

Close this PR and open another one with the suggested improvements.
The maintainers won't merge this.

Copy link
Member

@harshkhandeparkar harshkhandeparkar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but please change the PR title.

@harshkhandeparkar harshkhandeparkar changed the title Worked on issue #1381 Make the site responsive Jan 17, 2020
@gitpod-io
Copy link

gitpod-io bot commented Jul 7, 2020

@harshkhandeparkar
Copy link
Member

@jywarren this one is ready too.

@jywarren
Copy link
Member

jywarren commented Aug 5, 2020

I agree, approved! Once it passes, let's merge it!

@harshkhandeparkar harshkhandeparkar requested a review from a team as a code owner October 15, 2020 19:37
@jywarren jywarren merged commit 8c461bb into publiclab:main Oct 17, 2020
@welcome
Copy link

welcome bot commented Oct 17, 2020

Congrats on merging your first pull request! 🙌🎉⚡️
Your code will be published to https://beta.sequencer.publiclab.org in a day or two. Please test out your work on this testing server and report back with a comment that all has gone well!
In the meantime, can you tell us your Twitter handle so we can thank you properly also do join our weekly check-in to share your this week goal and the awesome work you did 😃.
Please find the link pinned in the issue section
Now that you've completed this, you can help someone else take their first step! Try looking at this list of first-timers-only issues, and see if someone else is waiting for feedback, or even stuck! 😕
People often get stuck at the same steps, so you might be able to help someone get unstuck, or help lead them to some documentation that'd help. Reach out and be encouraging and friendly! 😄 🎉
See: Public Lab's coding community!

@jywarren
Copy link
Member

Nice! Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make the site responsive
4 participants