Skip to content

Porthole 0.37.0

Choose a tag to compare

@ShrimpScript ShrimpScript released this 03 Oct 09:12
· 13 commits to main since this release

Steady through a bad connection

  • A dropped connection no longer takes the screen with it. Until now a drop of a few seconds replaced the session with the failure card, threw away what you were typing, and on the way back reloaded the feed from scratch, so it flashed blank and jumped to the bottom. Now the feed, where you had scrolled to, an open sheet and the message you are typing all stay. A bar says Reconnecting… after a second or two, and after a few tries offers Options, the failure card's tools. When the computer answers, what happened meanwhile is added below what you were reading. The session list stays too, its rows reading "as last seen". The full failure card is kept for a computer that refuses the phone, or when there is nothing to show.
  • The message box keeps taking typing. It used to lock the moment the connection dropped, closing the keyboard mid-word. Now only Send waits for the computer.
  • Drafts are kept. Each session's unsent message is saved on the phone as you type. A drop, the app closing or the phone restarting no longer loses it.
  • A message stays in the box until it is typed. The box holds it, greyed, until the computer says it typed it into the session, which is a moment on a good connection. If it is refused, the reason shows and the text stays to send again. If the connection goes before the answer, the feed decides when it comes back: shown there means it was typed, missing means it stays in the box. Nothing is re-sent on its own. Text-only messages used to vanish when a send failed.
  • Sessions open at once, even offline. The phone keeps the last 200 rows of the 20 sessions you opened most recently, and the session list, in its private storage. A session opens from its copy straight away and catches up when the computer answers. With no connection, the copy is there to read, and the bar says when it was saved. Forgetting a computer deletes its copies. The privacy page lists exactly what is kept.
  • Mac and Linux alike. The daemon now answers every message the phone names, not only those with files.

Install: download porthole.apk on the phone. On the computer, brew install shrimpscript/tap/porthole then portholed setup, or run tools/install.sh from a clone.