Include priority problems with TiddlySpace

4 views
Skip to first unread message

Tobias Beer

unread,
Sep 24, 2010, 10:18:32 AM9/24/10
to TiddlyWiki
Hi everyone...

Assume you have a TiddlySpace called "myTheme" and another called
"following".

Now, including the space "following" (after having used "myTheme" for
a while) it would start to display certain tiddlers (like SideBarTabs)
from the "following" space instead of that form "myTheme" ...that's
not so lovely and may come quite as a surpries.

The situation was that I did not have any modifications in my Space to
those tiddlers as I obviously wanted them to be used from
"myTheme" ...even (and especially) the ColorPalette, too!

What to do about it?

Shouldn't there be an include order? Or would I have to uninclude the
space that is affected (in this case myTheme) and reinclude it after
the other one that I want it to overwrite? Would that mean that with
every include I would have to reinclude my theme space? That is not so
nice.

So, to cut a long story short... includes need sorting ...or even a
multi-level approach so that new includes always go into the first-
level and one would have to sort them into the second level which will
always be included after the first-level, etc.

Cheers, Tobias.

chris...@gmail.com

unread,
Sep 24, 2010, 10:28:05 AM9/24/10
to TiddlyWiki


On Sep 24, 3:18 pm, Tobias Beer <beertob...@googlemail.com> wrote:
> So, to cut a long story short... includes need sorting ...or even a
> multi-level approach so that new includes always go into the first-
> level and one would have to sort them into the second level which will
> always be included after the first-level, etc.

This might help (I've not tried it myself):

http://inclusionsort.tiddlyspace.com/#inclusionOrderChanger

Tobias Beer

unread,
Sep 24, 2010, 11:53:07 AM9/24/10
to TiddlyWiki
Hi Chris,

On the one hand, though user-friendly, I would say that a jquery
sortable is a bit of an overkill for the task. On the other, I believe
some sorting solution should be part of the TiddlySpace core as it is
quite fundamental or otherwise confusing to the uninitiated.

Cheers, Tobias.

Tobias Beer

unread,
Sep 24, 2010, 11:58:18 AM9/24/10
to TiddlyWiki
@cdent,

As for the above mentioned multilevel-approach, I have a number of
dedicated plugin-spaces included in my space - containing not a lot
more than a single plugin - which I would love to see put in a
dedicated plugin-collection in the "includes" tab.

I would also be glad to see you comment on...
http://groups.google.com/group/tiddlywiki/browse_frm/thread/e208a5cc0bd6e131

Cheers, Tobias.

PMario

unread,
Sep 24, 2010, 3:30:16 PM9/24/10
to TiddlyWiki
On Sep 24, 5:53 pm, Tobias Beer <beertob...@googlemail.com> wrote:
> Hi Chris,
>
> On the one hand, though user-friendly, I would say that a jquery
> sortable is a bit of an overkill for the task. ...
me too.
>On the other, I believe
> some sorting solution should be part of the TiddlySpace core as it is
> quite fundamental or otherwise confusing to the uninitiated.
>
> Cheers, Tobias.
I think someting like: " ↑ ↓ x" [1] would be enough for basic
sorting, and I think this can be part of the core.

[1] http://baggr.tiddlyspot.com/#todo .. as an example

-mario

Tobias Beer

unread,
Sep 24, 2010, 3:56:29 PM9/24/10
to TiddlyWiki
Hey PMario,

I like that Baggr thingy and I remember having worked on something
quite similar with someone (else?) earlier... can't remember what it
was called, but it was all about todo lists.

I think it were good if you gave your up-, down- and delete-buttons
(not just) a little more padding...

Also, I much liked those sorting approaches, where instead of arrows
one has input fields with numbers... you enter a new number and bang
it gets sorted into the right spot... seems a lot quicker to me than
"click down > move mouse down > click down > move mouse down > ... "

Cheers, Tobias.

Tobias Beer

unread,
Sep 24, 2010, 4:12:12 PM9/24/10
to TiddlyWiki
Ah, found it...

http://kronenpj.tiddlyspot.com

That's was the one ...quite similar to baggr. ;o)

Cheers, Tobias.

Bauwe Bijl

unread,
Sep 25, 2010, 10:06:54 AM9/25/10
to TiddlyWiki
Hi
I like the idea of a number (as a weight)..
For instance:
a new person adds a translation
later a new theme (or plugin....etc)
...the gettingstarted (which was translated) changes in english again
(it's from the theme-space)
Which implies that a translator space always must be the last space in
the list (heaviest by default).
Bauwe

PMario

unread,
Sep 26, 2010, 3:07:13 PM9/26/10
to TiddlyWiki
Hi,
I like this idea.

*Given, that you know the weight of system-theme space, it would be
needed to make a user-theme space a little bit heavyer.

*The include plugin needs to recognice the weight while including,
sort the recipe accordingly and write it back to the server.
**expecting, that include asks, if I am happy with the new order
**A reload has to be done anyway

*This would make it possible, that a newly included space is
automatically inserted in the middle of the recipe.
*This would be very nice for plugin spaces, because they shouldn't
overwrite activated themes.

The only problem, that I see is, that the server bag configuration has
no field where to save this information.
@jon: But may be SiteConfig tiddler can be used for this.

Have fun!
mario
Reply all
Reply to author
Forward
0 new messages