dev
textPage 21 of 208
50 messages on this page
Thursday, October 14, 2021
User bddf69
Oh righto!
User 071981
try to clear ur localstorage
User bddf69
Yoo I must be doing smth wrong
User 071981
you could hide the none nessasary columns when a user entering by mobile
User 071981
ah yea the columns are just to small
User bddf69
Yeah got that one, wasnt the issue :P
User 071981
oh sorry i missed that, you need to change line 32 in players.sejs
User bddf69
Seems it's a const on mobile and a let on desktop for some reaosn
User bddf69
Just fyi ๐
User bddf69
Hey @User 70801558 sorry for spamming pings :p Somethings up with the tables on mobile it seems. I'll try and debug this tonight but I gotta run in a little bit
Friday, October 8, 2021
User 071981
Hahahaha ๐๐
User a506fe
๐คฃ
User a506fe
You should try prisma501! You ll never use anything else.
User 374c5d
i only update production builds
User 071981
i will also add actions/multiactions on the users in the future
User 071981
give me some feedback if you test it ๐
User 374c5d
ok thx.
User 071981
to development
User 374c5d
Cata was that update pushed to master?
User bddf69
For sure, but not as your main data layer imo
User 071981
But yea its ok with apollo cache. Graphql got its advantages too ๐
User 071981
Well since prisma2 performance has been increased by factor โ ๐. Mysql v1 on an gameboy color was faster then prisma1 ๐๐๐
User bddf69
Waterline (sails' ORM) has no excuse :p
User bddf69
Prisma is bad because internally it uses a GraphQL API, that gives them nicer dev experience but worse performance
User 071981
and I thought Prisma sucks :D, looks like its a pleasure in comparison ๐
User bddf69
Yes :D
User 071981
Dafaq is the sails.js querybuilder that bad? ๐
User bddf69
Oh sorry, half of those requests are to the Role table, the other half to the Player table
User bddf69
That'll help the infinite scrolling too probably
User bddf69
So in terms of performance, we could cache that resut in redis and it'll go muuuch faster :)
User bddf69
Btw @User 70801558 this is what a trace looks like for a request to a server with a lot of players
I'm pretty sure all of these are DB queries to get the default role for a player

unknown.png
PNG โข 277.3 KB
User bddf69
Hey everyone, I've just merged a great PR from @User 70801558 which does some massive upgrades to the player table on both the player overview page and the server dashboard. It'll be live on staging in a few minutes if you want to try it out :D
Tuesday, October 5, 2021
User bddf69
While the buttons are nice, I don't think we should add a whole new component library ontop of the one that's already there :p
User 071981
you use fontawesome for the icons right? we could add jasny boottrap to get buttons like this

unknown.png
PNG โข 6.6 KB
User bddf69
soooo... a full rewrite :')
User bddf69
but I'd like to make the backend a lot more modern then as wlel
User bddf69
It should happen someday though..
User bddf69
Haha that'd be quite the project!
User 071981
maybe we can rebuild the frontend someday and also deploy as mobile app with ionic <:awesome:358636635136458752>
User 071981
well, remembers me to the good old days, not that bad ๐
User bddf69
The frontend is pretty bad..
User bddf69
Yep ๐
User 071981
ah ok so all libs getting loaded on all pages? ๐
User bddf69
There's no proper dependency management for the frontend, so will need to be a CDN :(





