Skip to content

fix: Fixed the empty state styling on the home page. - #16755

Merged
wangq8 merged 1 commit into
infiniflow:mainfrom
dcc123456:fix/home-empty-0708
Jul 9, 2026
Merged

wangq8 merged 1 commit into
infiniflow:mainfrom
dcc123456:fix/home-empty-0708

Conversation

@dcc123456

Copy link
Copy Markdown
Collaborator

Summary

fix: Fixed the empty state styling on the home page.

@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jul 8, 2026
@dcc123456
dcc123456 requested a review from wangq8 July 8, 2026 11:31
@dcc123456 dcc123456 added 🐞 bug Something isn't working, pull request that fix bug. ci Continue Integration labels Jul 8, 2026
@dcc123456
dcc123456 marked this pull request as draft July 8, 2026 11:31
@dcc123456
dcc123456 marked this pull request as ready for review July 8, 2026 11:31
@coderabbitai

coderabbitai Bot commented Jul 8, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The empty-state cards on the Applications and Datasets pages are now wrapped in a fixed-width div (w-[210px]). The Datasets page also changes its empty-state condition check from kbs?.length <= 0 to a negated existence/length check.

Changes

Empty Card Layout Fix

Layer / File(s) Summary
Fixed-width wrapper for empty state cards
web/src/pages/home/applications.tsx, web/src/pages/home/datasets.tsx
EmptyAppCard is now wrapped in a div with a fixed width (w-[210px]) on both pages; datasets page also updates its empty-state condition to !(kbs && kbs?.length > 0).

Estimated code review effort: 1 (Trivial) | ~3 minutes

Possibly related PRs

Poem

A card once floated, wide and free,
Now snug at 210px, just for me. 🐇
With a hop and a wrap, it sits so neat,
Datasets and apps, both look complete!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly states the main change: fixing empty-state styling on the home page.
Description check ✅ Passed The required Summary section is present and describes the PR's purpose, though it is brief.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@wangq8
wangq8 merged commit 36f053a into infiniflow:main Jul 9, 2026
12 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 bug Something isn't working, pull request that fix bug. ci Continue Integration size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants