-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The goal for the workflow code is to run on all workflows, possibly on circuitpython.org. This requires separating the UI and app logic from the backend (BLE workflos, Web workflow, USB workflow ?). The bundle logic is already separated in circup.js.
- Refactor workflow-directory.js using jquery and cleaner logic.
- Factor out all direct call to the web workflow into a module with a workflow agnostic API.
- First do it for the directory module as a start.
- Apply it to the workflow module next.
- See about splitting the workflow module into the logic (based on the above API) and interface.
- Test the static files version of the bundle (
http://.../bundle/something-7mpy-latest.zipor such). - Get the files from Github when running in the app
UI wise, there are some things to settle too. The current desired logic is to have parameters related to the context as URL parameters, while the current tab is the hash. The page needs to load a bunch of things, not to mention remember the password, so in-page loads are preferred to reloading the page.
- Make the magnifying glass button work.
- Change the icon to something else ?
- Click on it to run auto-install with that file instead of
code.py.
- Ask for the password dynamically.
- When we are doing an action that needs it and none is defined.
- When we get an unauthorized error.
- Listing the files.
- Deleting a file.
- Uploading files from the installer.
- Checkbox to memorize the password (in the NON-secure browser localStorage).
- Handle every error from the workflow backend (unauthorized, etc.)
- Show information about the readonly state of the board.
- Suggest un-mounting the drive on boards that require it.
- Implement rename/move.
- Create empty file with name.
- Share the password in sessionStorage so it works in multiple windows ?
- Figure out how to open/edit files.
- Open the editor in the same window ? This allows using the password.
- Open files in a new window/tab,
using sessionStorage for the password. - Embed the on-board editor (iframe ?) with enrichment.
- Open files in the on-board editor.
- Issue a warning/confirmation dialog when opening a secrets file.
Other features.
- Dedicated UI to edit secrets.py / .env.
- Hides the secret values in password fields.
- Has a list of suggestions, like Adafruit IO entries, time zones, open weather...
- Add cleanup feature for extended attributes files (
._). - Checkboxes to run commands on multiple files.
- Delete.
- Auto-install.
- Bulk download ?
- Special-case the lib directory for direct access rather than just in the list.
- Display files and directories in lib as modules (without losing navigation and edit features).
- Files search/filter at the top of the files list ?
Circup features:
- List/Freeze to produce a text-formatted list of modules and version and requirements.txt.
- Drop a requirements.txt file to install the modules in it.
- Uninstall by name ? (Rather than go in lib and delete).
- Add/Remove to the bundles list ? Where would it be saved though ? Only standalone ?
Now about that Electron standalone app...
- Check that the module imports work in there, seemed complicated.
- Separate local file "workflow" as another backend.
- Download and cache the bundles locally like circup does.
- Figure out how to do BLE for the BLE workflow.
- Check that you can cmd-F in the files list.
Metadata
Metadata
Assignees
Labels
No labels