Skip to content
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

feat(Overview): refactor Rsdoctor Overview UI #625

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

nyqykk
Copy link
Member

@nyqykk nyqykk commented Dec 5, 2024

Summary

Rsdoctor Overview UI refactor
Before:
image

After:
image

Copy link

netlify bot commented Dec 5, 2024

Deploy Preview for rsdoctor ready!

Name Link
🔨 Latest commit 1574432
🔍 Latest deploy log https://app.netlify.com/sites/rsdoctor/deploys/6762994f5efcc000090b3a6f
😎 Deploy Preview https://deploy-preview-625--rsdoctor.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nyqykk nyqykk changed the title [WIP]: feat: refactor Rsdoctor UI feat(overview): refactor Rsdoctor UI Dec 18, 2024
@nyqykk nyqykk changed the title feat(overview): refactor Rsdoctor UI feat(overall): refactor Rsdoctor overall UI Dec 18, 2024
@nyqykk nyqykk changed the title feat(overall): refactor Rsdoctor overall UI feat(Overview): refactor Rsdoctor Overview UI Dec 18, 2024
target: 'es2020',
outDir: './dist',
dts: {
abortOnError: false,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why disable abortOnError here


.description {
margin-right: 5px;
font-family: PingFang SC;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usually we use multiple fonts in font-family because different operating systems have different built-in fonts.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend using the global font-family for most elements. Only override font-family for code block or special numbers.

import TotalSizeSvg from '../../common/svg/total-size.svg';
import VersionSvg from '../../common/svg/version.svg';

import { Rule } from '@rsdoctor/types';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
import { Rule } from '@rsdoctor/types';
import type { Rule } from '@rsdoctor/types';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants