9c12a76c9e
* fix(techdocs): prevent to throw error on undefined 'selection'
Error
TypeError
Message
Failed to execute 'containsNode' on 'Selection': parameter 1 is not of type 'Node'.
Stack Trace
TypeError: parameter 1 is not of type 'Node'.
at https://backstage.mpi-internal.com/static/module-backstage.b2517ed5.js:618:1729
at ul (https://backstage.mpi-internal.com/static/module-react-dom.b4fe5cf3.js:16:24313)
at Ct (https://backstage.mpi-internal.com/static/module-react-dom.b4fe5cf3.js:16:42455)
at qs (https://backstage.mpi-internal.com/static/module-react-dom.b4fe5cf3.js:16:34578)
at Ln (https://backstage.mpi-internal.com/static/module-react-dom.b4fe5cf3.js:24:1590)
at MessagePort.Zn (https://backstage.mpi-internal.com/static/module-react-dom.b4fe5cf3.js:24:1980)
Signed-off-by: Andy LADJADJ <andy.ladjadj@adevinta.com>
* doc: add changeset
Signed-off-by: Andy LADJADJ <andy.ladjadj@adevinta.com>
* chore(techinsights-addon): doesn't load the component for unsuported repositories
Signed-off-by: Andy LADJADJ <andy.ladjadj@adevinta.com>
* Update plugins/techdocs-module-addons-contrib/src/ReportIssue/ReportIssueContent.tsx
Co-authored-by: Thomas Cardonne <thomas.cardonne@adevinta.com>
Signed-off-by: Andy Ladjadj <andy.ladjadj@adevinta.com>
* Update plugins/techdocs-module-addons-contrib/src/ReportIssue/ReportIssueContent.tsx
Co-authored-by: Thomas Cardonne <thomas.cardonne@adevinta.com>
Signed-off-by: Andy Ladjadj <andy.ladjadj@adevinta.com>
* fix: doesn't test that selection contains feebackContainer
Signed-off-by: Andy LADJADJ <andy.ladjadj@adevinta.com>
* ci: update the changeset
Signed-off-by: Andy LADJADJ <andy.ladjadj@adevinta.com>
---------
Signed-off-by: Andy LADJADJ <andy.ladjadj@adevinta.com>
Signed-off-by: Andy Ladjadj <andy.ladjadj@adevinta.com>
Co-authored-by: Thomas Cardonne <thomas.cardonne@adevinta.com>
342 B
342 B
@backstage/plugin-techdocs-module-addons-contrib
| @backstage/plugin-techdocs-module-addons-contrib |
|---|
| patch |
Fixed rendering issues in ReportIssue addon for unsupported repository types and improved shadow DOM event handling. The addon now properly prevents initialization when encountering unsupported repository types and correctly handles selection events within the shadow DOM.