fune/xpcom
Anna Yeddi 2bc83ec22d Bug 1676068 - Datepicker Pt.3 - Replace Reset button in the DateTimeBox with Calendar one. r=Jamie,fluent-reviewers,mconley,kcochrane
Done:
- Functionality of the button was changed from cleaning the field value to toggling the datepicker dialog.
- Pre-existing issues resolved: Updated datetimebox.js to use `keydown` event instead of the deprecated `keypress` (which does not preventDefault for buttons), added default handling of digits for `keydown`, and added a check to avoid running duplicate cleanup when the picker is closed
- Removed ability to open a date picker from editable elements of the `<input type="date">` field and ensured keyboard and mouse/touch click are working for the Calendar button, while Escape functionality remained
- Updated `onBlur` logic for the button in accordance with its new functionaility
- New Calendar SVG icon was created by Katie Caldwell and optimized by Sam Foster
- Provided HCM support for the Calendar button
- Ensured the Calendar button is not shown on `<input type=time>` to preserve the existent UX
- Added Fluent l10n to the content process and provided `title` to the image button (SVG is marked as `role="none"` to avoid exposure to assistive technology)
- Added functional and markup tests for the Calendar button and its localization, updated Reset button tests to the Calendar one

ToDo (further patch):
1. Pt.4 - Ensure keyboard support when focus moves between processes

ToDo (other dependencies/bugs):
1. Investigations into if we should show a calendar button for read-only fields and if a Reset button would be benefitial to be shown for a `type=time` inputs

Depends on D139981

Differential Revision: https://phabricator.services.mozilla.com/D141175
2022-12-07 00:56:45 +00:00
..
base Bug 1802395, remove an unneeded member variable, r=edgar 2022-11-29 20:00:13 +00:00
build Bug 1793463 - Part 4: Generate static components entries for protocols, r=necko-reviewers,xpcom-reviewers,valentin,kmag 2022-12-01 15:43:19 +00:00
components Bug 1793463 - Part 4: Generate static components entries for protocols, r=necko-reviewers,xpcom-reviewers,valentin,kmag 2022-12-01 15:43:19 +00:00
docs Backed out 9 changesets (bug 1796585, bug 1797497, bug 1800076, bug 1796152, bug 1802349, bug 1797284, bug 1796554) for causing failures in browser_about_logging.js 2022-12-06 22:28:08 +02:00
ds Bug 1676068 - Datepicker Pt.3 - Replace Reset button in the DateTimeBox with Calendar one. r=Jamie,fluent-reviewers,mconley,kcochrane 2022-12-07 00:56:45 +00:00
geckoprocesstypes_generator Bug 1790816 - Reformat xpcom/ with isort. r=mccr8 DONTBUILD 2022-11-22 13:37:48 +00:00
glue
idl-parser Bug 1790816 - Reformat xpcom/ with isort. r=mccr8 DONTBUILD 2022-11-22 13:37:48 +00:00
io Bug 1786188. r=Gijs,dimi 2022-11-30 13:32:19 +00:00
reflect Bug 1790816 - Reformat xpcom/ with isort. r=mccr8 DONTBUILD 2022-11-22 13:37:48 +00:00
rust Bug 1803480 - Fix clippy::not_unsafe_ptr_arg_deref errors. r=emilio,necko-reviewers,sylvestre,kershaw 2022-12-02 01:59:51 +00:00
string Bug 840706 - Part 2: Make ToDouble and ToFloat more spec-compliant, r=smaug,xpcom-reviewers,barret 2022-12-06 20:27:49 +00:00
system Bug 1795370 - Add nsICrashReporter as an interface on nsAppRunner. r=gsvelto 2022-10-18 18:22:24 +00:00
tests Bug 840706 - Part 2: Make ToDouble and ToFloat more spec-compliant, r=smaug,xpcom-reviewers,barret 2022-12-06 20:27:49 +00:00
threads Backed out changeset 42315c023471 (bug 1799222) for causing multiple failures CLOSED TREE 2022-12-06 16:35:58 -05:00
windbgdlg
xpidl
moz.build
xpcom-config.h.in