landakram / kiwi

A personal wiki app for iOS.
MIT License
63 stars 4 forks source link

Not possible to open .md files added to Dropbox from other app #15

Closed matiasvillaverde closed 6 years ago

matiasvillaverde commented 7 years ago

With the new version 2.0 is not possible to add .md files from Dropbox. I am creating .md files (kiwi pages) with a desktop computer and when i try to open them on Kiwi app, nothing is happening. Do you think is possible to upload a hotfix to the store? Thanks in advance

landakram commented 7 years ago

Thanks for the heads-up. I'll take a look at this this weekend.

Question:

How are you actually trying to open the file in kiwi? And what is the behavior exactly? Does the app crash?

landakram commented 7 years ago

@matiasvillaverde, I'm not able to reproduce this. Here's what I'm trying:

  1. In an editor on my computer, I create a .md file and save it to Dropbox/Apps/KiwiApp/wiki
  2. I open the app on my phone
  3. I tap the title to get to the "All Pages" view
  4. I see the new page listed and tap on it
  5. The new page is rendered

Are you seeing something different?

matiasvillaverde commented 7 years ago

@landakram Thanks for checking this. Yours steps are working perfect, I just check it and is working for me as well. But if I create the .md files somewhere else (in my case Github wiki) and I paste it into Dropbox/Apps/KiwiApp/wiki is not working.

Here's what I'm trying:

  1. I create a Test.md page in Github wiki
  2. Clone the wiki repository to my computer
  3. Copy paste Test.md file into Dropbox/Apps/KiwiApp/wiki
  4. I tap the title to get to "All Pages" view
  5. I see the new file Test.md and tapo on it
  6. The page is not rendered and shows home.md
NoodleNodes commented 6 years ago

@landakram I’ve just purchase Kiwi with the hope it could read .md files from my Dropbox created in nvALT on my MacBook Pro. However I’m having the same problem, paste a bunch of .md files into Kiwi folder, they sync with app and I can see them however I can’t open them as pages. I tried creating [[links]] to a couple of these notes in the Home page, but when I click the link is doesn’t navigate to the document/page, rather it prompts me to create a new page. I’d be grateful for your help as Kiwi is literally the closest app I’ve come across that is perfect for use with nvALT and [[links]]. As it it, the app is unusable (can’t even search context of notes that’s have synced from Dropbox). Please help.

matiasvillaverde commented 6 years ago

@landakram would be great to have some support here :)

landakram commented 6 years ago

@shauxesis, thanks for reporting!

Last time, I couldn’t reproduce this issue using the steps that @matiasvillaverde so kindly outlined.

Could you please provide precise steps to reproduce like Matias did above including the names of the nvALT files? That would go a long way toward helping me fix this issue. Would love to make this work for you!

NoodleNodes commented 6 years ago

@landakram thank you so much for your reply. Your help would be greatly appreciated. Would it be easier to email you a quick time of the process so you can see what is happening in real-time rather than trying to decipher my explanation? I'm happy to do either way. Let me know.

On Nov 9, 2017 at 3:42 pm, <Mark Hudnall (mailto:notifications@github.com)> wrote:

@shauxesis (https://github.com/shauxesis), thanks for reporting!

Last time, I couldn’t reproduce this issue using the steps that @matiasvillaverde (https://github.com/matiasvillaverde) so kindly outlined.

Could you please provide precise steps to reproduce like Matias did above including the names of the NValt files? That would go a long way toward helping me fix this issue. Would love to make this work for you!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub (https://github.com/landakram/kiwi/issues/15#issuecomment-343194389), or mute the thread (https://github.com/notifications/unsubscribe-auth/AfM9vBnv__PA033-OD-uRGGytr6wIqFvks5s0x2BgaJpZM4OFo1N).

landakram commented 6 years ago

@shauxesis, a video would be really helpful! You can send it to me@markhudnall.com or drop a link to it here.

landakram commented 6 years ago

@shauxesis, @matiasvillaverde I was able to reproduce and fixed the issue in https://github.com/landakram/kiwi/pull/19. You should be seeing the update in the App Store as soon as Apple approves it.

For what it's worth, the bug occurred when using capital letters or spaces in the markdown file names. Kiwi by default expected file names that look like a_wiki_page.md. It will now open any of the following: a_wiki_page.md, A Wiki Page.md, A wiki page.md, A_Wiki_Page.md, A_wiki_page.md

NoodleNodes commented 6 years ago

Hey Mark,

That's excellent news! I have been trying to figure out how to record my screen on my iPhone for you with little luck. But here's what I did find: naming a text file in lowercase and with underscores between words was the only way to make the app recognise the text files created on the Mac. Then a rather convoluted process of using hazel to rename 'A Text File' to 'a_text_file' and moving it to the kiwi folder, which was then monitored as any changes synced back to the nvalt folder. I gave up in the end as my hack sync process wasn't very reliable. Has the fix you've implemented now allowed for all naming conversions? Will it read a name with spaces and title case? I look forward to the update. Thank you for all your hard work, much appreciated! Shande

Sent from my iPhone

On 27 Nov 2017, at 00:51, Mark Hudnall notifications@github.com wrote:

@shauxesis, @matiasvillaverde I was able to reproduce and fixed the issue in #19. You should be seeing the update in the App Store as soon as Apple approves it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

matiasvillaverde commented 6 years ago

@landakram Great news!! Definitely you will get 5 stars on the AppStore, thanks a lot!

But there is still one bug, the links to pages do not support all the file names. So even that I can open .md is not possible to link them. Should I open another issue? Thanks in advance

Fr3d-P commented 4 years ago

It seems that the style of names that Kiwi now accepts doesn't include CamelCase names, however it is used in wikis, and trunksync had that sort of file names. Could Kiwi be updated to open AWikiPage.md ?