Some fairly big #Sunstone #browser feature implementations today.
Bookmarks can be displayed at the 'sunstone://bookmarks/' uri. Clicking on the tag buttons for each bookmark card will bring up a page with all bookmarks that have that tag. There is also a search entry, which by default will search within the bookmark's name, alias, description, and url. This doesn't yet work from within a tag page, but that shouldn't take too much of a rafactor to implement.
Because the search is implemented using the 'get' method, the search query is appended to the url. Technically, this could be added as a search engine the same way other search engines are added. I need to start writing some good documentation.
I've learned a lot doing this. One thing I am not, and never claimed to be, is a web designer. But these features require creating web pages on the fly programatically, adding a custom scheme handler to WebKit, and even some css. No javascript so far.
History is going to be implemented in much the same way, but with a lot more search parameters that can be set by the user. Some of the work done so far will support the history page nicely. The handler already breaks the query string down and stores key/value pairs in a hashmap to be passed to the function which generates the page.
There's a fairly significant amount of code cleanup to be done around this last bit of hacking. For instance, originally I had a few different html templates for various uses, but I've knocked that down to one. I'll need to remove the orphans from the repository.
Subscribe to #browser entries via RSS feed