Closed ecurrencyhodler closed 9 months ago
@ecurrencyhodler can you assign me?
This is a fairly complex issue. I think someone from our team needs to take a look.
https://github.com/stakwork/sphinx-tribes/assets/32662508/f06db633-5307-42e8-a60d-3af599ad77bf
@kevkevinpal @elraphty Some logs from console.
2 issues found in this
The extra spaces at the beginning or end of an organization are not handled by the toCapitalize function here resulting in panic and hence the white screen.
The function getUserDropdownOrganizations update the current organizations in main store. This function is called on two occasion. a. When we load the page we fetch current user organization. b. When we visit other users profile, it loads their organization. This should not be stored as dropdownOrganization because when i would then try to create new bounty it would show the other user organizations in dropdown
@wright-eric the dropdownOrganization
should display the organizations a user is an admin to or has a manage bounty role, this error is coming from line 178 in https://github.com/stakwork/sphinx-tribes/blob/7ee0aeabf84ec77442b8ea8ab70be3259fd8abce/frontend/app/src/people/widgetViews/OrganizationView.tsx the dropdown query should only be called with uiStore.meInfo?.id
which is the logged in user, making this change will fix the error.
@wright-eric I can create a bounty for you for addressing these two issues.
Hey @wright-eric or @elraphty would this PR affect the bounty creation modal? It looks like some of the UI elements got altered.
@ecurrencyhodler i dont think it should as there were no UI changes. What do you think @elraphty ?
I think its because of this https://github.com/stakwork/sphinx-tribes/pull/1383/files#diff-e1c7c9cb04490ebf3dac085d668ba80d5c7e349201fbc26245487c468cd5b6d4L16 it makes sense to not use hardcoded width but i think this input is used in other component as well such as bounty creation form.
Describe the bug Bounties aren't displaying if you are signed in.
https://github.com/stakwork/sphinx-tribes/assets/32662508/1b85c308-9aa8-46c9-9487-1de956e8d4aa
However if you are NOT signed in you can view the bounty.
Expected behavior I should be able to view the bounty if I am signed in.
Desktop (please complete the following information):
Acceptance Criteria