EXPERIMENTS

#060 Final_Final_Final Restructure
    Exploration
by Anupam, 03/29/23

Context

A final non-Dubupdate post coming your way - no Dub again, but support for profiles and spaces coming soon:

Overview

This week has been the final week of Dub Restructuring (!).

This has been a few weeks in the making - and basically required a rewrite of the entire Dub app (and a rewrite of the frontend is also needed - coming soon).

As of now, we have support for profiles, spaces (instances of those profiles with their own set of tabs), and the amazing things that that enables-

Profiles are basically collections of browsing/blockchain history and wallets - allowing you to group your web3 and web2 personas and context switch easily.

A space is the tangible manifestation of a profile - pulling on its history/wallets and layering in a set of browser tabs. These tabs can pull from any of the wallet in the space and contribute to its history.

For example:

Process

I changed (literally) every single file in Dub:)

FilesChanged

This has been a LONG time in the making - and I’m really excited to finally be handing off a first version.

A lot of the past week’s work simply involved refactoring - changing file A causes errors in file B causes errors in file C, etc… and so forth and so on.

Now that we have a first version done, I’ll be pushing forward to get it all integrated into the front end - which will likely require some bug fixes on my part :)

Next Steps

A couple quality of life improvements are needed before moving on to the next big thing:

If possible, this new structure makes Data Persistence MUCH EASIER - I’ve already taken a few first steps towards implementing this, but need to wrap up pushing and loading all data from disk.

More to come soon. See everyone next week! 👋