René's URL Explorer Experiment


Title: refactor(site): generalize UserCell component by greyscaled · Pull Request #484 · coder/coder · GitHub

Open Graph Title: refactor(site): generalize UserCell component by greyscaled · Pull Request #484 · coder/coder

X Title: refactor(site): generalize UserCell component by greyscaled · Pull Request #484 · coder/coder

Description: Summary: This is a first step in porting over v1 AuditLog in a refactored/cleaned up fashion. The existing UserCell component was generalized for re-use. Details: Move UserCell to components/Table/Cells Add tests and stories for UserCell Impact: The UserCell is used in the User dropdown menu and in the Navbar. We should verify that those are unaffected by this change. Furthermore, this unblocks future work in list views like the audit log, user management panel and organizations management panel. Relations: This commit relates to #472, but does not finish it. This commit should not merge until after #465 and #483 because it's based on them. TODO: rebase after #465 and #483 are merged

Open Graph Description: Summary: This is a first step in porting over v1 AuditLog in a refactored/cleaned up fashion. The existing UserCell component was generalized for re-use. Details: Move UserCell to components/Table...

X Description: Summary: This is a first step in porting over v1 AuditLog in a refactored/cleaned up fashion. The existing UserCell component was generalized for re-use. Details: Move UserCell to components/Table...

