- 
                Notifications
    
You must be signed in to change notification settings  - Fork 554
 
fix: multiple line input and alignment of apply coupons in text box #2698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…oupons fossasia#2621 in fragments_ticket.xml file.
| 
           No need to list changes in PR, we can see them in proper diff. Please add screenshots of the change instead. Also, your PR title is not following project conventions. Please see titles of merged PRs  | 
    
| 
           Also, your PR doesn't link the fixed issue correctly. Please see merged PRs  | 
    
          
 I have changed the title but still it is not considering it. Moreover as I am new and this is my first contribution ever, can you please tell me how to link this PR properly? I have looked into many merged PR but I am unable to find out what I am missing.  | 
    
| 
           Look what's the pattern of titles in merged PRs and how the issue is linked. You need to look exactly. See other open PRs how they are writing the title for bug fixes and linking issues  | 
    
# Conflicts: # app/src/main/res/layout/fragment_tickets.xml
          
 I tried merging the entire thing again with correct semantic of commit message and the PR title.  | 
    
| 
           No merging of anything is required. You have to change the PR title to follow the pattern and link the issue in the PR message in the standard way github provides. I have already linked multiple PRs of new contributors who have done it as well. And you'll have to link issues in this way on any GitHub project, so doesn't matter if you learn it today or tomorrow, Open Source is not just about sending PRs, it's also about following project conventions and learning things by looking around Neither your PR title follows the convention, nor you have linked the issue in the PR body like in other PRs. You have to do it exactly the way others have done You are a programmer, and you should already understand the strict nature of languages and context-sensitive information. If the command to print a line is  I can change it myself in 2 seconds or tell you exactly what to do, but then you won't learn how to join and follow the conventions of any new community you contribute to. These are the things you'll eventually have to learn about any community  | 
    
          
 I have made the necessary changes by following the convention. Kindly please review it. Thanks!  | 
    
| 
           And also one more thing, the first commit was the right one and the last one has not changes.  | 
    
| 
           There are no changes in the PR https://github.com/fossasia/open-event-attendee-android/pull/2698/files 
  | 
    
| 
           Actually the first commit which I made had all the necessary changes after that I commited by mistake becuase I thought there was something wrong with my commit message. The last commit does not have any changes. So is there any way to revert back to the first commit where I have made all the changes?  | 
    
          
 Sir Can you please check now 
  | 
    
| android:inputType="text" | ||
| android:maxLines="1" | ||
| android:layout_gravity="left" | ||
| 
               | 
          
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove empty lines
| android:layout_height="wrap_content" | ||
| 
               | 
          ||
| android:layout_gravity="right" | ||
| 
               | 
          
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here as well
          
  | 
    
Removed empty lines as per request
| 
           Done sir. Kindly review it now.  | 
    
Fixes #2621
Multi line input and alignment of apply coupons.
The bug was -
The alignment of the apply coupons Edit text is not proper also there is multi line input for it.
Now after fixing -
I fixed the 'Apply Discount Coupon' EditText in "fragment_tickets.xml" file where now only single line input will be allowed. Further I aligned the EditText with 'Apply' Button.
Changes: The changes were put into the "fragment_tickets.xml" file.
Screenshot-
