Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement ignoring/unignoring of places #4

Open
jimburton opened this issue Jun 27, 2013 · 0 comments
Open

Implement ignoring/unignoring of places #4

jimburton opened this issue Jun 27, 2013 · 0 comments

Comments

@jimburton
Copy link
Owner

Users should be able to "ignore" and "unignore" a place, meaning that the place in question doesn't show up in any activity (BigArrow, List or Map) until unignored. This is a pretty big feature, as it requires adding a database to the app and making some new screens.

A widget for ignoring should appear on the PlaceDetailsActivity. Tapping this adds a row to the database in a table that probably only needs two columns, _id (autoincrement column) and placeid. Ignored places should be filtered out of the PlaceSearch results. Since we now want to present the 20 nearest non-ignored places, the easy way round it would be to select 20+count(ignored), remove any ignored places from the results then present the nearest 20. This is a nasty kludge though, because we will often be retrieving more records than we need and if someone ignores hundreds of places it would be impractical.

We then need a new Activity that lists the ignored places with an option to unignore them, removing the record from the database.

@ghost ghost assigned jimburton Jun 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant