-
Notifications
You must be signed in to change notification settings - Fork 207
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
UI - Navbar for MapKnitter #360
Conversation
Show only maps with at least one image in main listing
Co-Authored-By: faithngetich <faithngetich188@gmail.com>
Co-Authored-By: faithngetich <faithngetich188@gmail.com>
Co-Authored-By: faithngetich <faithngetich188@gmail.com>
Co-Authored-By: faithngetich <faithngetich188@gmail.com>
see https://gitlab.com/IvanSanchez/Leaflet.GridLayer.GoogleMutant/issues/90 for the issue we encountered with `v0.7.1`
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.8.1 to 1.9.1. **This update includes security fixes.** - [Release notes](https://github.com/sparklemotion/nokogiri/releases) - [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md) - [Commits](sparklemotion/nokogiri@v1.8.1...v1.9.1) Signed-off-by: dependabot[bot] <support@dependabot.com>
Bumps [will_paginate](https://github.com/mislav/will_paginate) from 3.0.7 to 3.1.6. - [Release notes](https://github.com/mislav/will_paginate/releases) - [Commits](mislav/will_paginate@v3.0.7...v3.1.6) Signed-off-by: dependabot[bot] <support@dependabot.com>
* initial cleanup * export unit tests, basic * map tests * basic comment tests * cleanup * export functional tests * fixes * Update export.rb * test fixes and further cleanup * extra test * trying again * another unit test * output errors? * Update map_test.rb * Update maps.yml * Update tag_test.rb
Bumps [rake](https://github.com/ruby/rake) from 10.5.0 to 12.3.2. - [Release notes](https://github.com/ruby/rake/releases) - [Changelog](https://github.com/ruby/rake/blob/master/History.rdoc) - [Commits](ruby/rake@v10.5.0...v12.3.2) Signed-off-by: dependabot[bot] <support@dependabot.com>
Bumps [i18n](https://github.com/svenfuchs/i18n) from 0.7.0 to 0.9.5. **This update includes security fixes.** - [Release notes](https://github.com/svenfuchs/i18n/releases) - [Changelog](https://github.com/ruby-i18n/i18n/blob/master/CHANGELOG.md) - [Commits](ruby-i18n/i18n@v0.7.0...v0.9.5) Signed-off-by: dependabot[bot] <support@dependabot.com>
Bumps [rdiscount](https://github.com/davidfstr/rdiscount) from 2.1.7.1 to 2.2.0.1. - [Release notes](https://github.com/davidfstr/rdiscount/releases) - [Changelog](https://github.com/davidfstr/rdiscount/blob/master/CHANGELOG.md) - [Commits](davidfstr/rdiscount@2.1.7.1...2.2.0.1) Signed-off-by: dependabot[bot] <support@dependabot.com>
* tests for warpables, test to distort in ImageMagick * file existence test * make test folder * demo file and copying * delete demo image * mkdir -p * save_dimensions
Bumps [recaptcha](https://github.com/ambethia/recaptcha) from 4.6.3 to 4.9.0. - [Release notes](https://github.com/ambethia/recaptcha/releases) - [Changelog](https://github.com/ambethia/recaptcha/blob/master/CHANGELOG.md) - [Commits](ambethia/recaptcha@v4.6.3...v4.9.0) Signed-off-by: dependabot[bot] <support@dependabot.com>
* basic map unit tests * try to run entire map.run_export * parameter consolidation
* update time fixtures and override sql primary default keys * Reset HEAD to first commit and reapply changes * Finalize comments for customizations * Changed a word
MapKnitter is currently using a totally diferent navbar from Public Lab. Making both using the same makes it easier to follow the pattern in future projects
Thanks for opening this pull request! |
Hi!!! So, like in plots2, the stylesheets are included here: https://github.com/publiclab/mapknitter/blob/master/app/views/layouts/application.html.erb#L16 bootstrap is included, and we seem to be on Bootstrap 3.2 -- see: https://github.com/publiclab/mapknitter/blob/master/bower.json#L6 We should move to Yarn, see #357 for progress on this, which should simplify things a bit. +1 this change, the menubar would be nice if standardized here! |
ahhh, thanks!!! So we are using Bootstrap 3.2.0 I'll update the changes then. I'm not familiar with yarn and bower, but if that will simplify, awesome! 🎉 I will try to finish today (tomorrow for sure), then I'll upload more detailed screenshots for this. Thanks for the help, @jywarren |
But we should look at upgrading to bootstrap 4!! Shouldn't be too hard
compared to plots2 since this is such a simpler app!
…On Thu, Feb 28, 2019, 3:26 PM Stefanni ***@***.***> wrote:
ahhh, thanks!!! So we are using Bootstrap 3.2.0
https://github.com/publiclab/mapknitter/blob/master/bower.json#L6
I'll update the changes then. I'm not familiar with yarn and bower, but if
that will simplify, awesome! :tada
I will try to finish today (tomorrow for sure), then I'll upload more
detailed screenshots for this. Thanks for the help, @jywarren
<https://github.com/jywarren>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#360 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ--Y_kEjZSKbvdM5LpotWTYSwoxKks5vSDtUgaJpZM4bQpbw>
.
|
I'm totally for it! Maybe creating an issue for now? After this navbar, I can take a look. |
sounds great!
…On Thu, Feb 28, 2019 at 4:01 PM Stefanni ***@***.***> wrote:
I'm totally for it! Maybe creating an issue for now? After this navbar, I
can take a look.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#360 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ1J1eDp86Nds0JVkM9MPk__c0vevks5vSEONgaJpZM4bQpbw>
.
|
okay, I created this new issue #377 for the Bootstrap update. If you want to add it to projects page and add labels to it, it would be nice, I couldn't add any 👍 |
Hi @jywarren I changed the navbar to use Bootstrap 3.2.0 for now. Here are some screenshots. One thing that I noticed was that the navbar was not using Bootstrap's collapse, so I changed that, no need for adding CSS for this behavior. |
Let me know what do you think! It leaves more space for adding contents later, I think :) also, why is the CI not finishing on travis? Is it because I first opened this PR as a Draft? |
Ooh it's really nice! Is it ready for a merge? Thanks!!! |
It looks like Travis is OK now? |
yeah, it's ready for a merge! Glad you liked :) After we merge this, should I start on updating Bootstrap version? Thanks ✌️ |
font-family: 'Junction Light'; | ||
} | ||
|
||
img.cat { |
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.
Did you find the easter egg???????
Congrats on merging your first pull request! 🙌🎉⚡️ |
🎉 !!!! This is awesome. Thanks @stefannibrasil -- yeah that'd be great! |
* Show only maps with at least one image in main listing * Update Leaflet.DistortableImage version * Create first timers issue template.md * Create config.yml * spam links in moderation feeds * Add mapknitter to the help wanted link Co-Authored-By: faithngetich <faithngetich188@gmail.com> * Replace the community link with the code.public link Co-Authored-By: faithngetich <faithngetich188@gmail.com> * Update the first time only link to code.public Co-Authored-By: faithngetich <faithngetich188@gmail.com> * Use the correct link to indicate where the code will be published Co-Authored-By: faithngetich <faithngetich188@gmail.com> * Update index.html.erb * Update bower.json * Update bower.json * Update bower.json * Peg GoogleMutant layer to v0.7.0 see https://gitlab.com/IvanSanchez/Leaflet.GridLayer.GoogleMutant/issues/90 for the issue we encountered with `v0.7.1` * [Security] Bump nokogiri from 1.8.1 to 1.9.1 Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.8.1 to 1.9.1. **This update includes security fixes.** - [Release notes](https://github.com/sparklemotion/nokogiri/releases) - [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md) - [Commits](sparklemotion/nokogiri@v1.8.1...v1.9.1) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump will_paginate from 3.0.7 to 3.1.6 Bumps [will_paginate](https://github.com/mislav/will_paginate) from 3.0.7 to 3.1.6. - [Release notes](https://github.com/mislav/will_paginate/releases) - [Commits](mislav/will_paginate@v3.0.7...v3.1.6) Signed-off-by: dependabot[bot] <support@dependabot.com> * Cleanup (publiclab#313) * initial cleanup * export unit tests, basic * map tests * basic comment tests * cleanup * export functional tests * fixes * Update export.rb * test fixes and further cleanup * extra test * trying again * another unit test * output errors? * Update map_test.rb * Update maps.yml * Update tag_test.rb * Bump rake from 10.5.0 to 12.3.2 (publiclab#286) Bumps [rake](https://github.com/ruby/rake) from 10.5.0 to 12.3.2. - [Release notes](https://github.com/ruby/rake/releases) - [Changelog](https://github.com/ruby/rake/blob/master/History.rdoc) - [Commits](ruby/rake@v10.5.0...v12.3.2) Signed-off-by: dependabot[bot] <support@dependabot.com> * [Security] Bump i18n from 0.7.0 to 0.9.5 (publiclab#289) Bumps [i18n](https://github.com/svenfuchs/i18n) from 0.7.0 to 0.9.5. **This update includes security fixes.** - [Release notes](https://github.com/svenfuchs/i18n/releases) - [Changelog](https://github.com/ruby-i18n/i18n/blob/master/CHANGELOG.md) - [Commits](ruby-i18n/i18n@v0.7.0...v0.9.5) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump rdiscount from 2.1.7.1 to 2.2.0.1 (publiclab#321) Bumps [rdiscount](https://github.com/davidfstr/rdiscount) from 2.1.7.1 to 2.2.0.1. - [Release notes](https://github.com/davidfstr/rdiscount/releases) - [Changelog](https://github.com/davidfstr/rdiscount/blob/master/CHANGELOG.md) - [Commits](davidfstr/rdiscount@2.1.7.1...2.2.0.1) Signed-off-by: dependabot[bot] <support@dependabot.com> * Unit test warpable code (publiclab#331) * tests for warpables, test to distort in ImageMagick * file existence test * make test folder * demo file and copying * delete demo image * mkdir -p * save_dimensions * Bump recaptcha from 4.6.3 to 4.9.0 (publiclab#332) Bumps [recaptcha](https://github.com/ambethia/recaptcha) from 4.6.3 to 4.9.0. - [Release notes](https://github.com/ambethia/recaptcha/releases) - [Changelog](https://github.com/ambethia/recaptcha/blob/master/CHANGELOG.md) - [Commits](ambethia/recaptcha@v4.6.3...v4.9.0) Signed-off-by: dependabot[bot] <support@dependabot.com> * basic map unit tests (publiclab#334) * basic map unit tests * try to run entire map.run_export * parameter consolidation * Updates to customize rails / ruby and mySQL version compatibility (publiclab#323) * update time fixtures and override sql primary default keys * Reset HEAD to first commit and reapply changes * Finalize comments for customizations * Changed a word * Change navbar to use the same layout as Public Lab MapKnitter is currently using a totally diferent navbar from Public Lab. Making both using the same makes it easier to follow the pattern in future projects * Add Bootstrap 4 to project * Redo navbar for Bootstrap 3.2.0 version
Related to #327
Hi all,
My proposal here is to change the navbar to use the same layout as Public Lab. That way, whenever we need to create a new navbar for a new project, we can follow this pattern. This also prevents having different CSS files and classes for every project, letting us focus on the project layout.
I still need to fix some small issues, like the login form and the search form.
But I have some questions that I wanted to ask before moving on:
The app is not using Bootstrap at all? I couldn't find a link to it, so I added a new one for Bootstrap 4. I may be missing something here, but it does not look like we are using Bootstrap. I am totally for using
Bootstrap 4, they have some nice cards and mobile utilities that make our work easier.
I noticed that the Resources link on the navbar was being hidden. Is it supposed to be removed from it?
Let me know your thoughts, please! @jywarren
Some screenshots: to help with the review: