Skip to content

General Settings enhancement #197

@iqbal-web

Description

@iqbal-web

What problem does this address?

Currently, when a user does not provide valid API credentials, they are still able to enable Experiments and view Available Experiments. As a result, when navigating to pages, the title generation button appears in the editor. However, clicking the Regenerate button triggers an error because the required AI credentials are missing or invalid.

This creates a confusing user experience and allows users to proceed through workflows that cannot function correctly without mandatory configuration.

ai-expremient.webm

What is your proposed solution?

Since AI credentials are mandatory for experiment-related functionality, the system should enforce credential validation as a prerequisite before enabling any dependent features.

The proposed behavior is as follows:

  • The system must first verify that API credentials are provided and valid.
  • Only after successful validation:
  • The Enable Experiments checkbox should be activated.
  • The Available Experiments options should become selectable.
  • The Save Changes action should be enabled.
  • If credentials are missing or invalid:
  • All experiment-related options must remain disabled.
  • Users should be prevented from proceeding to subsequent steps.
  • Clear guidance should be provided to complete the mandatory credential setup.

This ensures a proper step-by-step flow, prevents invalid configurations, and avoids runtime errors by enforcing required prerequisites before allowing access to dependent features.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    To do

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions