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

chore(ui): move users & about nav items #17849

Merged
merged 8 commits into from
May 6, 2020
Merged

Conversation

mavarius
Copy link
Contributor

@mavarius mavarius commented Apr 23, 2020

Closes #17578

  • Move Org nav items "members" and "about" to Profile nav menu
  • Rename "Members" to "Users" in cloud only

image

@mavarius mavarius changed the title WIP refactor(ui): move users & about nav items refactor(ui): move users & about nav items Apr 23, 2020
@mavarius mavarius changed the title refactor(ui): move users & about nav items WIP chore(ui): move users & about nav items Apr 23, 2020
@mavarius mavarius changed the title WIP chore(ui): move users & about nav items chore(ui): move users & about nav items Apr 23, 2020
Copy link
Contributor

@alexpaxton alexpaxton left a comment

Choose a reason for hiding this comment

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

Make sure to update the router as well

Copy link
Contributor

@hoorayimhelping hoorayimhelping left a comment

Choose a reason for hiding this comment

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

Curious: is the quartz issue also being done? The issues really emphasize them being done together.

CHANGELOG.md Outdated
Comment on lines 13 to 15
1. [17849](https://github.com/influxdata/influxdb/pull/17849): Move Organization navigation items to user menu.
1. [17714](https://github.com/influxdata/influxdb/pull/17714): Cloud environments no longer render markdown images, for security reasons.
1. [17321](https://github.com/influxdata/influxdb/pull/17321): Improve UI for sorting resources
1. [17740](https://github.com/influxdata/influxdb/pull/17740): Add single-color color schemes for visualizations
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: i think we append to the bottom not the top. not that it's a very big deal

Suggested change
1. [17849](https://github.com/influxdata/influxdb/pull/17849): Move Organization navigation items to user menu.
1. [17714](https://github.com/influxdata/influxdb/pull/17714): Cloud environments no longer render markdown images, for security reasons.
1. [17321](https://github.com/influxdata/influxdb/pull/17321): Improve UI for sorting resources
1. [17740](https://github.com/influxdata/influxdb/pull/17740): Add single-color color schemes for visualizations
1. [17714](https://github.com/influxdata/influxdb/pull/17714): Cloud environments no longer render markdown images, for security reasons.
1. [17321](https://github.com/influxdata/influxdb/pull/17321): Improve UI for sorting resources
1. [17740](https://github.com/influxdata/influxdb/pull/17740): Add single-color color schemes for visualizations
1. [17849](https://github.com/influxdata/influxdb/pull/17849): Move Organization navigation items to user menu.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

linkElement={className => (
<a
className={className}
href={`${CLOUD_URL}/organizations/${org.id}${CLOUD_USERS_PATH}`}
Copy link
Contributor

Choose a reason for hiding this comment

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

what's up with /orgs/ and /organizations/?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the route we ended up within Quartz, there's discussions ongoing around syncing this and users/members but that's outside the scope of this PR.

@alexpaxton
Copy link
Contributor

@mavarius can you throw some screenshots of the changes in here?

@alexpaxton
Copy link
Contributor

@alexpaxton
Copy link
Contributor

Actually, disregard my last comment

Copy link
Contributor

@lukevmorris lukevmorris left a comment

Choose a reason for hiding this comment

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

👍 But let's coordinate this deploy with cloud2.influxdata.com

@mavarius
Copy link
Contributor Author

Make sure to update the router as well

No changes need to be made to the routes, only the UI elements. "Members" is only renamed to "Users" in cloud, not OSS.

Copy link
Contributor

@alexpaxton alexpaxton left a comment

Choose a reason for hiding this comment

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

Groovy

@ischolten ischolten merged commit ac28d5b into master May 6, 2020
@ischolten ischolten deleted the refactor/org-nav-items branch May 6, 2020 23:36
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.

Move Org Tab Items
5 participants