NotionX / NotionX/react-notion-x
Image access error associated with a NotionAPI and defaultMapImageUrl
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.4k
- Forks
- 645
- PR merge metrics
- No merged PRs in 30d
Description
Hello, I'm using the library you created. Thank you.
I'm having the same issue as #211
I'm looking at the code you wrote and I'm studying how various methods play a role.
I'm guessing that the issue I'm experiencing is related to a method called defaultMapImageUrl, and I found one while I was looking for a related code.
The Function 'defaultMapImageUrl' was not found in the utils file
Is the problem I'm having coming from here?
As a junior, I would also like to ask you a question: How can I check the function that 'mapImageUrl' is doing? Because these methods are not written in official documents. it i Is the only way to check the code from scratch?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with packages/react-notion-x/src/context.tsx at the referenced defaultMapImageUrl definition and inspect the related utils file and mapImageUrl usage. Reproduce the reported image access error, then determine whether the missing function explains it and document the expected behavior or required change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nextjs, react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100