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: Update bookmarks tree move to root features #7586

Conversation

jam411
Copy link
Contributor

@jam411 jam411 commented Apr 20, 2023

task: https://redmine.weseek.co.jp/issues/119721

Outline

  • DnD の「ルートに配置する」をコメントアウト
  • 三連ボタンから「ルートに配置する」を選択できるように修正

Screenshot

image

image

Copy link
Contributor Author

@jam411 jam411 left a comment

Choose a reason for hiding this comment

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

MenuItemType を新しく作成したので forceHideMenuItems に追加対応しました。

PageItemControl
-BookmarkItem
 - bookmark のみで使用. 修正不要
-BookmarkList
  - bookmark のみで使用. 修正不要
-SubNavButtons
  - ★list へ push で対応
-PageListItemL
	- IdenticalPathPage
		- ★対応
	- PageList
		- DescendantsPageListSubstance
			- DescendantsPageList
				- DescendantsPageListModal
					- ★対応
				- NotFoundPage
					- ★対応
				- TrashPageList
					- ★対応
	- SearchResultList
		- SearchResultList
			- SearchPageBase
				- PrivateLegacyPages
					- ★対応
				- SearchPage
					- ★対応	
-Item
	- ★対応

@jam411 jam411 requested a review from yuki-takei April 20, 2023 08:47
@jam411 jam411 self-assigned this Apr 20, 2023
@jam411
Copy link
Contributor Author

jam411 commented Apr 27, 2023

BookmarkFolderMenu 周りは https://redmine.weseek.co.jp/issues/119728 でリファクタリングします。

export const BookmarkFolderItemControl = (props: BookmarkFolderItemControlProps): JSX.Element => {
}> = ({
children,
isMoveToRoot,
Copy link
Member

Choose a reason for hiding this comment

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

onClickMoveToRoot がセットされているかどうかで代用できるのでは?
代用できないのだとしたら変数名を canMoveToRoot に変更する

@jam411 jam411 merged commit afe9941 into feat/gw7925-normalize-cypress-test Apr 28, 2023
@jam411 jam411 deleted the feat/115447-119721-update-dnd-root-move branch April 28, 2023 11:55
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