Skip to content

feat[major]: support MPU on frontend. refac several components #74

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 1 commit into from
May 1, 2025

Conversation

SharzyL
Copy link
Owner

@SharzyL SharzyL commented May 1, 2025

No description provided.

Copy link

github-actions bot commented May 1, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 77.68%
⬇️ -0.03%
759 / 977
🔵 Statements 76.83%
⬇️ -0.26%
776 / 1010
🔵 Functions 75%
⬆️ +0.17%
123 / 164
🔵 Branches 70.88%
⬆️ +0.04%
504 / 711
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
frontend/components/CopyWidget.tsx 36.36% 50% 25% 36.36% 13-22
frontend/components/ErrorModal.tsx 38.46%
⬆️ +13.46%
0%
🟰 ±0%
33.33%
🟰 ±0%
38.46%
⬆️ +13.46%
17-30, 36
frontend/components/PasteSettingPanel.tsx 37.5%
⬆️ +8.93%
75%
🟰 ±0%
28.57%
🟰 ±0%
37.5%
⬆️ +8.93%
66-128
frontend/components/UploadedPanel.tsx 36.36%
⬇️ -20.78%
75%
⬆️ +25.00%
16.66%
⬇️ -33.34%
36.36%
⬇️ -20.78%
17-19, 62-87
frontend/pages/DecryptPaste.tsx 75.47%
⬆️ +11.98%
73.91%
⬆️ +7.91%
55.55%
⬆️ +24.79%
75.47%
⬆️ +11.98%
48, 57-58, 66-67, 70-71, 76, 96-97, 105, 117, 147
frontend/pages/PasteBin.tsx 66.15%
⬆️ +7.49%
66.66%
⬆️ +7.02%
77.77%
⬆️ +17.77%
68.25%
⬆️ +7.98%
68, 69, 75-76, 88-99, 111-127, 136, 143, 147-150
frontend/utils/uploader.ts 35.89%
⬇️ -6.21%
31.25%
⬇️ -5.11%
50%
🟰 ±0%
36.11%
⬇️ -6.74%
9-12, 27-37, 41, 44-46, 71-80
frontend/utils/utils.ts 44.44%
⬆️ +2.34%
27.27%
⬆️ +4.20%
60%
⬆️ +10.00%
45.71%
⬆️ +2.47%
14-15, 20, 23-28, 38, 46-51, 58-63, 69
shared/uploadMPU.ts 77.63%
⬇️ -8.90%
65.38%
⬇️ -16.76%
66.66%
⬆️ +16.66%
81.42%
⬇️ -4.85%
11-12, 42, 46, 50, 51, 52, 53, 66, 79, 92, 96, 104, 121, 141, 144, 151
worker/common.ts 95%
⬇️ -5.00%
50%
🟰 ±0%
100%
🟰 ±0%
94.73%
⬇️ -5.27%
28
worker/handlers/handleMPU.ts 78.84%
⬇️ -2.79%
68.75%
⬇️ -1.25%
100%
🟰 ±0%
78.84%
⬇️ -2.79%
17, 21, 43, 48, 51, 72, 75, 94, 99, 104-105
worker/handlers/handleWrite.ts 84.9%
⬇️ -0.67%
82.52%
⬇️ -0.30%
100%
🟰 ±0%
84.9%
⬇️ -0.67%
59-65, 97, 106, 112, 123, 151, 179, 186, 194, 228, 233
worker/storage/storage.ts 84.52%
⬆️ +1.60%
75.38%
⬆️ +5.74%
100%
🟰 ±0%
84.33%
⬆️ +1.62%
79-80, 101-102, 109, 132, 134, 137, 241-244, 251, 288
worker/test/testUtils.ts 80.39%
⬇️ -1.00%
73.33%
⬇️ -3.59%
100%
🟰 ±0%
82.97%
⬇️ -2.03%
46-48, 77-79, 111, 117
Generated in workflow #55 for commit 004072a by the Vitest Coverage Report Action

@SharzyL SharzyL merged commit ff5d465 into goshujin May 1, 2025
3 checks passed
@SharzyL SharzyL deleted the multipart branch May 1, 2025 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant