devrsi0n / chirpy

๐Ÿ’ฌ A privacy-friendly and customizable Disqus (comment system) alternate. ๆณจ้‡้š็งไฟๆŠคๅ’ŒๅฎšๅˆถๅŒ–็š„่ฏ„่ฎบ็ณป็ปŸใ€‚
https://chirpy.dev
GNU Affero General Public License v3.0
555 stars 32 forks source link

feat: add announcement banner #551

Closed devrsi0n closed 1 year ago

devrsi0n commented 1 year ago

Description

image

Related Issue

Related to #541

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Checklist

changeset-bot[bot] commented 1 year ago

โš ๏ธ No Changeset found

Latest commit: 6c4a6bb661ac133dcf62f187d08c5c67abcf1334

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git โ†—๏ธŽ

Name Status Preview Updated
chirpy โœ… Ready (Inspect) Visit Preview Dec 4, 2022 at 5:21AM (UTC)
github-actions[bot] commented 1 year ago

Coverage report for ./apps/main

St.:grey_question:
Category Percentage Covered / Total
๐Ÿ”ด Statements
8.73% (+0.08% ๐Ÿ”ผ)
40/458
๐Ÿ”ด Branches 10.23% 9/88
๐Ÿ”ด Functions
4.1% (+0.03% ๐Ÿ”ผ)
5/122
๐Ÿ”ด Lines
9.25% (+0.09% ๐Ÿ”ผ)
38/411

Test suite run success

2 tests passing in 2 suites.

Report generated by ๐Ÿงชjest coverage report action from 6c4a6bb661ac133dcf62f187d08c5c67abcf1334

relativeci[bot] commented 1 year ago

Job #1190: Bundle Size โ€” 2MiB (-0.02%).

376a3a0(current) vs a452cbe main#1181(baseline)

Metrics (6 changes)
โ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒ โ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒCurrent
Job #1190
โ€ƒโ€ƒโ€ƒโ€ƒโ€ƒBaseline
Job #1181
Initial JS 1.03MiB(+0.17%) 1.03MiB
Initial CSS 86.05KiB(+0.53%) 85.6KiB
Cache Invalidation 40.77% 54.32%
Chunks 50 50
Assets 57 57
Modules 1041 1041
Duplicate Modules 178(-0.56%) 179
Duplicate Code 4.48%(-1.1%) 4.53%
Packages 88(-2.22%) 90
Duplicate Packages 0 0

Total size by type (3 changes)
| โ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒ | โ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒCurrent
[Job #1190](https://app.relative-ci.com/projects/rYoEVFddayylGRgFiBEd/jobs/1190-fP2UW9Lhl3I1Mo3OQrEk?utm_source=github&utm_medium=pr-report "View job report") | โ€ƒโ€ƒโ€ƒโ€ƒโ€ƒBaseline
[Job #1181](https://app.relative-ci.com/projects/rYoEVFddayylGRgFiBEd/jobs/1181-QGRg8zRHsO7VLyQplop7?utm_source=github&utm_medium=pr-report "View baseline job report") | |:--|--:|--:| | [CSS](https://app.relative-ci.com/projects/rYoEVFddayylGRgFiBEd/jobs/1190-fP2UW9Lhl3I1Mo3OQrEk/assets?ba=%7B%22filters%22%3A%7B%22ft.CSS%22%3Atrue%2C%22ft.JS%22%3Afalse%2C%22ft.IMG%22%3Afalse%2C%22ft.MEDIA%22%3Afalse%2C%22ft.FONT%22%3Afalse%2C%22ft.HTML%22%3Afalse%2C%22ft.OTHER%22%3Afalse%7D%7D "View all CSS assets") | `89.11KiB` (`+0.51%`) | `88.66KiB` | | [Fonts](https://app.relative-ci.com/projects/rYoEVFddayylGRgFiBEd/jobs/1190-fP2UW9Lhl3I1Mo3OQrEk/assets?ba=%7B%22filters%22%3A%7B%22ft.CSS%22%3Afalse%2C%22ft.JS%22%3Afalse%2C%22ft.IMG%22%3Afalse%2C%22ft.MEDIA%22%3Afalse%2C%22ft.FONT%22%3Atrue%2C%22ft.HTML%22%3Afalse%2C%22ft.OTHER%22%3Afalse%7D%7D "View all Fonts assets") | `0B` | `0B` | | [HTML](https://app.relative-ci.com/projects/rYoEVFddayylGRgFiBEd/jobs/1190-fP2UW9Lhl3I1Mo3OQrEk/assets?ba=%7B%22filters%22%3A%7B%22ft.CSS%22%3Afalse%2C%22ft.JS%22%3Afalse%2C%22ft.IMG%22%3Afalse%2C%22ft.MEDIA%22%3Afalse%2C%22ft.FONT%22%3Afalse%2C%22ft.HTML%22%3Atrue%2C%22ft.OTHER%22%3Afalse%7D%7D "View all HTML assets") | `0B` | `0B` | | [IMG](https://app.relative-ci.com/projects/rYoEVFddayylGRgFiBEd/jobs/1190-fP2UW9Lhl3I1Mo3OQrEk/assets?ba=%7B%22filters%22%3A%7B%22ft.CSS%22%3Afalse%2C%22ft.JS%22%3Afalse%2C%22ft.IMG%22%3Atrue%2C%22ft.MEDIA%22%3Afalse%2C%22ft.FONT%22%3Afalse%2C%22ft.HTML%22%3Afalse%2C%22ft.OTHER%22%3Afalse%7D%7D "View all IMG assets") | `0B` | `0B` | | [JS](https://app.relative-ci.com/projects/rYoEVFddayylGRgFiBEd/jobs/1190-fP2UW9Lhl3I1Mo3OQrEk/assets?ba=%7B%22filters%22%3A%7B%22ft.CSS%22%3Afalse%2C%22ft.JS%22%3Atrue%2C%22ft.IMG%22%3Afalse%2C%22ft.MEDIA%22%3Afalse%2C%22ft.FONT%22%3Afalse%2C%22ft.HTML%22%3Afalse%2C%22ft.OTHER%22%3Afalse%7D%7D "View all JS assets") | `1.9MiB` (`-0.05%`) | `1.9MiB` | | [Media](https://app.relative-ci.com/projects/rYoEVFddayylGRgFiBEd/jobs/1190-fP2UW9Lhl3I1Mo3OQrEk/assets?ba=%7B%22filters%22%3A%7B%22ft.CSS%22%3Afalse%2C%22ft.JS%22%3Afalse%2C%22ft.IMG%22%3Afalse%2C%22ft.MEDIA%22%3Atrue%2C%22ft.FONT%22%3Afalse%2C%22ft.HTML%22%3Afalse%2C%22ft.OTHER%22%3Afalse%7D%7D "View all Media assets") | `0B` | `0B` | | [Other](https://app.relative-ci.com/projects/rYoEVFddayylGRgFiBEd/jobs/1190-fP2UW9Lhl3I1Mo3OQrEk/assets?ba=%7B%22filters%22%3A%7B%22ft.CSS%22%3Afalse%2C%22ft.JS%22%3Afalse%2C%22ft.IMG%22%3Afalse%2C%22ft.MEDIA%22%3Afalse%2C%22ft.FONT%22%3Afalse%2C%22ft.HTML%22%3Afalse%2C%22ft.OTHER%22%3Atrue%7D%7D "View all Other assets") | `11.54KiB` (`+0.2%`) | `11.52KiB` |

View job #1190 reportโ€ƒView main branch activity

github-actions[bot] commented 1 year ago

Coverage report for ./packages/ui

St.:grey_question:
Category Percentage Covered / Total
๐Ÿ”ด Statements
52.79% (+0.04% ๐Ÿ”ผ)
2356/4463
๐Ÿ”ด Branches
26.65% (-0.02% ๐Ÿ”ป)
432/1621
๐Ÿ”ด Functions
36.26% (+0.03% ๐Ÿ”ผ)
459/1266
๐Ÿ”ด Lines
52.88% (+0.04% ๐Ÿ”ผ)
2240/4236
Show new covered files ๐Ÿฃ
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :----------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------- | :--------- | :------- | :-------- | :----- | | ๐ŸŸข |
`...` / index.ts
| 100% | 100% | 100% | 100% | | ๐Ÿ”ด |
`...` / banner.tsx
| 44.44% | 0% | 0% | 44.44% | | ๐ŸŸก |
`...` / use-storage.ts
| 59.57% | 42.86% | 53.85% | 60% | | ๐ŸŸข |
`...` / maintenance-banner.tsx
| 85.71% | 100% | 50% | 85.71% |
Show files with reduced coverage ๐Ÿ”ป
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :----------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------- | :------------------------------------------------------------- | :------- | :-------- | :------------------------------------------------------------- | | ๐Ÿ”ด |
`...` / use-register-device.ts
|
22.22% (-0.85% ๐Ÿ”ป)
| 0% | 0% |
22.22% (-0.85% ๐Ÿ”ป)
|

Test suite run success

50 tests passing in 32 suites.

Report generated by ๐Ÿงชjest coverage report action from 6c4a6bb661ac133dcf62f187d08c5c67abcf1334

cypress[bot] commented 1 year ago



Test summary

5 1 0 1Flakiness 1


Run details

Project chirpy
Status Failed
Commit 6c4a6bb661
Started Dec 4, 2022 5:23 AM
Ended Dec 4, 2022 5:25 AM
Duration 01:46 ๐Ÿ’ก
OS Linux Ubuntu - 22.04
Browser Chrome 107

View run in Cypress Dashboard โžก๏ธ


Failures

cypress/e2e/dashboard/project.spec.ts Failed
1 Project > should show integration doc

Flakiness

cypress/e2e/home/header.spec.ts Flakiness
1 Header > should show user menu

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard