← Back to team overview

zim-wiki team mailing list archive

Re-ordering the index / custom sorting

 

Hi people,


Personally, I would prefer instead that more emphasis would be given to
search instead of an index structure, as it is with Web Wikis. A more
prominent search box with find-as-you-type and partial results in a popover
:). Then I would hide the index and just use a flat notebook structure. I
tend to prefer linking and tags instead of hierarchies to set relationships
among pages. Well, just my almost off-topic two cents, based on my personal
experience.

To the problem at hand tho: I think it would be a good compromise between
customization and simplicity to allow drag'n'drop (with some keyboard
equivalent) for reordering, but give context-menu actions to sort by some
criteria (e.g. alphabetically, by creation date, etc.). Those actions are
instant, though: they simply pass through the selected pages sorting
everything. This way you avoid maintaining different "modes", while keeping
it relatively easy for people to go either sorted or custom.


Best regards,
Davi.


Em quarta-feira, 18 de fevereiro de 2015, S. Mubashir <
sajid.mubashir@xxxxxxxxx
<javascript:_e(%7B%7D,'cvml','sajid.mubashir@xxxxxxxxx');>> escreveu:

>  Dear Zim-Gurus,
>
> May I suggest a simple alternative, that doesn't involve embedding some
> special logic or identifier or ID etc?
>
>    - Let the current alphabetical sorting remain.
>    - For anyone who wants to re-order, as per their preference, a
>    key-binding can be given.  For example, in MS-Word, the key-sequence
>    [Shift+Alt+Up] or [Shift+Alt+Down} can rearrange paragraphs.  The
>    OpenOffice/ LibreOffice Key-Binding is different and probably [Ctrl+Alt+Up/
>    Down]; I am not sure of the latter because I always change it to [Ctrl+Up
>    or Ctrl+Down] on all PC/ laptop I use.
>
> I depend on this key-binding for its simplicity, power & convenience.  Mr.
> Ugur Murat's method is a little laborious, needs foresight and such
> disciplined notebook looks super-human to me.
>
> My special (earnest) request is that the key-binding (for page-promotion/
> demotion) should also be applicable to paragraphs (promotion/ demotion)
> within the page, and if you do that, Zim will become an exceptional
> text-editor.  For regular use one won't need the Word Processor, until
> printing the page becomes important.
>  Best regards,
> S.Mubashir
>
> On Wednesday 18 February 2015 03:53 PM, Güven, Ugur Murat wrote:
>
>  Hi Jaap,
>
>
>
> >1/ Do you only want custom ordering, or switch between custom and
> alphabetical sorting ?
>
>
>
> What I’d love to see is the possibility to enable / disable a personal
> index
>
>
>
> My current structure is:
>
>
>
> 004Projects
>
> 004-0010-ProjectA
>
>                 001-Information-ProjectA
>
>                 002-Tasks-ProjectA
>
>                 003-Meetings-ProjectA
>
>                 M001-DATE-ProjectA
>
>                 M002-DATE-ProjectA
>
>                 M003-DATE-ProjectA
>
> 003-OngoingTopics-ProjectA
>
> 004-0020-ProjectB
>
> 004-0030-ProjectC
>
>
>
> … using the pre-fix numbers for sorting.
>
>
>
> So putting this together means that I would need the possibility to sort
>
> ·         according to creation date
>
> ·         setting the position manually
>
>
>
> >2/ If so, where do you click to switch between custom ordering and
> alphabetic ordering ? And how this switch affect sub-sections ?
>
>
>
> Basically I need to have the option per parent note to make child notes
> sorted against. So, right-clicking on the parent note should show a popup
> menu
>
>
>
> In above example I would sort manually:
>
> 004-0010-ProjectA
>
>                 001-Information-ProjectA
>
>                 002-Tasks-ProjectA
>
>                 003-Meetings-ProjectA
>
> 003-OngoingTopics-ProjectA
>
>
>
> These should be sorted against creation date:
>
>                 003-Meetings-ProjectA
>
>                 M001-DATE-ProjectA
>
>                 M002-DATE-ProjectA
>
>                 M003-DATE-ProjectA
>
>
>
> >3/ When index has custom ordering, where do new pages show up - at the
> end, in the front, other position ?
>
>
>
> According to the selected option in parent note. There could be an
> exception though -->
>
>
>
> >5/ ... what did I not think of yet ... ?
>
>
>
> If camel case creation is switched on, the notes which are created
> automatically need to be placed as child notes and should be sorted
> alphabetically as standard.
>
>
>
> >4/ Should custom sorting depend on list of links in parent page ? (Either
> by default or as a plugin)
>
>
>
> That is a nice idea. On the one hand it could make it easier for the user
> to find the notes in the index if the index order follows the order in the
> note, but on the other hand, if the
>
> links are not in a list within a note, I don’t see a direct visual
> connection to the index order and to the order within the note.
>
>
>
> -->
>
>
>
> >5/ ... what did I not think of yet ... ?
>
>
>
> I often use parent notes as ‘folders’ with little or no content. Such
> ‘special’ notes could have the option to have the sub-notes listed as links
> (basically your idea at 4/ with an addition)
>
>
>
> Thank you and Regards,
>
> Murat
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~zim-wiki
> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>
>
>

-- 
abraço,
Davi.

Follow ups

References