brainstorming: dashboard template UI mit jquery + x

Hier können Probleme und alles andere in Deutscher Sprache gelöst werden.
Post Reply
onli
Regular
Posts: 3044
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: brainstorming: dashboard template UI mit jquery + x

Post by onli »

Um die Backend-Smarty-Diskussion fortzuführen: Siehe hier.
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: brainstorming: dashboard template UI mit jquery + x

Post by Timbalu »

Fein!

Aber um beim Thema zu bleiben, bitte ich nicht generell abzubiegen....
die Alpha-3 braucht wieder Tester und würde ungern Stückwerk bleiben.

https://github.com/ophian/serendipity_event_dashboard
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
onli
Regular
Posts: 3044
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: brainstorming: dashboard template UI mit jquery + x

Post by onli »

Erhöhe bitte die Versionsnummer, damit Spartacus nicht immer deine Version überschreiben will ;)

Mein Feedback steht soweit. Schön, dass es nicht mehr den Adminbereich hijackt.

Ich finde das Selectmenü an sich nicht schlecht, nur gehört es meines Erachtens nicht in das Plugin. Überlass sowas doch dem Admintemplate.

Die Icons sind ein Bruch zu den üblichen, aber wir werden keine passenden haben, richtig?

Das "templates_c" aufräumen gehört imho in den Core oder in dbclean. Warum eine selten benutzte Funktion auf die Startseite tun?

Der Toogle-All button ist immer noch unglücklich. Die Überschrift klickbar zu amchen und das + daneben wäre besser. Ebenso toggle-option, das fühlt sich im ganzen noch falsch an.

Bleiben die Farben, und ich würde nochmal überlegen, ob man die Bereiche nicht auf dem Dashboard selbst platzieren können sollte.

Ich hoffe, du kriegst noch weiteres Feedback.
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: brainstorming: dashboard template UI mit jquery + x

Post by Timbalu »

Zum Selectmenu: Das war ja ehrlich gesagt auch nur ein P.o.C, als Reaktion auf eurer Urteil zum popup menu.

Ja. bei den Icons musste ich erstmal was passendes suchen gehen.

Cleanup - warum ein eigenes Plugin... ich wollte schon immer mal auf eine schnell erreichbare Löschfunktion verweisen können...

Mit der Überschrift und TA werde ich nochmal überlegen.

Das mit dem Feedback hoffe ich auch. :wink:
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: brainstorming: dashboard template UI mit jquery + x

Post by Timbalu »

Ich sag jetzt einfach mal Beta dazu... :wink:

This is a proof of concept experimental dashboard screen, available via Github (see link some posts ago). All available and editable links target to their origin position, as long as the current backend is working the way it is. Please leave suggestions or improvements here, english welcome.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: brainstorming: dashboard template UI mit jquery + x

Post by Timbalu »

We have now reached version 0.6.9.7.5!

ChangeLog:
0.6.9.7.5
-----
Added jquery.cookie support for sidebar/selectbar as session cookie
Update to modernizr-2.5.3.custom.min.js and jquery-1.7.2.min.js

0.6.9.7.1
-----
Fixed N/A notices in case of empty element blocks

0.6.9.7
-----
Fixed sequence elements be still marked, if un-marked and submitted all elements in config!
Fixed plugininstance non object error in case of disabled CleanCompiles Sec
Added some CONSTANTS
Changed some gui buttons placement
minors

0.6.9.6
-----
use native version_compare() check

0.6.9.5
-----
Updater and use of version notice fix

Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: brainstorming: dashboard template UI mit jquery + x

Post by garvinhicking »

Hi!

It doesn't seem to work at all for me:

http://cl.ly/461J3F032n2t180B221T

Seems the plugin might use an improper way of detecting the path to include the javascript. I use a symlink of my plugins. You should offer a config option so that I can enter the proper path; it can be set by default to the logic you currently use, but such environments with symlinked plugin directories make a lot of sense, so please support it like other plugins do (like the dsphighlighter plugin, check the "path" config option).

I'm excited to try out the plugin, the podcast of grischa and matthias made me curious. :)

BTW: What is your reasinong behind a version number like 0.6.9.7.5?!?! :-D
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: brainstorming: dashboard template UI mit jquery + x

Post by Timbalu »

8) I would say that strongly looks like caching issues.... [Ctrl] + [Shift] + [r]
If that doesn't help, I'll add that config option tomorrow, if possible.
If it was the cache, v.0.6.9.7.6 might have helped you...

;-)
But I also uploaded a slighter downsized version update just minutes ago...
It was a playground without notice before.... so the version number didn't matter.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: brainstorming: dashboard template UI mit jquery + x

Post by garvinhicking »

Hi!

I definitely spot a caching issue and of tried refreshing first. I then saw that the URLs were not proper.

Why not 0.6.9.7.5.1? :-)

If you have added the option please tell me and I'll have another try!

Regards,
garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: brainstorming: dashboard template UI mit jquery + x

Post by Timbalu »

garvinhicking wrote:Why not 0.6.9.7.5.1? :-)
Shall I ? :wink: version_compare is able to handle some more...

What kind of path do you need? Only the images http (related to /serendipity_admin.php) or the absolute path? Or does this happen for every path related to /plugins/ dir?
Is that because you have a differing /plugins/ path, or is even the $serendipity['serendipityHTTPPath'] different?

Could you please post a snipped source code example from within the dashboard, i.e. best for mbContainer.min.js and bayes_commentlist.js and exitoctogone.png for an image path example.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: brainstorming: dashboard template UI mit jquery + x

Post by yellowled »

Kinners. Ich schiebe ständig Leute ins deutsche Forum, weil sie in den englischen Foren deutsch posten und jetzt macht Ihr hier sowas. Wie sieht das denn aus? :)
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: brainstorming: dashboard template UI mit jquery + x

Post by Timbalu »

@Garvin - nur noch mal zur Klarstellung und auf Deutsch ;-)
Ich mache das seit jeher etwa so - was daran läuft bei dir genau falsch....?

Code: Select all

/* set global plugin path setting, to avoid different set '/plugins/' path */
$pluginpath = pathinfo(dirname(__FILE__));
$ppath = basename(rtrim($pluginpath['dirname'], '/')) . '/serendipity_event_dashboard/';
echo '<img src="'.$serendipity['serendipityHTTPPath'].$ppath.'img/findme.png">';
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: brainstorming: dashboard template UI mit jquery + x

Post by garvinhicking »

Hi!

Also, dein plugin liegt bei mir in

/home/garvin/git/foreign/serendipity_event_dashboard/

Mein s9y aber in:

/www/serendipity/

Ich habe einen Symlink von

/www/serendipity/plugins/serendipity_event_dashboard -> /home/garvin/git/foreign/serendipity_event_dashboard/

dirname(__FILE__) liefert halt /home/garvin/git/... etc. aus, daher lautet die HTTP-URL dadurch später /plugins/git/foreign/serendipity_event_dashboard/ anstelle des korrekten /plugins/serendipity_event_dashboard/.

LKG,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: brainstorming: dashboard template UI mit jquery + x

Post by Timbalu »

Naja -
aber in diesem Falle finde ich ein hardkodiertes Mittelteil a la 'plugins/serendipity_event_dashboard/' zum $serendipity['serendipityHTTPPath'] . $localpath . 'img/icon.png' viel schlichter, da es dann dieses ganze Gewurstel von Pfad-(be/um/ab)-rechnungen, incl. config option für einen reinen http path gar nicht benötigt wird.
(Simple as that, es geht eben gerade nicht um jene, die anstatt '/plugins/' etwas anderes verwenden.)

PS. your recommended plugin - returns to be no good as example, as ruff buggy in path!
https://github.com/s9y/additional_plugi ... er.php#L80
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: brainstorming: dashboard template UI mit jquery + x

Post by garvinhicking »

Hi!

Das klappt aber nicht, weil ich auch andere Plugins per Symlink in /plugins/additional_plugins/serendipity_event_XXX reinziehe. Dort würde es dann nicht gelesen werden können.

Du BRAUCHST eine Pluginoption wenn Du Dateien per HTTP nachlädst; sonst geht das nicht.

Du kannst mal nach anderen Plugins sonst suchen die "get_config('path')" nutzen...bisher tut das jedes Pluigin das was per HTTP in plugins/ nachlädt.

Viele Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply