# Beta sidebar/tags suggestion

**URL:** <https://forums.ankiweb.net/t/beta-sidebar-tags-suggestion/7250>\
**Category:** Suggestions\
**Created:** [February 5, 2021, 6:51pm UTC](https://forums.ankiweb.net/t/beta-sidebar-tags-suggestion/7250 "2021-02-05T18:51:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnKingMed](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/ankingmed/32/32686_2.png) [@AnKingMed](https://forums.ankiweb.net/u/AnKingMed)\
**Post date:** [February 5, 2021, 6:51pm UTC](https://forums.ankiweb.net/t/beta-sidebar-tags-suggestion/7250/1 "2021-02-05T18:51:02Z")

</div>

As the sidebar is currently being updated, I thought of a recommendation rather than waiting for the Customize Sidebar add-on to be updated. It’s a relatively simple add-on, but incredibly nice to have. I personally really like the ability to collapse all decks and all note types, since I primarily use the tags (and I have a TON of note types and rarely need to click on them in the browser). The other changes such as the ability to show leech, marked, suspended, flags and today are also really handy for someone that likes to click on a tag, then shift click other things for a better filter.

I don’t mind waiting for the add-on to be updated, but with all the changes currently being made to the sidebar currently, I figured I would make the recommendation that this be officially integrated into anki

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [February 6, 2021, 5:37am UTC](https://forums.ankiweb.net/t/beta-sidebar-tags-suggestion/7250/2 "2021-02-06T05:37:30Z")

</div>

Some of that functionality is in the current development code - if you think something is still needed after the next beta, please let us know.

---

<div class="post-metadata">

**Author:** ![kleinerpirat](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/kleinerpirat/32/19863_2.png) [@kleinerpirat](https://forums.ankiweb.net/u/kleinerpirat)\
**Post date:** [February 7, 2021, 3:15pm UTC](https://forums.ankiweb.net/t/beta-sidebar-tags-suggestion/7250/3 "2021-02-07T15:15:31Z")

</div>

The changes in beta 2.1.41 are really cool! Thanks @abdo and everyone else who worked on this!

One quality-of-life feature I am still missing from what I’m used to from other sidebar addons is the ability to select/move multiple tags (`Shift+click` to get all tags between currently selected tag and clicked tag and `Ctrl/Cmd+click` to select arbitrary sets of tags).

Apart from it being useful to edit complex tag hierarchies, this would make sense regarding the way these keyboard commands are already used to chain queries in the browser search bar (at least the `Ctrl/Cmd` one, `Shift+click` to get OR is sort of conflicting here).

* * *

My suggestion is to **[setSelectionMode](https://doc.qt.io/qt-5/qabstractitemview.html#selectionMode-prop)**(QAbstractItemView::SingleSelection) to `QAbstractItemView::ExtendedSelection` and adjusting the drag and drop behaviour accordingly for the tree widget that is presumably being used.

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [February 7, 2021, 5:13pm UTC](https://forums.ankiweb.net/t/beta-sidebar-tags-suggestion/7250/4 "2021-02-07T17:13:12Z")

</div>

setSelectionMode is already there in sidebar.py, but it’s commented out for now.

> <https://github.com/ankitects/anki/commit/126b64211566b473d1c2d25fbef9f79ddd062f1d>

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [February 8, 2021, 12:10am UTC](https://forums.ankiweb.net/t/beta-sidebar-tags-suggestion/7250/5 "2021-02-08T00:10:59Z")

</div>

Added [Multiple selection in the browser sidebar · Issue #1011 · ankitects/anki · GitHub](https://github.com/ankitects/anki/issues/1011)

---

<div class="post-metadata">

**Author:** ![ferophila](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/ferophila/32/10566_2.png) [@ferophila](https://forums.ankiweb.net/u/ferophila)\
**Post date:** [February 26, 2021, 11:19pm UTC](https://forums.ankiweb.net/t/beta-sidebar-tags-suggestion/7250/6 "2021-02-26T23:19:36Z")

</div>

The built-in improvements to Anki’s Sidebar replace essential functionality previously provided by various add-ons. It would be nice if sidebar entries/tags could be individually color-coded. A pinning to the top feature would also be nice.
