<Thomas>
VITAS: Hmm, should we send Stone Blue the link to Opendock? http://forum.kerbalspaceprogram.com/index.php?/topic/159581-spacedockinfo-mod-hosting-site/&do=findComment&comment=3141530
<VITAS>
you can
<VITAS>
but i would use bootstrap and overwrite certains tuff like color and round corners
<VITAS>
so if he wants a dark them he should make both standart and dark
<VITAS>
basing on the same css
<Thomas>
whats bad about round corners?
* Thomas
likes them
<VITAS>
i want to reproduce spacedocks theme but a bit sharper/precise
<VITAS>
also i dont lake those corners theyre so early 2000s
<VITAS>
but the most important thing is: i dont want spacedock to look like twitter or any other bootstrap powered site
<VITAS>
just like SDF if you want to know how i imiagine it to look
<Thomas>
Thats understandable
<VITAS>
i would realy like something liek i did on sdf
<VITAS>
where some language (js or some other) can change the colors, fotn and other important bits according to soma variables
<VITAS>
i know theres a special version of bootstrap in less or similar
<VITAS>
we could adapt that
<VITAS>
so what we could do (and i would be on board with) is to make some differently colored, corner shaped, font suing version opensource
<VITAS>
and just slot in the right values for spacedock
<VITAS>
if we want to use it
<Thomas>
That sounds awesome
<VITAS>
but there have to be a good amount of settings so that 1. someone can tweak it to his liking if they use it, 2.) we can offer a dark theme for spacedock and 3.) people have to want to clone spacedock and cant achive that by accident
<Thomas>
I think lot's of colors could be moved to twig variables
<RockyTV>
o7
<Thomas>
o/
<VITAS>
bonus: the settings should be obscured from the visitors eyes (so that there isnt an easy way to just copy past a block to make it a spacedock clone)
<VITAS>
hi RockyTV
<RockyTV>
VITAS, round corners isn't 2000s, it's pretty much recent
<VITAS>
i did that on sdf (twig )
<RockyTV>
I can say that square corners is pretty much 1980s
<RockyTV>
we could try materializing SDF
<VITAS>
i could try monetizing it :P
<VITAS>
i liked the sdf style
<VITAS>
its loosly based on youtube
<Thomas>
VITAS: Well, twig would do that, but someone could still look at the source and check where we insert what
<VITAS>
yes i know
<VITAS>
i just want to make it a bit harder than geting some settings file and slotting it in
<VITAS>
but didnt your opendock thing use purly js?
<RockyTV>
Thomas, is user profile page working?
<RockyTV>
also, just realized that I need to setup sdb on my server again, I formatted it yesterday and moved to arch
<VITAS>
or does it have any frontend backend?
<Thomas>
VITAS: It uses pure JS, but it still uses slim/twig for routing / settings
<Thomas>
RockyTV: Yes
<VITAS>
ah i thought you figured out how you could do that with js and some .htaccess
<VITAS>
in that case look at sdf
<VITAS>
i think it isnt based on bootstrap
<Thomas>
VITAS: I had ideas but I fear that's going to be awful
<VITAS>
but it does the approach you suggest
<VITAS>
what ive learned sicne sdf is: you can precompile custom versions of bootstrap using stuff like less or so
<RockyTV>
let's make SD a SPA!
<VITAS>
so what you could so is use bootstrap as css theme and we then compile a spacial light and dark version of it for later use on spacedock
<VITAS>
SPA?
<RockyTV>
single page application
<VITAS>
thats what i thought you where doing with vue
<Thomas>
Yes, we used SCSS for opendock previously, but I switched it all to plain CSS, because the compilation was annoying
<VITAS>
(and i did with d-mp.org but failed because of the url stuff)
<Thomas>
VITAS: No. vue is just responsible for adding data to the page
<VITAS>
ok
<RockyTV>
Thomas, before we have a public beta of opendock, can we please modify the current js files so they don't look like you compiled coffeescript?
<VITAS>
and what does jquery in your instance?
<Thomas>
RockyTV: Which files look like I compiled coffescript?
<Thomas>
VITAS: ajax and getting form values in some places
<VITAS>
i would say: just use the newest bootstrap and we care about custom bootstrap mods later
<VITAS>
is that intended that way?
<VITAS>
(for vue to use jquery)
<RockyTV>
uh
<RockyTV>
nvm, my files were outdated
<Thomas>
VITAS: No, vue can work without jQuery. But at some places I rather used jQuery that adding empty vars to vue, binding them to form elements, and reading the data later
<Thomas>
VITAS: Also, the parallel request stuff I added yesterday (which speeds up the site a lot) uses jQuery
<VITAS>
just dont do it some crazy way noone will understand in a month or two
<VITAS>
and use as many ready made stuff as possible
<Thomas>
RockyTV: About the single-page application idea: I still have no idea how we could do reloads without creating new vue instances
<Thomas>
"and use as many ready made stuff as possible" /me looks at his ajax functions and hides
<VITAS>
just for future proofing: you could integrate websockets to be used by non essential stuff like site internal messanging etc. (in the future)
<VITAS>
you knwo that you will have to udnerstand and maintain it for a long time
<VITAS>
ant thats every lien of code you write
<Thomas>
Yeah
<VITAS>
thats why i currently venture into laravel
<VITAS>
because it promisises for me not write as little code as neccesary
<RockyTV>
I didn't understand what you said about those instances, Thomas
<Thomas>
Well, currently each page has a different vue setup with its own instance (different variables)
<Thomas>
If we are going to use a js routing and rendering library, we would have to change theese variables when we load a different route
<Thomas>
Currently the browser just throws away the old instance and creates a new one
<VITAS>
hmm i saw a compairson between differen js libs and i now remember that vue allows to write per page or even per module apps
<Thomas>
But in a single page application this instance would remain active
<Thomas>
So even if we find a way to disable it, it would stay in memory (js GC is crap)
<VITAS>
dont make the mistake i made with d-mp.org
<VITAS>
make it linkable :D
<Thomas>
But then we could also use twig
<Thomas>
no difference there, except that with a js routing and rendering lib we expose all our settings
<Thomas>
That means, for a working single page application, we need to change all the variables of a vue instance, without updating the current page
<Thomas>
Also, we probably have to find a way to make vue aware of the DOM changes
<VITAS>
but a single page app has the advantage of not requireing to load the same crap over and over and its easily made into an smartphone app in the future
<VITAS>
(im not sure about the use of SD on smartphones but then again im not sure about the use of smartphones)
politas has quit [Ping timeout: 383 seconds]
politas has joined #spacedock
egg is now known as egg|nomz|egg
<SpaceDock>
[OpenDock] StollD pushed 1 new commit to master: https://git.io/v7okU
<SpaceDock>
OpenDock/master f16f0e0 Dorian Stoll: Update mod page
egg|nomz|egg is now known as egg
Qboid was kicked from #spacedock by *status [You have been disconnected from the IRC server]
Qboid has joined #spacedock
Qboid was kicked from #spacedock by *status [You have been disconnected from the IRC server]
Qboid has joined #spacedock
<Thomas>
RockyTV: Is there any feature for OpenDock you want to work on? (So I dont start working on it)
<RockyTV>
what's left to be done?
<Thomas>
Umm, edit mod, edit profile, modlists, the admin panel and smaller stuff
<RockyTV>
I'll give edit mod a tr
<RockyTV>
s/tr/try
<Qboid>
RockyTV meant to say: I'll give edit mod a try
<Thomas>
cool
<RockyTV>
I need to install sdb again
<RockyTV>
er
<RockyTV>
psql*
<VITAS>
adminpanel: may i suggest adminLTE?
<Thomas>
You just volunteered for that task :P :D
<VITAS>
me?
<Thomas>
Yes
<VITAS>
cant be ive to code two other sites atm
<VITAS>
thats why i cant stand to code on spacedock in my free time :(