Some enhancements for Tags

Bug #1106231 reported by Duong Nguyen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Charles Haley

Bug Description

Some helpful features for me:

+ When move over a tag in Tags Browser, show full name of that tag in tooltip. Because I have hierarchical tags, and long tag name.

+ Support delete and rename for top of hierarchical tags in Tags Browser. Ex: I have tags A.B.C, A.D.E. rightclick on tag A can rename only A for two tags, or delete tag A will delete all subgroups of A.

+ Ability to add muti tags to Calibre database (pre-defined tags, button to add tags in Manager tags window) before used to add to books. When that, I can drag and drop book to a tag in Tags browser. Useful when I have a standard list of subjects like BISAC Subject Heading list at bisg.org, or catalogies like bookstores in hierarchical. I attached a BISAC Subject list 2012 file for everyone need it.

- I have a book , in Edit metadata , tag field show: COMPUTERS.Reference, COMPUTERS.Data Modeling & Design. When I add custom columm build from other columm. Then use template: {tags:sublist(0,1,\,)}
But it get COMPUTERS.Data Modeling & Design, not COMPUTERS.Reference . Seem it get first item by sort, not by order in tag field of Edit metadata.
I want make first tag(COMPUTERS.Reference) as main tag for Save to disk. How can I do that?

Can you help me implement above features?

Related branches

Revision history for this message
Duong Nguyen (baziduz) wrote :
Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1106231

Changing the component for this bug.

 assignee cbhaley
 status triaged

Changed in calibre:
assignee: nobody → Charles Haley (cbhaley)
status: New → Triaged
Revision history for this message
Charles Haley (cbhaley) wrote :

Regarding:

+ Show the full tag name. Fix committed

+ Rename hierarchical tags: won't fix. The underlying mechanism operates on one item, and I don't want to change that.

+ "muti" tags: create an empty book with all the tags you want to predefine.

+ The order of items in a list is not guaranteed. If you want the list to be sorted before you extract the first element, use template program mode or general program mode and sort the list. For example, in template program mode you would use something like:
{tags:'sublist(list_sort($, 0, ','), 0 ,1 , ',')'}

Changed in calibre:
status: Triaged → Fix Committed
Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in lp:calibre

Fixed in branch lp:calibre. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: Fix Committed → Fix Released
Revision history for this message
Duong Nguyen (baziduz) wrote :

In the tooltip, can you make the current item (when use mouseover or by keyboard) hightlight by set font style to Bold?

EX:

- With Tag: (tags: Phylosophy) -> when mouse over "Phylosophy" in Tag Browser , make "Phylosophy" in tooltip with Bold style.

- With hierachical tags: (#bisac_subject:ANTIQUES & COLLECTIBLES.Sports Cards.Baseball) ->when mouseover "Sports Cards", make only "Sports Cards" in tooltip with bold style (keep full name tooltip).

Thank you.

Revision history for this message
Charles Haley (cbhaley) wrote :

I am not interested in implementing either of these. You or someone else is welcome to do the work.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.