settings: Use only Filter as the placeholder text.

There are cases where the placeholder text overflows outside of the
input box. In the settings panels, all these filter boxes are on the
same row as a subheading on the left side. So the x in `Filter x` is
usually the subheading title, making it redundant to mention the x part.
We have not modified the aria-labels since it might still be helpful for
assistive technologies to have the whole `Filter x` part.
https://chat.zulip.org/#narrow/channel/101-design/topic/setting.20filter.20width
This commit is contained in:
Shubham Padia
2025-01-21 08:29:33 +00:00
committed by Tim Abbott
parent 9a72a4df03
commit 2972d97a92
14 changed files with 14 additions and 14 deletions

View File

@@ -64,7 +64,7 @@
<div class="settings_panel_list_header">
<h3>{{t "Code playgrounds"}}</h3>
{{> filter_text_input placeholder=(t 'Filter code playgrounds') aria_label=(t 'Filter code playgrounds')}}
{{> filter_text_input placeholder=(t 'Filter') aria_label=(t 'Filter code playgrounds')}}
</div>
<div class="progressive-table-wrapper" data-simplebar data-simplebar-tab-index="-1">