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

Org selector refactor #2858

Merged
merged 8 commits into from
Apr 7, 2021
Merged

Org selector refactor #2858

merged 8 commits into from
Apr 7, 2021

Conversation

briri
Copy link
Contributor

@briri briri commented Apr 1, 2021

@raycarrick-ed I noticed that the 'Add contributor' page was failing because it was not setting the org_partial. I also noticed that the 'Sign in' menu was still trying to open the modal sign in/create account form that you removed.

This PR refactors those recent changes a bit.

  • Move setting of @all_orgs and @org_partial to the OrgSelectable concern which sets them in a before_action hook
  • Update 'Sign in' link in nav menu to send user to the root_path instead of trying to open the modal popup that was removed

@briri briri requested a review from raycarrick-ed April 1, 2021 12:27
Copy link
Contributor

@raycarrick-ed raycarrick-ed left a comment

Choose a reason for hiding this comment

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

That is a lot neater. Excellent.

@raycarrick-ed raycarrick-ed merged commit 13c790a into master Apr 7, 2021
@briri briri deleted the org-selector-refactor branch September 8, 2021 21:32
portagenetwork pushed a commit to portagenetwork/roadmap that referenced this pull request Feb 24, 2022
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