Skip to content

feat(site): add download logs option #13466

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 27 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
051217a
Download agent logs
BrunoQuaresma Jun 3, 2024
c9af899
Download workspace logs
BrunoQuaresma Jun 3, 2024
e479cf2
Use Logs instead of Agent Logs
BrunoQuaresma Jun 3, 2024
9ccc9e1
Centralize items list
BrunoQuaresma Jun 3, 2024
128f938
Init files with build logs
BrunoQuaresma Jun 3, 2024
4d5c9cb
Add tests for the download logs dialog
BrunoQuaresma Jun 4, 2024
11b528a
Add test to verify if download dialog is opening
BrunoQuaresma Jun 4, 2024
efcee2b
Add tests to download agent logs
BrunoQuaresma Jun 4, 2024
895e942
Fix package.json
BrunoQuaresma Jun 4, 2024
9ee7fd4
Commit Asher suggestions
BrunoQuaresma Jun 4, 2024
a71529a
Fix open download logs story
BrunoQuaresma Jun 5, 2024
f82a4e4
Fix dropdown arrow on light theme
BrunoQuaresma Jun 5, 2024
967fc0b
Enable agent logs only when showing
BrunoQuaresma Jun 5, 2024
73af195
Use web socket decorator and remove specific props for storybook
BrunoQuaresma Jun 5, 2024
f145ead
Refactor useAgentLogs to optimize loading
BrunoQuaresma Jun 5, 2024
5baa052
Add prefetch back
BrunoQuaresma Jun 5, 2024
40d2a65
Only fetch logs when clicking on download
BrunoQuaresma Jun 5, 2024
35368ee
Add useAgentLogs test
BrunoQuaresma Jun 5, 2024
10b4b71
Use Michael refactoring of useAgentLogs
BrunoQuaresma Jun 6, 2024
8da2d28
Improve naming
BrunoQuaresma Jun 6, 2024
b54c72c
Improve naming
BrunoQuaresma Jun 6, 2024
83f60dd
Fix hook usage
BrunoQuaresma Jun 6, 2024
6f85490
allow pkg
sreya Jun 6, 2024
270e04e
Rollback useAgentLogs implementation
BrunoQuaresma Jun 6, 2024
a6ab9fd
Add decorators to fix storybook
BrunoQuaresma Jun 6, 2024
c1f281c
Merge branch 'bq/download-logs' of https://github.com/coder/coder int…
BrunoQuaresma Jun 6, 2024
fab7d56
Apply Asher suggestions
BrunoQuaresma Jun 7, 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
Add decorators to fix storybook
  • Loading branch information
BrunoQuaresma committed Jun 6, 2024
commit a6ab9fdfbca45c08bc1ba99fa925e50047fa08a5
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ const meta: Meta<typeof DownloadLogsDialog> = {
},
],
},
decorators: [
(Story) => (
<div css={{ width: 1200, height: 800 }}>
<Story />
</div>
),
],
};

export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ const meta: Meta<typeof WorkspaceActions> = {
args: {
isUpdating: false,
},
decorators: [
(Story) => (
<div css={{ width: 1200, height: 800 }}>
<Story />
</div>
),
],
};

export default meta;
Expand Down