You are viewing a single comment's thread from:

RE: 👨🏼‍💻 #Proposal-86: Share Your Thoughts 📢

in Steem Dev20 days ago (edited)

Thank you for the feedback

I like that I can switch APIs between steemit and steemitdev on your site.

I can't take any credit for that as I've not touched the code for it. Presumably then, the code in GitHub doesn't have any issues and something is either changed, switched off or broken at server / hosting level.

Intuitively, I was expecting an independent scroll capability in the "My Subscriptions" section.

This has provoked a lot of thought. I deliberately avoided an additional scrollbar just for the navigation as I find the "scrolling in scrolling" annoying. My justification is highlighted in this article ("Avoid Inline Scroll Areas (26% Get it Wrong)"):

When scrolling the page via a mousewheel, an inline scroll area may be scrolled into the position “occupied” by the user’s cursor, causing the inline area to “hijack” the page scrolling. And similarly, when deliberately scrolling an inline area, once the end of the area is reached, the whole webpage will begin scrolling. During usability testing this proved of great annoyance to the test subjects, who often expressed a lack of page control due to this jerky scrolling experience, requiring them to be constantly aware of their cursor position whenever scrolling.

This expressed my feelings quite well.

They also mention:

A few times during testing we observed that some subjects would click within the inline scroll area in an attempt to “activate it”. However, since most of the inline scroll areas contained lists of links (such as filtering values), this click would often result in the test subject unintentionally applying one of the values, sending them on a detour.

Which I hadn't considered. (The other points they make in the article feel like they're trying to "force the justification of a point".)

However, this article's nearly 10 years old and both Facebook and Twitter implement a scrollbar in their navigation if its height exceeds the window height... but I also feel that my implementation is more graceful and usable than theirs. I'd be interested in hearing more thoughts on this.

Also, my bottom community seems to be getting cut in half by "My Profile" in the subscriptions section:

I've not been able to replicate this - what browser are you using? If you're viewing your own profile, the final option should be "Explore Communities...".

Question about the ToS... Presumably, every site that runs condenser doesn't want to apply the same terms of service. I wonder if that should be in the .gitignore file or what other mechanism can be used to maintain website independence for that file(?).

I've only published this for testing so not really thought about it. I really don't want to go down the route of hosting my own front end and the legal, ethical, etc. implications associated with that!

Sort:  

Presumably then, the code in GitHub doesn't have any issues and something is either changed, switched off or broken at server / hosting level.

Yeah, I think steemit has some sort of web server access/config setting that was blocking the other APIs. I thought they would eventually fix it, but AFAIK, it hasn't been done yet. I forget now what the technical name was for it, but I gathered that it had been implemented in order to limit the harm from phishing or other antisocial behaviors if something nasty found its way into the website code.


I've not been able to replicate this - what browser are you using?

I'm using Brave (which I believe is built on Chromium), and it's worse than I had noticed yesterday. If I go to my profile, I see 27 communities.

image.png

However, if I'm looking at "My Subscriptions" with a post or a feed in the center area, I only see 23 (22 1/2 ;-)).

image.png

image.png

And I don't find any way at all to see to those last 4. I don't see the issue with remlaps-lite, which only has 12 communities. So, in order to duplicate it, I guess you'd need to be a member of 23 or more communities.


New observation today, when I scroll down on someone else's "communities" page (i.e. here or here), when I get to the bottom it somewhat abruptly snaps me back to the top of the page.

 19 days ago (edited)

And I don't find any way at all to see to those last 4. I don't see the issue with remlaps-lite, which only has 12 communities. So, in order to duplicate it, I guess you'd need to be a member of 23 or more communities.

Yes, I've got it now, thank you 🙂 I'd implemented a max-height on the "visible" class (which is added in a self-explanatory scenario 😉) - this overrides the default height of 0 (which hides it in the opposite scenario). So to remove the height: 0, I added height: 1000px which wasn't enough. So what I should've done, was simply use height: unset and then it will cater for as many communities as your heart desires.

New observation today, when I scroll down on someone else's "communities" page (i.e. here or here), when I get to the bottom it somewhat abruptly snaps me back to the top of the page.

It did that to me yesterday when viewing a profile with posts / comments shorter than the height of the navigation. I have a feeling this one's going to be a pain to debug.

UPDATE: I've found where the problem is. Now, I need to somehow figure out why it's doing what it's doing!

 20 days ago 

something is either changed, switched off or broken at server / hosting level.

Do you run the app in the development mode or in the production mode? The cookies looks like dev mode. In the dev mode the are some content policy directives not active. But I haven't understood that in detail yet.

I've not been able to replicate this

I don't have this problem either.

 19 days ago 

Do you run the app in the development mode or in the production mode?

I'm using the default Dockerfile, unedited, so it should be running in production mode. But Dev Ops isn't a strength of mine so I can't say for certain!

 19 days ago 

I have not yet been able to start the Condenser in production mode. Some kind of error message has made life difficult for me. I haven't tried it for months now, so I can't say exactly what the problem was.

In production mode, the helmet content policy directives are activated, which prevent the loading of unknown sources. Since api.steemitdev.com is also specified there, it is possible to switch to it.

 15 days ago 

I've only run Condenser in production mode through a Docker image. I think that if I tried to do it any other way it'd be a world of pain!

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.032
BTC 63432.48
ETH 3063.80
USDT 1.00
SBD 3.81