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
33 stars 60 forks source link

Enable create/edit org call to send 3 new fields to backend #1309

Closed ecurrencyhodler closed 9 months ago

ecurrencyhodler commented 9 months ago

Context

Update endpoint to accept the three fields mentioned in #1307.

There are two diff. modals but designs are the same: Create organization and Edit organization.

Add organization: frontend/app/src/people/widgetViews/organization/AddOrganization.tsx

Edit organization: frontend/app/src/people/widgetViews/organization/EditOrgModal.tsx

Add website, github, and description field command to the body of the request.

And also populate website, github, and description inputs for edits.

Also make sure to return error responses if any of the validation checks fail.

Acceptance Criteria

wright-eric commented 9 months ago

Assign

wright-eric commented 9 months ago

hi @ecurrencyhodler i can see that raph has already done those changes in this (MR)[https://github.com/stakwork/sphinx-tribes/pull/1376https://github.com/stakwork/sphinx-tribes/pull/1376]. He has updated add and edit organization endpoint to include these 3 new fields

wright-eric commented 9 months ago

if this a UI change if yes than we can remove the backed tag to clear some confusions