stakwork / sphinx-tribes

Backend for sphinx tribes and bounties. The bounty platform pays out in bitcoin. Sign up with Sphinx Chat, complete a bounty, and earn bitcoin! Go to our website for available bounties.
https://community.sphinx.chat/bounties
32 stars 63 forks source link

Organization Balance Layout #1611

Open Antanasijevic opened 2 months ago

Antanasijevic commented 2 months ago

@fvalentiner Here is a version for new balance layout.

Balance is split into 4 categories: Current Balance, Completed, Assigned, Opened Click on each opens page with bounties with selected status. Categories with insufficient funds have red border and alert icon that expands to label on hover. For restricted user, who does not have access to balance information, i think we can keep old layout. Only opened question i have is does "Current balance" opens a new page or just shows the information?

https://github.com/stakwork/sphinx-tribes/assets/13258550/af159d83-61e7-4de8-83df-0426105dc9fb

Figma project https://www.figma.com/file/1aL3lgG5Rpkti4b0j42fwf/Bounties---FINAL-DESIGNS?type=design&node-id=11657%3A7512&mode=design&t=06hqbCL7ZwcyhA4C-1

Balance components https://www.figma.com/file/1aL3lgG5Rpkti4b0j42fwf/Bounties---FINAL-DESIGNS?type=design&node-id=11674%3A7721&mode=design&t=06hqbCL7ZwcyhA4C-1

fvalentiner commented 2 months ago

@elraphty here is the final design for the budget section on Workspaces

fvalentiner commented 2 months ago

Some comments from @pitoi :

tomsmith8 commented 2 months ago
image
elraphty commented 2 months ago
image
  • shows 0 completed which is incorrect for secondbrain
  • each link out button should link out to the workspace view with the correct filter

    • Currently, it links out the general bounties page with filter
  • add comma for USD amount e.g 29,306.60 (current is 29306.60)
  • Current balance ->deposit and withdraw are on the opposite side of the page, if i want to complete an action for current balance (e.g balance is low, I need to add funds), it feels too disconnected

    • Deposit/withdraw could be part of current balance
    • Maybe separate Current Balance versus completed/assigned/open

Thanks for the feedback @tomsmith8, yeah the the completed should be 0, the completed is a new feature we added for bounties that have been completed and code merged but they have not been paid, to activate this on the bounty modal the complete bounty button has to be clicked.

tomsmith8 commented 2 months ago

Very small thing I just spotted (spacing required for new boxes):

Screenshot 2024-04-18 at 14 42 01
tomsmith8 commented 2 months ago

I tested pressing the complete button on one bounty but still shows 0 for me FYI

elraphty commented 2 months ago

I tested pressing the complete button on one bounty but still shows 0 for me FYI

Okay, I will look into these

elraphty commented 2 months ago

I tested pressing the complete button on one bounty but still shows 0 for me FYI

@tomsmith8 I tested the completed feature on Production it seems to be working fine TEST IMAGE

Edvardoh commented 2 months ago

Agree with Tom's suggestions - only thing to add is the Assigned and Open amounts seem to be giving me the total overall, not just for the Stakwork Workspace, we definitely don't have that much assigned/open: Screenshot 2024-04-18 at 9 56 49 AM

fvalentiner commented 2 months ago

@elraphty @Edvardoh also mentioned that when he clicks on any of the links. It takes him to a list only filtered by status and not by workspace as well. So it is showing bounties that de not correspond to the worspace

Antanasijevic commented 2 months ago

@fvalentiner @pitoi Here is an alternative option.

https://github.com/stakwork/sphinx-tribes/assets/13258550/764f26ee-1017-43c0-9c9a-ead8a132b572

Antanasijevic commented 2 months ago

@fvalentiner Here is another, simplified solution that i believe would work better. Let's discuss few options.

https://github.com/stakwork/sphinx-tribes/assets/13258550/b60efc64-f0ac-465c-a96a-d5ea48e0f1bb

Antanasijevic commented 2 months ago

@fvalentiner Here is updated video with Deposit modal.

https://github.com/stakwork/sphinx-tribes/assets/13258550/a59f6653-e058-4803-ae11-82913b397ca7