Skip to content

Miscellaneous fixes#502

Merged
floryst merged 3 commits intomainfrom
misc-fixes
Nov 13, 2023
Merged

Miscellaneous fixes#502
floryst merged 3 commits intomainfrom
misc-fixes

Conversation

@floryst
Copy link
Contributor

@floryst floryst commented Nov 10, 2023

  • Allow selection of text in the message list
  • completely disconnect the ResizeObserver on unmount
  • Log out global errors and use a fallback message for error reporting

@floryst floryst requested a review from PaulHax November 10, 2023 22:42
@netlify
Copy link

netlify bot commented Nov 10, 2023

Deploy Preview for volview-dev ready!

Name Link
🔨 Latest commit c9c6270
🔍 Latest deploy log https://app.netlify.com/sites/volview-dev/deploys/654eb1c1d39d0f0008bbc5ac
😎 Deploy Preview https://deploy-preview-502--volview-dev.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@PaulHax PaulHax left a comment

Choose a reason for hiding this comment

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

Objectively better


const onError = (event: ErrorEvent) => {
messageStore.addError('Application error (click for details)', event.error);
console.error(event);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Good! Thinking we should send more errors to Sentry via:
Sentry.captureException https://docs.sentry.io/platforms/javascript/usage/

or

Sentry.init({
  dsn: 'https://your-sentry-server-dsn',
  integrations: [
    new CaptureConsole({
      levels: ['error']
    })
  ],
...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I like this idea! I'll cover this in a later PR.

@floryst floryst added this pull request to the merge queue Nov 13, 2023
Merged via the queue into main with commit 4da7fc8 Nov 13, 2023
@floryst floryst deleted the misc-fixes branch March 21, 2024 16:26
PaulHax pushed a commit to PaulHax/VolView that referenced this pull request Apr 24, 2025
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