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

Update categories for asset backdrop & sound #1205

Merged
merged 1 commit into from
Jan 9, 2025
Merged

Conversation

nighca
Copy link
Collaborator

@nighca nighca commented Jan 7, 2025

Updates #1062 (comment)

Copy link

qiniu-prow bot commented Jan 7, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@nighca nighca marked this pull request as ready for review January 7, 2025 11:05
@nighca nighca requested a review from Copilot January 7, 2025 11:05

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

spx-gui/src/components/asset/library/category.ts:26

  • [nitpick] The 'TODO' comment indicates that a discussion is needed for sound categories. Ensure this is addressed before merging.
// TODO: discussion needed

spx-gui/src/components/asset/library/AssetAddModal.vue:89

  • The error message should be more descriptive. Consider changing it to unknown asset type: ${props.asset.constructor.name} to include the actual type of the asset.
throw new Error(`unknown asset type ${props.asset}`)
@@ -233,7 +236,8 @@ async function handleAssetClick(asset: AssetData) {
justify-content: stretch;
}
.sider {
flex: 0 0 148px;
flex: 0 0 168px;
Copy link
Collaborator Author

@nighca nighca Jan 7, 2025

Choose a reason for hiding this comment

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

image

应该是组件 UITag 样式的调整导致这里 148px 放不下“Your backdrops”了,目前的实现会挤占右侧的空间,导致每行的数量少了一个

跟清清商量了下先把窗口整体宽度增加一些,另外添加 min-width: 0; 确保即使放不下也不会挤占右侧空间

@qiniu-ci
Copy link

qiniu-ci commented Jan 7, 2025

This PR has been deployed to the preview environment. You can explore it using the preview URL.

Warning

Please note that deployments in the preview environment are temporary and will be automatically cleaned up after a certain period. Make sure to explore it before it is removed. For any questions, contact the Go+ Builder team.

{ value: 'UI', message: { en: 'UI', zh: '界面' } }
]

export const soundCategories: Category[] = [
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

sound 的分类还没定,先放这俩占位

@aofei aofei merged commit 45866de into goplus:dev Jan 9, 2025
5 checks passed
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