-
Notifications
You must be signed in to change notification settings - Fork 157
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
Sentry as option #6759
Sentry as option #6759
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
Results for oCISSharingPerm3 https://drone.owncloud.com/owncloud/web/24585/66/1 💥 The acceptance tests pipeline failed. The build has been cancelled. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally (not speaking for team as a whole) I'm a fan of Sentry and of providing this in general . 🎉
But I'm not happy with the PR as it is right now:
-
I'm not a fan of the
*
imports
Especially not where you changed the existing import.. Please use named imports (and maybe rename setUser to setSentryUser or sentrySetUser or something for more clarity) -
We should not introduce outdated dependencies
Why can't you use an up to date version? Did they really have breaking changes?
Thanks for the comments. Edit: it looks like it can be disabled after all! |
Sorry for the commit message, I was meaning to upload that to my fork. :) |
26ddcf0
to
762e53f
Compare
510b056
to
abdb13e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with these changes (even though it adds 300kb to the vendor bundle), thanks for updating the dependency in the meantime! @dschmidt what about you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm approving to unblock, but please revert the import change before merging
@@ -3,7 +3,7 @@ import { RuntimeConfiguration } from './types' | |||
import { buildApplication, NextApplication } from './application' | |||
import { Store } from 'vuex' | |||
import VueRouter from 'vue-router' | |||
import { VueConstructor } from 'vue' | |||
import Vue from 'vue' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, please don't
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As noted, please rebase and revert the change back to importing VueConstructor instead of Vue (and usage below, ofc)
@@ -3,7 +3,7 @@ import { RuntimeConfiguration } from './types' | |||
import { buildApplication, NextApplication } from './application' | |||
import { Store } from 'vuex' | |||
import VueRouter from 'vue-router' | |||
import { VueConstructor } from 'vue' | |||
import Vue from 'vue' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As noted, please rebase and revert the change back to importing VueConstructor instead of Vue (and usage below, ofc)
* @param runtimeConfiguration | ||
*/ | ||
export const startSentry = (runtimeConfiguration: RuntimeConfiguration): void => { | ||
if (runtimeConfiguration.sentry?.dsn) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also please add this to the docs with a quick note on how to enable
Hey @pascalwengerter @dschmidt, I've applied the suggestions you requested. Can you take a look? Thanks! |
Hey, yes it does look good but I reckon you'll need to rebase on the most recent |
Just did, but the CI is still breaking. Did I miss something? |
packages/web-runtime/package.json
Outdated
@@ -6,7 +6,13 @@ | |||
"dependencies": { | |||
"@fortawesome/fontawesome-free": "^6.1.1", | |||
"@popperjs/core": "^2.4.0", | |||
<<<<<<< HEAD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@javfg 👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about that, should be fixed now.
b136e1e
to
5debb34
Compare
SonarCloud Quality Gate failed. |
Would you take this? This is quite useful for us to get user's issues without having to wait for a ticket.
I've made it optional and configurable.
But.. Our centrally managed Sentry instance doesn't run the latest version, so the config/package version in here is also not the latest.