-
Notifications
You must be signed in to change notification settings - Fork 1
fix(): refine page container style #479
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR refines the styling of the page container component and fixes a bug in the chat panel's context memoization.
- Updated page container navigation styles to have different font sizes/weights based on breadcrumbs presence
- Fixed missing
conversationStatein chat panel's task context value and its dependency array - Adjusted NodeChunk margin to remove negative horizontal spacing
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| bricks/ai-portal/src/page-container/styles.shadow.css | Refined navigation styles with conditional styling for breadcrumbs vs title-only display |
| bricks/ai-portal/src/page-container/index.tsx | Added conditional CSS class to navigation based on breadcrumbs presence |
| bricks/ai-portal/src/chat-stream/NodeChunk/NodeChunk.module.css | Removed negative horizontal margin from heading element |
| bricks/ai-portal/src/chat-panel/index.tsx | Fixed bug by adding conversationState to task context value and its useMemo dependency array |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
📐🤏 Size check result (0f75ca9...068d957): Load all bricks together
Critical changes: None. See full changes
Load bricks by each packageCritical changes: None. See full changes
Load by each brickCritical changes:
See full changes
Critical details for brick eo-auto-complete
Critical details for brick eo-directory-tree
Critical details for brick eo-markdown-editor
Critical details for brick eo-radio
Critical details for brick eo-switch
Critical details for brick eo-time-range-picker
Critical details for brick form.general-checkbox
Critical details for brick form.general-input
Critical details for brick form.general-search
Critical details for brick form.general-switch
Critical details for brick markdown.markdown-editor
Critical details for brick visual-builder.contract-select
|
依赖检查
组件之间的依赖声明,是微服务组件架构下的重要信息,请确保其正确性。
请勾选以下两组选项其中之一:
或者:
提交信息检查
Git 提交信息将决定包的版本发布及自动生成的 CHANGELOG,请检查工作内容与提交信息是否相符,并在以下每组选项中都依次确认。
破坏性变更:
feat作为提交类型。BREAKING CHANGE: 你的变更说明。新特性:
feat作为提交类型。问题修复:
fix作为提交类型。杂项工作:
即所有对下游使用者无任何影响、且没有必要显示在 CHANGELOG 中的改动,例如修改注释、测试用例、开发文档等:
chore,docs,test等作为提交类型。