-
Notifications
You must be signed in to change notification settings - Fork 13
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
Axon 137 sidebar UI new sidebar view for jq ls #154
base: main
Are you sure you want to change the base?
Conversation
src/container.ts
Outdated
this.initializeUriHandler(context, this._analyticsApi, this._bitbucketHelper); | ||
}); | ||
}) | ||
.then(() => { |
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.
how about removing then(), catch the error and log it, and launch all the initialization in a finally() ?
nothing should be conditional to the success or failure of the feature flag initializer because we have default values in case of failure
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.
the downside of the current implementation is that there are two different entrypoint for initializeLegacySidebarView
and it's harder to follow the logic
Demo:
https://www.loom.com/share/6cd9a9ec8fd14dbdbe7aa78966ab4b69