ccoin icon indicating copy to clipboard operation
ccoin copied to clipboard

Extract profile feature

Open brh55 opened this issue 8 years ago • 1 comments

@radiovisual I'm looking to implement the exact profile feature in the ccnews once I can figure out these encoding issues, but I think we can abstract that type of logic in it's own package.

Judging from the existing code, it looks possible. I'm thinking of an simplistic browser storage-like API.

set(profile, profileObject) get(profile, profileObject) delete(profile)

What are your thoughts? I can tackle this also on my free time, but just wanted to let you know.

brh55 avatar Jul 05 '17 17:07 brh55

Hey @brh55, so you mean you want to consolidate the profile management APIs between ccoin and ccnews by extracting the profile management for ccoin into it's own module so you can use it in ccnews? Sounds like a good plan to me! 👍

The API you suggested looks good.

radiovisual avatar Jul 05 '17 17:07 radiovisual