Skip to content

Android client. Added Clear indication for private and channel messages sending rights#3340

Open
amirmahdifard wants to merge 1 commit into
BearWare:masterfrom
amirmahdifard:rightswork
Open

Android client. Added Clear indication for private and channel messages sending rights#3340
amirmahdifard wants to merge 1 commit into
BearWare:masterfrom
amirmahdifard:rightswork

Conversation

@amirmahdifard

Copy link
Copy Markdown
Contributor

No description provided.

@bear101

bear101 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

It is better to keep the channel-message-send-button so the user gets an error message when trying to send a message. By hiding the button no one knows why it's missing.

@amirmahdifard

Copy link
Copy Markdown
Contributor Author

@bear101 Sure! i can even just add a text that says message right disabled for you or you are not allowed to chat. Do you want me to do that? the reason this is needed, is that user doesn't start typing a message and then figger out that they are not allowed to chat.

@hwangsihu

Copy link
Copy Markdown
Contributor

@bear101 Sure! i can even just add a text that says message right disabled for you or you are not allowed to chat. Do you want me to do that? the reason this is needed, is that user doesn't start typing a message and then figger out that they are not allowed to chat.

Good idea

@amirmahdifard amirmahdifard changed the title Android client. Completed message rights support Android client. Added Clear indication for private and channel messages sending rights Jun 27, 2026
@amirmahdifard amirmahdifard reopened this Jun 27, 2026
@amirmahdifard

Copy link
Copy Markdown
Contributor Author

@hwangsihu Done!

@bear101

bear101 commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

@amirmahdifard please clean up the commits. There should only be one commit.

git rebase -i origin/master

@amirmahdifard

Copy link
Copy Markdown
Contributor Author

@bear101 done. Ready to merge

@bear101

bear101 commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Can't you use existing edit fields (e.g. channel_im_edittext) for the text message "Sending channel messages disabled for you"? Then mark the text field as read-only.

The UI designer looks really bad with this new label, because the edit-field becomes tiny.

@amirmahdifard

Copy link
Copy Markdown
Contributor Author

@bear101 I Placed the text to be at the senter of the screen exactly in the place of edit box and edit box is completely gone removed from the leyowt, so only text is visible
About your question, no, this text view is better for screen readers and displaying error disallowed texts on android.

@amirmahdifard

Copy link
Copy Markdown
Contributor Author

This text is displayed on the senter at the bottom of the screen exactly in the place of edit box, and it's just an allturnet text that displayed when user doesn't have right. So it's better to keep it accessible and as it is.

@amirmahdifard

Copy link
Copy Markdown
Contributor Author

@bear101 this is a simple pr And I don't think it should be kept open for longer than this. Can you allow the merge so I can delete my branch? thanks

@amirmahdifard

Copy link
Copy Markdown
Contributor Author

@bear101 I've now fixed this. It's correct. As best as we can get for both screen reader users and sited users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants