Skip to content

Latest commit

 

History

History
806 lines (417 loc) · 42.6 KB

File metadata and controls

806 lines (417 loc) · 42.6 KB

Changelog

2.19.1 (2026-08-19)

Bug Fixes

  • PromptInputFooter: align custom content with submit button (#234) (3e6be15)

2.19.0 (2026-08-19)

Features

  • ChatContainer: fit the chat to the on-screen keyboard on mobile (#230) (048bc81)

2.18.0 (2026-08-19)

Features

  • History,Header: use bottom sheet in mobile mode (#229) (348ee8f)

Bug Fixes

  • dismiss action tooltips and support history date format (#228) (26d1035)

2.17.0 (2026-08-18)

Features

  • ChatContainer: add mobile adaptivity for chat components (#226) (b9c7201)
  • ChatContainer: add mobile mode support (#224) (6763051)
  • mdx: add nonce for csp (#227) (c840f6d)

2.16.0 (2026-08-11)

Features

  • ChatContainer: add mascot lifecycle support (#221) (710488b)
  • PromptInput: expose footer customization (#221) (5285086)
  • EmptyContainer: add layout theme variables (#221) (9ec81bc)
  • Header: support custom action order and size (#221) (632976c)
  • Header: add action group enum (#221) (af36e18)

Miscellaneous Chores

  • aikit: add agent development guidelines (#221) (03574a0)

2.15.0 (2026-07-31)

Features

  • markdownrenderer: support mdx plugin and extraProps (#219) (9a96b5e)

Bug Fixes

  • PrompInput: fix types for right suggest logic (#218) (71c301d)

2.14.0 (2026-07-27)

Features

  • History: add Tooltip wrapper to history list row (#215) (3ee7dfb)

Bug Fixes

  • markdown: wrap long words and inline code in table cells (#216) (7f65982)

2.13.0 (2026-07-24)

Features

  • getFunctionCallDoneUpdate: add able pass agruments from function_call (#210) (d7a8bf0)
  • suggestions: pass suggestion context on click (#212) (e263a87)

2.12.0 (2026-07-20)

Features

  • SuggestionItem: add a extra onclick callback (#208) (d8173b5)

2.11.0 (2026-07-09)

Features

2.10.0 (2026-07-09)

Features

  • PromptInputWithSuggestions: use wrapText on the Suggestions (#205) (ae785cd)

2.9.3 (2026-07-08)

Bug Fixes

2.9.2 (2026-07-08)

Bug Fixes

  • MarkdownRenderer: stabilize markdown table layout in messages (#194) (4643463)

2.9.1 (2026-07-07)

Bug Fixes

  • actions: show actions when popup open (#197) (427041b)

2.9.0 (2026-07-06)

Features

  • EmptyContainer: add scrollable suggestion on empty container (#198) (7b335b7)

2.8.0 (2026-07-03)

Features

  • PromptInput: expose textarea control ref (#195) (940b83e)

2.7.0 (2026-06-23)

Features

Bug Fixes

  • css-variables: move css variables to common.css (be5ef8d)

2.6.2 (2026-06-22)

Bug Fixes

2.6.1 (2026-06-18)

Bug Fixes

  • OpenaiAdapter: reasoning problem [COMRADEAGENT-776] (#187) (36dc29d)

2.6.0 (2026-06-18)

Features

  • messages: add virtualization and memoization calculating (#179) (1a8be79)

2.5.1 (2026-06-15)

Bug Fixes

  • MarkdownRenderer: scope yfm theme to the renderer (#184) (48ac1c1)

2.5.0 (2026-06-11)

Features

2.4.0 (2026-06-10)

Features

  • genui: add GenUI toolset renderer and hook (#173) (76c651b)

2.3.0 (2026-06-09)

Features

2.2.0 (2026-06-04)

Features

  • AIStudioChat: modify mcp tool renderer (#168) (c475926)

2.1.0 (2026-06-03)

Features

  • ChatContainer: add ChatContainer story for custom message type (#176) (5fad40e)

2.0.5 (2026-06-01)

Bug Fixes

2.0.4 (2026-05-27)

Bug Fixes

  • OpenaiAdapter: tool loading state [DATAUI-3561] (#171) (3885df5)

2.0.3 (2026-05-26)

Bug Fixes

2.0.2 (2026-05-14)

⚠ BREAKING CHANGES

  • BaseMessage: the default action type unlike is renamed to dislike for consistency with the existing UserRating = 'like' | 'dislike' type. This affects the BaseMessageActionType enum, the action actionType/type string value, and the i18n keyset.

    Migration:

    - {actionType: 'unlike', onClick: handleDislike}
    + {actionType: 'dislike', onClick: handleDislike}
    
    - {type: BaseMessageActionType.Unlike, onClick: handleDislike}
    + {type: BaseMessageActionType.Dislike, onClick: handleDislike}

    If you override action-tooltip-* strings via @gravity-ui/i18n keysets, rename the key:

    - "action-tooltip-unlike": "Dislike"
    + "action-tooltip-dislike": "Dislike"

Bug Fixes

  • AIStudioChat: add watcher for feedback (#166) (350a8af)

2.0.1 (2026-05-14)

Bug Fixes

  • build: fix ts config for build (9c7beae)

2.0.0 (2026-05-14)

⚠ BREAKING CHANGES

  • ChatContainer / AIStudioChat: the nested i18nConfig prop (typed ChatContainerI18nConfig) is removed and replaced with a flat texts prop (typed ChatContainerTexts). Keys are flattened with section prefixes — e.g. i18nConfig.header.defaultTitletexts.headerTitle, i18nConfig.promptInput.placeholdertexts.promptPlaceholder. See ChatContainerTexts in src/components/pages/ChatContainer/types.ts for the full key list (covers header, empty state, prompt input, submit button, history, error, disclaimer).

    Migration:

    - <AIStudioChat
    -   i18nConfig={{
    -     header: {defaultTitle: 'Code Assistant'},
    -     promptInput: {placeholder: 'Ask a coding question...'},
    -   }}
    - />
    + <AIStudioChat
    +   texts={{
    +     headerTitle: 'Code Assistant',
    +     promptPlaceholder: 'Ask a coding question...',
    +   }}
    + />

    The same applies when passing i18nConfig/texts through to ChatContainer directly. Global @gravity-ui/i18n keysets still work as the fallback layer beneath texts.

Non-breaking additions (worth knowing)

  • Header: new optional qa, actionQa, and actionTooltipTexts props for per-instance test identifiers and tooltip text overrides. actionQa partially overrides the default header-action-${id} data-qa; actionTooltipTexts overrides the bundled i18n strings per action (including a {collapsed, opened} subobject for HeaderAction.Folding).
  • MessageList: exports a new MessageListQa enum (Root, Messages) used as default data-qa values; the qa prop on MessageList still wins.
  • PromptInput: PromptInputHeaderConfig, PromptInputBodyConfig, and PromptInputFooterConfig each gain an optional qa field for wrapper-level test identifiers.
  • InputContext (new molecule): React context for prompt-input attachments and chips — paired with useInputContext() hook for consumers inside the provider tree.
  • AIStudioChat (new page): ready-to-use chat with built-in OpenAI streaming support — wraps ChatContainer and manages internal state, requires only an API URL.

Features

  • AIStudioChat: add new pages for easy integrate ai-studio agent (#160) (27fc1ab)
  • docs: updating docs, add generate exports, add llms rules for use lib (6a251e7)
  • Header: add QA props and unified texts customization (#159) (8b09fd8)
  • InputContext: refactor AIStudioChat and create new moclecule (cff8f16)
  • skills: add skills for cursor and claude (7b90fc5)

1.17.1 (2026-05-13)

Bug Fixes

  • MarkdownRenderer: stabilize markdown tables inside BaseMessage (#161) (c62c05d)

1.17.0 (2026-04-29)

Features

1.16.0 (2026-04-14)

Features

1.15.1 (2026-04-03)

Bug Fixes

1.15.0 (2026-03-30)

Features

  • ContextIndicator: add tooltip props for context (deb7841)

1.14.4 (2026-03-26)

Bug Fixes

  • OpenaiAdapter: event loaders [DATAUI-3561] (20ff8f0)

1.14.3 (2026-03-26)

Bug Fixes

  • components: change docs by lib's rules (1b621ce)

1.14.2 (2026-03-20)

Bug Fixes

  • OpenaiAdapter: dedupe when message item completes before tool [DATAUI-3561] (e0b32ff)

1.14.1 (2026-03-18)

Bug Fixes

  • add pass metadata to summarize OpenAIService (abe816b)

1.14.0 (2026-03-17)

Features

  • add method for fetch all conv items (6e81c01)
  • make model and agent public (f32c82e)

1.13.0 (2026-03-17)

Features

1.12.0 (2026-03-13)

Features

  • History: add lazy mode to load more chats (1d2e5c8)

1.11.0 (2026-03-12)

Features

  • OpenaiAdapter: response id [DATAUI-3561] (5fc64a4)

1.10.1 (2026-03-10)

Bug Fixes

  • Header: fix width title (11df75c)

1.10.0 (2026-03-05)

Features

  • add star rating component (7450db4)
  • make two molecules star rating and rating block (12c9ee6)

Bug Fixes

  • fix review issues, refactor some hardcorde (aa53bcf)

1.9.0 (2026-03-03)

Features

  • add user rating support for like / unlike actions (930b865)

1.8.1 (2026-03-03)

Bug Fixes

  • fix-scss: fix scss imports (16ca79c)

1.8.0 (2026-03-03)

Features

  • build: add css files to build (f6854e0)

1.7.0 (2026-02-25)

Features

  • OpenaiAdapter: add conversations adapter [DATAUI-3561] (feb630d)

1.6.0 (2026-02-24)

Features

  • GETTING_STARTED.md: add part about server (85edb57)
  • OpenAIService: add method change model (af27c84)
  • README: update library docs (8c38d5c)

Bug Fixes

  • OpenAIService: fixed correct imports (07cd54f)
  • package-lock: fix dependencies in package lock (73a518a)
  • ResponseStream: delete onFinish cb called twice (3599236)

1.5.0 (2026-02-20)

Features

  • StreamAdapter: add openai stream adapter [DATAUI-3561] (061080c)

1.4.0 (2026-02-13)

Features

  • ChatStatus: add status streamin loading (dce631c)

1.3.5 (2026-02-10)

Bug Fixes

  • useSmartScroll: fix smart scroll in message list (7110281)

1.3.4 (2026-02-05)

Bug Fixes

  • PromptInput: resolve show suggest title without options while streaming (588f87d)

1.3.3 (2026-02-05)

Bug Fixes

  • ChatContainer: add option to hide empty state title and/or description (0c8fa87)

1.3.2 (2026-02-04)

Bug Fixes

  • add newline to notices (1fa3a4c)
  • ChatContainer: add folding logic (a5dac44)
  • small fix to legal files (e41a3ce)

1.3.1 (2026-01-29)

Bug Fixes

  • PromptInput: remove padding from textarea for fullview (526efcc)
  • ToolMessage: change data-qa attribute to qa (4e07493)

1.3.0 (2026-01-27)

Features

  • ThinkingMessage: add default copy logic and hide duplicate assistant actions (3cff655)

1.2.1 (2026-01-23)

Bug Fixes

1.2.0 (2026-01-20)

Features

  • MarkdownRenderer: add blocks memoization and parsing incompled chunks (b283ac8)

1.1.0 (2025-12-17)

Features

  • readme: add ru translate readme (e161d1d)

Bug Fixes

  • MarkdownRenderer: fix color for dark theme (cac5118)

1.0.2 (2025-12-16)

Bug Fixes

  • remove broken link in docs (4f1f90a)

1.0.1 (2025-12-15)

Bug Fixes

  • MessageList: update scroll behaviour (9d74619)

1.0.0 (2025-12-09)

⚠️ Breaking Changes

  • Unification of project actions to one realization via ActionButton

BaseMessage

  • change type name from BaseMessageAction to BaseMessageActionType
  • change prop name type (type of default action) to actionType

Header

  • change additionalActions to base Action type

Bug Fixes

  • dependance: move extra dependencies to peerDependencies (90d8e8d)
  • actions: add extra button props to action (3ea6f26)

0.6.1 (2025-12-09)

Bug Fixes

  • History: fix the search in a list (2776db8)
  • History: improve keyboard navigation (76f86e3)

0.6.0 (2025-12-03)

Features

  • SubmitButton: add cancelable text support and update icon (27f37a0)

0.5.0 (2025-12-02)

Features

  • PromptInputFooterConfig: add submitButtonQa prop (134511b)

0.4.5 (2025-12-02)

Bug Fixes

  • UserMessage: correctly display messages that are wider than the chat (bffc01d)

0.4.4 (2025-11-28)

Bug Fixes

  • Disclaimer: add prop to text variant (9d104f8)

0.4.3 (2025-11-28)

Bug Fixes

  • history and suggest: some fix for history and suggest (e9a850a)

0.4.2 (2025-11-28)

Bug Fixes

  • MessageList: hide assistant actions on submitted status (4365c8e)

0.4.1 (2025-11-27)

Bug Fixes

0.4.0 (2025-11-27)

Features

  • Alert: add collapsible content feature (520eed7)
  • ToolHeader: add 'cancelled' tool message status (3838879)
  • ToolMessage: add autoCollapseOnCancelled prop (4c35662)
  • ToolMessage: add autoCollapseOnSuccess prop (0f2349d)

0.3.2 (2025-11-25)

Bug Fixes

  • texts: some fix for text view and text types (2042a39)

0.3.1 (2025-11-24)

Bug Fixes

  • ChatContainer: change MessageListConfig to extend MessageListProps (8842123)

0.3.0 (2025-11-24)

Features

  • ContextItem: make onRemove props optional (d38dd45)
  • header: add 'withIcon' prop to control icon visibility (2684923)
  • history: add loading state to History (346817b)
  • MessageList: add pagination (8c9d4d1)
  • MessageList: remove message status (57b16e1)
  • PromptInput: add initialValue prop (742d539)
  • PromptInput: remove isSending state and update canSubmit logic (7f92245)

Bug Fixes

  • ChatContainer: fix props for inner components (5d44a8a)
  • HistoryList: use castom loader (86b7208)
  • MessageList: add padding for scroll position (ab5735d)
  • shimmer: remove duplicate mask-clip property (138fb52)
  • shimmer: support dark theme (bfff965)

0.2.2 (2025-11-21)

Bug Fixes

0.2.1 (2025-11-21)

Bug Fixes

  • styles: add some fix for styles ai chat and customizing (bf9adb6)

0.2.0 (2025-11-20)

Features

  • ChatContainer: add background to css variables (20a4e0b)
  • suggestion: add title to suggestion (a37d365)
  • suggestion: add wrap mode for text (1f2f8c9)

0.1.2 (2025-11-19)

Bug Fixes

  • build: fix build package dependencies (ea53950)

0.1.1 (2025-11-19)

Bug Fixes

  • scripts: add playwright test to ci (4fe82d7)
  • scripts: fix start playwright test on release ci (1c5998b)
  • test: fix test script (24b1295)
  • test: fix test script (30067df)

0.1.0 (2025-11-19)

Features

  • MessageList: add default actions for user and assistant messages (da79272)
  • MessageList: conditionally render actions based on message status (b55cc9e)
  • MessageList: implement smart scrolling (a70c0a1)
  • MessageList: minor style improvements (1f9fb7e)

0.0.1 (2025-11-19)

Features

  • action-button: add new atom (719a811)
  • add ToolIndicator component (2beef47)
  • Alert: add Alert component (#18) (508b905)
  • AssistantMessage: add AssistantMessage component (ce187d1)
  • AssistantMessage: register ThinkingMessage renderer for 'thinking' message type (286543d)
  • atom: Add loader (#11) (33a1502)
  • BaseMessage: add BaseMessage component (#17) (ecc19aa)
  • ButtonGroup: add ButtonGroup component (#14) (426517b)
  • ChatContainer: create main container for ai chat (2db3bab)
  • ChatContainer: create main container for ai chat (#36) (9362d72)
  • ChatContent: add new ChatContent template (#33) (e33a7a0)
  • ChatDate: add atom component ChatDate (#20) (132ee92)
  • ContextIndicator: add atom element ContextIndicator (#3) (e0abf03)
  • ContextItem: add ContextItem (#35) (7357425)
  • core: add default types (8f56e20)
  • core: add PromptBox and change core functionality (#21) (77e3b7f)
  • core: change name of lib (17838c6)
  • core: init project (e21a6fb)
  • DiffStat: add a DiffStat component (#9) (3323a5e)
  • Disclaimer: add atom Disclaimer (bc17f4b)
  • EmptyContainer: add template EmptyContainer (ae470ac)
  • header: add Header (#19) (aeb82bf)
  • history: add new history chat (6af132c)
  • MarkdownRenderer: add MarkdownRenderer component (#28) (32a81b1)
  • MarkdownRenderer: add transformOptions prop for customizable markdown rendering (b8b5d2b)
  • MessageBalloon: add MessageBalloon component (#12) (7e703f9)
  • MessageList: add MessageList component (1e6a010)
  • MessageList: add support for 'error' status (8228842)
  • MessageList: add support for 'submitted' status (bea6d69)
  • messages: enhance type safety with generic message parts (d78714e)
  • Shimmer: add Shimmer component (770f252)
  • SubmitButton: create atom SubmitButton (#13) (a89ae0d)
  • Suggestions: add molecule Suggestions (#16) (0ae54a1)
  • system: add default reviewers (5286a62)
  • Tabs: introduce Tabs component (#27) (413dc68)
  • ThinkingMessage: introduce ThinkingMessage component (#32) (8490035)
  • ToolMessage: add ToolMessage component (#22) (8372d3f)
  • UserMessage: add UserMessage component (#25) (89aa28d)
  • useToolMessage: integrate i18n for action labels and status messages (6cb8095)

Bug Fixes

  • BaseMessage: conditionally render action buttons based on presence of actions (d2ebd56)
  • ci: add install browser for playwright (c08a280)
  • ci: add maxDiffPixelRatio test (7237bca)
  • ci: fix release script (1fc004d)
  • ci: fix screnshot name (99d8369)
  • ci: fix workflow (f1c05a8)
  • docs: fix docs (bb9a388)
  • MarkdownRenderer: handle non-string content and improve error logging (813eec8)
  • prompt-input: add new design features and fix problems (473a16f)
  • storybook: fix change themes for all storybook (c34075b)
  • system: fix codeowners nickname (89839fc)
  • tests: fix unit test pattern (e35951f)
  • ToolHeader: add gap spacing to header layout (9378122)
  • ToolHeader: use ActionButton instead custom component (037117c)