CashlessSociety / cashless-ui

Open source implementation of protocol described here: https://cashless.social.
Mozilla Public License 2.0
7 stars 1 forks source link

User can add a new skill to their profile #116

Open utunga opened 3 years ago

utunga commented 3 years ago

Acceptance criteria

utunga commented 3 years ago

This is not a complete design at all but maybe it looks a bit like this image

utunga commented 3 years ago

We were thinking about the underlying schema and had these ideas...

This schema is 'folksonomy' capable. So we sould use something like this now but we'll probably jsut hard code the lsit of skills for now.

IRawSkillMessage
- Skill : String

AvailabilityMessage : IRawSkillMessage
- Skill : String
- Available : Bool
- HourlyRate : Number?
- CurrencyCode : String?

RequestMessage : IRawSkillMessage
- Skill : String
- ...etc ..

An even more sophisticated schema would let a commuity admin have a role in somehow editing the list of available skills and adding icons for them etc


AvailabilityMessage : Message
- Skill : RawSkill
- Available : Bool
- Hourly Rate : Number

* usually published by a community admin

RawSkill
- Text : String
- SuggestedSkillMessageID : MessageID 

SuggestedSkillMessage : Message
- Text : String
- Icon : ImageUrl
- Aliases : String[]

CommunitySkill : Skill
- Id
- Icon 

SkillId : Int

SkillMessage : Message
- Text
- Icon (?)
luandro commented 3 years ago