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

Add responsive design to default views #751

Closed
faustinoaq opened this issue Apr 12, 2018 · 15 comments
Closed

Add responsive design to default views #751

faustinoaq opened this issue Apr 12, 2018 · 15 comments

Comments

@faustinoaq
Copy link
Contributor

Description

I think we should support responsive design for small screens 👇

screenshot_20180412_100434

Steps to Reproduce

Not applicable (feature request)

Versions

Master bea1063

Additional Information

We need to tweak css media queries a bit as well 😅

vokoscreen-2018-04-12_10-08-21

@faraazahmad
Copy link

I'd love to take this up!

@faraazahmad
Copy link

@faustinoaq should i hold off until #746 is closed? also, to test it, should i uninstall amber then install from the branch I'm working on?

@faustinoaq
Copy link
Contributor Author

@faraazahmad I think #746 will be merged very soon 👍 so, go ahead 💯

I think you can work over @ChangJoo-Park branch (https://github.com/ChangJoo-Park/amber/tree/bootstrap-4) so when that PR is merged you don't need to update your files again, because git diff will do all the work.

To test it You don't need to uninstall amber at all, just compile it locally in your cloned working fork repo and use shards build amber and bin/amber to test it.

By example right now, I have amber v0.7.2 installed in my pc, and I'm working in a bunch of new features for amber, so I do this:

git clone [email protected]:faustinoaq/amber.git
cd amber
shards install
shards build amber --production # Avoid to compile ameba linter (used only on Travis CI)
cd ..
./amber/bin/amber new forum --deps -d sqlite
cd forum
#rm -rf lib/amber && cp -r ../amber lib/amber  # required if you're working on amber core
../amber/bin/amber watch

Then you can rebuild it and use bin/amber every time you need to test your new changes

@faraazahmad
Copy link

Should I also add a .navbar-brand with content as display_name?

@faraazahmad
Copy link

faraazahmad commented Apr 19, 2018

Also, is it necessary to keep the upwards pointing arrow on .active:after? because it doesn't really work well on mobile

@faustinoaq
Copy link
Contributor Author

faustinoaq commented Apr 19, 2018

@faraazahmad Oh, nice suggestions!, no problem, I think you can publish a new PR, with some screen captures, explaining why the new responsive design for welcome page (forms, grids, auth, etc) is better that current one, and what things should be replaced/removed/added 😉

I think responsive is good, by example, I'm implementing the new error page (based on Phoenix one) and looks pretty responsive: (even in mobile)

0 0 0 0_3000_404 1

ChangJoo-Park added a commit to ChangJoo-Park/amber that referenced this issue Apr 21, 2018
@eliasjpr
Copy link
Contributor

This is great @faraazahmad and @faustinoaq

@eliasjpr
Copy link
Contributor

Closing this issue since it was address in ChangJoo-Park@520afc7

@faustinoaq
Copy link
Contributor Author

@eliasjpr No, this is not solved yet, the @ChangJoo-Park PR was about Bootstrap 4 update, no responsive design was added 😅

@faustinoaq faustinoaq reopened this Jun 14, 2018
@faraazahmad
Copy link

What else is remaining?

@faustinoaq
Copy link
Contributor Author

faustinoaq commented Jun 14, 2018

@faraazahmad We still need to fix navbar on small screens (maybe using a menu) and change forms/tables/grids to be responsive 😅

screenshot_20180412_100434

Welcome page need some responsive design enhancements as well:

vokoscreen-2018-04-12_10-08-21

@faustinoaq
Copy link
Contributor Author

We still need to fix navbar on small screens (maybe using a menu)

I really like DO responsive design on navbar 😍

vokoscreen-2018-06-14_11-30-46

Also Xamarin Website has a nice example:

vokoscreen-2018-06-14_11-36-18

@faustinoaq
Copy link
Contributor Author

Wait a second, @eliasjpr @faraazahmad Did #746 handle responsive design?

I thought we gonna include responsive design changes in a new PR, see: #746 (comment)

@faraazahmad
Copy link

I did include a navbar toggler in the navbar
ChangJoo-Park@520afc7#diff-27c02ac58eb853fd811dff723dbfc36d

@faustinoaq
Copy link
Contributor Author

@faraazahmad Oh, nice!, thank you so much!

I guess we need to open a new PR including your changes because I can't see them on master 😅

<nav class="nav">
<%="<"%>%= render(partial: "layouts/_nav.ecr") %>
</nav>

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

No branches or pull requests

4 participants