Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: consolidateManageSettingsLayout code#14885

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
aslilac merged 17 commits intomainfromlilac/anger
Oct 3, 2024
Merged

chore: consolidateManageSettingsLayout code#14885

aslilac merged 17 commits intomainfromlilac/anger
Oct 3, 2024

Conversation

aslilac
Copy link
Member

@aslilacaslilac commentedSep 30, 2024
edited
Loading

Clean up a bunch of tangles that only existed to service the"multi-organization" experiment, which has now been removed

Notably, theDeploySettingsLayout component has been folded intoManagementSettingsLayout since they're both for controlling state in the "same part" of the app, one just needed to also exist outside of orgs. No longer needed!

<header>
<h2 css={styles.sidebarHeader}>Deployment</h2>
</header>
{showOrganizations && (
Copy link
Contributor

Choose a reason for hiding this comment

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

Why would showOrganizations need to be true to show only the Deployment header? Is there some reason to show DeploymentSettingsNavigation without the Header text?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

it just looks weird for it to say deployment twice without the organizations section below. it's weird, but we'll get rid of this when we adopt the designs we went over with Christin.

Copy link
Member

@ParkreinerParkreiner left a comment

Choose a reason for hiding this comment

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

I think this looks good. Just want to get confirmation on the redirect logic before I approve, to make sure it is working as intended

@@ -102,7 +102,7 @@ const UsersPage: FC = () => {
authMethodsQuery.isLoading ||
groupsByUserIdQuery.isLoading;

if (showOrganizations &&location.pathname!== "/deployment/users") {
if (location.pathname=== "/users") {
Copy link
Member

Choose a reason for hiding this comment

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

Could I get more context on this change? Mainly wondering why we went from!== to===

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

The goal is just to always redirect from /users to /deployment/users. I guess I could've left it the other way, this just feels clearer to me.

Copy link
Contributor

@jaaydenhjaaydenh left a comment

Choose a reason for hiding this comment

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

Overall, looks good, I think it would be useful to add to description of the PR more details about, why deploySettings and organizationSettings were combined into ManagementSettings.

@aslilacaslilacenabled auto-merge (squash)October 3, 2024 22:00
@aslilacaslilac merged commit8b6a06d intomainOct 3, 2024
27 checks passed
@aslilacaslilac deleted the lilac/anger branchOctober 3, 2024 22:00
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsOct 3, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@ParkreinerParkreinerParkreiner left review comments

@jaaydenhjaaydenhjaaydenh approved these changes

Assignees

@aslilacaslilac

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@aslilac@jaaydenh@Parkreiner

[8]ページ先頭

©2009-2025 Movatter.jp