GorvGoyl / Notion-Boost-browser-extension

Chrome & Firefox extension for Notion to add 20+ features like sticky outline, small text & full width by default, hide comments & help button, bolder text etc. Download here: https://gourav.io/notion-boost
https://gourav.io/notion-boost
GNU General Public License v3.0
515 stars 42 forks source link

feature: hide floating page comments.. also add option on each page to temp. hide page comments like outline #153

Open GorvGoyl opened 2 years ago

GorvGoyl commented 2 years ago

screenshot 2022-08-24 at 20 04 34@2x

roaclark commented 1 year ago

This isn't refined enough for me to try making a code modification, but I made a small Chrome bookmarklet as a workaround. Maybe you could benefit too. Make a chrome bookmark, and in the URL paste one of these two snippets:

To move the comments over so they don't overlap the text javascript:(() => document.querySelectorAll('.notion-margin-discussion-item').forEach(e => e.style.transform = "translateX(150px)"))();

To hide the comments entirely javascript:(() => document.querySelectorAll('.notion-margin-discussion-item').forEach(e => e.style.display = "none"))();

Then when you open a notion doc with comments, click on the bookmark to fix them. You may need to click on the bookmark again after opening/closing the outline or navigating within the page.