webui: add file picker#728
Conversation
- add directory/file path autosuggest on user input - add 📁 browse buttons for input output files and corresponding ws://listDir action - browse.html: replace hard-coded format list with ws://config call
|
@ilius: i see there is an error specifically on 3.12, the agent identified it's probably collect-coverage.sh#L4 and can be fixed by changing: rootDir=$(dirname $(dirname $(realpath $(dirname "$0"))))to rootDir=$(git rev-parse --show-toplevel)no sure if this is the real root cause, and if that needs to be in this pr or not 🤔 Updatenot sure if the test failure is intermittent or not but using https://github.com/glowinthedark/pyglossary/actions/runs/27878724674 please let me know if you want this fixed in this pr - I'm assuming not in this scope, right? |
|
@ilius: another issue gml5.2 pointed out which I suspect has nothing to do with the test failure is that |
This reverts commit 640272c.
Problem description
The current Web UI requires user to enter the full path to input and output files, basically just pasting it from somewhere, which is clunky and not easy to use.
Solution
A. Provide path auto-suggest when user starts typing in the inputs
B. Add a 📁 Browse button that mimics a desktop-style file picker.
Changes