Skip to content

Conversation

@DavidSpriggs
Copy link
Contributor

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

  • Added maximum length and item limits to assistant configuration fields such as personality, description, location, examplePrompts, and workflows in HubItemEntitySchema, along with corresponding error messages in the UI schema to guide users during configuration.
  • Updated the test suite to ensure that new error messages and limits are correctly reflected in the generated UI schema.
    Schema and Interface Enhancements
  • Extended the IHubAssistant interface to include new fields: description and location, supporting richer assistant configurations.
  • Updated the shared entity schema to support new fields and enforce stricter validation.

Permissions and Licensing Updates

  • Changed permission policies for configuring and accessing the Hub Assistant to require the "hub-premium" license, removing previous beta/alpha org restrictions for production environments.

Release Documentation

  • Added a changeset documenting the addition of limits, error messages, and updated permissions for the Hub Assistant configuration form.

2. Instructions for testing:

Talk with @DavidSpriggs

3. Closes Issues: # https://devtopia.esri.com/dc/hub/issues/14580

  1. Updated meaningful TSDoc to methods including Parameters and Returns, see Documentation Guide

  2. Either ran npm run changeset or this change does not require a release.

  3. These changes have been verified by QA using a ?uiVersion that includes a PR-Preview of this branch and the v_req label has been applied to the issue.

  4. OD-UI E2E tests pass against these changes using a ?uiVersion that includes a PR-Preview of this branch

@changeset-bot
Copy link

changeset-bot bot commented Oct 31, 2025

🦋 Changeset detected

Latest commit: 59c01ff

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@esri/hub-common Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

@tomwayson tomwayson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DavidSpriggs DavidSpriggs merged commit 0490306 into master Nov 3, 2025
3 checks passed
@DavidSpriggs DavidSpriggs deleted the feat/14580-add-limits-to-assistant-config branch November 3, 2025 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants