Skip to content

docs(chatbot): add component pages#244

Draft
danielleroux wants to merge 16 commits into
developmentfrom
docs/ai-components
Draft

docs(chatbot): add component pages#244
danielleroux wants to merge 16 commits into
developmentfrom
docs/ai-components

Conversation

@danielleroux

@danielleroux danielleroux commented May 28, 2026

Copy link
Copy Markdown
Collaborator

💡 What is the current behavior?

Jira: IX-4307 and IX-4410

🆕 What is the new behavior?

Implementation is here: siemens/ix#2569

👨‍💻 Help & support

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces documentation and sidebar configuration for new AI chatbot components, including an overview, chat input, user message, and AI message. The reviewer provided feedback on several markdown files to align the component descriptions with the repository style guide, specifically recommending the use of plural component names, active voice, and referring to 'users' instead of 'the user'. All review comments are valid and should be addressed.

Comment thread docs/components/chat-input/guide.md Outdated
Comment thread docs/components/chat-input/index.mdx Outdated
Comment thread docs/components/user-message/guide.md Outdated
Comment thread docs/components/user-message/index.mdx Outdated
Comment thread docs/components/ai-message/guide.md Outdated
Comment thread docs/components/ai-message/index.mdx Outdated
@danielleroux danielleroux marked this pull request as draft May 28, 2026 06:31
danielleroux and others added 4 commits May 28, 2026 10:42
Expand the chat-input documentation with a full usage guide (anatomy, options, behavior/overflow, states, dos & don'ts, and related links). Also add three Figma illustration PNGs to static/figma to support the new documentation.
@netlify

netlify Bot commented Jun 10, 2026

Copy link
Copy Markdown

Deploy Preview for industrial-experience ready!

Name Link
🔨 Latest commit 8c6ff35
🔍 Latest deploy log https://app.netlify.com/projects/industrial-experience/deploys/6a4655961a25c60008e98898
😎 Deploy Preview https://deploy-preview-244--industrial-experience.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Jun 10, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c09c44ff-9a1c-444f-b7ea-c48f5233c6ca

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/ai-components

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

* new guide for ai message
* new guide for chat
* new guide for user message
* renamed folder and chat (removed AI)
@kathrinschalber kathrinschalber requested a review from flxlst09 June 22, 2026 12:30

@flxlst09 flxlst09 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Like it, very concise!

  • Chat attachment still open
  • Entries in component overview missing
  • How to link to Conversational guidelines (UX Writing)
  • How to mention that a SDL AI Figma file exists for Siemens users

And some smaller stuff :)

Comment thread docs/components/chat/guide.md
Comment thread docs/components/chat/guide.md
Comment thread docs/components/user-message/index.mdx Outdated
Comment thread docs/components/ai-message/guide.md Outdated
Comment thread docs/components/ai-message/guide.md Outdated
Comment thread docs/components/chat-input/guide.md Outdated
Comment thread docs/components/chat-input/guide.md
Comment thread docs/components/chat-attachment/guide.md Outdated
Comment thread sidebars.ts Outdated
Comment thread sidebars.ts
Add a new Chat attachment usage guide (anatomy, options, behavior, states, dos/don’ts) and include a related Figma image. Refine copy across chat-related docs: AI message, Chat input, and User message (clarify wording and responsiveness). Update sidebars labels for chat and chat-attachment, and update/add several Figma static images.
removed the deeplink to the icon until we know how to do them
@kathrinschalber kathrinschalber requested a review from flxlst09 June 24, 2026 12:02

@flxlst09 flxlst09 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Reviewed the md, preview deployment did not work. Only smaller stuff, good to go once addressed

Comment thread docs/components/chat-attachment/guide.md
Comment thread docs/components/chat-attachment/guide.md Outdated
Comment thread docs/components/chat-attachment/guide.md
@kathrinschalber kathrinschalber requested a review from flxlst09 June 26, 2026 08:54
flxlst09
flxlst09 previously approved these changes Jun 26, 2026
@kathrinschalber kathrinschalber marked this pull request as ready for review June 26, 2026 09:07
@kathrinschalber kathrinschalber requested a review from tokyojen June 26, 2026 09:07
@kathrinschalber kathrinschalber marked this pull request as draft June 26, 2026 13:23

