spacecowboy / spacecowboy/NotePad

Improve readability of the search results activity

Open
#569 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
409
Forks
161
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
The search results activity, accessible from the searchbox on the main activity, is barebones and lacks useful information.

Describe the solution you'd like
Add to the Activity:

  • a menu to reorder notes by: due date, last edit date, alphabetic, ...
  • a toggle to temporarily hide notes without a due date from the results
  • a sorted date view when ordering notes by due date, with "today", "tomorrow", "next week", ...

Idea: move this menu, which is W.I.P.,

from ActivityMain to ActivitySearch, and have the items rerun the query with the selected sorting

the code should update this function in FragmentSearch.java:

	protected String getSortOrder() {
		return Task.Columns.DUE;
	}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in FragmentSearch.java at getSortOrder(), then inspect the existing W.I.P. menu in ActivityMain and the ActivitySearch implementation. Move or adapt the menu so it supports the requested sort choices, hiding notes without due dates, and grouped date views, with each selection rerunning the search query. Done means the search activity exposes these controls and displays results using the selected ordering or filter.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.