Skip to content

🎨 Palette: [UX improvement] Add empty state for results list - #496

Draft
xbmc4lyfe wants to merge 1 commit into
mainfrom
palette-add-empty-state-label-18249113213817315233
Draft

🎨 Palette: [UX improvement] Add empty state for results list#496
xbmc4lyfe wants to merge 1 commit into
mainfrom
palette-add-empty-state-label-18249113213817315233

Conversation

@xbmc4lyfe

Copy link
Copy Markdown
Collaborator

πŸ’‘ What

Added a centered "No results found" empty state label to the results list in results-dialog.xml.

🎯 Why

Kodi custom lists (<control type="list">) do not automatically handle empty states. If a search or filter returned zero results, the dialog would previously display a confusing blank screen without any feedback, leaving the user to wonder if it was still loading or broken.

πŸ“Έ Before/After

Before: Blank screen when Container(50).NumItems is 0.
After: A centered, muted "No results found" message is displayed clearly.

β™Ώ Accessibility

Provides clear textual feedback to all users when no items are available, significantly improving usability and reducing cognitive load.


PR created automatically by Jules for task 18249113213817315233 started by @xbmc4lyfe

Added a centered empty state label to the results list. Kodi custom lists do not automatically handle empty states, leading to a confusing blank screen when there are no items.

Before, a blank screen was shown. After, "No results found" is displayed when the list is empty. This provides clear textual feedback to users when no items are available, improving usability and accessibility.

Co-authored-by: xbmc4lyfe <273732874+xbmc4lyfe@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

πŸ‘‹ Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a πŸ‘€ emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@github-actions github-actions Bot added the addon label Aug 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

βœ… No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. πŸŽ‰

ℹ️ Recent review info
βš™οΈ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro Plus

Run ID: ea59b79f-fc9f-451f-aaec-22feb77b5c45

πŸ“₯ Commits

Reviewing files that changed from the base of the PR and between c8dfe60 and bdff231.

πŸ“’ Files selected for processing (1)
  • repo/plugin.video.nzbdav/resources/skins/Default/1080i/results-dialog.xml
πŸ“œ Recent review details
⏰ Context from checks skipped due to timeout. (7)
  • GitHub Check: Codacy Static Code Analysis
  • GitHub Check: lint
  • GitHub Check: test
  • GitHub Check: coverage
  • GitHub Check: Scan
  • GitHub Check: Analyze (python)
  • GitHub Check: Analyze (python)
πŸ”‡ Additional comments (1)
repo/plugin.video.nzbdav/resources/skins/Default/1080i/results-dialog.xml (1)

282-292: LGTM!


πŸ“ Walkthrough

Summary by CodeRabbit

  • Bug Fixes
    • Added a clear β€œNo results found” message when a results list contains no items.

Walkthrough

The results dialog now shows a centered β€œNo results found” label when results list 50 contains zero items.

Changes

Results empty state

Layer / File(s) Summary
Add empty-results label
repo/plugin.video.nzbdav/resources/skins/Default/1080i/results-dialog.xml
Adds a centered label that appears when Container(50).NumItems equals zero.

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

Suggested reviewers: ponchopig

Poem

A bunny checks the empty view,
No results wait in queue.
A centered sign now hops in place,
Clear and bright for you.

πŸš₯ Pre-merge checks | βœ… 5
βœ… Passed checks (5 passed)
Check name Status Explanation
Title check βœ… Passed The title clearly and concisely describes the empty-state UX improvement for the results list.
Description check βœ… Passed The description explains the empty-state label, its purpose, and its effect on usability, matching the changeset.
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.
✨ Finishing Touches
πŸ§ͺ Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch palette-add-empty-state-label-18249113213817315233
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch palette-add-empty-state-label-18249113213817315233

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.


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.

@coderabbitai
coderabbitai Bot requested a review from PonchoPig August 12, 2026 00:13
@github-code-quality

Copy link
Copy Markdown

Code Coverage Overview

Languages: Python

Python / code-coverage/pytest

The overall coverage in commit bdff231 in the palette-add-empty-st... branch remains at 88%, unchanged from commit c8dfe60 in the main branch.

@codacy-production

Copy link
Copy Markdown
Contributor

Up to standards βœ…

🟒 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant