The commands are still there so, from version 1.3, you could restore them with a plugin. For example, copy the code below in a file named "SideBarToggle.js" in your plugins folder, and that would add the buttons to the top right hand corner:
/* joplin-manifest:
{
"manifest_version": 1,
"name": "Note list and sidebar toggle buttons",
"description": "Add buttons to toggle note list and sidebar",
"version": "1.0.0",
"author": "Laurent Cozic",
"homepage_url": "https://joplinapp.org"
}
*/
joplin.plugins.register({
onStart: async function() {
await joplin.views.toolbarButtons.create('toggleSideBar', 'noteToolbar');
await joplin.views.toolbarButtons.create('toggleNoteList', 'noteToolbar');
},
});