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 EditScopePage #9594

Merged

Conversation

miya
Copy link
Member

@miya miya commented Jan 28, 2025

Task

  • #160853 [GROWI AI Next][特化型アシスタント] 確定されたデザインで新規アシスタント作成画面を表示できる

    • #160854 アシスタント共有画面の実装
  • #159151 [GROWI AI Next][特化型アシスタント] 新規作成モーダルから作成ボタンをクリックした時アシスタントデータが作成される

    • #160664 [client] 自分が所属している UserGroup を選択できる
    • #160516 ハードコードしているリクエストボディの置き換え

ScreenRecord

2025-02-03.18.41.15.mov

Figma

スクリーンショット 2025-01-29 13 41 00

https://www.figma.com/design/ZiEcjZ8sYt6YvowboA5Um6/GROWI-v7?node-id=2964-29977&t=aQR4K2nGN7wNoGER-0

@miya miya requested a review from yuki-takei January 28, 2025 02:06
@miya miya self-assigned this Jan 28, 2025
Copy link

changeset-bot bot commented Jan 28, 2025

⚠️ No Changeset found

Latest commit: bcb8bd6

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: Implement AccessScopeDropdown feat: Implement EditScopePage Jan 31, 2025
// if not selected, add it
setSelectedUserGroups([...selectedUserGroups, targetUserGroup]);
}
}, [selectedUserGroupsForAccessScope, selectedUserGroupsForShareScope]);
Copy link
Member

Choose a reason for hiding this comment

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

このあたりの AiAssistantScopeType と AiAssistantAccessScope を無理矢理一緒に取り扱っているコードがちょっとよくないかなあ

Copy link
Member Author

Choose a reason for hiding this comment

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

ShareScope, AccessScope ごとにハンドラを分けました。
commit: 9431da8

グループ選択も ScopeType ごとにハンドラを分けました。type ScopeType は AiAssistantManagementEditShare.tsx 固有の type にしました。
commit: 879700f

@yuki-takei yuki-takei merged commit 0947d79 into feat/growi-ai-next Feb 5, 2025
13 checks passed
@yuki-takei yuki-takei deleted the feat/160664-implement-access-scope-dropdown branch February 5, 2025 10:08
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