Skip to content

Feature: Customizable "loading" state message in prompts/editor #2038

@JordanW9232

Description

@JordanW9232

In a recent update I noticed that the editor prompt removed the "Received" text while the prompt is in the "loading" state, it is now just an empty string.

I propose it would be useful to have a custom message for the loading state similarly to the waitingMessage property in the theme.

type EditorTheme = {
    validationFailureMode: 'keep' | 'clear';
    style: {
        loadingMessage: () => string; // new property
        waitingMessage: (enterKey: string) => string;
    };
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions