Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: YaruDateTimeEntry, YaruSegmentedEntry, YaruEdgeFocusInterceptor #824

Merged
merged 49 commits into from
Jul 9, 2024

Conversation

Jupi007
Copy link
Member

@Jupi007 Jupi007 commented Jan 8, 2024

YaruEdgeFocusInterceptor

Intercept focus with callbacks, so you can know if the focus is coming from a previous node or a next one.

YaruSegmentedEntry

An entry, split into multiple segments, which each represents a selectable editable part of the value.
This widget provides keyboard navigation, and numeric value manipulation, using keyboard tab and arrow keys.

YaruDateTimeEntry

A YaruSegmentedEntry configured to accepts and validates a datetime entered by a user.

Capture.video.du.2024-01-08.16-40-31.webm

Related to: #799

TODO:

  • Add date and time only variants ;
  • Tests.

Coming next: Date picker overlay
image

@Jupi007 Jupi007 added the widgets label Mar 3, 2024
@Jupi007 Jupi007 marked this pull request as ready for review July 8, 2024 18:56
@Jupi007 Jupi007 requested a review from Feichtmeier July 8, 2024 19:11
Copy link
Member

@Feichtmeier Feichtmeier left a comment

Choose a reason for hiding this comment

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

Epic work! Thank you very much
Just added a question

lib/src/foundation/yaru_entry_segment.dart Show resolved Hide resolved
@Jupi007 Jupi007 merged commit c2abfd3 into ubuntu:main Jul 9, 2024
7 checks passed
@Jupi007 Jupi007 deleted the yaru-date-time-entry branch July 9, 2024 07:49
@github-actions github-actions bot mentioned this pull request Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants