Skip to content

Conversation

@claremacrae
Copy link
Collaborator

@claremacrae claremacrae commented Nov 20, 2024

Types of changes

Changes visible to users:

Description

Add a calendar date-picker when user left-clicks on date values in Reading Mode and Tasks search results.

Motivation and Context

Fix #2649.

How has this been tested?

  • Exploratory testing
  • Running the newly reinstated smoke tests for editing of dates
  • I've been using virtually identical code in my own vault for months. This code differs in having new Clear and Today buttons, and working correctly on mobile.

Screenshots (if appropriate)

Demo:

Date.Picker.in.Reading.Mode.and.search.results-with-border.mp4

In case I ever want to redo the demo, the source was:

## Date-picker in Reading Mode

- [ ] #task Do stuff ⏳ 2024-11-01 📅 2024-11-01

## Date-picker in Tasks plugin search results

```tasks
path includes {{query.file.path}}
hide backlink
```

Checklist

Terms

This prevents a remnant text input remaining if the user
clicks away from the date picker without selecting a date.
@claremacrae claremacrae added the scope: user interface UI other than Edit task modal, e.g. context menus, date picker label Nov 20, 2024
@claremacrae claremacrae changed the title Reading mode date picker feat: Add date-picker to Reading Mode and Tasks query results Nov 20, 2024
@sonarqubecloud
Copy link

@claremacrae claremacrae merged commit 0a536dc into main Nov 20, 2024
3 checks passed
@claremacrae claremacrae deleted the reading-mode-date-picker branch November 20, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: user interface UI other than Edit task modal, e.g. context menus, date picker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a date-picker/calendar button to the Postpone menu - and/or other more convenient locations

2 participants