@tokyojen tokyojen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Added quite a lot of comments to try to make sure it matches with Sidhu and our content. Might need to check a few things together.

Comment thread docs/components/ai-message/guide.md

## Options

- **Content:** Keep the response easy to scan. We usually structure longer answers with a short lead sentence followed by lists, short paragraphs or other lightweight content blocks.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is recommended but we have no control over the format of the response. Instead here you should say what the font type and font size is. And the font color as we can control this. If we have this info and if suitable here. If you want to give recommendations about AI behavior feedback you can refer to: https://ix.siemens.io/docs/guidelines/conversational-design/designing-conversations/overview

Comment thread docs/components/ai-message/guide.md

- **Content:** Keep the response easy to scan. We usually structure longer answers with a short lead sentence followed by lists, short paragraphs or other lightweight content blocks.
- **Actions:** Add only message-level actions that users expect after reading, e.g. copy, rate response quality or regenerate. We recommend using subtle tertiary [icon buttons](../icon-button) so actions stay available without competing with the answer.
- **Sources:** If the response is grounded in files, web results or internal data, expose that provenance close to the message content, e.g. with [chips](../chip). Only show sources when they are real and inspectable.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

There are two kinds of resources - inline and also under the message box. Do we want to talk about both? I think both use chips. Need to check.

Also note "Only show sources when they are real and inspectable." - this must be removed as it is not possible to control.

Suggested change
- **Sources:** If the response is grounded in files, web results or internal data, expose that provenance close to the message content, e.g. with [chips](../chip). Only show sources when they are real and inspectable.
- **Sources:** Display all sources after the AI message response within the message box with [chips](../chip).

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Here it's only about the ones under the message box since it is an actual option to enable.

Sources get inspectable by simply adding them to the list - if there is no list, the sources chip makes no sense to show.
For the "real"-part we can discuss 😂 even though I think the bot is only references that we (app builders) feed them, so eventually we're in charge of available sources, arent' we? 🤔

For inline usage there's currently no official component in place, since the official (internal) guideline suggested a chip with less than 24px height (-> hit area too small).

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Decision: find a better wording for inspectable

Comment thread docs/components/ai-message/guide.md Outdated
## Behavior in context

- **Interaction:** User messages keep the submitted prompt visible as the main record of what users asked.
- **Actions:** Message actions are only shown when users hover over the message with a mouse, tap the message on touch devices or reach the message with the `Tab` key.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@kathrinschalber kathrinschalber Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Technically, there's no "hover text". Is it an aria-label? A tooltip? Title? - in every case, we need to add these recommendations to the options section

Also, is this available open source (=text recommendations can be added to this markdown) or inner source (in gitlab)? - in this Figma, it's really difficult to find them

Comment thread docs/components/user-message/guide.md Outdated
Comment thread docs/components/user-message/guide.md Outdated
Comment thread docs/components/user-message/guide.md Outdated
Comment thread docs/components/user-message/guide.md

@tokyojen tokyojen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Added quite a lot of comments to try to make sure it matches with Sidhu and our content. Might need to check a few things together.

Co-authored-by: tokyojen <143795032+tokyojen@users.noreply.github.com>
Editorial updates to chat-related documentation to improve clarity and consistency. Changes include: refine AI message guidance (use ‘generating responses’ wording, link to wording guidelines, limit actions to 4, note thumbs feedback alignment), correct chat-attachment code tab description, clarify chat-attachment usage link to user-message and fix formatting, update chat-input guidance (placeholder punctuation, move/clarify disclaimer guidance with Siemens link, image alt text), and restructure chat guide (restore Dos/Don’ts, reword descriptions, recommend auto-scroll behavior, and advise against limiting visible messages). These are non-functional content updates to improve UX and legal/consistency guidance across docs.
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.

4 participants