-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] serve: Add '--simple-index' parameter #265
Conversation
add options show-hidden and show-details to the serve module
Co-Authored-By: Merlin Beutlberger <r@ndombyte.net>
descriptions changed show-hidden and show-details defaults now to true
@RandomByte i changed the defaults and descriptions |
When is the next release? And will my changes go online then? |
Thanks! I'll merge the server change right away and this one probably tomorrow. I want to go over the naming of the CLI parameters with some colleagues. We'll probably also do a release then 👍 |
@RandomByte thanks a lot. My idea about the naming is not perfect, i know. |
Yeah, I also found |
Feel free to change it, maintainer edit is active! |
@jkoenig134 Sorry but due to absence of some colleagues it might take another day or two to get this merged and released |
No problem! |
I don't really mind about the naming. |
hey @jkoenig134, we discussed this again internally. As Matthias already wrote, UI5 comes with various dot files, so we wonder whether it actually makes sense to offer a switch to hide them. Also, we wonder whether there is any demand in the non-detail directory listing. Do you think you will use these parameters yourself or know of a use case where they would be helpful? |
Hey @RandomByte ! I totally see that point. The dotfile parameter is not necessary. |
Fair enough. It pretty much boiled down to not having the dotfile parameter and renaming the one to activate the simplified "tile" view to |
Thanks. Sounds great. |
Rename parameter "showDetails" to "simpleIndex" with negated meaning Depends on SAP/ui5-server#256
Actually merged as dbe195e, GitHub UI struggled a bit with me composing the squash commit while the master got new commits 🤷🏼♂️ |
The directory listing of the UI5 Server has been overhauled by integrating parts of the serve-index[1] project (see [2]). The '--simple-index' flag allows to toggle between a detailed- and a simplified rendering of the directory index. Thanks to @jkoenig134 for this contribution! [1] https://github.com/expressjs/serve-index [2] SAP/ui5-server#253
Finally! 😆 Thanks guys! |
Showing hidden files and a detailed view is now possible via command line options.
Needs SAP/ui5-server#255 to work properly.
Pull Request Checklist