Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Fixes #386 : Compose box doesn't auto-open when narrowing #390

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fixes #386 : Compose box doesn't auto-open when narrowing #390

wants to merge 1 commit into from

Conversation

saketkumar
Copy link
Collaborator

Summary of changes

This PR fixes https://github.com/zulip/zulip-android/issues/386
Now compose box doesn't auto-open when narrowing.

Screenshots or a brief video showing the change in action:
chatbox

  • Code is formatted.

  • Run the lint tests with ./gradlew lintDebug and make sure BUILD is SUCCESSFUL

  • Commit messages are well-written.

@smarx
Copy link

smarx commented Feb 10, 2017

Automated message from Dropbox CLA bot

@saketkumar95, it looks like you've already signed the Dropbox CLA. Thanks!

Copy link
Member

@Sam1301 Sam1301 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the issue was to hide the chatbox when messageHeaders are clicked :)

@timabbott
Copy link
Member

Yes, the issue was with message headers ("recipient bars" is what we call them usually).

@saketkumar
Copy link
Collaborator Author

@timabbott @Sam1301 Yeah, i got that wrong. But i think this should also be there. Whenever someone clicks on the stream, the compose box automatically opens up. Instead it should not. Same as on web.
Thoughts?

@timabbott
Copy link
Member

timabbott commented Feb 27, 2017

Agreed, maybe just add a second commit fixing the other issue?

@saketkumar
Copy link
Collaborator Author

@timabbott Yeah, sure. :)

@@ -1204,6 +1204,8 @@ public boolean onChildClick(ExpandableListView parent, View v, int groupPosition
String subjectName = ((Cursor) streamsDrawer.getExpandableListAdapter().getChild(groupPosition, childPosition)).getString(0);
onNarrow(new NarrowFilterStream(streamName, subjectName));
onNarrowFillSendBoxStream(streamName, subjectName, false);
hideView(chatBox);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be better to use displayChatbox(boolean) and displayFAB(boolean)

@Sam1301
Copy link
Member

Sam1301 commented Mar 27, 2017

@saketkumar95 this looks nice, can you please address the comment here?

@zulipbot
Copy link
Member

zulipbot commented May 4, 2017

@saketkumar95, your pull request has developed a merge conflict! Please review the most recent commit (f791888) for conflicting changes and resolve your pull request's merge conflicts.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compose box shouldn't auto-open when narrowing
5 participants