feat: replace date selection with calendar picker in share dialogs #8705
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Replaces the text-based date input field with a visual calendar picker in share dialogs, providing a more intuitive and error-free date selection experience.
Changes
QML Interface
NCCalendarPicker.qmlwith full calendar functionalityStyle.ncBlueaccent color for consistencyApple VFS Integration
Enhanced
ShareOptionsView.swiftto use improved calendar presentation:NSDatePickerto.clockAndCalendarstyle.yearMonthand.yearMonthDayelements for comprehensive date selectionImplementation Details
NCInputDateFieldShareDetailsPage.qmlUser Experience Improvements
Before: Users had to manually type dates in a text field, prone to format errors and locale-dependent formatting issues.
After: Users see a visual calendar interface with:
Testing
The calendar picker respects all existing date validation rules and integrates seamlessly with the existing share dialog workflow. The Swift implementation provides an enhanced calendar experience for Apple VFS users.
Fixes the date selection usability issues by providing modern calendar picker interfaces for both QML screens (using Qt 6.8 capabilities) and Apple VFS integration.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.