Code Monkey home page Code Monkey logo

redreader's People

Contributors

70h avatar andrewgiang avatar avik-das avatar b0pol avatar cguy7777 avatar chaitan94 avatar cl0ne avatar clubfan22 avatar codeofdusk avatar coehill avatar comradekingu avatar cpalasanu avatar dsgkirkby avatar equeim avatar evant avatar ianmcxa avatar issue-maker avatar j9o1 avatar kageiit avatar lizardwithhat avatar mvdan avatar quantumbadger avatar santossi avatar sr093906 avatar tacothedank avatar thadah avatar verdulo avatar veyndan avatar zeritti avatar zmni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

redreader's Issues

Optimize for keyboard: up/down keys traverse top level comments

Hi,

I use RR on a tablet with a keyboard. as such, I want to use the arrow keys to quickly jump over the top level comments (i.e. pressing down moves the next top level comment to the top of the view, and vice versa).

A small enhancement, but killer feature for use with keyboard.

scrolling

scrolling is not fluent even on phone with four cores ;/ [nexus 4]
maybe some "jobs" could be moved to separate threads?

Links to comments don't properly direct to the comment

For example, when browsing /r/bestof on the website, the comment linked pops up to the top. When browsing /r/bestof in RedReader, only the thread pops up. If the linked comment is not the top comment, I have to scroll through a bunch of comments to find the linked comment, if I can find it at all.

[bug] "Toggle Collapse" option for comments doesn't execute consistantly

In the option menu that is shown when pressing a comment, one can select "Toggle Collapse". However, quite a substantial percentage of the times that I press this option, the collapse is not executed and I will have to try again. This second time the collapse is mostly executed instantly.

inbox shows incorrect points

"inbox" shows incorrect points, it's always zero.

Also I'd have thought that the "inbox" and "view comments" button via the profile would lead to a screen of the same style (just different content). They both look nice, but it's very inconsistent.

Questionable progress bar design

The blue progress bar that is shown, for example, when opening the comments disappears with a hiding animation. This animation happens when the comments are already displayed. The user sees that all the comments are already retrieved but is forced to wait for the animation to end until the comments can be read. This breaks the reading flow and it is annoying to be slowed down and having to focus on the comments several times until they reach their final position.

Additionally, I'm wondering why there is such a prominent progress bar at all. Diode, for example, uses a tiny progress bar that glows while loading and is afterwards just a thin horizontal rule. This way, the content (in this case the comments) is not moved around, but stays where it is initially displayed. There is no delay slowing down the user. If the content cannot be loaded, an error message is shown.

To me the information of the current progress bar seems to be superfluous. "Connecting, downloading, done" can be impossible to read on a fast connection, because the whole procedure takes only a fraction of a second. On a slow connection it can be read, but what difference does it make to the user, if the app is connecting or downloading? What is the difference between seeing that the content is displayed and reading "done"? Android already tells the user whether it is connected to the Internet, therefore the only useful information is whether the content can be shown or not.

If the page has been successfully loaded, it should be displayed without delay and without further movements. If the page could not be loaded, maybe because reddit is down, an error message might be easiest to understand.

If I'm not mistaken major browsers do it like this: Have one indicator, often a simple graphical loading indicator like in Chrome, for the whole connecting, downloading, processing procedure. If the content is retrieved, display it as fast as possible without any further movements. If the content cannot be retrieved, display an error message.

Just imagine your browser using the verbose progress bar of RedReader. Maybe hundreds of times a day, you read the same three words (if they can be read at all) and every page moves around after it is already displayed. "click-read" becomes "click-connecting-downloading-done-animation-read".

One last word on the graphical loading indicator. I wouldn't be surprised if one reason for the use of a graphical indicator was that words can hardly be not read and not mentally processed once they are seen. A rotating circle (like in Chrome) or a filling loading bar (like in Diode) might lead to less distracting mental processing and make it easier to concentrate on the content. To me the tranquilizing rotating circle or filling bar say: "Put your brain into standby and wait until you see the content." On the other hand, "Connecting, downloading, done" says: "Do you still remember how complicated it is just to display a couple of comments to you?"

Some gifs not loading properly

I've had this happen a couple times now. Not sure what causes it to break, but occasionally gifs I load are obscured on the bottom half. The gif will play all the way through with what looks like static in the bottom half. This is on my GS3.

Screenshot_2013-04-09-08-17-09

Bullet lists in self posts don't parse correctly

When viewing a self post with a bullet list in it, the bullets don't show and the items are all squashed onto one line.

So far tested on a Nexus 7 running CM10 and an HTC DNA running stock.

Ability to create and edit multireddits

I'm wanting to contribute a tool to allow users to create custom subreddits from the list of subreddits they are subscribed to. I am just now getting into app development so I didn't want to start working on this if it is something you already plan to add yourself or if someone else is already working on it.

Custom themes

Allow users to change colours and sizes of things in the settings.

[feature] inbox - show only new

Feature Request:

Have an option to load / display only new messages in the inbox. This would allow user to not worry about if they are re-read old messages and maybe reply again by mistake.

[Feature Request] Allow links in comments to be opened externally

Hey,

First of all, great job. Bowel movements are 20% more efficient with RedReader.

Could you please put in an option to open links in comments in an external browser/relevant app? The internal browser can't handle anything with video or a download link in it.
Right now it's not even possible to copy a link from a comment without copying the whole comment along.

Thanks.

option to always refresh...

I like that it keeps cached copies, but can there be an option to always refresh? Usually I load up a sub then always have to refresh posts...

[Top Priority] Issue where only two posts are shown in cached version

I'm completely stumped on this issue, I hope someone can give some advice.

RedReader displays posts as they are downloaded. The updatePosts() method in PostListingAdapter.java is called every time the items shown in the UI need to be updated.

However, the ListView component (created in PostListingFragment.java) sometimes stops growing after two posts. Attempting to scroll this two-element-high list view eventually makes it relayout properly and fill the whole screen, but until the user does this the listview doesn't resize.

notifyDataSetChanged() is being called, which should (in theory) be the only thing which needs to be done. I've also tried several different kinds of invalidation, manually setting the listview's layout height to FILL_PARENT, overriding onAttachedToWindow in the outer layout to get the layout height to "FILL_PARENT", and so on. Nothing seems to work.

Please let me know if you have any ideas, or have a go at fixing it yourself.

Tapping on a link should open it

Currently tapping on a comment can do (Toggle collapse, show action menu, nothing).

However, the most common usecase of tapping on a comment would be top open a link -- and mostly this would be another subreddit, or imgur link. This tapping on a link should directly open the subreddit, or the image. Improves UI, and saves the user the frustrating task of opening the menu > show links > click on link.

Filter subreddits from r/all

Along the lines of the filtering capabilities in RES, the ability to omit specific subreddits or posts containing certain keywords from r/all would be particularly welcome. None of the other Android clients that I've come across have this functionality.

[bug] Crash on Startup

android.database.sqlite.SQLiteException: near "UPDATE": syntax error (code 1): , while compiling: CREATE TABLE actions (id TEXT PRIMARY KEY ON CONFLICT UPDATE,user TEXT NOT NULL,parent TEXT,read TEXT,votedirection INTEGER,saved INTEGER,hidden INTEGER,dirty INTEGER,lastupdate INTEGER)
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:882)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:493)
at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
at android.database.sqlite.SQLiteProgram.(SQLiteProgram.java:58)
at android.database.sqlite.SQLiteStatement.(SQLiteStatement.java:31)
at android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1663)
at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1594)
at org.quantumbadger.redreader.reddit.prepared.RedditChangeDataManager.onCreate(RedditChangeDataManager.java:84)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:252)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:164)
at org.quantumbadger.redreader.reddit.prepared.RedditChangeDataManager.prune(RedditChangeDataManager.java:96)
at org.quantumbadger.redreader.RedReader$2.run(RedReader.java:74)
Full log of crash. I'm not exactly sure where to post this but here you go...

Crashes on devices which run out of storage

RedReader aggressively caches images, and crashes occur when a device runs out of storage space.

When the disk fills up, or the app starts and less than 128MB of storage is available:

  1. Delete any cached images
  2. Disable image precaching
  3. Set to delete cached images after 1 hour (or sooner)
  4. Display a message to that effect

Also: Display an error message specific to the lack of storage when a download fails.

Other suggestions would be welcome.

Fling actions for comments

It seems as if comments have no fling actions. Adding them could improve consistency and speed up interacting with comments. They could closely resemble the fling actions for posts and be configurable in the settings alike.

Add collapse-all button on the toolbar

Can a collapse-all button be added next to the sort and refresh icons. I like to collapse all comments and only open up the ones I'm interested in. Save a lot of scrolling effort, and improves user experience.

Idle threads remain open

In addition to threads which are started to perform a single task, RedReader uses seven persistent threads to handle queuing and network IO. These should be terminated when idle and only started when necessary (a dynamic thread pool).

RedditQueueProcessor (in PrioritizedDownloadQueue.java): 1 thread
RequestHandlerThread (in CacheManager.java): 1 thread
CacheDownloadThread (in CacheManager.java): 5 threads

Add two-pane support to link posts

Right now if I open a self-post in a landscape tablet mode, it opens in the right column, while the left column shows the list of posts in a subreddit. However, if I open the link post, it opens fullscreen. hiding the list of posts. It makes it slower to switch between posts and harder to browse.

Suggestion: make an option to use the same display mode (two columns) for links, as for self-posts.

Highlight top level comments

In tablet mode (two pane), you can identify top level comments via the indentation -- but this is not easy on the eyes, and takes some effort. Can the top level comments be highlighted with just a lighter/darker shade of color for easy identification?

Another way of foing this would be to add a vertical color bar like in BaconReader -- however I think the above method would be better.

[feature request] Casual Subreddit

Would be nice to be able to type in a subreddit, for casual browsing.
I don't want /r/apple in my stream, but occasionally I want to go there to follow a story.

Can we move the org.quantambadger code out of main.java?

Just trying to work on the project in Eclipse, and if it were possible to move the code out of main.java.* so it is simply org.quantambadger.* would negate thousands (7000+) of errors in Eclipse. I can make a pull request if you would like.

Edit: I have done this locally, but there are still an insane amount of errors. What do you use to code it, and for error checking, as it is simply not working in Eclipse with all the missing dependencies from holoeverywhere, etc

"Links in comment" displayed in random order

If you have a comment that has multiple links in it, when you click the comment and select links in comment from the menu, the resulting popup displays the links in random order.

For example, comment has the following links

  link1
  link2
  link3
  link4

When you click links in comment they will be presented as suck

  link3
  link1
  link4
  link2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.