-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Superapp cleanup #161
Comments
Today, I had a meeting with @InvictusRMC and we created a skeleton of my work for the upcoming weeks:
|
Solid plans! Please focus on a Google Play Store and live demo for 5 Sep @ TUDelft campus. So ask @InvictusRMC for a 1 Sep .APK upload for review to Google or obtain your own account from him. For market leaders such as GoldRepublic it would be great to offer "GoldEuro" coins within our Superapp. So the demo is for offline token transfer. Web-of-Trust is great concept to explain. https://github.com/Tribler/trustchain-superapp#digital-euro Future work: we need a simple understandable rule around offline double spending. We re-define it as "overspending" with negative balance tied to your passport-level digital identity. Irrefutable, you can't escape your fraud. Second, "first-to-claim" rule. When coming online again the ordering is determined of the claims on an "overspender". This is the order the system follows on repayment of accumulated debt by overspender. |
MusicDAO Independence
We plan to get rid of both of the above modules. Therefore, I will most probably put them under the IDelft (
|
Pruning of old, unused modulesPersonal ForkI've successfully pruned the following modules in my personal fork (https://github.com/kandrio/trustchain-superapp):
UpstreamI've successfully pruned from our GitHub repo the following modules:
Relevant PR: #162 Pruning of modules that are dependenciesIn this section we list modules that are harder to prune because they are dependencies for the modules that we plan to keep. Personal ForkI've successfully pruned the following modules in my personal fork (https://github.com/kandrio/trustchain-superapp):
UpstreamI've successfully pruned from our GitHub repo the following modules:
|
Trustchain Explorer and NotificationAs specified in the comment above (#161 (comment)), the Trustchain Explorer is one of the modules we need to get rid of. However, there is one issue: the parent app invokes the Issue with Trustchain ExplorerWhen the user installs the Trustchain Superapp on their device, there is a notification that looks like this: When clicking on that notification, the Trustchain Explorer module opens up: This is expected because in the
Decisions to make
My personal opinion: We should get rid of the notification entirely. It does not seem to add to the user experience (constantly present on the drop-bar even if the user taps on it) and it does not provide much useful information (statically showing: "Running"). Followingly, we get rid of the Trustchain Explorer as well. UPDATE: Feasible SolutionIt turns out that we can't easily get rid of the notification. This is because the Therefore, one alternative solution would be to:
|
agreed! just get rid of this notification entirely. |
@synctext I looked into dropping the notification entirely, but I found that we can't do it through the |
good idea. Smart, keep IPv8 unpatched. please also modify the notification into something sensible, like, superapp running. |
@InvictusRMC I created a PR (#162) where I prune all the old modules. These are the modules that are completely useless to the ones that we plan to keep. It will help to get rid of these first, and then to move to the remaining modules that need to be pruned. The five modules that we plan to keep still depend on the following remaining modules: |
@InvictusRMC After the above PR (#162) that prunes 9 unwanted modules, I created another PR (#163) that prunes CC @synctext |
@InvictusRMC I'm continuing the effort here. I created another PR (#164) that prunes |
perfect effort people! |
Yet another PR here: This PR prunes the last modules in our list:
Peerchat in particular was very difficult to prune as it was used not only by This PR should conclude the effort of pruning all of the unnecessary modules. For a summary of what modules I pruned in total, take a look at this comment: Summary of the cleanup work doneHere's a summary of the PRs that I've created (should be merged in that order): |
Current StateWe have:
Next StepsLooking at the original list of tasks (#161 (comment)), I see we have the following things remaining:
@synctext @InvictusRMC any comments? |
My ideas:
Issues I am aware of:
|
Also, see this minor issue: #168 |
@InvictusRMC Thanks a lot for the update. I'm currently really busy with finishing my literature survey (Tribler/tribler#7438 (comment)). So, I'll focus on the superapp towards the end of the week. First things I plan to kill are:
|
After our discussion with @synctext (Tribler/tribler#7438 (comment)), I'm creating this "parent" issue to describe what needs to be done in the
trustchain-superapp
in order to make it lighter and more efficient.Here's a list of issues we need to tackle:
musicdao
: https://github.com/Tribler/trustchain-superapp/tree/master/musicdaoPeer AI
: https://github.com/quintene/trustchain-superapp/tree/master/peeraifreedomOfComputing
: https://github.com/Tribler/trustchain-superapp/tree/master/freedomOfComputingvaluetransfer
(IDelft
): https://github.com/Tribler/trustchain-superapp/tree/master/valuetransfereurotoken
: https://github.com/Tribler/trustchain-superapp/tree/master/eurotokendebug
: https://github.com/Tribler/trustchain-superapp/tree/master/debugmusicdao
a mature prototype by:Personal fork: https://github.com/kandrio/trustchain-superapp
The text was updated successfully, but these errors were encountered: