News for hackers. Stuff that matters.
Re:Show HN: Minimal Twitter – drastically simplify and declu... by bscphil on Wednesday July 24, 2019 @10:09PM (#20522017)
If you're taking suggestions, I think a three-column format would be cool. Basically, the first column is the thin icons you have now. The second column is the tweet column. The third column (equal in size to the second column) would appear when you click on a tweet; instead of loading the responses to that tweet as a modal view as it does now, the responses would appear in the right column.

Basically, this would make Twitter a lot more like several email clients or an RSS reader. Quick and dirty mockup: https://i.imgur.com/Uh9Rbcz.png

Also, would be nice to force Twitter into "latest tweets" mode, and also to provide a userscript for those of us who prefer to avoid untrusted addons.

Re:Show HN: Minimal Twitter – drastically simplify and declu... by thomaswangio on Thursday July 25, 2019 @02:33AM (#20523131)
Interesting, sounds challenging! Would you mind adding this to the issues? Maybe someone will be able help me tackle it then https://github.com/thomaswangio/minimal-twitter/issues
Re:Show HN: Minimal Twitter – drastically simplify and declu... by supernintendo on Wednesday July 24, 2019 @02:51PM (#20518386)
Neat idea for showing off your design chops. I don’t use Twitter so I don’t have much feedback, other than your ad blocking code being brittle [1].

[1] https://github.com/thomaswangio/minimal-twitter/blob/e076507...

Re:Show HN: Minimal Twitter – drastically simplify and declu... by thomaswangio on Wednesday July 24, 2019 @02:57PM (#20518443)
Thanks for pointing that out, I think I might remove it. Will cause more trouble down the road. Do you have any ideas to make it more safe?
Re:Show HN: Minimal Twitter – drastically simplify and declu... by supernintendo on Wednesday July 24, 2019 @03:09PM (#20518576)
Unfortunately, I can’t think of any. Twitter could arbitrarily change where those elements are placed in the DOM at any time (and they probably will to prevent other extensions from blocking promoted tweets). I would just consider this out of the scope of your project and not bother handling it.
Re:Show HN: Minimal Twitter – drastically simplify and declu... by thomaswangio on Wednesday July 24, 2019 @03:24PM (#20518726)
Totally agreed, definitely out of scope. Just removed the script from the manifests. Thanks again!
Re:Show HN: Minimal Twitter – drastically simplify and declu... by daxterspeed on Wednesday July 24, 2019 @04:14PM (#20519169)
You could potentially keep searching upwards for a parentNode that has role="article". While Twitter could change their markup significantly they sorta have to support screen readers so aria attributes will poke through here and there.
Re:Show HN: Minimal Twitter – drastically simplify and declu... by thomaswangio on Wednesday July 24, 2019 @06:10PM (#20520449)
Hmmm interesting, if you have some time I'd love a PR. It would be a nice feature to have tbh
Re:Show HN: Minimal Twitter – drastically simplify and declu... by djyaz1200 on Wednesday July 24, 2019 @03:12PM (#20518614)
Thomas, I like your work. Just joined your newsletter. Would be interested to talk. I'm @ www.sendsmart.com
Re:Show HN: Minimal Twitter – drastically simplify and declu... by thomaswangio on Wednesday July 24, 2019 @03:33PM (#20518805)
Sure, I'm at thomas [at] wang.sh!
Re:Show HN: Minimal Twitter – drastically simplify and declu... by Hoasi on Wednesday July 24, 2019 @03:44PM (#20518919)
Just installed the Safari extension. It makes the new Twitter bearable. Excellent work!
Re:Show HN: Minimal Twitter – drastically simplify and declu... by flixic on Wednesday July 24, 2019 @05:44PM (#20520122)
Apple should really rethink their extension strategy. Other platforms require a click of a button. Safari requires either going through the App Store, or doing Dev Mode shenanigans.
Re:Show HN: Minimal Twitter – drastically simplify and declu... by Hoasi on Thursday July 25, 2019 @05:13AM (#20523847)
Agreed, we can all understand legitimate security/quality concerns, but their current policy prevents some great extensions from reaching a wider audience.
Re:Show HN: Minimal Twitter – drastically simplify and declu... by strict9 on Wednesday July 24, 2019 @05:00PM (#20519636)
If I could make a feature request, one more removal: the giant fixed blue button in lower right. Still can't believe twitter designers thought covering content with a control is a good idea on mobile.

Thank you for a wonderful plugin.

Re:Show HN: Minimal Twitter – drastically simplify and declu... by thomaswangio on Wednesday July 24, 2019 @05:03PM (#20519666)
Ah yes I meant to make that an option in the Chrome extension. It'll be in the next update!
Re:Show HN: Minimal Twitter – drastically simplify and declu... by thomaswangio on Wednesday July 24, 2019 @05:12PM (#20519766)
Re:Show HN: Minimal Twitter – drastically simplify and declu... by ctdonath on Wednesday July 24, 2019 @04:37PM (#20519390)
At the other extreme, I want an interface that graphically depicts full graph tree of tweets (replies and commented RTs). On a tablet, show the entire tree on one screen.
Re:Show HN: Minimal Twitter – drastically simplify and declu... by leshokunin on Wednesday July 24, 2019 @01:49PM (#20517719)
Came in expecting Emacs. Noticed a sidebar, icons, bold, separators, user profile photos. Not quite minimalist yet! At the end of the day, Twitter can look like IRC.
Re:Show HN: Minimal Twitter – drastically simplify and declu... by fernandotakai on Wednesday July 24, 2019 @02:04PM (#20517883)
early twitter had a really great xmpp bot (official!) that was super easy to use and amazing to consume twitter. it really felt like a huge IRC room.

i kind of miss that.

Re:Show HN: Minimal Twitter – drastically simplify and declu... by mrunseen on Wednesday July 24, 2019 @03:05PM (#20518531)
Mozilla Thunderbird has twitter client I like look of it[0]

[0] https://i.ibb.co/V3mwyvB/image.png

Re:Show HN: Minimal Twitter – drastically simplify and declu... by dewey on Wednesday July 24, 2019 @02:46PM (#20518327)
Re:Show HN: Minimal Twitter – drastically simplify and declu... by Lammy on Wednesday July 24, 2019 @06:46PM (#20520819)
Does it still work after the recent API changes that killed Tweetbot and other apps? I had this set up a few years ago and miss it but assumed it was done for alongside the others.
Re:Show HN: Minimal Twitter – drastically simplify and declu... by Eric_WVGG on Wednesday July 24, 2019 @05:30PM (#20519969)
I don't have "new Twitter" so I can't test this yet, but Safari users can probably use the (for-sale-on-App-Store) Cascadea extension and plug in the stylesheet from https://github.com/thomaswangio/minimal-twitter/blob/master/...
Re:Show HN: Minimal Twitter – drastically simplify and declu... by miguelmota on Wednesday July 24, 2019 @06:26PM (#20520611)
Random tip: If you have the tamper monkey browser extension [1], you can simply add `document.querySelector('[data-testid="sidebarColumn"]').remove()` to remove the second sidebar on page load to make it feel minimal without much effort.

[1] https://www.tampermonkey.net/

Re:Show HN: Minimal Twitter – drastically simplify and declu... by bscphil on Wednesday July 24, 2019 @09:49PM (#20521928)
Or you can just do this in Stylus:

    div[data-testid="sidebarColumn"] {
        display: none;
    }
Also, since Tampermonkey is closed source, it's probably better to use Greasemonkey or Violentmonkey.
Re:Show HN: Minimal Twitter – drastically simplify and declu... by usonian on Thursday July 25, 2019 @02:50PM (#20528250)
Have you been able to get this to work? I can't get Stylus to override any styles on the new Twitter site.
Re:Show HN: Minimal Twitter – drastically simplify and declu... by bscphil on Thursday July 25, 2019 @07:22PM (#20530839)
Yep, it's working for me now. Latest Firefox on MacOS. Maybe check if the "test" CSS class appears in the source for you. If not there's probably an obfuscated class you can target instead.
Re:Show HN: Minimal Twitter – drastically simplify and declu... by usonian on Friday July 26, 2019 @11:11AM (#20535371)
Interesting - this works just fine in Firefox, but the same styles in the Stylus extension for Chrome aren't working. I can see them in the DOM, they just aren't having any effect on the page. I've tried targeting both the testid and the classes and neither seem to work on Chrome.
Re:Show HN: Minimal Twitter – drastically simplify and declu... by bscphil on Monday July 29, 2019 @11:28AM (#20555566)
As I recall Twitter has some fairly strict CSP rules, and extensions have had problems with them in the past. Maybe the Stylus extension can bypass rules in Firefox that it's not able to in Chrome?
Re:Show HN: Minimal Twitter – drastically simplify and declu... by miguelmota on Wednesday July 24, 2019 @10:18PM (#20522059)
Great suggestion. Didn't know that
Re:Show HN: Minimal Twitter – drastically simplify and declu... by nihonde on Wednesday July 24, 2019 @07:28PM (#20521167)
Does Twitter really publish its test selectors in production?
Re:Show HN: Minimal Twitter – drastically simplify and declu... by jazzyjackson on Wednesday July 24, 2019 @07:43PM (#20521261)
is there a good reason that this would be bad practice? it's much more friendly to the end user than uglifying your html with randomly generated ids on every div!
Re:Show HN: Minimal Twitter – drastically simplify and declu... by nihonde on Friday July 26, 2019 @10:03PM (#20539926)
I usually strip them out during builds that target production. They’re just noise in that environment.
Re:Show HN: Minimal Twitter – drastically simplify and declu... by Existenceblinks on Wednesday July 24, 2019 @08:52PM (#20521667)
The left-nav hover is a good balance UX that's no harm to be official. Thanks for making this. Installed!
Re:Show HN: Minimal Twitter – drastically simplify and declu... by ryanmccullagh on Wednesday July 24, 2019 @05:10PM (#20519745)
I honestly like the new Twitter UI. It's more usable for me than the previous design.
Re:Show HN: Minimal Twitter – drastically simplify and declu... by malloreon on Wednesday July 24, 2019 @08:32PM (#20521558)
when will someone release a hack that inverts feed order?

I don't know about the rest of you, but I browse the web in English, which is read left to right and top to bottom.

Re:Show HN: Minimal Twitter – drastically simplify and declu... by busymom0 on Wednesday July 24, 2019 @04:13PM (#20519165)
Can this be made available for brave browser too?
Re:Show HN: Minimal Twitter – drastically simplify and declu... by gfosco on Wednesday July 24, 2019 @04:27PM (#20519299)
Brave is Chromium, you should be able to install the Chrome extension.
Re:Show HN: Minimal Twitter – drastically simplify and declu... by thomaswangio on Wednesday July 24, 2019 @04:38PM (#20519396)
Yes! You can install Chrome extensions on Brave https://support.brave.com/hc/en-us/articles/360017909112-How...
Re:Show HN: Minimal Twitter – drastically simplify and declu... by dang on Thursday April 30, 2020 @05:28PM (#23036367)
Url changed from https://twang.dev/minimal-twitter/.

Edit: and thence to https://www.wang.sh/minimal-twitter/ (by author's request)

Re:Show HN: Minimal Twitter – drastically simplify and declu... by beachsam0rai on Wednesday July 24, 2019 @05:29PM (#20519949)
hey good work! just to let you know hidden navigation labels working only in english language.
Re:Show HN: Minimal Twitter – drastically simplify and declu... by thomaswangio on Wednesday July 24, 2019 @05:58PM (#20520289)
Oh really? Thanks for the catch. Can you throw me an issue on GitHub, I'll see if I can tackle it or someone else can pick it up https://github.com/thomaswangio/minimal-twitter/issues/new
Re:Show HN: Minimal Twitter – drastically simplify and declu... by lwansbrough on Wednesday July 24, 2019 @07:01PM (#20520952)
Where are the trends?
Re:Show HN: Minimal Twitter – drastically simplify and declu... by thomaswangio on Thursday July 25, 2019 @02:34AM (#20523138)
They're in twitter.com/explore :)
Re:Show HN: Minimal Twitter – drastically simplify and declu... by lkschubert8 on Wednesday July 24, 2019 @02:37PM (#20518222)
It looks very similar to Medium.