Skip to content

download-folder-button missing from new file viewΒ #6154

Description

@domi-btnr

Description

When you go to your own Repo and open a Folder, the Download Folder Button doesnt appear. It only appears when you reload the page

Errors:

❌ repo-age
	πŸ“• 22.11.6 β†’ TypeError: Cannot read properties of undefined (reading 'closest')
    	at init (refined-github.js:8705:66)
    	at async runFeature (refined-github.js:3709:20)
    	at async setupPageLoad (refined-github.js:3715:34)

	πŸ” Search issue https://github.com/refined-github/refined-github/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+Cannot+read+properties+of+undefined+%28reading+%27closest%27%29

	🚨 Report issue https://github.com/refined-github/refined-github/issues/new?labels=bug&template=1_bug_report.yml&title=%60repo-age%60%3A+Cannot+read+properties+of+undefined+%28reading+%27closest%27%29&example_urls=https%3A%2F%2Fgithub.com%2FHypedDomi%2FEnmity-Stuff%2Ftree%2Fmain%2FPluginTemplate&description=%60%60%60%0ATypeError%3A+Cannot+read+properties+of+undefined+%28reading+%27closest%27%29%0A++++at+init+%28chrome-extension%3A%2F%2Fhlepfoohegkhhmjieoechaddaejaokhf%2Frefined-github.js%3A8705%3A66%29%0A++++at+async+runFeature+%28chrome-extension%3A%2F%2Fhlepfoohegkhhmjieoechaddaejaokhf%2Frefined-github.js%3A3709%3A20%29%0A++++at+async+setupPageLoad+%28chrome-extension%3A%2F%2Fhlepfoohegkhhmjieoechaddaejaokhf%2Frefined-github.js%3A3715%3A34%29%0A%60%60%60

issue.gif

How to replicate the issue + URL

Go to your own Repo and open a folder. Click the 3 dots. Only Delete Directory appears

URL: https://github.com/HypedDomi/Enmity-Stuff/tree/main/dist

Extension version

22.11.6

Browser(s) used

Brave

Activity

  1. fregante commented on Nov 11, 2022

    @fregante
    Member

    Either due to this summer AJAX refresh or yesterday's File view updates

    Also related:

  2. changed the title [-]Download Folder Button doesn't appear for own Repos[/-] [+]`download-folder-button` doesn't appear for own Repos[/+] on Nov 17, 2022
  3. changed the title [-]`download-folder-button` doesn't appear for own Repos[/-] [+]`download-folder-button` missing from new file view[/+] on Nov 17, 2022
  4. Ifeo-A commented on Feb 5, 2023

    @Ifeo-A

    The download folder button is still not visible, even after reloading the page. On the latest Chrome extension version 23.2.1

    image

  5. fregante commented on Feb 5, 2023

    @fregante
    Member

    Link to that page please

  6. WegnerDan commented on Feb 9, 2023

    @WegnerDan

    The feature works on the new Code View. You have to enable it in docs.github.com/en/repositories/working-with-files/managing-files/navigating-files-with-the-new-code-view

    Ah, I didn't know that. I'm now on the waitlist.

  7. fregante commented on Feb 9, 2023

    @fregante
    Member

    I opened a PR to restore the feature on the old view as well

  8. dxcvvxd commented on Feb 10, 2023

    @dxcvvxd

    I opened a PR to restore the feature on the old view as well

    and it doesnt work on the newest version (23.2.5, Firefox 109.0.1-1 on Arch Linux)

  9. locked as resolved and limited conversation to collaborators on Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions