🐛 Bug Report: Explore Group Tab Content Moves On Its Own
See original GitHub issue📜 Description
If you have an Organization with a reasonable number of Groups when you go to the Group tab in the Explorer plugin the content moves on it’s own.
We are pretty sure that this PR is where this was introduced: https://github.com/backstage/backstage/pull/14403
👍 Expected behavior
The content should not move on its own
👎 Actual Behavior with Screenshots
When you have many groups the content moves on it’s own. Here’s an example somewhat trimmed down from what we have, this is only using 38 groups, we have 130+.
👟 Reproduction steps
- Navigate to
packages/catalog-mode/examples/acme
- Open the
org.yaml
file - Add the following
- ./expanded-org.yaml
to the end of thetargets:
at the end of the file - Create a new file called
expanded-org.yaml
- Add the content from below to this new file
- From the root of the project run
yarn dev
- Click on Explore in the side bar
- Then click on the Groups tab
Notice: That the content moves on its own 😦
Content for the expanded-org.yaml
file:
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-a
spec:
type: ou
parent: backstage
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-b
spec:
type: ou
parent: backstage
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-c
spec:
type: ou
parent: backstage
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-d
spec:
type: ou
parent: backstage
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-e
spec:
type: ou
parent: backstage
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-f
spec:
type: ou
parent: backstage
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-g
spec:
type: ou
parent: backstage
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-h
spec:
type: ou
parent: backstage
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-i
spec:
type: ou
parent: backstage
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-j
spec:
type: ou
parent: backstage
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-k
spec:
type: ou
parent: backstage
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-l
spec:
type: ou
parent: backstage
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-m
spec:
type: ou
parent: backstage
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-n
spec:
type: ou
parent: backstage
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-o
spec:
type: ou
parent: backstage
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-aa
spec:
type: ou
parent: infrastructure
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-bb
spec:
type: ou
parent: infrastructure
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-cc
spec:
type: ou
parent: infrastructure
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-dd
spec:
type: ou
parent: infrastructure
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-ee
spec:
type: ou
parent: infrastructure
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-ff
spec:
type: ou
parent: infrastructure
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-gg
spec:
type: ou
parent: infrastructure
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-hh
spec:
type: ou
parent: infrastructure
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-ii
spec:
type: ou
parent: boxoffice
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-jj
spec:
type: ou
parent: boxoffice
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-kk
spec:
type: ou
parent: boxoffice
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-ll
spec:
type: ou
parent: boxoffice
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-mm
spec:
type: ou
parent: boxoffice
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-nn
spec:
type: ou
parent: boxoffice
children: []
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: ou-oo
spec:
type: ou
parent: boxoffice
children: []
📃 Provide the context for the Bug.
It’s made this tab unsuable for our organization as we can’t see the content, it takes a long time to render properly, and trying to zoom just makes things worse
🖥️ Your Environment
It’s not environment specific but what your Group content is in the Catalog. If you have many groups this issue will come up
👀 Have you spent some time to check if this bug has been raised before?
- I checked and didn’t find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct
Are you willing to submit PR?
No, I don’t have time to work on this right now
Issue Analytics
- State:
- Created 9 months ago
- Comments:7 (7 by maintainers)
Top GitHub Comments
Hi @vorbrodt, sorry for the slow follow up. I ended up just pulling in the things I needed on my end to fix this so the priority dropped. Now that I’m caught up on things I’ll test this out
I have made a PR for this issue, feel free to check it out and test it. @awanlin