Page 12 of 12

Re: [2.0] Smartifying the backend

Posted: Thu Apr 12, 2012 6:23 pm
by garvinhicking
OK, well...works for me :)

Re: [2.0] Smartifying the backend

Posted: Thu Apr 12, 2012 8:31 pm
by Timbalu
Too quick, Garvin. No discussion...? :P
We still would have two "philosophies" which would'nt be good either...

Re: [2.0] Smartifying the backend

Posted: Tue May 22, 2012 8:18 pm
by Timbalu
I just smartified functions_plugins_admin.inc.php, added to 2.0.
This was quite hard to convert and its nested code needs to be inspected very deep and well, to get out all the possible bugs... :wink:
Please help testing.

Re: [2.0] Smartifying the backend

Posted: Fri May 25, 2012 4:44 pm
by Timbalu
I remember YL say, images functions need some heavy converting too.
I now had a quick look inside, but it really seems all main output for the media db is smartified already successfully (8 files so far in default). What is remaining to be done? Can someone give me a hint?

Re: [2.0] Smartifying the backend

Posted: Fri May 25, 2012 5:55 pm
by yellowled
Timbalu wrote:I now had a quick look inside, but it really seems all main output for the media db is smartified already successfully (8 files so far in default). What is remaining to be done?
Well, it is smartified, but it isn't converted to HTML5/adapted to the rest of the backend yet. Besides, as I already told you, I'm not sure how much time I'm going to have for this over the next couple of weeks. Plus, Janek is still working on a design prototype.

I also remember us discussing replacing the whole media db with a different solution altogether, but that might have been on Twitter which you don't use. Combining that with the fact that the media db is not that easy to adapt (because it uses a lot of JS, which takes time to figure out and rewrite), I decided to leave the media db out entirely for a first draft of the new backend.

I'm sorry this is taking so long, but "paid work > community work". It's as simple as that.

YL

Re: [2.0] Smartifying the backend

Posted: Fri May 25, 2012 6:26 pm
by Timbalu
yellowled wrote:Well, it is smartified, but it isn't converted to HTML5/adapted to the rest of the backend yet.
Oh that is another talk! I am sure that will need some tweaking to convert to a real HTML5-backend, but this isn't my playground. At least there now will be time to finetune the smartifications we already have.
If you remember or find other missing php-smartification functions, please insert here.

Re: [2.0] Smartifying the backend

Posted: Fri May 25, 2012 8:02 pm
by yellowled
Timbalu wrote:If you remember or find other missing php-smartification functions, please insert here.
I'm sure there is a lot left to smartify, but I think it's better to hold your horses on that for the time being and let us finish a first draft of the backend – however long that's going to take. I promise, it will get much easier to discuss various questions once we have a rought scaffolding to build upon. :)

YL

Re: [2.0] Smartifying the backend

Posted: Tue Jun 05, 2012 7:07 pm
by Timbalu
Meanwhile I have found various small bugs and enhancements which can get viewed in my fork of YL Prototype. https://github.com/ophian/s9y-admin-tpl (this is still developing and nothing to test in real live!)

There is one curious "bug" left (for the moment), which is doing unexpected things, And I don't know why... even if I think it is some hidden javascript or browser gem.

Remember we have these 2 collapsing boxes by core i.e. in spamblock plugin config.
+/- Content Filter and +/- Trackbacks

For example.
This one is inside Trackbacks and is checked:

Code: Select all

<input type="radio" title="Nein" checked="checked" value="false" name="serendipity[plugin][trackback_check_url]" id="serendipity_plugin_trackback_check_urlfalse" class="direction_ltr input_radio">
This one is in the next uncollapsing config part and also checked:

Code: Select all

<input type="radio" title="moderieren" checked="checked" value="moderate" name="serendipity[plugin][forcemoderation_treat]" id="serendipity_plugin_forcemoderation_treatmoderate" class="direction_ltr input_radio">
Now, my question. Opening the collapsed Trackback and Content Filter Boxes do not show the checked radio buttons as marked, but the later uncollapsed part does. My two examples both use checked="checked".
With html live-edit in my Firebug, i can turn the first ones back to on, using checked or checked="" only.

This is working correct in 1.6.1/2 environment, but not in 2.0.
How can this be? Anybody any ideas?

Re: [2.0] Smartifying the backend

Posted: Wed Jun 06, 2012 8:10 pm
by garvinhicking
Hm, I don't think we performed any JS magic on that issue. Probably this is due to the smartification. Did you check the output HTML and compare it one by one with output from s9y 1.7? I bet there will be a difference...

Regards,
Garvin

Re: [2.0] Smartifying the backend

Posted: Thu Jun 07, 2012 10:09 am
by Timbalu
Yes, sure there is... but nothing which points directly to this issue. :)
Id did turn off all js - tried to disable id names, etc - but no luck so far. Thats driving me nuts!
As this needs to get HTML5-fied too one day, I'll leave that for YL & friends...

Re: [2.0] Smartifying the backend

Posted: Thu Jun 07, 2012 10:30 pm
by garvinhicking
So the HTML output of the page in the 2.0 and 1.7 version was 100% the same?

Re: [2.0] Smartifying the backend

Posted: Fri Jun 08, 2012 2:26 pm
by Timbalu
;-) got it!
As Spock says: "An ancestor of mine maintained, that if you eliminate the impossible, whatever remains, however improbable, must be the truth."