dys π
KPCKevin Powell - Community
β’Created by clevermissfox on 4/10/2025 in #help
post-css adding spaces after colons?
I was going to ask why you still thought PostCSS was running once you discovered CRA made the app.
CRA is ancient & uses very old tools. That it wouldn't support nesting is not surprising, though screwing up pseudoelements is surprising since they predate even CRA.
39 replies
KPCKevin Powell - Community
β’Created by vinter. on 4/1/2025 in #help
How Can I Make A Dynamic Tree Component?
Given how things align, could you figure out how many grid columns you need & position the elements within that?
I was screwing around with the code contemplating how to do this, but unfortunately ran out of time. What's there may help you clean up your code a bit.
ΒΏYou don't know any Svelte, do you? This would be about 30β¨― easier to write in Svelte. πΈ
12 replies
KPCKevin Powell - Community
β’Created by McMarty on 3/31/2025 in #ui-ux
Working with Off-Screen Tabs

8 replies
KPCKevin Powell - Community
β’Created by McMarty on 3/31/2025 in #ui-ux
Working with Off-Screen Tabs
ΒΏCan you scroll them onto the screen with a swipe?
8 replies
KPCKevin Powell - Community
β’Created by Zach on 3/20/2025 in #front-end
Are these all the Web Storage APIs?
The one I learned about today is the "origin private file system" (OPFS), which is a file system that only exists within the browser.
(You can actually use the File System API to get a read / write handle into your local directory tree. The OPFS, though, is only traversable through function calls in the browser & won't necessarily correlate to actual files on your system.)
I learned about it reading through the XMTP docs. XMTP uses the OPFS to store a SQLite database where it caches some information.
The biggest potential downside is it is curtailed by the storage quota, (which you can see with an
await navigator.storage.estimate()
in the developers' console). Chrome says my quota is 10,756,504,503,090 (~10TiB?), so it oughtn't be much of a problem.2 replies
KPCKevin Powell - Community
β’Created by tombyrer on 3/19/2025 in #resources
(simple)-state-shifter: a Finite State Machine to simplify code flow

3 replies
KPCKevin Powell - Community
β’Created by 3d_carrot_3d on 3/17/2025 in #back-end
ERR_TOO_MANY_REDIRECTS? How can I fix it?
Does Wordpress send a
301
or is it a meta refresh
tag?102 replies
KPCKevin Powell - Community
β’Created by 3d_carrot_3d on 3/17/2025 in #back-end
ERR_TOO_MANY_REDIRECTS? How can I fix it?
The SSL redirect is your problem them. It should only be on the
http
site, but appears to be on the https
as well.
I'd guess something is screwy with your host.102 replies
KPCKevin Powell - Community
β’Created by 3d_carrot_3d on 3/17/2025 in #back-end
ERR_TOO_MANY_REDIRECTS? How can I fix it?
Your
https
page is redirecting to itself.102 replies
KPCKevin Powell - Community
β’Created by 3d_carrot_3d on 3/17/2025 in #back-end
ERR_TOO_MANY_REDIRECTS? How can I fix it?
It's what you blanked out, the
Location
header. It is the same as the page's url, right?102 replies
KPCKevin Powell - Community
β’Created by 3d_carrot_3d on 3/17/2025 in #back-end
ERR_TOO_MANY_REDIRECTS? How can I fix it?
You're not looking in the sources tab, you want the headers sent in the
301
response. Double click on one of the pages in the Network tab to see the headers.
(I'm assuming the page names are all the same in the left-hand column you cut off in your picture of the screen. (Use the PrintScreen
key, or Windows+Shift+S
to take a screenshot (unless you're on mobile Discord).))
It looks like a page is redirecting to itself.102 replies
KPCKevin Powell - Community
β’Created by 3d_carrot_3d on 3/17/2025 in #back-end
ERR_TOO_MANY_REDIRECTS? How can I fix it?
The Network tab will should which pages are redirecting & where they're redirecting to.
There's almost certainly a loop.
102 replies
KPCKevin Powell - Community
β’Created by chikanlegbees on 3/18/2025 in #back-end
Socket.emit() and socket.on() not working when app is refreshed?
Or, is
socket
a state variable that persists between mountings?4 replies
KPCKevin Powell - Community
β’Created by chikanlegbees on 3/18/2025 in #back-end
Socket.emit() and socket.on() not working when app is refreshed?
useEffect
is run twice in strict development mode. useEffect
should return a function that tears down whatever the setup builds.
In your case, something like: return () => { socket.disconnect() }
.
I wouldn't think that would cause the issue you're seeing though. I notice that socket.emit("login", data.id)
only has one parameter. Is that where you're authenticating? Should it have a user id & a password?4 replies
KPCKevin Powell - Community
β’Created by redcaus1235 on 3/8/2025 in #ui-ux
Hero Section Comparison Feedback would be nice
Some of your contrasts aren't that contrasting. You might try a gold
text-stroke
on "Beauty" to make it a bit bolder, and maybe a dark gray (or semi-transparent black) stroke around the labels of your gold buttons.
Are you using text-wrap: pretty
on the paragraph in the center?5 replies
KPCKevin Powell - Community
β’Created by redcaus1235 on 3/8/2025 in #ui-ux
Hero Section Comparison Feedback would be nice
I think the last (centered) one looks the most polished & balanced.
5 replies
KPCKevin Powell - Community
β’Created by dys π on 3/8/2025 in #ui-ux
Media Ranker Keyboard Navigation
I was thinking about that, though I was going to do the more intuitive numerically, if not kinematically, 0 = beginning to 9 = end, with each space being 100β9% = 11.Μ
1%.
13 replies
KPCKevin Powell - Community
β’Created by dys π on 3/8/2025 in #ui-ux
Media Ranker Keyboard Navigation
The goal is to serve someone wanting to quickly seek deep into the media regardless of it's length.
Using a fixed percentage it'll take the same amount of time to seek through a video regardless of it's length.
Though that'll be 100% / 2Β½% β¨― 1Β½sec = 60sec to go through the entire thing, so it should be more like 5%.
13 replies
KPCKevin Powell - Community
β’Created by dys π on 3/8/2025 in #ui-ux
Media Ranker Keyboard Navigation
Fair enough. It was sorta redundant in any case.
13 replies
KPCKevin Powell - Community
β’Created by Ξ³ΞΉΞ±Ξ½Ξ½Ξ· on 2/19/2025 in #front-end
Positioning Issues
The middle bit is definitely a
grid
.
I don't really have time to dig through your code at the moment, I've got a broken program of my own. πΈ4 replies