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

Refactoring and standardizing secondary menus #313

Merged
merged 7 commits into from
Feb 1, 2017

Conversation

atruskie
Copy link
Member

@atruskie atruskie commented Dec 14, 2016

See #275

This PR is probably 33% complete

Closes #275

@coveralls
Copy link

coveralls commented Dec 14, 2016

Coverage Status

Coverage decreased (-0.6%) to 84.571% when pulling 7eefa74 on secondary-menu-redesign into c1e483a on develop.

Fixes #242

Also adds a `data-message-type` attribute to the alert DOM to make
future debugging of flashes easier.
Allows this method to never execute the projects query when the current
user is the admin user.
- label placement is now automatic
- made helper link functions for new, edit, delete, and visualize
- almost completed site page
- add a custom 'annotation' icon
- removed unnecessary association for `update_location_obfuscated`
- added and info_bar widget partial for the right hand side actions bar
- refactored common link cruft into _nav_buton.html.haml and
_nav_item.html.haml
@coveralls
Copy link

coveralls commented Jan 12, 2017

Coverage Status

Coverage decreased (-3.7%) to 81.425% when pulling c0aaf12 on secondary-menu-redesign into c1e483a on develop.

Work for #275 .

There are lots of changes.

There are still links that need to be cleaned up in the admin section.

There likely is a better way to do a lot of this too. In paritcular I'm
thinking some kind of MVVM methodolgy (where view specific variables can
be defined in code for entire folders). Even so, a lot of helper
functions have been defined that will ensure consistency of menu links.

However we need to ship, so smaller changes/refactors/fixes will be done
at a later time.
@atruskie atruskie changed the title [WIP] Refactoring and stanardizing secondary menus Refactoring and stanardizing secondary menus Feb 1, 2017
@atruskie atruskie changed the title Refactoring and stanardizing secondary menus Refactoring and standarizing secondary menus Feb 1, 2017
@atruskie atruskie changed the title Refactoring and standarizing secondary menus Refactoring and standardizing secondary menus Feb 1, 2017
@atruskie atruskie merged commit 42da8bb into develop Feb 1, 2017
@coveralls
Copy link

coveralls commented Feb 1, 2017

Coverage Status

Coverage decreased (-50.4%) to 34.744% when pulling c56203c on secondary-menu-redesign into 6df08f4 on develop.

atruskie added a commit to QutEcoacoustics/baw-client that referenced this pull request Feb 10, 2017
baw-server updated it's navigation to the new design style but also
overtook where we left the client. These changes bring both designs to
parity.

See QutEcoacoustics/baw-server#313

Addresses #260
@atruskie atruskie deleted the secondary-menu-redesign branch June 4, 2020 03:01
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.

2 participants