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

Added support for responsive layouts on capture/v2 #664

Closed
wants to merge 1 commit into from

Conversation

waridrox
Copy link
Member

@waridrox waridrox commented Jun 25, 2021

Part of #645
Make sure these boxes are checked before your pull request is ready to be reviewed and merged. Thanks!

  • tests pass -- rake test
  • code is in uniquely-named feature branch, and has been rebased on top of latest master (especially if you've been asked to make additional changes)
  • pull request are descriptively named
  • if possible, multiple commits squashed if they're smaller changes
  • reviewed/confirmed/tested by another contributor or maintainer

Please be sure you've reviewed our contribution guidelines at https://publiclab.org/wiki/contributing-to-public-lab-software

Thanks!

@gitpod-io
Copy link

gitpod-io bot commented Jun 25, 2021

@RuthNjeri
Copy link

Hi @waridrox, is there a gif or an image to show the before and after with these changes? It would help in understanding the context. Also, is there an issue that this PR can reference which explains what this issue is fixing?

@waridrox
Copy link
Member Author

waridrox commented Jun 27, 2021

Sure! 😅 But this should be taken care of after the capture integration...

Current behaviour for different screen sizes -

old.mp4

Proposed behaviour -

new.mp4

@waridrox
Copy link
Member Author

waridrox commented Jul 3, 2021

Hi could someone pls review this...
PS - I'm not good with css :P

@@ -0,0 +1,570 @@
html {
Copy link
Member

Choose a reason for hiding this comment

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

Is this directly from the https://github.com/publiclab/spectral-workbench.js/ library? Could we pull its CSS in via yarn instead? And, i wonder, should the responsiveness changes happen over in that library as a result?

Copy link
Member Author

@waridrox waridrox Jul 4, 2021

Choose a reason for hiding this comment

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

Hmm, great idea ✨, should I then implement this in the spectral-workbench.js repo instead. Could this also mean that we need to update the sw-js lib the on npm and yarn dependencies...?

@jywarren
Copy link
Member

jywarren commented Jul 4, 2021 via email

@waridrox
Copy link
Member Author

waridrox commented Jul 4, 2021

Sure got it! 😃

@waridrox waridrox closed this Aug 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants