Re: [Zim-wiki] Tags & Todo
On 01/11/10 09:56, Jaap Karssenberg wrote: > On Sun, Oct 31, 2010 at 9:49 PM, Fabian Moser wrote: >> 1) If a page is selected, what should happen to selections in the tag >> tree? Should all entries of the selected page be selected (is multiple >> selections even possible - I don't know yet)? > > Don't know if it is useful to select the tags, but multiple selection > is certainly possible in the treeview widget. Depends on the "mode" of > the widget, most of the lists in zim use the "browse" mode which is > limited to single selection but there are other modes available. I didn't mean to select the tags, but the current page (similar to what happens in the normal index view). Since the page in general appears more than once in the tag view, this would mean multiple selection or do we prefer no selection/highlighting of the current page at all in the tag view? >> 2) Drag'n'drop on tags should insert the tag on the dragged page (at the >> beginning or end?). If the page is dropped upon a page in the tag tree, >> should it be moved to be a sub-page of that page? > > You could do the same as with dragging links, so insert the link in > the text at the place where it is dragged. OK, dragging the tag to the page is clear now. What about the other direction i.e. dragging a page onto a tag? >> 3) Should there be drag'n'drop of tags? e.g. to merge tags, adding the >> dropped-to tag to all pages that have the dragged tag. > > Functionality to merge tags might be useful, but maybe safer to make > this a special function in a menu or context menu. Drag n drop should > only be used for actions that are reversible in case of an accidental > drop. Merging doesn't sound like you can easily separate the groups > again. You're right, this can't be easily undone so I'll leave that aside. >> 5) @Jaap: What did you mean by "just use tabs" in the tags TODO list? > > In order to switch between the normal index view and the tag index > view we need a way to switch in the side pane. I meant that we can > just use the gtk.Notebook widget at first so you get two tabs in the > side pane, one with the normal index and one with the tag index. > > Reason for the comment is that mockups I made (on paper, so not in the > wiki) have a nice button with a dropdown as have other gnome > applications for this kind of side pane (see e.g. the evince pdf > reader). But that button has to be a custom widget, so it requires a > bit of additional work. Also we need to make a framework for adding > more views to the side pane, so plugins can easily hook into it as > well. But I can take care of that part. OK, a pity I didn't see those mockups. For now I wrote a separate ScrolledWindow (like the normal index) and converted the sidepane to a VPaned (from VBox) to make them resizeable. (see attached sreenshot) Reason for this layout is, that I thought it would be nice to have normal and tag index in parallel. To be honest, your proposal of a tree where the tags are the top-level nodes and the pages containing them are their children, is not optimal IMHO. I implemented it yesterday nonetheless. But I'm thinking about a different approach, where tags are essentially used for filtering the normal index, removing pages that don't contain the selected tags (multiple selection is crucial here). Thanks to the plugin system both approaches can/will be implemented and we have user choice. :) Cheers, Fabian <>___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] Tags & Todo
On Sun, Oct 31, 2010 at 9:49 PM, Fabian Moser wrote: > There are a few questions that came up on which I would like to ask for > your support (some of them are rather long-term planning): > > 1) If a page is selected, what should happen to selections in the tag > tree? Should all entries of the selected page be selected (is multiple > selections even possible - I don't know yet)? Don't know if it is useful to select the tags, but multiple selection is certainly possible in the treeview widget. Depends on the "mode" of the widget, most of the lists in zim use the "browse" mode which is limited to single selection but there are other modes available. > 2) Drag'n'drop on tags should insert the tag on the dragged page (at the > beginning or end?). If the page is dropped upon a page in the tag tree, > should it be moved to be a sub-page of that page? You could do the same as with dragging links, so insert the link in the text at the place where it is dragged. > 3) Should there be drag'n'drop of tags? e.g. to merge tags, adding the > dropped-to tag to all pages that have the dragged tag. Functionality to merge tags might be useful, but maybe safer to make this a special function in a menu or context menu. Drag n drop should only be used for actions that are reversible in case of an accidental drop. Merging doesn't sound like you can easily separate the groups again. > 4) I guess it would be desirable to have a possibility to delete all > occurences of a tag e.g. by right click-delete on the tag in the tree view? Menu item or context menu seems the right for this as well. > 5) @Jaap: What did you mean by "just use tabs" in the tags TODO list? In order to switch between the normal index view and the tag index view we need a way to switch in the side pane. I meant that we can just use the gtk.Notebook widget at first so you get two tabs in the side pane, one with the normal index and one with the tag index. Reason for the comment is that mockups I made (on paper, so not in the wiki) have a nice button with a dropdown as have other gnome applications for this kind of side pane (see e.g. the evince pdf reader). But that button has to be a custom widget, so it requires a bit of additional work. Also we need to make a framework for adding more views to the side pane, so plugins can easily hook into it as well. But I can take care of that part. Regards, Jaap ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] Tags & Todo
On 21/10/10 20:37, Jaap Karssenberg wrote: > Yes this is how it is planned. (Using "@" since "#" is reserved for > future use with anchors.) Good, that's what I've thought/done. :) I've made some progress today with tag support. It is now at a state where the very brave among you could try and checkout my branch. Please note that this is far from complete although a good part of basic functionality is there. This might experience major changes and I don't give guarantees on the stability of the current database layout, so please don't use this on your production notebooks! There are a few questions that came up on which I would like to ask for your support (some of them are rather long-term planning): 1) If a page is selected, what should happen to selections in the tag tree? Should all entries of the selected page be selected (is multiple selections even possible - I don't know yet)? 2) Drag'n'drop on tags should insert the tag on the dragged page (at the beginning or end?). If the page is dropped upon a page in the tag tree, should it be moved to be a sub-page of that page? 3) Should there be drag'n'drop of tags? e.g. to merge tags, adding the dropped-to tag to all pages that have the dragged tag. 4) I guess it would be desirable to have a possibility to delete all occurences of a tag e.g. by right click-delete on the tag in the tree view? 5) @Jaap: What did you mean by "just use tabs" in the tags TODO list? Thanks for reading! Cheers, Fabian signature.asc Description: OpenPGP digital signature ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] Tags & Todo
On Thu, Oct 21, 2010 at 4:36 PM, Anton Zayats wrote: > For me the tags should really live in the page itself (just with a kind of > prefix before it = '@' or '#'). I myself find it very frustrating to use a > kind of special place to add tags for a page. If a tag is met several times > on one page, it obviously should be handled once. Yes this is how it is planned. (Using "@" since "#" is reserved for future use with anchors.) Main justification is that it should be possible to add tags in a paragraph and later Cut&Paste that paragraph to another page. The tags should move with the tagged content. (Still if you want them per page, you can just add a line with tags on top or bottom of a page.) .. 8< .. > BTW, how can I add usecases to the wiki page? See the link Fabian posted: http://www.zim-wiki.org/wiki/doku.php?id=supporting_tags . You just need to create a user account on the wiki and you can start adding to the page. Regards, Jaap ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] Tags & Todo
On Thu, Oct 21, 2010 at 1:00 PM, Fabian Moser wrote: > Hi Alessandro, Hi all, > > On 10/21/2010 10:02 AM, Alessandro Magni wrote: > > hi people, > > just out of curiosity - me too as a recent poster wrote am deeply > > interested in the implementation of tags in Zim. > > As I have already answered the recent poster, I will do so again. > I'm very interested in tags as well and I'm working on the > implementation. You can look up the progress (now) in the Wiki at > http://www.zim-wiki.org/wiki/doku.php?id=supporting_tags > > > I recently tried to use the TaskList tool, and I'm puzzled: what is > > different from using the task list for tags different from TODO and > > FIXME? From what I see it would be perfect - just rename the "Task List" > > to "Tag List", and allow us to write any tag we want! > > Or am I missing something? > > To answer to your question: Jaap decided, that "since several features > need to go really in the core of the application it is easier to add > support low level". That's why I'm not extending the tasklist plugin but > stick to the strategy he elaborated (the TODO list items are written by > him). I do not (yet) have a sufficiently broad understanding of all > internals to reason or argue this, but rest assured, tags are on the > way. Btw contributions in form of code (launchpad) or use- and > test-cases (Wiki) etc. are always welcome. ;) > > While we are at it, I would like to discuss how Zim should deal with > multiple tags on one page. In my opinion and as far as I understood, > tags are supposed to be a page property. From that I conclude that > multiple mentions of the same tag will be ignored and handled like a > single mention. Please comment. (Side-note: This is completely different > from what the Tasklist plugin does!?) > > Cheers, > Fabian > > > Hi Fabien & all, For me the tags should really live in the page itself (just with a kind of prefix before it = '@' or '#'). I myself find it very frustrating to use a kind of special place to add tags for a page. If a tag is met several times on one page, it obviously should be handled once. Not sure if tag hierarchy is needed - its too much for me, but there are always people who would like to build parent-and-child tag relationships. Also what I've noticed when using different kinds of note taking programs, tag cloud eventually starts to grow and you may find yourself trying to remember what tag word you've used for a cocktail recipe or a new Android hack description. This is not only a software problem however. Ah, the last for today's list of wishes :) - search by tags should support 'and' queries. BTW, how can I add usecases to the wiki page? Regards, Anton ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] Tags & Todo
Hi Alessandro, Hi all, On 10/21/2010 10:02 AM, Alessandro Magni wrote: > hi people, > just out of curiosity - me too as a recent poster wrote am deeply > interested in the implementation of tags in Zim. As I have already answered the recent poster, I will do so again. I'm very interested in tags as well and I'm working on the implementation. You can look up the progress (now) in the Wiki at http://www.zim-wiki.org/wiki/doku.php?id=supporting_tags > I recently tried to use the TaskList tool, and I'm puzzled: what is > different from using the task list for tags different from TODO and > FIXME? From what I see it would be perfect - just rename the "Task List" > to "Tag List", and allow us to write any tag we want! > Or am I missing something? To answer to your question: Jaap decided, that "since several features need to go really in the core of the application it is easier to add support low level". That's why I'm not extending the tasklist plugin but stick to the strategy he elaborated (the TODO list items are written by him). I do not (yet) have a sufficiently broad understanding of all internals to reason or argue this, but rest assured, tags are on the way. Btw contributions in form of code (launchpad) or use- and test-cases (Wiki) etc. are always welcome. ;) While we are at it, I would like to discuss how Zim should deal with multiple tags on one page. In my opinion and as far as I understood, tags are supposed to be a page property. From that I conclude that multiple mentions of the same tag will be ignored and handled like a single mention. Please comment. (Side-note: This is completely different from what the Tasklist plugin does!?) Cheers, Fabian signature.asc Description: OpenPGP digital signature ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp