Al0den / notion.nvim

Notion API wrapper for Neovim
MIT License
56 stars 4 forks source link

I'm having issues in terms of getting the page information #19

Open AinRuizDorado opened 1 month ago

AinRuizDorado commented 1 month ago

Describe the bug Hi! Maybe is not a bug and i'm just can not understand how to open and get the information of a page in Notion

To Reproduce Steps to reproduce the behavior:

  1. Installed notion.nvim via Lazy
  2. create a Api integration keys, I screenshotted the configuration below just in case
  3. Then in My neovim open a empty folder just in case, and in the dashboard.nvim I entered the comand :Notion setup and put there the api integration key succesfully
  4. Then I did " no" to open the telescope popup with my pages, I realized that there was nothing, so I supposed that I had to give permissions to a single page?
  5. I did go to a Notion page with text and a title, uper right corner the three dots > connect to > "Neovim-integration" who is my api integration name
  6. I did go back to neovim and now my page shows op on "no" in telescope, but when I press enter nothing happens, if I do alt+e it shows the information but not the content of the page (just the title and the status of the page) (screenshot 3)

Expected behavior I select the page and it shows the information on a new tab?

Screenshots image image image

Desktop (please complete the following information):

Additional Info :Notion setup command returns "Operational" :Notion status return "last update was 9 seconds ago"

Al0den commented 1 month ago

Not sure I understand correctly. You mention that you would expect a window to open with the markdown, which is what is happening in image

Nb: Having the json upon by default is not good behavior tho, might be what got you confused