-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add support for heart languages #195
Add support for heart languages #195
Conversation
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.
if I remember correctly, the purpose of using the cache was to:
- improve performance for page-load (GLs only)
- avoid giving false positive - when the user click on something and then nothing is available
Maybe this could satisfy the first purpose which does not affect performance significantly. We need to verify this on dev after merging
Reviewed all commit messages.
Reviewable status: 0 of 19 files reviewed, 3 unresolved discussions (waiting on @mXaln)
fetcher-web/src/main/kotlin/org/bibletranslationtools/fetcher/di/DIModule.kt
line 5 at r1 (raw file):
import org.bibletranslationtools.fetcher.config.DevEnvironmentConfig import org.bibletranslationtools.fetcher.config.EnvironmentConfig import org.bibletranslationtools.fetcher.impl.repository.*
please keep the import style consistent with how it was, this is easy to miss.
fetcher-web/src/main/kotlin/org/bibletranslationtools/fetcher/usecase/FetchProductViewData.kt
line 25 at r1 (raw file):
} else { listOf("mp3", "wav") }
Originally, we were using enums to avoid hard-coded strings like these. Could we keep that practice?
fetcher-web/src/main/kotlin/org/bibletranslationtools/fetcher/web/controllers/BookController.kt
line 81 at r1 (raw file):
"fileTypesNavTitle" to product.titleKey, "fileTypesNavUrl" to "/$GL_ROUTE/${params.languageCode}", "booksNavUrl" to "javascript:void(0)"
this feels wrong to use here
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.
Reviewable status: 0 of 22 files reviewed, 3 unresolved discussions (waiting on @AnonymousWalker)
fetcher-web/src/main/kotlin/org/bibletranslationtools/fetcher/di/DIModule.kt
line 5 at r1 (raw file):
Previously, AnonymousWalker (Tony) wrote…
please keep the import style consistent with how it was, this is easy to miss.
yeah, my IDE does that. Changed manually.
fetcher-web/src/main/kotlin/org/bibletranslationtools/fetcher/usecase/FetchProductViewData.kt
line 25 at r1 (raw file):
Previously, AnonymousWalker (Tony) wrote…
Originally, we were using enums to avoid hard-coded strings like these. Could we keep that practice?
I was following the practice that was already in the code, like in the FetchBookViewData
. Changed wherever I found it.
fetcher-web/src/main/kotlin/org/bibletranslationtools/fetcher/web/controllers/BookController.kt
line 81 at r1 (raw file):
Previously, AnonymousWalker (Tony) wrote…
this feels wrong to use here
Well it's just another type of url. Yeah, it looks like js code, but that's necessary to have it here. Could you suggest something different?
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.
Reviewable status: 0 of 22 files reviewed, all discussions resolved
fetcher-web/src/main/kotlin/org/bibletranslationtools/fetcher/web/controllers/BookController.kt
line 81 at r1 (raw file):
Previously, mXaln (Maxim) wrote…
Well it's just another type of url. Yeah, it looks like js code, but that's necessary to have it here. Could you suggest something different?
Yes, #196
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.
Reviewable status: 0 of 22 files reviewed, all discussions resolved (waiting on @AnonymousWalker)
fetcher-web/src/main/kotlin/org/bibletranslationtools/fetcher/web/controllers/BookController.kt
line 81 at r1 (raw file):
Previously, AnonymousWalker (Tony) wrote…
Yes, #196
ok, that works!
Avoid using hash sign for url (#196) Co-Authored-By: Maxim <[email protected]>
|
17680cd
into
audiobieldev.walink.org
This change is![Reviewable](https://camo.githubusercontent.com/1541c4039185914e83657d3683ec25920c672c6c5c7ab4240ee7bff601adec0b/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)