Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Implement AiAssistantTree #9617

Open
wants to merge 23 commits into
base: feat/growi-ai-next
Choose a base branch
from

Conversation

miya
Copy link
Member

@miya miya commented Feb 4, 2025

Task

  • #160106 [GROWI AI Next][特化型アシスタント] アシスタント一覧画面を表示できる
    • #160587 アシスタント一覧画面の実装
    • #160109 アシスタントを取得するための API クライアントの実装
    • #161418 UI からアシスタントを削除できる
    • #161497 ゲストモード時はアシスタント一覧画面を表示できないようにする

ScreenRecord

2025-02-06.16.24.26.mov

Figma

スクリーンショット 2025-02-04 16 47 22

https://www.figma.com/design/ZiEcjZ8sYt6YvowboA5Um6/GROWI-v7?node-id=2837-15014&t=43ajZpBDuHtoyjXy-0

@miya miya requested a review from yuki-takei February 4, 2025 07:47
@miya miya self-assigned this Feb 4, 2025
Copy link

changeset-bot bot commented Feb 4, 2025

⚠️ No Changeset found

Latest commit: fc98415

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@miya miya changed the title Feat/160587 implement ai assistant list view feat: Implement AiAssistant list view Feb 4, 2025
@miya miya changed the title feat: Implement AiAssistant list view feat: Implement AiAssistantTree Feb 6, 2025
{ _id: '1', name: 'thread1' },
{ _id: '2', name: 'thread2' },
{ _id: '3', name: 'thread3' },
];
Copy link
Member Author

Choose a reason for hiding this comment

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

catch (err) {
toastError('アシスタントの削除に失敗しました');
}
}, [aiAssistant._id, onDeleted]);
Copy link
Member Author

@miya miya Feb 6, 2025

Choose a reason for hiding this comment

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

  • ゴミ箱ボタンをクリックした時に AiAssistant を削除できるようにしました
  • Figma にはデザインがありませんでしたが、削除する時に最終確認モーダルを表示しても良いと思いました
    • 必要があれば後続タスクでやろうと思います

}

.grw-ai-assistant-item-container {
.list-group-item {
Copy link
Member

Choose a reason for hiding this comment

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

色については PageTreeItem.module.scss を参考に、別ブロック (// == Colors) に分けて

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants