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

Opportunity pages > multi page-menu behaviour #977

Closed
taisdesouzalessa opened this issue Jan 19, 2018 · 22 comments
Closed

Opportunity pages > multi page-menu behaviour #977

taisdesouzalessa opened this issue Jan 19, 2018 · 22 comments
Assignees
Labels

Comments

@taisdesouzalessa
Copy link
Contributor

I was wondering if we could fix a behaviour we are currently having in the multi-page menu, since this model of menu will also be used on the Fellowship Pages. The issue is that, once user select a category on the menu, the category doesn't stay visible

Current behaviour (once I click "Video" I still see "Net Neutrality Groups"):
current-behaviour

It was designed to have the category replaced on top once users click on that.
desired-behaviour-opt1

If this is too complicated to do, we could just have the word "menu" on top, always visible and as users select their option, it is still highlighted, but hidden under menu.
image

@alanmoo @xmatthewx I assigned this ticket to you both to : 1. get your opinion on this issue (if you think there is another solution I am not seeing) and 2. triage this ticket

@alanmoo
Copy link
Contributor

alanmoo commented Jan 19, 2018

As far as I can see, you're absolutely right, this is a bug and should show the current page. I think "Menu" would be too confusing.

Let's figure out #830 first, and then we can tackle this.

@xmatthewx
Copy link
Contributor

I agree totally. 1) Let's attempt to show current selection. If that's impossible for some weird reason, Menu is our best fallback. 2) This is less important than 830, but still pretty important. Thanks @taisdesouzalessa for catching this.

@xmatthewx xmatthewx removed their assignment Jan 19, 2018
@xmatthewx xmatthewx added the bug label Jan 19, 2018
@alanmoo
Copy link
Contributor

alanmoo commented Jan 19, 2018

I just poked at the code, I don't think it's too difficult to show, we just need the right mezzanine tag swapped out in one file.

@taisdesouzalessa
Copy link
Contributor Author

taisdesouzalessa commented Jan 25, 2018

@alanmoo I did some studies in how this top menu could behave and talked to @mmmavis about what could be the best behaviour for the users. We both agree that something like the example below would be a better user experience. Wondering if you think it costs lots of time to implement something like that. If so, we can go with original plan and do that later on, after MVP.

prototype-mobile-anim

Interactive InVision file if you want to click at your own pace:
https://invis.io/Z4FGLVDEP3W#/275358045_TEST2-MOBILE_-_FellowshipsUI_-_Overview_Copy

cc: @xmatthewx

@alanmoo
Copy link
Contributor

alanmoo commented Jan 26, 2018

Seems reasonable, at first glance anyway.

@muddlebee
Copy link
Contributor

cannot get to this view. Can anyone help ?

@alanmoo
Copy link
Contributor

alanmoo commented Jan 30, 2018

The pages in screen shots don't specifically exist. https://foundation.mozilla.org/opportunity/miti/ is an example of that kind of page though.

(If you're spinning this up locally, run the command to generate fake data, and look pages under the /opportunity/ route that have subpages.)

@mmmavis
Copy link
Collaborator

mmmavis commented Jan 31, 2018

This PR should address this mobile multi-page nav issue we are trying to fix here. Just a note that this fix is part of the WIP fellowships minisite work so the change won't be live until we are ready to launch the fellowship site.

example: https://foundation-mofostaging-pr-1020.herokuapp.com/fellowships/

mmmavis added a commit that referenced this issue Feb 1, 2018
* Related to #1019 - repsonsive fellowships nav + #977 - better multi-page nav on mobile
@xmatthewx
Copy link
Contributor

I checked the PR. The mobile nav in it works as expected. When that lands, we can double-check and then close this. 🎊

@taisdesouzalessa taisdesouzalessa changed the title Opportunitity pages > multi page-menu behaviour Opportunity pages > multi page-menu behaviour Feb 7, 2018
@kristinashu
Copy link

@mmmavis since Fellowship pages won't be launching as soon as expected, can this issue become a pull request separate from the fellowship work? This way it can fix the dropdown on the Opportunity pages asap.

@mmmavis
Copy link
Collaborator

mmmavis commented Feb 7, 2018

@kristinashu yup, I'll have a PR by end of the week.

@kristinashu
Copy link

Yay! 🥇

mmmavis added a commit that referenced this issue Feb 9, 2018
* Related to #977 - better secondary nav on mobile + added an secondary nav example to style guide page
@mmmavis
Copy link
Collaborator

mmmavis commented Feb 9, 2018

@taisdesouzalessa @kristinashu I just pushed fix to staging. Let me know if it works as expected. It seems fine on https://foundation.mofostaging.net/opportunity/net-neutrality-groups/ but it's a bit glitchy on /opportunity. Not sure if it's a huge problem though since we never shared that page to users 👀

@kristinashu
Copy link

Yay looks good to me @mmmavis but @taisdesouzalessa would know better!

@taisdesouzalessa
Copy link
Contributor Author

taisdesouzalessa commented Feb 9, 2018

It looks very nice, thanks, Mavis!!! :).

2 things:

  • we are having one issue: the menu disappears when we see it on the phone (not responsive mode viewport but in real devices). I remember this is an issue we had in the past with this menu disappearing - Sidebar isn't visible on opportunity pages with children #830
  • when the menu item has 2 lines the highlight just shows up in one of them:

image

@kristinashu
Copy link

@taisdesouzalessa are you signed in? I can see the menu items when signed in, this seems to be an issue on staging.

@taisdesouzalessa
Copy link
Contributor Author

True @kristinashu - I do see when it I am signed in on staging on my phone. If it is just staging maybe it doesn't need to be fixed, for now, I guess?

@kristinashu
Copy link

Yeah, let's keep this ticket focused on the menu name update. I believe there are separate tickets for the staging issue.

So just need to fix the two lines of underline issue you spotted!

@mmmavis
Copy link
Collaborator

mmmavis commented Feb 9, 2018

Good catch! I just filed a PR to fix the multi-line text link bug!

@alanmoo
Copy link
Contributor

alanmoo commented Feb 9, 2018

Changing the pages to "published" on staging (at the bottom of the edit page view in the admin) should make the nav show up when you're logged out.

mmmavis added a commit that referenced this issue Feb 9, 2018
* Related to #1019 - repsonsive fellowships nav + #977 - better multi-page nav on mobile
mmmavis added a commit that referenced this issue Feb 9, 2018
* Related to #1019 - repsonsive fellowships nav + #977 - better multi-page nav on mobile
mmmavis added a commit that referenced this issue Feb 9, 2018
* Related to #977 - fixed multi-line text link's underline bug
@taisdesouzalessa
Copy link
Contributor Author

Looks good to me! Tks @mmmavis :). Closing this issue since we are focusing on highlight only here. Feel free to reopen it if needed.

mmmavis added a commit that referenced this issue Feb 15, 2018
* Related to #1019 - repsonsive fellowships nav + #977 - better multi-page nav on mobile
mmmavis added a commit that referenced this issue Mar 6, 2018
* Set stage for fellowships pages w/ django template (#961)

* Set stage for fellowships pages w/ django template

* Adding some stub urls for the fellowships site. (#971)

* Adding some stub urls for the fellowships site.

* Update some of the urls a bit more

* fellowships homepage wireframe (#965)

* Fix review apps for fellows (#1010)

* Test commit

* Find out which url is it resolving to

* Fix stuff

* Remove debugging stuff

* fixed rebase conflicts

* Fellowships support page (#1006)

Fellowships support page

* fixed rebase conflicts

* Responsive fellowships nav & better multi-page nav on mobile (#1020)

* Related to #1019 - repsonsive fellowships nav + #977 - better multi-page nav on mobile

* Updated fellowships homepage (#1042)

* updated fellowships homepage

* updated fellowships support page (#1049)

* Fellowships directory pages (#1046)

* Related to #955 - fellowships directory pages

* Update fellowships type pages (#1059)

* added illustration to fellowship types page and fellowships support page (#1061)

* made fellowships work use the new master template (#1069)

* updated /apply page so it's in 'application open' state (#1070)

* More assets (#1073)

* added more assets & created a svg sub-folder

* added hero image to fellowships homepage

* Related to #1062 - hide affiliation meta from front end (#1075)

* design tweaks (#1081)

* design tweaks

* show fellow location in fellowships directory (#1103)

* Added loading icon (#1093)

* Related to #1045 - added loading icon

* Featured fellows (#1112)

* added featured fellows on fellowships homehomepomepage (hardcoded)

* hide some incomplete content for now (#1113)

* Fixes #1092 - added back missing icon & ran task to optimize svgs (#1108)

* Added placeholder headshot to Person component (#1119)

* Related #1114 - added placeholder headshot

* Updated fellowships homepage content and layout again (#1122)

* Related to #1120 - updated fellowships homepage content and layout again
* Related to #1124 - hero banner adjustment

* Fixed #1096 - replaced a svg (#1123)

* Content changes to apply page (#1127)

* Related to #1116 - content changes to apply page

* Fixed broken 'see work' link (#1129)

* Fixed #1128 - fixed broken 'see work' link

* Fixes #1144 - fixed a fellow's social link (#1145)

* remmoved 'senior fellow' section from directory pages (#1150)

* redirected /fellowship to /fellowships (#1149)

* redirected /fellowship to /fellowships

* removed an extra line

* Fellowships improvements (#1157)

* code improvement

* removed a few empty files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants