37
votes
Tildes Extended
I posted about it three days ago but in these last three days I really worked my ass off to include lots of functionalities and feel like the community is missing a lot of topics...
So, sorry, I won't spam this for the next days every three days but I felt like it deserved to be "bumped" in the activity feed at least once now that the default is just 24h.
As of today, the features are:
- management to choose which links top open in a new tab
- button to quickly jump to new comments in a topic
- button to quickly get back to the top of the page in topics (no, there isn't one to go to the bottom)
- live preview of the reply/topic box
- load external CSS to customize the UI
- add label to users
I'll just link to the original topic so you can have some context if you want, otherwise these are just the links to download it:
- Original Topic: https://tildes.net/~tildes/1oa/browser_extension_tildes_extended
- Chrome: chrome.google.com
- Firefox: addons.mozilla.org
- Source: Github (feel free to do modification and open pull requests if you'd like!)
I need feedback to know what else you'd like to see implemented or what have bugs or could be done in a different/better way!
I can't wait to see you unleashed on the site once it's opensource.
Thanks for the Firefox plugin, I was still using your greasemonkey script from weeks ago.
p.s. 💖 again ;)
I think there are a lot of waiting happily for open-source day :)
I'm definitely going to be writing Musicbrainz / YT / Spotify / Bandcamp / discogs / etc., interfaces for ~ look-ups (if only to display in the sidebar at first)
Love this! I was really missing having a preview + tagging users does a lot for me, I like to remember people :)
Whom isn't the only user to change their username. I know of at least three others who have done so.
Although I do 99% of my ~ through mobile, I am pleased to see how much effort you put into it. Kudos!
...on Android. Stupid Apple, forcing everyone to use WebKit.
I've received report of it working on Firefox mobile and personally tested it on Yandex as well.
Yandex is a fork of chromium. I personally would wait for Brave to support extensions anyway as I don't really trust the company behind Yandex.
But on mobile I keep everything stacked except the links in new tab. Things like live preview slow down too much the browser.
Thanks, the labels are the latest additions, I'll check on that this evening or over the weekend.
If you want, you can open an issue on the GitHub repo so you'll get notified once I fix it :)
I 've just released an update version with a workaround. Tried to catch the XHR request response but couldn't make it. Details here if you are interested: https://github.com/theCrius/tildes-extended/issues/8
Along with the jump to new comments button I think a back to top button would be nice.
Yep I thought about that but it's something that was hinted as "coming soon" so I left it out. Won't take much to add anyway. Next release :)
Oh I forgot, with very high res, the jump button is quite off position, it's a minor thing that just bothers me, I'll find a way to make it align properly later on :)
Great, thanks for your efforts!
The back to the top has been added ;)
You're my hero, thanks so much haha.
Added button to jump back to the top of the page.
It will be visible in topics, if there are no new comments and you're not already at the top of the page :)
I officially nominate you Tilde of the week for your quality of life efforts.
Hey, thanks. you're just in time to get the new for the new feature: Sticky Headers.
Most often the topics get quite long and I end up interrupting the reading and come back to it having forgotten was the topic was about... It's probably my age. I found useful to also have that for groups ;)
https://imgur.com/a/OLNkEyt
Going to package and distribute in a matter of minutes. Of course it keeps it consitent with whichever theme you're using, even custom one, as it just check for the background colour of the body tag.
Haha are you me? I switch tabs and windows and when I finally get back I'm down a comment blackhole and have to go figure out what I was reading or just give up and re-read it all. I hope on mobile this wont take up too much valuable reading space, though? That would be my only concern with any sort of sticky header thing.
It works in two different way.
For groups it takes the same space as the header (40px). On topics it takes as much space as the header (dinamycally calculated) + some space for the title.
I don't write this with mobile in mind to be perfectly honest, if it ends up taking too much space you can disable the feature in the settings as usual :)
Sweet, glad to hear it! Thanks for all your hard work.
Nifty, just added it to Chrome, thanks!
My only nit to pick thus far is that the blank label box next to usernames is rather ugly (shrug), but on the other hand I can now tag you as TES :P
edit: it looks much better on a username in a comment (where it's got a background grey bar) and less good next to the submitter's username
Published an update that fix it :)
Yes, I thought about issue as the website comes with different themes by default.
I wanted to push out a prototype of the label feature to get feedback.
Next iteration I'll try and get which theme you're using (it's stored in the cookies) and use different colours for the label.
Open an issue on the GitHub repo of you want/can do I don't risk to forget and you get notified once I implement it :)
It's also a class on the body tag (like theme-dark) if that's simpler than through the cookies.
Already deployed, I took inspiration from another script I found that, given an html element, detect if the background is dark or light and add a class accordingly. It's better this way as I can add labels with light colors as well :)
Thanks, this is great!
Been using the Chrome extension since you made the original post and it's been working perfectly, so thank you! These tweaks might seem small, but they make using the site a lot better. No bugs to report either, everything's been smooth sailing so far ;)
Glad to hear it, there has been a couple of issue but I develop testing primarly on chrome so you should be on the "safe" side :P
Why require CSS hosting and about:config tweaks, instead of just having a textbox? Though I just use stylus for that.
edit: Occasionally the extension will unload if the tab is reloaded. I'm using Firefox Nightly so it might be a bug with the browser, I'll let you know if I learn anything else.
The reason for the URL instead of a textarea is that I plan to run a daily pull from that URL so that if you are using the theme written by someone, and that someone update the source, you automatically get the updated code without the need of going into the settings.
I understand that someone would want more control and less "automatic" things but considering that tildes is in alpha I expect quite some changes in the UI to happens and the custom styles will often breaks. By allowing the extension to pull an updated version automatically, if the author fix a broken css, all its user get it without having to do anything.
If I open up the options page, the URL is never persisted although the styles stay applied, I have to refill it any time I go to the options. Additionally, if I make a change to the remote stylesheet, the changes aren't picked up even if I re-enter the URL and save it. I have to change the name of the remote file and update the URL in the options in order to pick the changes up.
Is there any reason not to support both a URL field and a textarea? Ideally if both fields are filled, the contents of the textarea will be appended to the contents of the remote CSS file, allowing people to easily customise third party styles and add small tweeaks, while still keeping them automatically updated; as well as making it easy to apply some tweaks or a custom theme if you don't have any hosting.
EDIT: This is on Firefox Developer Edition.
Ah, sorry, I hadn't checked the issue tracker. Thanks for getting so much functionality out so quickly, it's good work!
mhm, cool (not cool). I'll add a report on the github issues and check on it. Thanks :)
Issue opened and dealt with already, more info here: https://github.com/theCrius/tildes-extended/issues/14
About the developer edition, I'm testing on chrome and firefox but both the stable version.