Opengraph URL: https://github.com/coder/coder/pull/484

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:00f70a26-2038-6344-a8bf-da58a8d833c8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD2DA:154D88:1745B00:1DAD67D:6B017D0B
html-safe-nonceb54984a2c89be9d434e72beb2dc22894ce188c31049dff8bd729307de81b7b10
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkRBOjE1NEQ4ODoxNzQ1QjAwOjFEQUQ2N0Q6NkIwMTdEMEIiLCJ2aXNpdG9yX2lkIjoiNzIxMTAzNjk3NTUwMjAzMjEzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac164ae6b4efb2aa4b4a49643e10bc86aefd622d39c47b760cd42a01c530848f65
hovercard-subject-tagpull_request:883162744
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/coder/coder/pull/484/files
twitter:imagehttps://avatars.githubusercontent.com/u/11184711?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/11184711?s=400&v=4
og:image:altSummary: This is a first step in porting over v1 AuditLog in a refactored/cleaned up fashion. The existing UserCell component was generalized for re-use. Details: Move UserCell to components/Table...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/coder/coder/pull/484/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F484%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F484%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/pull/484/files
Reloadhttps://github.com/coder/coder/pull/484/files
Reloadhttps://github.com/coder/coder/pull/484/files
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests470 (470)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose
greyscaledhttps://github.com/greyscaled
mainhttps://github.com/coder/coder/tree/main
vapurrmaid/472-init-audit-loghttps://github.com/coder/coder/tree/vapurrmaid/472-init-audit-log
Conversation 8 https://github.com/coder/coder/pull/484
Commits 7 https://github.com/coder/coder/pull/484/commits
Checks 0 https://github.com/coder/coder/pull/484/checks
Files changed https://github.com/coder/coder/pull/484/files
Please reload this pagehttps://github.com/coder/coder/pull/484/files
refactor(site): generalize UserCell component https://github.com/coder/coder/pull/484/files#top
Show all changes 7 commits https://github.com/coder/coder/pull/484/files
7a6df41 feat(site): add UserCell component greyscaled Mar 18, 2022 https://github.com/coder/coder/pull/484/commits/7a6df4119ae7974a0f381fc89f67184a696b5645
4fe1431 fixup! feat(site): add UserCell component greyscaled Mar 18, 2022 https://github.com/coder/coder/pull/484/commits/4fe14318fd556493f28d50a4824f775ea586f83b
f006d0b document code greyscaled Mar 18, 2022 https://github.com/coder/coder/pull/484/commits/f006d0b078281eb25d9a82c1f726ab4f04697359
c0a7360 fixup! document code greyscaled Mar 22, 2022 https://github.com/coder/coder/pull/484/commits/c0a73603da46ce51af2b0560da1ea4d7a98888ff
e71346c Merge origin/main greyscaled Mar 22, 2022 https://github.com/coder/coder/pull/484/commits/e71346ca497f5e3bb7f534fdc03562e1c1f07ead
d05c7e3 reorder type greyscaled Mar 22, 2022 https://github.com/coder/coder/pull/484/commits/d05c7e3df79ca3ae3b9a40277552568ec5faa769
ec4ac6d fixup! reorder type greyscaled Mar 23, 2022 https://github.com/coder/coder/pull/484/commits/ec4ac6d82c56748a1fc887baf6651a29bdd4379d
Clear filters https://github.com/coder/coder/pull/484/files
Please reload this pagehttps://github.com/coder/coder/pull/484/files
Please reload this pagehttps://github.com/coder/coder/pull/484/files
types.ts https://github.com/coder/coder/pull/484/files#diff-d1d0bc7cae3be99605afaeb06a24a39633985f6b2dac056880b6a78359aad5e1
UserDropdown.tsx https://github.com/coder/coder/pull/484/files#diff-ada7a60904c016cb6390b131274499b3f2ac45994c8073140b9fb70a8460a7da
UserCell.stories.tsx https://github.com/coder/coder/pull/484/files#diff-b16e758ec888654f2d3e104397661b564a38bfe576ab70df71409719bf3024a3
UserCell.test.tsx https://github.com/coder/coder/pull/484/files#diff-66bf39b8be5627e79e835124b5d643c8c20cb8fcd86f053d5af9b835f6324e65
UserCell.tsx https://github.com/coder/coder/pull/484/files#diff-6004ba88f599adbda4855bf60812132c1f6d113cc2ca5ef5ecf8fed20f37312b
UserAvatar.tsx https://github.com/coder/coder/pull/484/files#diff-6545ef1ca796687ee8315b80340a90ebf52023552470bccc7038127fa0e0d62b
UserProfileCard.tsx https://github.com/coder/coder/pull/484/files#diff-3dcfb037fd820983fa01af20ae51229a32d5005ed48f4ccb5e08ee87367c7963
entities.ts https://github.com/coder/coder/pull/484/files#diff-17d4085655c8057050f6b6a6f2fe78058f1cf38269aaaab8ab6208bfdb685d9b
first-letter.test.ts https://github.com/coder/coder/pull/484/files#diff-06bc6358df5db0c39011a82bca6b33d924785d8c2db880b8014c70ee4c36a69b
first-letter.ts https://github.com/coder/coder/pull/484/files#diff-d271c17334f5e7c5d169770a7c91a5ca5a38d753b484dfc1a3980a2c23448445
site/src/api/types.tshttps://github.com/coder/coder/pull/484/files#diff-d1d0bc7cae3be99605afaeb06a24a39633985f6b2dac056880b6a78359aad5e1
View file https://github.com/coder/coder/blob/ec4ac6d82c56748a1fc887baf6651a29bdd4379d/site/src/api/types.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/484/{{ revealButtonHref }}
https://github.com/coder/coder/pull/484/files#diff-d1d0bc7cae3be99605afaeb06a24a39633985f6b2dac056880b6a78359aad5e1
site/src/components/Navbar/UserDropdown.tsxhttps://github.com/coder/coder/pull/484/files#diff-ada7a60904c016cb6390b131274499b3f2ac45994c8073140b9fb70a8460a7da
View file https://github.com/coder/coder/blob/ec4ac6d82c56748a1fc887baf6651a29bdd4379d/site/src/components/Navbar/UserDropdown.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/484/{{ revealButtonHref }}
https://github.com/coder/coder/pull/484/files#diff-ada7a60904c016cb6390b131274499b3f2ac45994c8073140b9fb70a8460a7da
https://github.com/coder/coder/pull/484/files#diff-ada7a60904c016cb6390b131274499b3f2ac45994c8073140b9fb70a8460a7da
site/src/components/Table/Cells/UserCell.stories.tsxhttps://github.com/coder/coder/pull/484/files#diff-b16e758ec888654f2d3e104397661b564a38bfe576ab70df71409719bf3024a3
View file https://github.com/coder/coder/blob/ec4ac6d82c56748a1fc887baf6651a29bdd4379d/site/src/components/Table/Cells/UserCell.stories.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/484/{{ revealButtonHref }}
greyscaledhttps://github.com/greyscaled
Mar 22, 2022https://github.com/coder/coder/pull/484/files#r832724506
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@presleyphttps://github.com/presleyp
Please reload this pagehttps://github.com/coder/coder/pull/484/files
presleyphttps://github.com/presleyp
Mar 23, 2022https://github.com/coder/coder/pull/484/files#r833294245
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/484/files
site/src/components/Table/Cells/UserCell.test.tsxhttps://github.com/coder/coder/pull/484/files#diff-66bf39b8be5627e79e835124b5d643c8c20cb8fcd86f053d5af9b835f6324e65
View file https://github.com/coder/coder/blob/ec4ac6d82c56748a1fc887baf6651a29bdd4379d/site/src/components/Table/Cells/UserCell.test.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/484/{{ revealButtonHref }}
site/src/components/Table/Cells/UserCell.tsxhttps://github.com/coder/coder/pull/484/files#diff-6004ba88f599adbda4855bf60812132c1f6d113cc2ca5ef5ecf8fed20f37312b
View file https://github.com/coder/coder/blob/ec4ac6d82c56748a1fc887baf6651a29bdd4379d/site/src/components/Table/Cells/UserCell.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/484/{{ revealButtonHref }}
site/src/components/User/UserAvatar.tsxhttps://github.com/coder/coder/pull/484/files#diff-6545ef1ca796687ee8315b80340a90ebf52023552470bccc7038127fa0e0d62b
View file https://github.com/coder/coder/blob/ec4ac6d82c56748a1fc887baf6651a29bdd4379d/site/src/components/User/UserAvatar.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/484/{{ revealButtonHref }}
presleyphttps://github.com/presleyp
Mar 23, 2022https://github.com/coder/coder/pull/484/files#r833310985
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/484/files
site/src/components/User/UserProfileCard.tsxhttps://github.com/coder/coder/pull/484/files#diff-3dcfb037fd820983fa01af20ae51229a32d5005ed48f4ccb5e08ee87367c7963
View file https://github.com/coder/coder/blob/ec4ac6d82c56748a1fc887baf6651a29bdd4379d/site/src/components/User/UserProfileCard.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/484/{{ revealButtonHref }}
https://github.com/coder/coder/pull/484/files#diff-3dcfb037fd820983fa01af20ae51229a32d5005ed48f4ccb5e08ee87367c7963
presleyphttps://github.com/presleyp
Mar 23, 2022https://github.com/coder/coder/pull/484/files#r833311740
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/484/files
https://github.com/coder/coder/pull/484/files#diff-3dcfb037fd820983fa01af20ae51229a32d5005ed48f4ccb5e08ee87367c7963
site/src/test_helpers/entities.tshttps://github.com/coder/coder/pull/484/files#diff-17d4085655c8057050f6b6a6f2fe78058f1cf38269aaaab8ab6208bfdb685d9b
View file https://github.com/coder/coder/blob/ec4ac6d82c56748a1fc887baf6651a29bdd4379d/site/src/test_helpers/entities.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/484/{{ revealButtonHref }}
https://github.com/coder/coder/pull/484/files#diff-17d4085655c8057050f6b6a6f2fe78058f1cf38269aaaab8ab6208bfdb685d9b
https://github.com/coder/coder/pull/484/files#diff-17d4085655c8057050f6b6a6f2fe78058f1cf38269aaaab8ab6208bfdb685d9b
site/src/util/first-letter.test.tshttps://github.com/coder/coder/pull/484/files#diff-06bc6358df5db0c39011a82bca6b33d924785d8c2db880b8014c70ee4c36a69b
View file https://github.com/coder/coder/blob/ec4ac6d82c56748a1fc887baf6651a29bdd4379d/site/src/util/first-letter.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/484/{{ revealButtonHref }}
site/src/util/first-letter.tshttps://github.com/coder/coder/pull/484/files#diff-d271c17334f5e7c5d169770a7c91a5ca5a38d753b484dfc1a3980a2c23448445
View file https://github.com/coder/coder/blob/ec4ac6d82c56748a1fc887baf6651a29bdd4379d/site/src/util/first-letter.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/484/{{ revealButtonHref }}
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.