Skip to content

feat(site): refactor workspace header to be more slim #11327

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 21 commits into from
Jan 2, 2024
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
84f1bc4
Extract a few components to topbar module
BrunoQuaresma Dec 14, 2023
4ed5550
Extract and refactor a few more topbar componetns
BrunoQuaresma Dec 14, 2023
ffacb9f
WIP: Refactor workspace header
BrunoQuaresma Dec 15, 2023
a9ac963
Merge branch 'main' of https://github.com/coder/coder into bq/impleme…
BrunoQuaresma Dec 19, 2023
68c13ae
Improve outdated spacing
BrunoQuaresma Dec 19, 2023
ba88521
Merge branch 'main' of https://github.com/coder/coder into bq/impleme…
BrunoQuaresma Dec 20, 2023
3796085
Add schedule controls
BrunoQuaresma Dec 20, 2023
e0dd30d
Use topbar buttons
BrunoQuaresma Dec 20, 2023
c56d2f5
Add dormant to topbar
BrunoQuaresma Dec 20, 2023
90c3fc9
Add quota and minor accessibility improvements
BrunoQuaresma Dec 21, 2023
fdda1ba
Make template navigable
BrunoQuaresma Dec 21, 2023
f37a88d
Make visual adjustments
BrunoQuaresma Dec 21, 2023
26d6c09
Refactor icon colors
BrunoQuaresma Dec 22, 2023
5fa1f8f
Merge branch 'main' of https://github.com/coder/coder into bq/impleme…
BrunoQuaresma Dec 22, 2023
651b800
Add storybook
BrunoQuaresma Dec 22, 2023
d5510b2
Refactor storybook names
BrunoQuaresma Dec 22, 2023
d48c501
Merge branch 'main' of https://github.com/coder/coder into bq/impleme…
BrunoQuaresma Jan 2, 2024
19832ee
fix pill usage
BrunoQuaresma Jan 2, 2024
b8e80d0
add data-testid to workspace badge
BrunoQuaresma Jan 2, 2024
30f2a8c
Fix workspace status helper
BrunoQuaresma Jan 2, 2024
446bb76
remove span depedency from build-status
BrunoQuaresma Jan 2, 2024
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
Refactor storybook names
  • Loading branch information
BrunoQuaresma committed Dec 22, 2023
commit d5510b2d907a9a812e9ded9b5a998f0584522db8
Original file line number Diff line number Diff line change
Expand Up @@ -42,32 +42,32 @@ export const Outdated: Story = {
},
};

export const WithDeadline: Story = {
export const Dormant: Story = {
args: {
workspace: {
...MockWorkspace,
...baseWorkspace,
deleting_at: addDays(new Date(), 7).toISOString(),
latest_build: {
...MockWorkspace.latest_build,
deadline: MockWorkspace.latest_build.deadline,
...baseWorkspace.latest_build,
status: "failed",
},
},
},
};

export const Dormant: Story = {
export const WithDeadline: Story = {
args: {
workspace: {
...baseWorkspace,
deleting_at: addDays(new Date(), 7).toISOString(),
...MockWorkspace,
latest_build: {
...baseWorkspace.latest_build,
status: "failed",
...MockWorkspace.latest_build,
deadline: MockWorkspace.latest_build.deadline,
},
},
},
};

export const Quota: Story = {
export const WithQuota: Story = {
parameters: {
queries: [
{
Expand Down