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

[TASK-977] Account routing and sidenav #5118

Draft
wants to merge 2 commits into
base: teams-project
Choose a base branch
from

Conversation

jamesrkiger
Copy link
Contributor

@jamesrkiger jamesrkiger commented Sep 19, 2024

Checklist

  1. If you've added code that should be tested, add tests
  2. If you've changed APIs, update (or create!) the documentation
  3. Ensure the tests pass
  4. Make sure that your code lints and that you've followed our coding style
  5. Write a title and, if necessary, a description of your work suitable for publishing in our release notes
  6. Mention any related issues in this repository (as #ISSUE) and in other repositories (as kobotoolbox/other#ISSUE)
  7. Open an issue in the docs if there are UI/UX changes

Description

Adds routing for the account settings views for the organization/teams feature and updates the account sidebar nav menu with logic to handle the arrangement of the menu according to whether or not stripe is enabled, whether or not a user's organization should be displayed as an organization in the UI and what role the has in their organization.

This is currently marked as a draft until the naming conventions for this project are finalized. The names in the UI and routes will have to change accordingly.

Notes

  1. Because we are phasing out bem components, I have reimplemented the account menu with a style module.

  2. I have removed the 'new' badge from addons and I am also removing the logic to check whether or not addons should be displayed, as this project will almost certainly only be completed after NLP addons are released, after which point addons will always be displayed.

Copy link

@jamesrkiger jamesrkiger marked this pull request as draft September 19, 2024 14:24
@jamesrkiger jamesrkiger marked this pull request as draft September 19, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant