Mockup for redesign of the profile page https://wireframe.cc/XvxNVE
@darch@neotxt.dk Looks good 👌
@darch@neotxt.dk really cool, I maybe some little buttons on the actions (follow and copy url) might feel more intuitive to use.
@justamoment@twtxt.net yes this exactly the idea with the [text in brackets]
😉
Also if you go to the link you can see that I added a RSS/atom feed as well, which i believe used to be there back in the days
New profile_ui is slowing coming together:
@darch@neotxt.dk Cool 👌
Now with Logout move to your profile page, which can then be easily accessed from the topnav:
And a CSS-only modal for the Mute/report feature:
@darch@neotxt.dk This is quite nice 👌
@prologic@twtxt.net I could use some help in figuring out how to only show the homepod and RSS link if it is actually there. Is there as way to know in yarnd if the feed is on an another pod or if it is self hosted and does not have RSS or profile page?
@darch@neotxt.dk You probably want to use the template function:
{{ if not (eq $.Profile.Type "External") }}
@prologic@twtxt.net and that will not just give me internal users instead?
@darch@neotxt.dk I’m not sure what you mean exactly 🤔 a “Profile” is either local to tha pod, oe external to it. But carries mostly the same kind of data (fields).
@prologic@twtxt.net I need to filter out profiles or feeds that are not on any pod, but selfhosted like with lyse, movq and my own at http://darch.dk/twtxt.txt, since these does not have a rss/atom feed (https://neotxt.dk/user/darch/atom.xml) or a profile page (https://neotxt.dk/user/darch) and it therefor makes no sense to show links pointing to 404
@darch@neotxt.dk you would just simply not show these links for external profiles. The reason for this, as you cannot make any guarantees.
@prologic@twtxt.net so you don’t think we can test for it in any way? Like there are some backend communication happening between pods, right?
@darch@neotxt.dk I don’t think it’s worth doing, no.
@prologic@twtxt.net fair enough. I will find a way to design around it then
@prologic@twtxt.net I think i found a hack:
{{ if not (eq $.Profile.NFollowers 0) }}
@darch@neotxt.dk you can’t rely on that either 😆
Can you explain to me what you’re trying to do again? 🤔
@prologic@twtxt.net Not but it seem to be good enough for this😆
External and selfhosted feed:
Feed on an external pod:
Feed on local pod:
Hmm I need to work our the logic for the last one for internal users to not show the link to home pod
PR ready: #1116 - WIP: New profile view with media filter
Still some issues with the filters on profile pages, but otherwise it should be ready and it already live on https://neotxt.dk/user/darch/
BTW I’m watching that the last link in the profile [eapl.me](https://eapl.me)
is not being converted from MD into an HTML link 🤔
@darch@neotxt.dk The “How to Follow…” isn’t working yet right? 🤔
@prologic@twtxt.net one of the latest commit made it link to yarn social, but I have not update the version running on neotxt.dk yet
@darch@neotxt.dk Ahh okay! 👌 Do we need a dedicated page for that? 🤔
@prologic@twtxt.net we might, but for now the front-page explains is pretty good
@darch@neotxt.dk Ok 👌