Skip to content

[Studio UI] Improve search modal layout, saved searches, and type dropdown#3882

Open
idaiv wants to merge 7 commits into
2026.xfrom
search-modal-improvements
Open

[Studio UI] Improve search modal layout, saved searches, and type dropdown#3882
idaiv wants to merge 7 commits into
2026.xfrom
search-modal-improvements

Conversation

@idaiv

@idaiv idaiv commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Solves: #3835

Summary

  • Add "Quick Search" as the search modal title
  • Fix content area to fill available height instead of fixed pixel height
  • Make All-tab results use full height with proper scrolling instead of hardcoded 400px
  • Pin pagination toolbar at the bottom of the All-tab
  • Fill SplitLayout height between search results and detail preview
  • Reduce spacing between filter controls for a more compact look
  • Remove unnecessary border styling from toolbars and top bars
  • Fix saved searches panel not using full available height
  • Add missing translations for type dropdown items (newsletter, object, variant) across all 7 locales

…pdown translations

Search Modal:
- Add "Quick Search" as the modal title
- Fix content area to fill available height instead of fixed pixel height
- Make All-tab results use full height with proper scrolling
- Pin pagination toolbar at the bottom of the All-tab
- Fill SplitLayout height between results and detail preview
- Reduce spacing between filter controls for a more compact look
- Remove unnecessary border styling from toolbars and top bars

Saved Searches:
- Fix saved searches panel not using full available height
- Improve saved searches tab layout and styling

Type Dropdown:
- Add missing translations for newsletter, object, variant type IDs
  across all 7 locales (were showing as raw lowercase keys)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@idaiv
idaiv requested a review from markus-moser July 13, 2026 14:29
Comment thread translations/studio.en.yaml Outdated
Comment thread translations/studio.en.yaml Outdated
image-gallery.delete-frame: Delete Frame
text: Text
video: Video
newsletter: Newsletter

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why do we need this translation?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@markus-moser the ask was to sentence case all types in the search modal dropdown. Is the approach wrong? Its part of my cleaning up the wording and writing so we follow our guidelines.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

But why do we even write the word "Newsletter" somewhere? Don't get it... we do not have any newsletter feature? :)

@idaiv idaiv Jul 15, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

we had this discussed over a chat. Solution: Remove the newsletter translation, its only demo related


<SplitLayout
leftItem={
<div style={ { display: 'flex', flexDirection: 'column', height: '100%' } }>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please discuss this with @vin0401 to be sure. Should we e.g. use our Flex component?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Yep, would vote for our flex here.

setActiveKey(key)
} }
/>
<div style={ { display: 'flex', flexDirection: 'column', height: 500 } }>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please discuss this with @vin0401 to be sure. Should we e.g. use our Flex component?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Yep, would vote for our flex here.

type='link'
/>
{total > 0 && (
<div style={ { position: 'absolute', top: 0, right: 0, bottom: 0, left: 0 } }>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please discuss this with @vin0401. position: absolute looks strange?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Seems to be the hack to get something stretch over the while content, any isides here @idaiv?
But I think for tabs we also already should have a build in solution.

idaiv and others added 2 commits July 15, 2026 14:44
… translation changes

- Remove mock items and +3 total count hack from saved-searches-tab
- Revert tree.actions.clone-user/remove-user/clone-role/remove-role
  translations back to original values (unrelated to search PR scope)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@idaiv

idaiv commented Jul 15, 2026

Copy link
Copy Markdown
Contributor Author

Hi @markus-moser! Thank you for reviewing this PR and the feedback. The part which could be solved right away is already done, the rest is up to discussion with @vin0401, therefore I will place him as a reviewer now.

@idaiv
idaiv requested review from markus-moser and vin0401 July 15, 2026 14:56
idaiv and others added 2 commits July 15, 2026 15:25
These generic type label translations are not needed for the search
modal work and were added unnecessarily across all 7 locale files.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Previous commit incorrectly removed object and variant keys along with
newsletter. Only newsletter was requested to be removed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

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