This add-on adds arrow buttons at the top of the folder pane which rotate back and forth through the various available folder views.
This add-on also causes Thunderbird to automatically switch to the "All Folders" view when you hover over the title bar above the folder tree for several seconds during a message drag & drop operation, and switch back automatically after the drop. In the add-on preferences, you can set the delay before the view is switched. Drag'n'drop support is not available in Thunderbird v115 "supernova" (yet).
Finally, in the add-on preferences, you can select which views are accessible in the pop-up menu at the top of the folder list, and of those, which show up when you rotate through the views using the arrow buttons.
If you experience bugs or miss any features, please file a bug at the GitHub Issues for Folder Pane View Switcher.
Please consider to do a one time donation via PayPal or become a Patron, as writing and maintaining AddOns is a lot of work. Spend me a coffee or toss me a dime, it will be highly appreciated.