Skip to content

Add page container component for all page. - #2608

Merged
Keith-CY merged 1 commit into
nervosnetwork:feat-new-ui-overview-for-mergefrom
yanguoyu:feat-new-ui-page-container
Mar 24, 2023
Merged

Add page container component for all page.#2608
Keith-CY merged 1 commit into
nervosnetwork:feat-new-ui-overview-for-mergefrom
yanguoyu:feat-new-ui-page-container

Conversation

@yanguoyu

Copy link
Copy Markdown
Contributor

Only need to attention to the page head. Others in the overview will open another pr.

pageContainer.mov

@Keith-CY

Copy link
Copy Markdown
Contributor

Only need to attention to the page head. Others in the overview will open another pr.

The arrow should point down by default and point up on hovering
image
image

@yanguoyu

Copy link
Copy Markdown
Contributor Author

Only need to attention to the page head. Others in the overview will open another pr.

The arrow should point down by default and point up on hovering image image

Fixed.

image

image

@yanguoyu

Copy link
Copy Markdown
Contributor Author

@JeffreyMa597 @devchenyan Please have a review.

Comment on lines +270 to +275
handle('set-theme', async (_, theme: 'system' | 'light' | 'dark') => {
SettingsService.getInstance().themeSource = theme
return {
status: ResponseCode.Success
}
})

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

enum ThemeEnum { SYSTEM = 'system', LIGHT = 'light', DARK = 'dark' }

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Are there any differences between these? Or why this is better?

Comment thread packages/neuron-ui/src/widgets/Tooltip/index.tsx
fix: Sync text color.

fix: Fix icon direction.

fix: Set default value
@yanguoyu
yanguoyu force-pushed the feat-new-ui-page-container branch from 3de822f to ff4f352 Compare March 24, 2023 05:56
@Keith-CY
Keith-CY merged commit dd9542b into nervosnetwork:feat-new-ui-overview-for-merge Mar 24, 2023
@yanguoyu
yanguoyu deleted the feat-new-ui-page-container branch April 6, 2023 01:46
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.

3 participants