span-tree icon indicating copy to clipboard operation
span-tree copied to clipboard

seems not work with gitlab 16

Open yurenchen000 opened this issue 1 year ago • 1 comments

//NOTE: gitlab version display need login

  • https://gitlab.com/help GitLab Enterprise Edition 16.10.0-pre 4e07bf86334

  • https://gitlab.gnome.org/help GitLab Community Edition v16.9.1

yurenchen000 avatar Mar 06 '24 23:03 yurenchen000

changes in gitlab 16

  • document.querySelector(".ref-selector") //seems not ready, got null at loading
  • document.querySelector("[data-qa-selector='branches_dropdown']") //never exist
  • document.querySelector(".nav-sidebar") //not exsit anymore, maybe document.querySelector(".super-sidebar")
  • document.querySelector("header") //not always exist, maybe document.querySelector('[data-testid="top-bar"]')

yurenchen000 avatar Mar 07 '24 01:03 yurenchen000

@yurenchen000 I've deployed a patch, for the time being it's a hot fix. Have to do add some code to support the sidebar.

tavyandy97 avatar Apr 02 '24 11:04 tavyandy97

Apologies for the delay, but was busy with my job

tavyandy97 avatar Apr 02 '24 11:04 tavyandy97