feat: add limits to assistant config and update permissions #2106
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1. Description:
This pull request introduces significant improvements to the Hub Assistant configuration, focusing on validation, permissions, and form usability. The main changes include adding field limits and error messages to the assistant configuration form, updating permission policies to require premium licenses, and enhancing the schema and UI logic for better error handling and user experience.
Validation and Form Usability Improvements
personality,description,location,examplePrompts, andworkflowsinHubItemEntitySchema, along with corresponding error messages in the UI schema to guide users during configuration.Schema and Interface Enhancements
IHubAssistantinterface to include new fields:descriptionandlocation, supporting richer assistant configurations.Permissions and Licensing Updates
Release Documentation
2. Instructions for testing:
Talk with @DavidSpriggs
3. Closes Issues: # https://devtopia.esri.com/dc/hub/issues/14580
Updated meaningful TSDoc to methods including Parameters and Returns, see Documentation Guide
Either ran
npm run changesetor this change does not require a release.These changes have been verified by QA using a
?uiVersionthat includes a PR-Preview of this branch and thev_reqlabel has been applied to the issue.OD-UI E2E tests pass against these changes using a
?uiVersionthat includes a PR-Preview of this branch