Conversation
|
You can trigger an installable build for these changes by visiting CircleCI here. |
|
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
emilylaguna
left a comment
There was a problem hiding this comment.
Awesome, looking good. I hit a few issues when testing the filtering:
If I select single date, I expected to see results only for that date, but I am seeing results from other days as well:

If I select a date range in the past (ex: April 1st 2015 to April 7th 2015) it is not scrolled into view upon closing, then reopening the calendar.

If I select Nov 28th to Nov 30th I see results from Nov 27th, Nov 28th but nothing else.

If one of the selected dates is not from this year we should show the year for both the dates.
I suspect most of the issues can be resolved by including a time in the after before query fields which is what .com includes.
after=2015-11-07 05:00:00&before=2020-11-15 04:59:59
|
@emilylaguna ready for another review. :) |
emilylaguna
left a comment
There was a problem hiding this comment.
Looking good! Made a couple of comments below.
Also we discussed this but I'll mention it here as well, when rotating the device to/from landscape the view scrolls to the very first date so Dec 2000
WordPress/Classes/ViewRelated/Activity/ActivityListViewModel.swift
Outdated
Show resolved
Hide resolved
WordPress/Classes/ViewRelated/Activity/CalendarViewController.swift
Outdated
Show resolved
Hide resolved
I've added a task to check that again in #15192 |

Part of #15192
Adds the feature to filter activities by a date range.
The filter bar/chips design is not part of this task.
To test
Selecting a range
Calendar keeps the selected dates
Removing the date filter
No results
Single date
PR submission checklist:
RELEASE-NOTES.txtif necessary.