René's URL Explorer Experiment


Title: Send workspace display status in API response · Issue #2772 · coder/coder · GitHub

Open Graph Title: Send workspace display status in API response · Issue #2772 · coder/coder

X Title: Send workspace display status in API response · Issue #2772 · coder/coder

Description: As per the discussion on #2743, we want to use consolidated logic from backend to compute workspace status to be displayed in UI as well as CLI. Currently, frontend computes the display status itself, and backend also has duplicated logi...

Open Graph Description: As per the discussion on #2743, we want to use consolidated logic from backend to compute workspace status to be displayed in UI as well as CLI. Currently, frontend computes the display status itse...

X Description: As per the discussion on #2743, we want to use consolidated logic from backend to compute workspace status to be displayed in UI as well as CLI. Currently, frontend computes the display status itse...

Opengraph URL: https://github.com/coder/coder/issues/2772

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Send workspace display status in API response ","articleBody":"As per the discussion on #2743, we want to use consolidated logic from backend to compute workspace status to be displayed in UI as well as CLI.\r\n\r\nCurrently, frontend computes the display status itself, and backend also has duplicated logic after #2743.\r\n\r\n### Frontend code\r\nhttps://github.com/coder/coder/blob/482feef3731666cc14548277cb4a5215a4cac863/site/src/util/workspace.ts#L22-L54\r\n\r\n### Backend code\r\nhttps://github.com/coder/coder/blob/28d0f4cae95374b094c8fdad7582ad1c4e471d83/codersdk/workspacedisplaystatus.go#L1-L48\r\n\r\nWe plan to send the display status as part of the API response along with other workspace details, and use it in the frontend directly. This should get rid of the duplicated logic.\r\n\r\n","author":{"url":"https://github.com/AbhineetJain","@type":"Person","name":"AbhineetJain"},"datePublished":"2022-07-01T07:28:51Z","url":"https://github.com/coder/coder/issues/2772"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5831683d-a61a-2315-3df0-2df469c1ced0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC552:1DC4CC:9707F:CA98A:6B018124
html-safe-nonce149d49214afa048364e925fbf45bc0405d7d635770629422045c6b38d7e8aca4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTUyOjFEQzRDQzo5NzA3RjpDQTk4QTo2QjAxODEyNCIsInZpc2l0b3JfaWQiOiIxOTYwNzQ4MjM3NDk4Mjg5MDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7d34a82e155598d782eb424b3b8ad360dfd786947e9ea0d5713d532ca861ba7d
hovercard-subject-tagissue:1291025101
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/2772/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6faae7ae4e288dc656e094cea3eccf95e9ff031cad2f381a1b9252eaa3d70cd5/coder/coder/issues/2772
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6faae7ae4e288dc656e094cea3eccf95e9ff031cad2f381a1b9252eaa3d70cd5/coder/coder/issues/2772
og:image:altAs per the discussion on #2743, we want to use consolidated logic from backend to compute workspace status to be displayed in UI as well as CLI. Currently, frontend computes the display status itse...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAbhineetJain
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
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
disable-turbofalse
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
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/coder/issues/2772#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F2772
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%2Fissues%2F2772
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/issues/2772
Reloadhttps://github.com/coder/coder/issues/2772
Reloadhttps://github.com/coder/coder/issues/2772
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
https://github.com/coder/coder
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/2772
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/2772
Send workspace display status in API response https://github.com/coder/coder/issues/2772#top
apiArea: HTTP APIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22api%22
siteArea: frontend dashboardhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22site%22
staleThis issue is like stale bread.https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22stale%22
https://github.com/AbhineetJain
AbhineetJainhttps://github.com/AbhineetJain
on Jul 1, 2022https://github.com/coder/coder/issues/2772#issue-1291025101
#2743https://github.com/coder/coder/pull/2743
#2743https://github.com/coder/coder/pull/2743
coder/site/src/util/workspace.tshttps://github.com/coder/coder/blob/482feef3731666cc14548277cb4a5215a4cac863/site/src/util/workspace.ts#L22-L54
482feefhttps://github.com/coder/coder/commit/482feef3731666cc14548277cb4a5215a4cac863
coder/codersdk/workspacedisplaystatus.gohttps://github.com/coder/coder/blob/28d0f4cae95374b094c8fdad7582ad1c4e471d83/codersdk/workspacedisplaystatus.go#L1-L48
28d0f4chttps://github.com/coder/coder/commit/28d0f4cae95374b094c8fdad7582ad1c4e471d83
AbhineetJainhttps://github.com/AbhineetJain
siteArea: frontend dashboardhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22site%22
apiArea: HTTP APIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22api%22
on Jul 1, 2022https://github.com/coder/coder/issues/2772#event-6916286787
AbhineetJainhttps://github.com/AbhineetJain
on Jul 1, 2022https://github.com/coder/coder/issues/2772#event-6916293746
AbhineetJainhttps://github.com/AbhineetJain
on Jul 12, 2022https://github.com/coder/coder/issues/2772#event-6973770194
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Sep 11, 2022https://github.com/coder/coder/issues/2772#issuecomment-1242824159
github-actionshttps://github.com/apps/github-actions
staleThis issue is like stale bread.https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22stale%22
on Sep 11, 2022https://github.com/coder/coder/issues/2772#event-7361555812
github-actionshttps://github.com/apps/github-actions
completedhttps://github.com/coder/coder/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Sep 18, 2022https://github.com/coder/coder/issues/2772#event-7408241243
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/coder/issues/2772
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/coder/issues/2772
apiArea: HTTP APIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22api%22
siteArea: frontend dashboardhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22site%22
staleThis issue is like stale bread.https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22stale%22
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.