Skip to content

🎨 Palette: Standardize search inputs in Animation Editor#32

Open
Zee2401 wants to merge 2 commits into
developmentfrom
palette-lyshine-search-standardization-2172269837614038782
Open

🎨 Palette: Standardize search inputs in Animation Editor#32
Zee2401 wants to merge 2 commits into
developmentfrom
palette-lyshine-search-standardization-2172269837614038782

Conversation

@Zee2401

@Zee2401 Zee2401 commented May 24, 2026

Copy link
Copy Markdown
Owner

This PR standardizes search inputs in the LyShine Animation Editor by promoting them to AzQtComponents::SearchLineEdit and adding standard properties for usability and accessibility.


PR created automatically by Jules for task 2172269837614038782 started by @Zee2401

Summary by CodeRabbit

  • Documentation

    • Added editor UX guidance with two dated entries: implementing search/filter styling and a caution to prefer configuring existing UI widgets for large modules to avoid build/CI issues.
  • Improvements

    • Enhanced search fields across animation tools with "Search..." placeholders, enabled clear buttons, and improved accessible names for better discoverability and usability.

Review Change Stack

This change promotes the search and filter inputs in the LyShine Animation Editor to use `AzQtComponents::SearchLineEdit`.

💡 What:
- Promoted `searchField` in `UiAnimViewNodes.ui` and `FILTER` in `UiAnimViewFindDlg.ui` to `AzQtComponents::SearchLineEdit`.
- Added standard `placeholderText` ("Search...").
- Enabled the built-in clear button (`clearButtonEnabled`).
- Added `accessibleName` ("Search") for improved screen reader support.

🎯 Why:
- Provides a consistent O3DE search look and feel (including the magnifying glass icon).
- Improves usability with an easy way to clear filters.
- Enhances accessibility for vision-impaired users.

♿ Accessibility:
- Added `accessibleName` to ensure screen readers identify the purpose of these input fields.

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

Copy link
Copy Markdown

👋 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.

@coderabbitai

coderabbitai Bot commented May 24, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: d48695a3-ebf0-4a9f-9ccd-0ae81931162b

📥 Commits

Reviewing files that changed from the base of the PR and between 68055ca and 076af91.

📒 Files selected for processing (3)
  • .Jules/palette.md
  • Gems/LyShine/Code/Editor/Animation/UiAnimViewFindDlg.ui
  • Gems/LyShine/Code/Editor/Animation/UiAnimViewNodes.ui
✅ Files skipped from review due to trivial changes (1)
  • .Jules/palette.md

📝 Walkthrough

Walkthrough

This PR updates guidance to prefer setting placeholderText, clearButtonEnabled, and accessibleName on existing QLineEdit widgets and applies those properties to two animation editor UI fields (FILTER and searchField) so they show "Search..." and a clear button.

Changes

Search input property standardization

Layer / File(s) Summary
Search widget UX guidelines documentation
.Jules/palette.md
Adds a "Standard Search/Filter Input Pattern" recommending AzQtComponents::LineEdit styling steps and replaces prior large-Gem guidance to discourage promoting .ui widgets to AzQtComponents::SearchLineEdit; instructs applying placeholderText, clearButtonEnabled, and accessibleName on existing QLineEdit widgets to avoid build/CI cache issues.
Apply search properties to UiAnimViewFindDlg FILTER
Gems/LyShine/Code/Editor/Animation/UiAnimViewFindDlg.ui
Sets FILTER QLineEdit properties: placeholderText="Search...", clearButtonEnabled="true", and accessibleName="Search".
Apply search properties to UiAnimViewNodes searchField
Gems/LyShine/Code/Editor/Animation/UiAnimViewNodes.ui
Sets searchField QLineEdit properties: placeholderText="Search...", clearButtonEnabled="true", and accessibleName="Search".

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • Zee2401/o3de#1: Updates .Jules/palette.md search/filter guidance and applies search UI patterns in other editor dialogs.
  • Zee2401/o3de#2: Standardizes search/filter UI controls and applies AzQtComponents LineEdit behavior across editor components.

Poem

🐰 I nibble placeholders soft and clear,
I tuck an accessible name near,
Two fields now sparkle with a button to erase,
Docs whisper "set properties" — no promotion race,
Hopping off, the editor's search is sheer cheer.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is incomplete. It does not follow the required template structure and is missing the 'How was this PR tested?' section entirely. Add a 'How was this PR tested?' section describing the testing approach (e.g., manual testing, QA verification, or automated tests performed).
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: standardizing search inputs in the Animation Editor with micro-UX improvements like placeholder text, clear buttons, and accessibility properties.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch palette-lyshine-search-standardization-2172269837614038782

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 and usage tips.

This change implements micro-UX improvements for search and filter inputs in the LyShine Animation Editor using standard QLineEdit properties to ensure build compatibility and avoid CI timeouts.

💡 What:
- Added standard `placeholderText` ("Search...") to `searchField` in `UiAnimViewNodes.ui` and `FILTER` in `UiAnimViewFindDlg.ui`.
- Enabled the built-in clear button (`clearButtonEnabled`) for both fields.
- Added `accessibleName` ("Search") for improved screen reader support.

🎯 Why:
- Provides immediate visual context and a convenient way to clear filters.
- Enhances accessibility for vision-impaired users.
- Reverted the previous widget promotion to `AzQtComponents::SearchLineEdit` to avoid triggering full rebuilds and CI timeouts in the large LyShine Gem.

♿ Accessibility:
- Added `accessibleName` to ensure screen readers correctly identify the purpose of these input fields.

Co-authored-by: Zee2401 <210601625+Zee2401@users.noreply.github.com>
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.

1 participant