Commit Graph

515 Commits

Author SHA1 Message Date
Reza Bakhshi Laktasaraei
ff355eb688 Focus chat list on launch in screen reader mode
Initial focus went to the unnamed Dialogs::Widget container, so NVDA
announced the raw Qt class chain. Focus the accessible chat list instead
so the list and its selected chat are announced.
2026-07-07 16:24:19 +04:00
Reza Bakhshi Laktasaraei
8f1f399a43 Hide the main menu hit-area button from screen readers
The invisible hit-area stacked under the main menu toggle duplicates the
toggle's action but has no label, so in screen reader mode it became a
second, unnamed Tab stop that read out the raw Qt class chain. Give it no
accessible role so it is skipped by keyboard/screen-reader navigation,
while mouse clicks still open the menu.
2026-07-07 16:01:03 +04:00
John Preston
7b2754fbbb Extract reusable top bar suggestion bubble mount.
Factor the floating cloud bubble's painting and scroll-mount wiring into shared helpers so the bubble content can be mounted standalone over any scrollable surface.
2026-07-02 17:49:09 +04:00
John Preston
8997785d55 Enable jump-to-date in forum search. 2026-06-23 11:40:44 +04:00
Reza Bakhshi Laktasaraei
b9aad5d250 Engaged chat search on typing instead of focus in screen reader mode.
In screen reader mode, focusing the dialogs search field no longer opens
the suggestions panel or shows the cancel-search button. Search engages
only when the user types, stays engaged after clearing the query, and
disengages only on explicit Escape or the cancel-search button. Tab and
Backspace on an empty query no longer exit search in this mode.

Non-screen-reader behavior is unchanged.
2026-06-18 12:53:33 +04:00
Reza Bakhshi Laktasaraei
0152fa2aaa Redirected chat list typing to search field in screen reader mode. 2026-06-18 08:57:21 +04:00
23rd
7b33e71269 Fixed chat closing on hiding filters sidebar in narrowed window.
Related commits: c0bbb669e0, fd52b3c23b.
2026-06-11 09:04:25 +03:00
John Preston
2aa5795f56 Fix dialogs suggestions animation glitch. 2026-05-26 12:43:36 +04:00
John Preston
e76abf5776 Don't show full topics list for trivial searches. 2026-05-25 15:08:22 +04:00
23rd
795dafe36d Replaced positional swipe init args with typed data struct. 2026-05-19 09:56:00 +03:00
23rd
f34961c111 Fixed unpainted gap during search suggestions open animation in dialogs. 2026-05-18 10:36:52 +03:00
23rd
83e249d576 Added test hotkeys for top bar suggestion pill. 2026-05-18 07:57:52 +03:00
23rd
e1c8fb084e Added scroll bar inset below top bar suggestion pill. 2026-05-17 13:39:05 +03:00
23rd
b688da024d Added floating overlay for top bar suggestion pill. 2026-05-17 13:36:16 +03:00
23rd
1c69103fc8 Froze top bar suggestion content during child-list collapse animation. 2026-05-16 10:17:08 +03:00
23rd
04f4bd3b02 Moved top bar suggestion child-list collapse inside the content. 2026-05-16 09:13:20 +03:00
John Preston
b215e5353a Extract chats list accessibility, fix build. 2026-05-14 17:27:03 +04:00
Reza Bakhshi Laktasaraei
dd98fd67d3 feat(accessibility): add screen reader support for chat list
Expose painted dialog rows as virtual accessibility children so
screen readers can navigate the chat list.

Each row reports: chat type, name, badges, status, last message
preview, delivery status, reactions, stories, and more.

