#Sunstone #Browser got a few nice quality of life improvements today.
- A slim progress bar at the top of the WebView to display loading progress
- Page zoom via keyboard shortcuts. Currently there is no user feedback to display the zoom level because I still need to decide where to fit that into the interface and how it should look.
- You can create bookmarks now via the bookmark editor, called up via the button just to the right of the address bar. Some limitations apply (more on that below).
- You can visit a bookmark just by typing its name or alias into the address bar. This is similar to the ‘quickmarks’ feature in Qutebrowser, except integrated right into the bookmarking system. It’s quite handy - I came here by opening the browser, hitting Ctrl/g to focus the address bar entry and typing ‘slp [Enter]’. That’s five keystrokes after opening the browser and no touching the mouse.
I had been playing around with a custom data structure for storing and quickly looking up bookmarks, but I’ve decided to go easy mode and just use an sqlite database. I’m considering doing the same for history so that I can store more context for history items, but I digress. Sunstone is going to organize your bookmarks via tags instead of folders, which should make it quick and easy to find old bookmarks by topic. The database has a table for Bookmarks and a table for Tags. The current limitation with the editor is that when you update an existing bookmark and change it’s tags, the tags table isn’t updated. I just need to get around to writing the logic to handle that properly. I also think it wise to state that the current bookmark schema may change.
Currently there is nowhere in the interface to display bookmarks. I’m planning on having two different views for that, one in the sidebar and one as a webpage with the sunstone://bookmarks/ uri. The plan is to also integrate bookmark names, url’s and aliases into completion for the address bar.
I’ve renamed my web browser project from SWB to Sunstone.
The sunstone was a translucent mineral prized by Viking navigators because it had a natural property that polarized light, making it possible to see through the haze and find the sun on a hazy day - quite common in the North Atlantic. I liked the connection to a primitive navigation tool.
Some code progress:
- Downloads are displayed in a grid form inside a popup menu with a progress bar
- I’ve added a (non-functional) bookmark editor button next to the address bar. Bookmarks should be coming fairly soon.
- If the tab bar or the command bar are hidden, those settings now persist across sessions.
- When the tab bar is hidden, the tab overview button is shown and the new tab button is hidden. You can still create a new tab from the button in the overview or from ‘Ctrl/t’. Keeps the interface cleaner.
#WebBrowser #sunstone #programming #Vala #Gtk
You've seen all posts