I think this could just be on the browser/client side. There could be a browse button to the left of import. The browse could just pop up a file system window and let you pick a file. the import would still tell the the browser to fetch the file.
Not sure what the best way to do it (not very literate at networking stuff), was just throwing a possibility to make it easier for all of us and for my CTRL, C and V buttons on my keyboard
This could be a nice work around as long as the browser does not ask for the path each time of course.
I am just finishing up testing on a VSCode extension that I wrote that allows for publishing to the Hubitat from within VSCode directly. This will allow you to edit the files locally in VSCode and will a single click publish them to Hubitat.
PM me if you want to help test it!
That being said, the real feature request should be for hubitat to codify the publishing api to publish apps/drivers/libraries. Currently its reversed engineered from the web interface
I've been testing @lparks VSCode extension, and I'm already loving it. Much better than my idea actually, never have to go into the the apps/driver code section during testing.