Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes and improvements #113

Merged
merged 4 commits into from
Feb 18, 2024
Merged

Fixes and improvements #113

merged 4 commits into from
Feb 18, 2024

Conversation

lemattma
Copy link
Contributor

@lemattma lemattma commented Aug 4, 2022

This fixes:

  • The drawer not closing in Chrome
  • deprecated fromString error
  • Links in MD files missing the video ID and timestamp query params.
  • Cleaning up the MD file

Sorry that I'm adding all of this in one PR. I've added separate commits for each fix.

I love this extension!
Thanks @shuowu

Passing `open` to the Styled component doesn't refresh the `transform` CSS property.

Resolves: Issue byteyilabs#106
…name

Transforms `(123) My super video - YouTube` into just `My super video`
Also fixes exporting markdown files with links without the video ID nor the `t=` query param.
// Removing notifications count and " - Youtube" at the end
const fileName = meta.title
.replace(/^\(.*\) /g, '')
.replace(/ - YouTube$/g, '');
Copy link

@hh23485 hh23485 Sep 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you removed yinote_ prefix, is there a strong reason to do this? @lemattma

Sacmanxman2 pushed a commit to Sacmanxman2/yi-note that referenced this pull request Feb 12, 2024
Added the yinote prefix to the fileName constant, resolving feedback on byteyilabs#113
@Sacmanxman2 Sacmanxman2 mentioned this pull request Feb 12, 2024
@shuowu
Copy link
Collaborator

shuowu commented Feb 18, 2024

@lemattma Thanks for fixing the issue!

FYI, due to recent acquisition from ByteYi Labs, we have moved main logic from this repo to another monorepo (private) for easier maintenance reason. Code in this codebase may become inconsistent with the released version from chrome / edge web stores in the future.

For this issue, I also released a fix in v1.8.0 (in pending store review) with shadow-dom, hopefully it can help avoid future host page style updates.

@shuowu shuowu merged commit 487b34f into byteyilabs:master Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants