-
Notifications
You must be signed in to change notification settings - Fork 555
feat: add Event Location #1498
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
feat: add Event Location #1498
Conversation
|
Add screenshot |
|
@angmas1 i haven't completed the pr as of yet that's why i added a WIP tag |
Okay, sorry continue working. |
ce11e6e to
7336b23
Compare
|
@iamareebjamal a little bit of help here as autocompletefragment requires match parent layout and i'm not able to add it with a list view any suggestions |
|
I don't understand |
7336b23 to
80deb58
Compare
|
This is not correct UI. You'll have to change it's behavior |
|
@iamareebjamal this can be merged after mapbox have been removed |
|
UI looks bad, I think we should stop showing popular cities list once user starts typing. |
|
Thing's would be different after removing the mapbox sdk autocomplete textview would be removed and also in terms of UI it is pretty much similar to Eventbrite |
d5aa41b to
a0ec2d1
Compare
|
@iamareebjamal updated |
a0ec2d1 to
7aecd97
Compare
|
@iamareebjamal i've refractor constraint layout to linear layout as there is no use of constraint layout for this layout and we should avoid using constraint layout as it much more expensive than linear layout. |
7aecd97 to
679c366
Compare
|
Peer reviews first |
|
@liveHarshit please review |
app/schemas/org.fossasia.openevent.general.OpenEventDatabase/1.json
Outdated
Show resolved
Hide resolved
app/schemas/org.fossasia.openevent.general.OpenEventDatabase/1.json
Outdated
Show resolved
Hide resolved
679c366 to
e3f51f5
Compare
|
@liveHarshit updated |
8a373c6 to
be4a014
Compare
ca7e12d to
8934949
Compare
|
@iamareebjamal i messed up the pr a little bit should i make seperate pr because i'm not able to fix it |
8934949 to
ba77782
Compare
|
You can create a new branch and force push it on this branch |
|
@iamareebjamal it has been fixed please review |
| else | ||
| eventLocationApi.getEventLocation() | ||
| .map { | ||
| eventLocationDao.insertEventLocations(it) |
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.
No need to save in DB
c2b89da to
c6fc76c
Compare
|
@iamareebjamal updated |
c6fc76c to
e1fa4d4
Compare
|
@iamareebjamal fixed conflicts |
3f32d40 to
cd326b9
Compare
app/src/test/java/org/fossasia/openevent/general/DependencyTest.kt
Outdated
Show resolved
Hide resolved
|
I'm getting an error that dryRun has bee deprecated |
91303ce to
4b8f7d4
Compare
|
@iamareebjamal please review |
| @Id(LongIdHandler::class) | ||
| val id: Long?, | ||
| val name: String?, | ||
| val slug: String? |
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.
Why are these nullable?
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.
I can intialize them with empty string also i just followed the pattern which was found in most of the data classes
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.
@iamareebjamal should i initialize with them empty string instead of being nullable type?
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.
No, make them non nullable without intializers. Tell me if they don't work
4b8f7d4 to
08d4967
Compare
|
@iamareebjamal updated and it is working even without being of type and also in JSON API responses the id are usually not nullable so should i refractor all them in a separate PR |
c00d43f to
1237d38
Compare
|
@iamareebjamal updated |
Fixes #1421
Changes: Added Popular Location in search location fragment
Screenshots for the change:
