Advanced Panels Mod (with Sessions Panel)
-
Now the session list becomes scrollable if there are too many sessions to fit available web panel height.
https://forum.vivaldi.net/topic/61132/autosave-sessions-and-sessions-panel-mods
-
@ouros said in Advanced Panels Mod (with Sessions Panel):
a way to have more direct access to this function
Yes, it is a way to have more direct access to sessions, so you can open and save them quickly.
-
@lonm @Hadden89 I never finished the history cleanup mod, but I did modify the forum code to help prevent history pollution:
https://github.com/code3z/vivaldi_forum_mod/tree/less-history
(sorry for polluting this thread)
-
I'm sure you won't mind, @boroda74, if I chip in and offer my compliments for the great work you've done on the Sessions panel mod (and of course, thanks to @LonM for some brilliant work, and making the dream a reality the first place!)
Say, I've got a little question. The hamburger icon for the new panel isn't very representative, in my opinion—and it looks so puny and small next to the other icons, as well. Trouble is, I can't figure out how it's loaded (looking at the sources files I have here). I was wondering if you could explain how to change the icon?
(I'm a little bit embarrassed to ask, as I'm a developer myself, but I'm rather out off the touch with web dev and JavaScript, and anyway I find going into all these huge object hierarchies quite daunting. I'll get into Vivaldi modding later, when I have time to properly dig in, no doubt. Thanks if you can help in the meantime!)
-
@fryderyk If you look at
advancedPanels.js:365
you will see this:<path d="M7 2h6v1h-6v-1zm0 2h6v1h-6v-1zm0 2h6v1h-6v-1z"></path>
This is an SVG definition. You can change the SVG or embed an
<img>
if you wanted instead.I was never really sure what to use as the icon for a sessions panel.
-
Can I get some help please? It was working fine the 1st time I set it up.
When I make a webpanel for vivaldi://sessions it goes to chrome://sessions
-
Is the sessions panel still working for everyone else after upgrading to v4.3? I can see the sessions in the panel fine and the Add Session and Delete buttons still work, but the buttons to open a session no longer work for me.
-
@valiowk It's not just you. I installed the update today, and have the same issue. Thankfully, you can still open the sessions through the normal session manager dialog, but I'd love to know what went wrong.
I assume this is the same issue plaguing VivaldiHooks?
@LonM - any insight? I don't know if you're still supporting the session panel. -
@ve4grm I doubt it’s the same issue. You can find out what goes wrong by inspecting the UI and checking the console output.
-
@LonM I just today understood and installed this modification and I like this sessions panel very much and this panel takes over the browser theme very well.
-
@stardepp I just installed the mod. I can not get
vivaldi://sessions to work probably wrong syntax what is the correct syntax to add a session panel? Is there a url for a session I have saved? TIA -
@jlitz88 Sorry, I'm not an expert, I just installed the .css and the .js files and then added
vivaldi://sessions
as a web panel. And the sessions panel works.
-
@stardepp ok tnx I will recheck my installation maybe made an error
-
Without an error log it's difficult to know what could be going wrong.
If there's no console error and things are still going wrong, it's probably an issue with the CSS being incorrectly installed.
-
@lonm Yes, perhaps I copied the advancedPanels.css and advancedPanels.js file and saved them as advancedPanels.css and advancedPanel.js in the style folder. Pointed the appearance at that folder. I have a my.css.css in there as well as the common.css I included in the html are
<link rel="stylesheet" href="style/advancedPanels.css">
<link rel="stylesheet" href="style/my.css">
<link rel="stylesheet" href="style/common.css" />
<link rel="stylesheet" href="chrome://vivaldi-data/css-mods/css" />and in <body> <script src="advancedPanels.js"></script>
when I add vivaldi://sessions a new icon V appears and and a message "this site can not be reached chrome://sessions/ might be temporarily offline." BTW can I clear the panel history ?
No doubt I messed up somewhere.
-
@jlitz88 No, you need to put the .css modification in a different folder than the .js modification.
-
@lonm I get the following errors:
Uncaught TypeError: Error in invocation of sessionsPrivate.open(integer windowId, string name, optional sessionsPrivate.SessionOpenOptions options, optional function callback): No matching signature. at sessions-panel.js:250 at Array.forEach (<anonymous>) at HTMLButtonElement.oneInNewWindowClick (sessions-panel.js:249)
Uncaught TypeError: Error in invocation of sessionsPrivate.open(integer windowId, string name, optional sessionsPrivate.SessionOpenOptions options, optional function callback): No matching signature. at sessions-panel.js:236 at Array.forEach (<anonymous>) at HTMLButtonElement.openInCurrentWindowClick (sessions-panel.js:235)
-
I'm currently using the version that was modified by boroda74, so my line numbers are different, but the error is the same.
-
@valiowk Yes same problem buttons not working.
I just installed Vivaldi yesterday so am new to it.
Opera interface of sessions/workplaces is much further advanced as is there Speed Dial customization, so will keep it as my primary browser and test out others.
Vivaldi is far superior on design interface customization and the Tiling feature is nice.
I see sessions is at the top of the Features requested list http://www.softerviews.org/vivaldi.html
my vivialdi https://i.imgur.com/TUto2QM.png
-
ok, there's obviously something odd going on. I'll have a look