denoland / dotland

[Archived] deno.land website
https://deno.land
MIT License
957 stars 626 forks source link

No way in UI to switch between directory view modes without opening a file or editing the url manually #2380

Closed KyleJune closed 2 years ago

KyleJune commented 2 years ago

There are 2 different directory views when in a directory without a mod.ts file but there is no button for switching between the views like there is when viewing a file.

This means if you are in a directory with the documentation view, you won't be able to see the files/directories starting with _ or the files that are not typescript files. Without a button for switching view modes, you have to either navigate to a file with that button then navigate back to the directory or you have to know to add ?code to the url to be able to see all the files and directories.

In the below video, I started in code view then switch to documentation view by editing the url. This just shows the 2 different views and how there isn't a button to switch between them.

https://user-images.githubusercontent.com/3241653/184559795-00836ab9-798d-4859-b01d-fdf57a2b2fcc.mp4

KyleJune commented 2 years ago

Nevermind, there is a button, I just didn't notice it at first. Closing this issue.