Giter VIP home page Giter VIP logo

roam-enhancement's People

Contributors

arnopensource avatar c3founder avatar hungriesthippo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

roam-enhancement's Issues

OCR was unsucceseful

Screen Shot 2021-11-17 at 12 04 11

Screen Shot 2021-11-17 at 12 03 27

Both Uploaded and non-native images tested on roam.

Cmd + click= First Granting wishes... then OCR was unsucceseful
Alt + click= works.
Shift + click= works.
Ctrl + click= on mac (big sur) it is right click. No result.

Button instead of ALT key to switch between text and area annotation on iOS

Text highlighting works on iOS flawlessly as far as I can see (using the Pen), which is fantastic since I can read PDFs and annotate them on the tablet. Area annotation does not work since the ALT key is missing, however. One solution might be to add a button that allows switching between area and text annotation. That seems to be related to this pull request for react-pdf-highlighter

agentcooper/react-pdf-highlighter#106

Bookmark

Good for incremental reading.
Currently, you can have a highlight for this. Need to change it to a pin.

https://roampdf.web.app doesn't work

Can I create my own PDF server to make pdf work?

function startC3PdfExtension() {
  var ccc = window.ccc || {};
  var c3u = ccc.util;
  /*******************************************************/
  /**********************Main BEGIN***********************/

  // const serverPerfix = 'http://localhost:3000/?url=';
  const serverPerfix = 'https://roampdf.web.app/?url=';
  const pdfChar = ' ';

Button no longer link to highlight on new PDF files

The button at the end of the highlighted part can no longer be use to lead to the highlighted part on the pdf files. This only happen to the newly added file but not older files. As you can see. the buttons are no longer turn to the "rounded one"

1122

PDF Highlighter: Preview button not rendered

Hey!

First of all, thank you for this amazing add-on for Roam! It works great. The only thing I'm struggling with is a preview of a PDF on mouseover. The problem is that there is no page icon visible (the brackets ar empty).

Screenshot 2022-02-12 at 14 10 47

My current setup:

Screenshot 2022-02-12 at 13 52 35

I have both JS and CSS latest versions installed.

Platform: MacOS/Brave Browser (all shields down)

Thanks for any help!
Rob.

NOT WORKING

Not working anymore

Enhancement:
Can you make it work like Logsec-app pdf handling

List of parameters

Hi, thank you for sharing these useful extensions!

I'm watching the tutorial video on Enhancement PDF and saw there are customizable parameters: e.g.
image

Is there a documentation of all available parameters (name, values)?

Thanks!

Metadata handling - Discussion

  1. I would like the ability to global filter away the metadata. This can be easily achieved by nesting them under a tag.
  2. It would be nice if there is an option to use single page for metadata and create blocks there, instead of a new page per pdf. Is there any potential problem in using roam/js/pdf page alone and creating a parent block per pdf?

Issues installing PDF highlighter

I'm having trouble installing the PDF highlighter. I tried following the instructions, but when I upload a PDF, I'm not able to highlight anything. Here's my installation:
image
image

And here's a picture of what I see when I upload a PDF. It won't let me highlight:
image

Any help would be appreciated! Thanks.

Roam Research freezes from timestamp shortcut

In the past the extension used to work, but now it freezes every time. Title grab works though. This is what happens now:

  • I start the embedded youtube video
  • I press the alt+a n which used to work before
  • video continues playing, but the roam otherwise becomes unresponsive and the cursor turns into the text selector (or whatever it's called)

Has anyone else had this problem?

Highlights always show as yellow

When addColoredHighlight is set to true, it adds the colour tag to the highlight but the highlight in the outline always shows as yellow.

counter as attribute?

I want to use the counter in an attribute--For example, to count the number of sodas per day. When I create an attribute table, it shows the counter with the value of 0 even if 5 is the count on the original page. Is it possible at all to get the correct number?

Thanks, in advance!
Jen

The link from the extracted highlight to the position in the PDF stopped working

The link from the extracted highlight to the position in the PDF stopped working for me. The link had a round shape previously. Now it is rectangular and doesn't move the focus to the highlight in the PDF.

FNqKq1RZQC

This seems to appear more often in the right sidebar. It sometimes helps to reload the corresponding PDF by entering the edit mode of the PDF block.

Jump back/forward through a history of cursor (or page) locations

Hi, thank you again for this extension.
It's become indispensable for my research workflow.

One feature I constantly need while reading a pdf with this extension is
the ability to jump back to the original page after clicking the reference/citations.

I'm not sure if it's possible to keep a history of the exact cursor locations,
but even just being able to jump back to the previous page with a shortcut or via a button-clicking
would be really nice.

highlights dissapeared from pdf files

I have a new macbook pro m1 and I am using the roam research desktop app and I am finding some inconsistent behavior on the highloighted pdfs, which I believe stems from an update

  1. For some documents the highlights have dissappeared from the text, and the buttons at the end of the highlights don't do anything. I have tested this idea and I think it is related to the creation of a mapping page for every pdf upload that saves the coordinates of the highlights. I deleted some of those pages and now my highlights are gone. Is there a way to recover those pages?
  2. older pdfs that were uploaded before that update have also lost their highlights and the buttons at the end of the highlighs open the pdf file on the side panel. Additionally, any new highlight made is erased after regreshing roam.

Is there a way to solve this issue?

PDF viewer issue in roam

Anyone experiences the same thing when after uploading PDF into roam? It was opened in roam using adobe viewer for some reason. The plugin does not work in such case.

WechatIMG134

Highlighting local PDFs

Currently PDF highlighter doesn't work for local PDFs. From the dev console it looks like it's blocked from accessing it due to CORS:

?url=http://localhost:3333/local-asset/.../....pdf:1 Access to fetch at 'http://localhost:3333/local-asset/.../....pdf' from origin 'https://roampdf.web.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Any idea if there would be a way around this, or is it simply not possible for plugins to access local files in Roam?

PDF embed using Dropbox URL won't load when PDF highlighter is enabled

I have some embedded PDFs that are uploaded in the standard way (drag & drop, such that the file is stored at https://firebasestorage.googleapis.com), and some others that are shared from Dropbox (e.g. https://www.dropbox.com/s/t4ac5mwi1e2uvhm/test.pdf?raw=1).

When PDF highlighter is disabled, both types of URLs load properly as PDF embeds in Roam Research. However, when PDF highlighter is enabled, the Dropbox URLs do not load, and the following error is shown:

Access to fetch at 'https://www.dropbox.com/s/t4ac5mwi1e2uvhm/test.pdf?raw=1' from origin 'https://roampdf.web.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

GET https://www.dropbox.com/s/t4ac5mwi1e2uvhm/test.pdf?raw=1 net::ERR_FAILED
e                  @ fetch_stream.js:134
value              @ fetch_stream.js:77
(anonymous)        @ api.js:1543
(anonymous)        @ message_handler.js:329
value              @ message_handler.js:328
_onComObjOnMessage @ message_handler.js:150

I thought this might be because the Google Cloud PDFs are requested with an API token, but even if you remove the token, it still loads fine.

Is there any way around this? It would be awesome to have all my PDFs stored in Dropbox, where they're linked to corresponding Zotero items, and then have the corresponding notes in Roam for those papers that could still reference the same (rather than duplicated) file -- because then if I add additional annotations on the PDF (e.g. some handwritten notes on iPad), they'll still show up on the PDF in Roam.

Slowdown & data storage

Great project, has enormous potential. Some feedback:

  • Roam seems to slow down to an annoying degree after say 20 annotations (with 4-core i7 CPU and 16 GB RAM).
  • The programmatically generated data pages (roam/js/pdf/data) clutter up my database. They will presumably start slowing down Roam's search after many annotations on many pdf's. Maybe the data can be stored elsewhere, like e.g. the 'data blocks' used by the Excalidraw plugin?

(Another issue is low resolution images extracted via area highlight, and lower-impact styling of these area highlights. I filed those in the react-pdf-highlighter repo.)

Auto-RTL stopped working after updating to new js code

I was using the older RTL-LTR js code,
I just updated to the new code, and it doesn't work on my roam despite refreshing
var s = document.createElement("script");
s.type = "text/javascript";
s.src = "https://c3founder.github.io/Roam-Enhancement/enhancedLanguage.js";
document.getElementsByTagName("head")[0].appendChild(s);

any ideas what could cause that?
any chance that ROAM42 might be the cause?

would love to get your assistance in getting it to work

A small bug in Time Tracking

Hello developers. I've encountered a bug while using it.

I am a user with Chinese as the common language.Everything is fine when timer-activated.running, but when I pause, it becomes 0s. And when I mouse click the block again, all the time accumulation is cleared. Other functions are fine.

When I click to his reference screen. I found out that it is stored in Chinese format 'AM/PM',
Maybe this is the reason for the error? Even if I change the system language to English, he still recurs.Perhaps replacing all the time variables with 24-hour binary could improve it?

Colorful Highlight

Both on the pdf and in roam with specific tags to make them filterable.

PDF Enhanced not working

Installed PDF Enhanced on Roam today, both JS and CSS.
The highlight options working, including the references etc, but these icons on the PDF itself or within the highlights are not showing.
I use Roam on Apple devices mainly.
Import of CSS is above all other entries.
Thoughts anyone?

shortcuts no response

Backround

  • Shortcuts didn't work in my computer(Mac/Win), replace 'alt' with 'ctrl','command','option',no responds neither
  • System(Mac:Version 10.15.4, Win:64-bit Operating System i3)

Steps:

(code block is indented under {{[[roam/js]]}})

Previous Tries

  • changed 'alt' with another shortcut(did't work)
  • switched to Win(didn't work)

Guess

  • Are there any steps missing?

Doesn't work in Chrome and Vivaldi

Hi, I installed the extension and it shows the popup window of 'Add Highlight' upon dragging a text on the pdf file (uploaded into a roam block). However, even if I click on 'Add Highlight' and the color of the text changes, no child or cousin block is created.

Additionally, the parameter config in roam/js codeblock is not taking any effect: I set the parameters as following but the window size of the pdf document is still very small:

image

Please see a short video of what is happening here: https://recordit.co/hjO3XJDvqX

Do you have any suggestions on what may be causing this problem?

Thank you!

Highlight button square, only one and not working

I have a number of issues with the PDF Highlighter:

  1. The highlight button doesn't do anything when pressed
  2. The highlight button is square, not round
  3. The PDF icon is missing: {{2: rhvitUT_Y}}
  4. The highlight heading parameters is not respected (it should be [[Highlight]]s, not Highlights)

image

I'm using Vivaldi on Windows.

Things tried:

  • Removing the [[]] around pdf.

Mixed Text Direction - Multibar offset

Hi :)

  1. The multibar for RTL languages is located few pixels to the left of the desired position
  2. When the main direction of the app is set to RTL (in the app settings) the multibar for LTR languages is on the right of the page

Thanks

YouTube player's height is broken

I have no active CSS other than enhancedYouTube.css also no other javascripts in roam/js also tried in different browsers with same result.

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.