Multi-column sub-items provide structured per-field access.
2026-05-14 14:02:40 +04:00
John Preston
2a2c499b06 Collapse stories on search in chat. 2026-05-11 13:17:21 +04:00
John Preston
5472f97797 Fix many touchscreen-related problems. 2026-03-28 22:45:39 +07:00
Reza Bakhshi Laktasaraei
dc2d6e9d12 feat(accessibility): use ButtonMenu role for main menu buttons
Set ButtonMenu role on main menu toggle buttons in dialogs and
filters menu since they open navigation menus.
2026-03-14 21:54:51 +04:00
23rd
a61334247d Fixed ratio of icon in update button from dialogs widget.
Related commit: c6bf905253.
2026-03-12 12:59:49 +04:00
John Preston
a58047e88a Fix some regressions in accessibility commit. 2026-02-28 19:07:12 +04:00
mukthar777
17db3361d3 Add labels to buttons in dialog widget 2026-02-28 06:41:25 +04:00
Reza Bakhshi Laktasaraei
827bd7c9a9 feat(accessibility): add accessible name to search button in narrow layout
The search icon button shown when the filters sidebar is active had no
accessible name, making it appear as an unnamed button to screen readers.
2026-02-27 23:42:27 +04:00
23rd
359675b446 Added ability to drag dialogs to search field. 2026-02-13 11:56:57 +03:00
23rd
d6765ab394 Replaced args for calendar show from session controller with descriptor. 2026-02-13 11:56:56 +03:00
John Preston
f45925fb54 Fix crash in message inject in converted group.
Fixes #30209.
2026-02-06 13:24:43 +04:00
John Preston
c215b9fd5f Fix crash in topic group opening. 2026-01-29 18:20:40 +04:00
John Preston
a86529c22c Support nice search activation without query. 2026-01-28 11:55:18 +04:00
John Preston
786b0e77b8 Add nice animations to stories on focus search. 2026-01-28 08:57:57 +03:00
John Preston
28434f4bee Full support and build fix. 2025-12-22 17:56:55 +04:00
Reza Bakhshi Laktasaraei
673db168ac Feat: Set accessibility name for Main menu toggle and add related strings. 2025-12-14 16:03:23 +04:00
23rd
eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
23rd
fd52b3c23b Fixed once again unwanted reset filter on creation of tabs strip.
Regression was introduced in c0bbb669e0.
2025-11-29 08:27:45 +03:00
John Preston
ed97619c6c Guard by widget instead of session. 2025-11-24 19:22:20 +04:00
23rd
3cd213b9bf Added dialog suggestions close on open dialog in new window. 2025-11-14 14:34:47 +03:00
John Preston
c54e05d220 Fix threads list opening for bots. 2025-10-10 09:26:58 +04:00
John Preston
b4d1ba07a6 Initial forum support in bots data classes. 2025-10-10 09:26:57 +04:00
John Preston
6974c511ea Update API scheme to layer 216. 2025-10-10 09:26:57 +04:00
23rd
5d3d8640e3 Added unconfirmed authorizations to top bar suggestions in dialogs. 2025-08-30 23:19:40 +03:00
John Preston
4cefc21819 Close forum when searching in different chat. 2025-08-14 18:30:01 +04:00
John Preston
043bc754ae Update API scheme to layer 211. 2025-07-31 22:20:17 +04:00
John Preston
ca544dbbae Fix glitch in chats search without animations. 2025-07-25 21:15:49 +04:00
John Preston
b754ad5248 Use base::weak_qptr / base::make_weak. 2025-07-23 11:40:59 +04:00
John Preston
bff86b90fb Highlight tasks from reply/service messages. 2025-07-11 19:26:01 +04:00
John Preston
77a09a0e59 Fix some search options. 2025-07-11 19:26:00 +04:00
John Preston
65cfd6c81c Fix new forum layout search and topics list. 2025-06-05 13:55:55 +04:00
John Preston
3bc20c3550 Save last opened subsection within a launch. 2025-06-05 12:47:16 +04:00
John Preston
fb2274c58d Fix glitch in new forum layout opening. 2025-06-05 12:04:28 +04:00