https://kotlinlang.org logo
#apollo-kotlin
Title
# apollo-kotlin
e

Eduard Boloș

10/24/2023, 10:43 AM
Congrats on the new IntelliJ plugin version, the Apollo Normalized Cache tool is amazing ❤️ I have some feedback about it, if I may 🧵
🙏 1
💙 1
b

bod

10/24/2023, 10:44 AM
Thanks! And of course, feedback is very welcome!
😃 1
e

Eduard Boloș

10/24/2023, 10:49 AM
1. The Pull from device -> Device -> All packages should probably be sorted alphabetically, I get a seemingly random order 2. For packages with more than one DB file, there are two DBs listed per row 🙈 (see screenshot). I am rocking the new Android Studio UI, maybe related? 3. Our Apollo cache DB filename doesn't have an extension, would it be possible somehow to have it listed among the entries when pulling from the device, so one wouldn't have to manually pull the file, rename and then open it? I imagine looking at all the files in the
databases
directory, if there is a
filename_without_extension
and
filename_without_extension-journal
, that is a strong indicator that
filename_without_extension
is a DB 😄
b

bod

10/24/2023, 10:56 AM
1. good idea! 2. woops it's a bug. The way it works under the hood is by executing
adb shell ls <db path>
... maybe a
-l
is missing there 3. it's filtering by
*.db
... to not show too many useless files. But maybe it should filter out the known bad ones (
*-journal
, etc.) instead?
or maybe yes, use your trick 😄
would you mind opening an issue (if not that's ok)
e

Eduard Boloș

10/24/2023, 10:59 AM
Not sure how reliable my trick would be, it was just an example to illustrate alternatives. Filtering out might be better 🤷‍♂️
I can open an issue later. Should I open one issue for all three things, three separate issues, or only an issue for point 3.?
b

bod

10/24/2023, 11:10 AM
one issue is enough, no worries 👍
👍 1
e

Eduard Boloș

10/24/2023, 4:15 PM