papermark icon indicating copy to clipboard operation
papermark copied to clipboard

fix: pass theme option as url params

Open DeepaPrasanna opened this issue 1 year ago • 3 comments

fixes #791

Summary of changes: passed mode as the url param in the notion link and update the darkMode value in Notion doc

Screenshot 2024-10-17 190309 Screenshot 2024-10-17 190250

DeepaPrasanna avatar Oct 17 '24 13:10 DeepaPrasanna

@DeepaPrasanna is attempting to deploy a commit to the mftsio Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Oct 17 '24 13:10 vercel[bot]

/assign

abhay-joshi007 avatar Oct 19 '24 05:10 abhay-joshi007

The /assign command can only be used on issues, not on pull requests.

oss-gg[bot] avatar Oct 19 '24 05:10 oss-gg[bot]

@DeepaPrasanna please have a look at my last comment

mfts avatar Oct 22 '24 07:10 mfts

I am really sorry for the delay. I will update within few hours.

DeepaPrasanna avatar Oct 22 '24 08:10 DeepaPrasanna

I am really sorry for the delay. I will update within few hours.

No rush. I know you are also busy with other things. But great to keep this PR moving along.

mfts avatar Oct 22 '24 08:10 mfts

I am really sorry for the delay. I will update within few hours.

No rush. I know you are also busy with other things. But great to keep this PR moving along.

@mfts Thank you for your patience :) I have taken into account your reviews and updated the code.

Pls also refer to the screen recording showing the changes.

Also, I think this may require updating docs so that users may know to send the query params for dark mode while uploading. https://www.loom.com/share/74ed5f801a8f476fa182eb0468ff1557?sid=3de9bb42-8b69-4fa0-940e-f1ae5dd9f6a4

DeepaPrasanna avatar Oct 23 '24 16:10 DeepaPrasanna

Hello @mfts wdyt about this?

DeepaPrasanna avatar Oct 25 '24 03:10 DeepaPrasanna

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
papermark ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 26, 2024 10:37am

vercel[bot] avatar Oct 26 '24 10:10 vercel[bot]

@DeepaPrasanna Another cool idea would be to just make a button on the Notion document, that toggles dark/light mode and when toggled it changes the Notion url by appending / removing the ?mode=dark url query param.

Perhaps a task for a new PR before ossgg ends?

mfts avatar Oct 26 '24 10:10 mfts

@DeepaPrasanna Another cool idea would be to just make a button on the Notion document, that toggles dark/light mode and when toggled it changes the Notion url by appending / removing the ?mode=dark url query param.

Perhaps a task for a new PR before ossgg ends?

It seems a cool one! Am I correct in assuming that you are here referring to the document shown when hitting the papermark link? If yes, it gives the user handle theme too, which will be enhancing ux

DeepaPrasanna avatar Oct 26 '24 10:10 DeepaPrasanna

Awarding DeepaPrasanna: 150 points 🕹️ Well done! Check out your new contribution on oss.gg/DeepaPrasanna

oss-gg[bot] avatar Oct 26 '24 10:10 oss-gg[bot]