-
Notifications
You must be signed in to change notification settings - Fork 377
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
fix: import lg/lu not find all up view #6238
Conversation
@zhixzhan a couple of notes:
|
Agree, will update it.
So if several dialog.lg has referred a 'hello.lg' in dialogA.lg
in dialogB.lg
currently will display
if we flatten it, it would be
here need to choose a {name} to display. Yes we do need some feedback from designer. |
@hatpick Agreed about the the ux design here, let's start a thread with designer, for now, i think it's good for us to take this as a fix, what do you think? |
@boydc2014 I dont think we should show the alias for the import, but we should show the actual imported file name, similar to other languages. For example, imagine there is a constant.ts file in your typescript project that a bunch of other files import, such as: file1.ts content: As you can see in the example above same content from constant.ts has been used with two different aliases, but is that a good UX to show two different items as constant1 and constant2 in the tree view that refer to the same file with the same content? |
Looping @mewa1024 here. |
Yes, I think agree with @hatpick above, but I want to check that I understand the suggestion. Back to the original example, this would appear as
yes? |
Correct, that's my suggestion. |
@sangwoohaan fyi, this is the discussion about imported LG in the all up view. I believe the same behavior is modeled for LU. |
* resolve correct file * indent on import item * lint * change icon, no indent Co-authored-by: Dong Lei <donglei@microsoft.com>
Description
Task Item
close #6188
close #6189
Screenshots