Skip to content

Instantly share code, notes, and snippets.

@insanj
Last active January 5, 2016 17:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save insanj/b9cc71d0f56e09b65a38 to your computer and use it in GitHub Desktop.
Save insanj/b9cc71d0f56e09b65a38 to your computer and use it in GitHub Desktop.
Submarine FAQ

Submarine 1.1 Frequently Asked Questions & Email Exchanges

  1. Requests
  2. Bugs
  3. Changes

Requests

Question

...comments count (no of comments in a post) next to the (no. of likes) of a post at the main subreddit page. It would be easier to know which posts have how many comments at the main page rather than swiping to view it.

Answer

This will be available in the new expanded browsing mode in 1.2, look for it in the coming week!

Bugs

Question

Why do some albums load in the native submarine look, and some load in a scrollable imugr page?

Answer

Submarine tries to load as many posts as possible in the native image browser, however, some are difficult to actually deep link and some are unable to be deep linked. The instant you load a subreddit, Submarine starts cataloging all the posts and checking if they are imgur, gfycat, etc. If this little algorithm determines the post is deep linkable, which includes a small HTTP header ping if no direct domain checks work, it will try to load in the "native submarine look" by default.

As you can imagine, there is a lot of room for things to go wrong here. And, if this initial "preload" algorithm to check if the subreddit posts are deep linkable fails or is interrupted, perhaps an entire reload will be necessary to use the built-in browser again!

This preload method is necessary to keep Submarine running fast. Most of all, it prevents posts which are just articles or non-image content from taking a while to launch.

Even if this process takes a bit and has a small probability to fail, it shouldn't be constant. Send me links to any posts that consistently launch in the web browser instead of the submarine one! I'll work on making this whole exchange more resilient in 1.2, but for now I hope it's tolerable.

Changes

Question

The one issue that has been happening every beta is that there’s a blue dot with a new message over on the left side it is never next to the inbox icon

Answer

I did that on purpose because the items became adjustable in 1.1! I’ll be “fixing” this and remodeling how the tab bar items are handled in the next update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment