sharetodiaspora / sharetodiaspora.github.io

diaspora* Advanced Sharer - Share links and posts to your favorite diaspora* pod.
sharetodiaspora.github.io
GNU Affero General Public License v3.0
23 stars 12 forks source link

Use CSS :visited to prioritise pods the user probably use #16

Open decibyte opened 9 years ago

decibyte commented 9 years ago

First of all: Cool project! I just stumbled upon a STD button on a website and wanted to see what it did. My own pod wasn't listed in the left side listing. That doesn't surprise me but it made me think of 2 things:

1) Pull the list of all pods from https://podupti.me/ or similar status site. I'm sure @jaywink knows how to get a comprehensive list of pods.

2) Make each item a link to the pod's /stream page, which the user has most likely visited. That way you're able to hide all pods a:link { display: none; } except those that the user visited a:visited { display: inline; }(or whatever display value you like). There should of course also be a "More pods..." button which will toggle the display property for a:link to the same as a:visited.

fdavidcl commented 9 years ago

Thank you! Regarding the first idea, it's something I was already going to be trying out on the development branch, so it's nice to see support for it. And the second one is really cool, thanks for the suggestion, that definitely will make the site a bit smarter!