Skip to content

feat: add workspace last used #3816

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

Merged
merged 7 commits into from
Sep 2, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! Improve colors
  • Loading branch information
ammario committed Sep 1, 2022
commit 406bcbe225d840d1bfc5f1bb858d50d2f37cadd6
2 changes: 0 additions & 2 deletions site/src/components/WorkspacesTable/WorkspaceLastUsed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ export const WorkspaceLastUsed: FC<WorkspaceLastUsedProps> = ({ lastUsedAt }) =>
color = theme.palette.success.main
// Since the agent reports on a 10m interval,
// the last_used_at can be inaccurate when recent.
// we default to "Today" instead of showing a
// potentially inaccurate value.
message = "Last Hour"
} else if (t.isAfter(now.subtract(1, "day"))) {
color = theme.palette.primary.main
Expand Down