Open philipp2310 opened 4 years ago
This has been started but I struggling finding the best way to present the whole thing... Tiles per skill that open a dialog? We want to be able to edit the slots and the utterances
going to a add a new multi line - but pretty formatted - input/datatype in the config.vue/configInput.vue Something like "Synonyms", one input line for text, more lines for the previous inputs and an option to delete lines.
Additionally a "NLU highlighted Input" is required, something where you can possibly mark, but for sure see the slots in a sentence.
Regarding your question: I'd say, yes, tiles per skill to keep a common feel to the installed skills and the skill store. Open in a dialog - maybe, as there is lots of information, I'd argue for a full screen edit mode.
'skillIntents': { "defaultValue": [], "dataType" : "userList", "subType" : "string", "description" : "The intents this skill will be able to handle", "category" : "details", "allowDouble" : false }
---> Only the frontend possibility to add lists
next step: add logic
Wow!
About editing in the UI and sending to github + creating a PR to the Alice repo:
New Skills will only be available in the users github: They are always locked for updates. "Create PR" will somehow propose that skill for project-alice-assistant.
Editing an existing Skill will start from the main project-alice-assistant repo. -> Clone to raspi (happened on install) -> Create a fork in the users account
[x] what happens when the fork already exists or the repo exists because the user was the initial creator? How should changes between the fork and the local version be handled -> don't overwrite the users changes at all cost! Maybe a "AliceSkillKit-Branch". Changes to that might be lost, the user should never edit this manually.
[x] make sure the existing fork has the newest software version, but don't overwrite! -> Change the local version to sync with that fork -> Upload changes to the users fork -> Allow PR creation via UI (-> Popup asking for reason for changes, version, min Alice Version....)
[x] how to handle users that aren't on the latest version? Allow checkout of old versions of a skill???
(please feel free to edit this comment!)
The only option available if the skill is not yet marked for modification.
Only available when there is already an official repo docs Create a Pull Request for the pending changes towards origin
Only available when there is no official repo Create an issue on PA repository proposing the skill for the store.
Only available when there is already an official repo Pull the latest changes from origin and add them to the local skill
Push the local changes to the users repository
Pull the changes from the users repository (when collaborating?)
Only available when there is already an official repo Revert all changes the user did
The only function here listed that is NOT a button on the "cloud"-Tab in DEVMODE. This function is called on initial creation of skill creation.
This is a collection of ideas that should (but don't have to) be improved for skill creation and maintaining.
Please feel free to add ideas by editing or commenting!
Web UI
Creation
Edit
There is already a tab showing that you can edit skills via web interface, but currently there are no functionalities.
Others
ToDo
Documentation
as always!