Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

various OrgArea fixes#63962

Merged
sqs merged 2 commits into
mainfrom
sqs/site-admin-orgs
Jul 21, 2024
Merged

various OrgArea fixes#63962
sqs merged 2 commits into
mainfrom
sqs/site-admin-orgs

Conversation

@sqs

@sqs sqs commented Jul 19, 2024

Copy link
Copy Markdown
Member
  • Make it a React function component (not class componnt)
  • Remove prop drilling for isSourcegraphDotCom to remove a bunch of code
  • fix issue in Back button after clicking to an org from the site admin orgs page. Repro: 1. Go to /site-admin/organizations. 2. Click on an org. 3. Click the browser's back button. This was already being done for the user routes.

Test plan

Repro described above

sqs added 2 commits July 19, 2024 16:03
… orgs page

Repro:

1. Go to /site-admin/organizations
2. Click on an org
3. Click the browser's back button

This was already being done for the user routes.
- Make it a React function component (not class componnt)
- Remove prop drilling for isSourcegraphDotCom to remove a bunch of code
@cla-bot cla-bot Bot added the cla-signed label Jul 19, 2024
@sqs sqs requested review from a team July 19, 2024 23:33

@peterguy peterguy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Haven’t had a chance to test it yet (on mobile), but the changes look like they’ll do the job. Appreciate the props drilling cleanup.

@sqs sqs merged commit 30c0184 into main Jul 21, 2024
@sqs sqs deleted the sqs/site-admin-orgs branch July 21, 2024 03:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants