This repository was archived by the owner on Jul 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 375
feat: apply new deisgn on project tree to solve Critical create actions inaccessible issue on Project Tree #5722
Merged
Changes from 11 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
b28ccb6
save for tmp use
liweitian e3eb0f9
save tmp code
liweitian 00c2025
save for tmp use
liweitian f7f0227
add two more buttons
liweitian b9d690c
update calculation for treeitem text maxwidth
liweitian b1a8c09
show parent icons if a link selected
liweitian 6961ca9
fix resize bug
liweitian e6fa980
fix resize bug
liweitian 9a84a02
remove unused file
liweitian bacb3e5
handle comments
liweitian 639e136
fix truncated treeitem width bug
liweitian 18f6f38
Merge branch 'main' into bug5681-2
boydc2014 ec69f09
remove addTrigger and addDialog Icons
liweitian 6d71ca5
Merge branch 'main' into bug5681-2
liweitian File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
Composer/packages/client/src/components/ProjectTree/AddDialogIcon.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| // Copyright (c) Microsoft Corporation. | ||
| // Licensed under the MIT License. | ||
|
|
||
| /** @jsx jsx */ | ||
| import { jsx } from '@emotion/core'; | ||
| import { NeutralColors } from '@uifabric/fluent-theme'; | ||
| import { createSvgIcon } from '@fluentui/react-icons'; | ||
|
|
||
| const addDialogSvgIcon = ( | ||
| <svg fill="none" height="24" viewBox="0 0 50 39" width="15" xmlns="http://www.w3.org/2000/svg"> | ||
| <path | ||
| d="M38.1353 27.6268V30.0021H42.8801V34.7469H45.2553V30.0021H50.0001V27.6268H45.2553V22.8821H42.8801V27.6268H38.1353Z" | ||
| fill={NeutralColors.gray160} | ||
| /> | ||
| <path | ||
| d="M30.9862 23.8355H35.7533V35.7533H23.8355V23.8355H28.6026V19.0684H7.15066V23.8355H11.9178V35.7533H0V23.8355H4.76711V16.6849H16.6849V11.9178H11.9178V0H23.8355V11.9178H19.0684V16.6849H30.9862V23.8355ZM14.3013 2.38355V9.53421H21.452V2.38355H14.3013ZM9.53421 33.3698V26.2191H2.38355V33.3698H9.53421ZM33.3698 33.3698V26.2191H26.2191V33.3698H33.3698Z" | ||
| fill={NeutralColors.gray160} | ||
| /> | ||
| </svg> | ||
| ); | ||
|
|
||
| const AddDialogIcon = createSvgIcon({ svg: () => addDialogSvgIcon, displayName: 'AddDialogIcon' }); | ||
| export default AddDialogIcon; | ||
23 changes: 23 additions & 0 deletions
23
Composer/packages/client/src/components/ProjectTree/AddTriggerIcon.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| // Copyright (c) Microsoft Corporation. | ||
| // Licensed under the MIT License. | ||
|
|
||
| /** @jsx jsx */ | ||
| import { jsx } from '@emotion/core'; | ||
| import { NeutralColors } from '@uifabric/fluent-theme'; | ||
| import { createSvgIcon } from '@fluentui/react-icons'; | ||
|
|
||
| const addTriggerSvgIcon = ( | ||
| <svg fill="none" height="24" viewBox="0 0 50 39" width="15" xmlns="http://www.w3.org/2000/svg"> | ||
| <path | ||
| d="M23.8584 18.7502H39.9717L8.72168 50.0002H1.6416L11.0166 31.2502H0.0546875L15.6797 0.000244141H33.2334L23.8584 18.7502ZM7.40332 46.8752L32.4033 21.8752H18.8047L28.1797 3.12524H17.6084L5.1084 28.1252H16.0703L6.69531 46.8752H7.40332Z" | ||
| fill={NeutralColors.gray160} | ||
| /> | ||
| <path | ||
| d="M27.3335 39.9992V43.3358H33.9986V50.0008H37.3352V43.3358H44.0002V39.9992H37.3352V33.3341H33.9986V39.9992H27.3335Z" | ||
| fill={NeutralColors.gray160} | ||
| /> | ||
| </svg> | ||
| ); | ||
|
|
||
| const AddTriggerIcon = createSvgIcon({ svg: () => addTriggerSvgIcon, displayName: 'AddTriggerIcon' }); | ||
| export default AddTriggerIcon; | ||
|
liweitian marked this conversation as resolved.
Outdated
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.