dev
textPage 8 of 208
50 messages on this page
Monday, May 23, 2022
User bddf69
Should be on staging in like 10 minutes probably :p
User bddf69
Awesome, just kicked off the build and push locally
User 882420
So used to vars being capitalized lol.
User 882420
Just committed it. Just edited it in the web ui.
User bddf69
Hehe :p Let's get that fixed, if you push to that branch I'll do a build and deploy
User 882420
Found why
listVar is getting vars from all of the servers. Same error lol.User bddf69
server.Id instead of server.idUser bddf69
I did fix an issue like that on the API front: https://github.com/CatalysmsServerManager/7-days-to-die-server-manager/pull/1188/commits/43be934a378d412bf98fdde0ff2da5137bf75530
But I didn't test the helper itself :p
User 882420
I don't know why
listVar is displaying vars from all of the servers.User bddf69
o.O
User 6ceaf4
lol
User 6ceaf4
@User 22055452 lied to us
User 6ceaf4
That should not be possible
User 882420
The reason why the other vars are not showing up is because they are part of another server.
User 882420
@User 59898394 I think I found the issue.
User 882420
All good.
User bddf69
The linter hates console.log statements :( Had to delete those
User 882420
Wait nevermind, just had a look at the code and I got rid of the debug output. Damn should have kept it in.
User 882420
Oh, click on console in the bottom left.
User 882420
Try reloading the page.
User 6ceaf4
Console is blank
User 882420
@User 59898394 Open the console in developer tools on your browser. I'm pretty sure I left some debug info. If it is there can you please send me a screenshot of it.
User 882420
Aight, gonna pop over to the ticket.
User 6ceaf4
yes
User 882420
@User 59898394 Is that on staging?
User 882420
That is weird as hell.
User 882420
Try searching for player in the top search bar.
User 6ceaf4
not that I can tell
User 882420
Do you have any filters active?
User 6ceaf4
Nice
I also noticed some variables are hidden (the
I also noticed some variables are hidden (the
player: ones)User bddf69
No docs for it yet ofcourse but there's a bunch of examples in the tests
https://github.com/CatalysmsServerManager/7-days-to-die-server-manager/pull/1188/files#diff-a530e56a5af7799b8cefbae544eba68b71cc2263d6ae9cf98ca2d1729e40a534R481
https://github.com/CatalysmsServerManager/7-days-to-die-server-manager/pull/1188/files#diff-a530e56a5af7799b8cefbae544eba68b71cc2263d6ae9cf98ca2d1729e40a534R481
User 6ceaf4
What is the syntax for listVar again?
Saturday, May 21, 2022
User bddf69
Oh and auto deploy is kinda broken when the PR is made by someone outside of the main repo unfortunately :(
So if you have something ready that should be deployed, let me know and I'll do the build and stuff :)
User bddf69
You can push to the same branch on the CSMM repo but I had to merge the branch on the playground repo already. So if you wanna make changes to the frontend playground, you'll need to make a new branch and PR
FYI @User 37515946
User 882420
Thanks, will fix it soon.
User 6ceaf4
@User 37515946 I've managed to edit one variable and it would let me name it after an already existing variable

unknown.png
PNG • 11.4 KB
User bddf69
Hey all, small "announcement"
@User 37515946 has made some really nice changes to the variables page on the playground. It's ready for testing now so I deployed it to the staging instance (https://staging.csmm.app). It adds a ton of new features like sorting/filtering/searching the variables, it also lets you lock variables, edit them straight from the table, there's a new helper for listing variables (also with search functionality) and probably more stuff that I am forgetting right now 😄
(For self-hosters: it is available as a separate docker image:
catalysm/csmm:expo-playground-dev)Check it out! :)

unknown.png
PNG • 119.1 KB
Saturday, May 14, 2022
User c0a2ee
Excellent
User bddf69
You could make a Handlebars helper that executes a shell script ¯_(ツ)_/¯
User bddf69
You could also fork CSMM and monkey patch that feature in for yourself
User bddf69
It's a really big feature though haha







