Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Fixes #155 : Modified widget to use NarrowFilter #411

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rhari991
Copy link
Collaborator

Summary of changes
Modified NarrowFilterByDate to have a minimum date option and used that in the widget.
For #155

Please make sure these boxes are checked before submitting your pull request - thanks! Guide

  • Code is formatted.

  • Run the lint tests with ./gradlew lintDebug and make sure BUILD is SUCCESSFUL

  • If new feature is implemeted then it is compatible with Night theme too.

  • Commit messages are well-written.

@smarx
Copy link

smarx commented Feb 19, 2017

Automated message from Dropbox CLA bot

@rhari991, it looks like you've already signed the Dropbox CLA. Thanks!

switch (from) {
//These values present in R.arrays.from_values
case "today":
return "timestamp BETWEEN DATE('now') AND DATE('now', '+1 day')";
break;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why are you removing this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The Calendar.getInstance() method returns a Calendar object with the current date, so in case the minimum date is today, there is no need to modify it.

try {
Log.i("ZULIP_WIDGET", "onDataSetChanged() = Data reloaded");
Copy link
Collaborator

Choose a reason for hiding this comment

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

Create a TAG filed in the class and use that as a parameter of Log.d

@saketkumar
Copy link
Collaborator

Nice work! resolve the merge conflicts too. :)

@zulipbot
Copy link
Member

zulipbot commented May 4, 2017

@rhari991, your pull request has developed a merge conflict! Please review the most recent commit (f791888) for conflicting changes and resolve your pull request's merge conflicts.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants