-
Notifications
You must be signed in to change notification settings - Fork 5
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
LUN-420: User vocabulary can be marked as favorite #371
LUN-420: User vocabulary can be marked as favorite #371
Conversation
@steffenkleinle @f1sh1918 (see comment above, i think ping does not work in description) |
i'm fine with solution 1 |
Same for me, solution 1 works for me. |
2220726
to
2fa8c3d
Compare
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.
Tested on android, nice work!
@@ -0,0 +1,62 @@ | |||
import { RouteProp, useFocusEffect } from '@react-navigation/native' |
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 don't want to open the discussion on this place again but I really dislike the moving and renaming to/from route folders 🙈 Makes it very hard to review changes since only small changes at the same time with renaming lead to github showing the file as deleted and added. Still a fan of the integreat way of just putting everything in the same folder and just prefixing it with the route name if necessary.
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.
Not really reviewed/compared to previous
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.
Not having a folder structur is really bad practice, but I see your point though. I think it would make sense to put every route in a subfolder also it they do no have components yet.
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 agree with Steffi in this case. We may add a guideline for naming & structuring of components/routes and stick to them. Sure once you move it its a pain to review but after having a clear structure this shouldn't happen. I also support structures like baseComponents
Text/Buttons/TextInput etc. I think finding components and routes in integreat is quite a pain
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.
Is this done with this PR? https://issues.tuerantuer.org/browse/LUN-307 |
Was broken before. Can not be fixed by us, as the api-endpoint is missing the feature do return protected words. Already opend a ticket. |
This was already done here: #307 |
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.
Works fine on ios nice work! Even i have problems with the image path on ios emulators. but on real devices it works fine
This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword LUN.
@steffenkleinle @f1sh1918
When marking user-vocabulary as favorite, we have the problem, that we cannot just save the id, as this id is also an id of a lunes-standard vocab. Same problem for dicitionary, where we want to show user-vocabulary in the future. I thought about different solutions:
I will go on implementing this feature, if you think my suggested solution is the one we want to use.
As these first changes have been approved, I finished this ticket.
VocabularyDetailExerciseScreen
, as this naming was duplicated.