Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Rename Groups not completing successfully #1093

Closed
andrewxhill opened this issue May 25, 2019 · 13 comments
Closed

Rename Groups not completing successfully #1093

andrewxhill opened this issue May 25, 2019 · 13 comments
Assignees
Labels
bug Something isn't working

Comments

@andrewxhill
Copy link
Member

Seeing some issues with this in the current Beta release.

#1084

  1. I went to change the name the first time. Edited the name and clicked 'Rename'. Nothing happened, it just stayed on the rename interface.
  2. Clicked 'Cancel', as that was the only option left, and it wasn't renamed
  3. Hard-killed and went back to group. Went to rename interface. Now, if I edit the name, the 'Rename' option never become clickable so I can only 'Cancel'. Group is still the original name from before step 1.
@andrewxhill andrewxhill added the bug Something isn't working label May 25, 2019
@andrewxhill andrewxhill changed the title Rename Groups not completely successfully Rename Groups not completing successfully May 25, 2019
@undercase
Copy link
Contributor

I'll fix this today-pretty sure I made a small mistake when I was refactoring a function name for the linter.

@asutula
Copy link
Member

asutula commented May 25, 2019

I've seen this as well. It does work sometimes, though. @undercase are you displaying an error on that rename modal if an error happens?

@undercase
Copy link
Contributor

I knew I was forgetting something-right now it doesn't do anything w/ the error message if there is one, but the error in the redux state blocks you from renaming it again. Will fix it today after I finish the direct message PR.

@asutula
Copy link
Member

asutula commented May 25, 2019

Yea makes sense. Will be interesting to see what this error is that sometimes happens when renaming.

@andrewxhill
Copy link
Member Author

IMG_0CEB5BA9633F-1

@sanderpick
Copy link
Member

I believe you'll get that error if you're not the thread initiator

@undercase
Copy link
Contributor

I assumed anyone could rename the thread. I'll fix this by not showing the rename group button if the user isn't the initiator.

@andrewxhill
Copy link
Member Author

same, i was under the impression that this was a local change only, not something that would be distributed to other thread members

@undercase
Copy link
Contributor

undercase commented Jun 6, 2019

I figured it was like messenger groups, in that anyone can rename it and it is distributed to everyone else in the group. Looks like it is distributed to everyone else in the group, but only the initiator can change it. Easy to fix, will have a PR for it today.

@asutula
Copy link
Member

asutula commented Jun 6, 2019

I mean, the behavior we thought should be there is what should be there. Maybe we should just have go-textile apply some logical permissions to editing the thread name based on the thread permissions?

@sanderpick
Copy link
Member

No problem, @undercase - I would have mentioned had I been paying attention. The current behavior is documented in the go doc: https://github.com/textileio/go-textile/blob/master/core/threads.go#L257

@andrewxhill
Copy link
Member Author

good to close this now right @undercase ?

@undercase
Copy link
Contributor

Yep.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants