D22717: Add Date term to KActivities Stats to filter on resource event date

Méven Car noreply at phabricator.kde.org
Wed Jul 24 14:54:17 BST 2019


meven created this revision.
meven added reviewers: ivan, Frameworks.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
meven requested review of this revision.

REVISION SUMMARY
  Add a Term Date to Query to filter on ResourceEvent start column when querying for resources.
  Add two special cases : today and yesterday
  
  A followup feature would be to allow to filter on date ranges, to allow to filter something like :
  "Rescources accessed last week"
  
  The end goal is to add those filters to the recentlyused:/ ioslave introduced in D22144 <https://phabricator.kde.org/D22144>

TEST PLAN
  Manual through the test app
  
  TODO
  autotests

REPOSITORY
  R159 KActivities Statistics

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D22717

AFFECTED FILES
  autotests/QueryTest.cpp
  autotests/QueryTest.h
  src/query.cpp
  src/query.h
  src/resultset.cpp
  src/terms.cpp
  src/terms.h
  tests/model/window.cpp
  tests/model/window.ui

To: meven, ivan, #frameworks
Cc: kde-frameworks-devel, LeGast00n, sbergeron, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190724/39dfb11e/attachment.html>


More information about the Kde-frameworks-devel mailing list