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

feat: updated pdf component with highlights #259

Merged
merged 4 commits into from
Feb 25, 2024

Conversation

raaymax
Copy link
Collaborator

@raaymax raaymax commented Feb 22, 2024

No description provided.

@raaymax raaymax changed the base branch from master to dev February 22, 2024 14:57
ui/src/core_components/embed/CorePDF.vue Outdated Show resolved Hide resolved
ui/src/core_components/embed/CorePDF.vue Show resolved Hide resolved
ui/src/core_components/embed/CorePDF.vue Outdated Show resolved Hide resolved
cssClasses,
},
events: {
"pdf-load": {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this event being fired? I can't seem to find the code that fires it.

Feel free to remove this event for now, but if you want to keep it:

  • Make sure to trigger it
  • Please rename this one to ss-pdf-load. You shouldn't need to change the core if there's no payload.
  • Also, add a desc here even if we suspect what is, just for consistency.

Note about "ss-" usage:

I strongly prefer to prefix "ss-" and use sanitisation when needed, but when basically forwarding events from other libraries e.g. Google Maps this is potentially a pain as you usually have complex types that can change across versions.

ui/src/core_components/embed/CorePDF.vue Outdated Show resolved Hide resolved
ui/src/core_components/embed/CorePDF.vue Outdated Show resolved Hide resolved
ui/src/core_components/embed/CorePDF.vue Outdated Show resolved Hide resolved
@raaymax raaymax requested a review from ramedina86 February 23, 2024 14:59
@ramedina86
Copy link
Collaborator

Thanks for the changes and the fix

@ramedina86 ramedina86 merged commit ce439ee into writer:dev Feb 25, 2024
12 checks passed
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.

2 participants