-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Core: Fix args values updated from url to control #16508
Core: Fix args values updated from url to control #16508
Conversation
Nx Cloud ReportCI ran the following commands for commit ded097e. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch
Sent with 💌 from NxCloud. |
@tmeasday what are the next steps to get it merged? |
@shilman any chance to get this PR merged? |
Hey @pahan35 -- so things I would like to see on this PR:
|
Actually, looking at this more closely, I am not sure why this is necessary in the (6.4) store @pahan35? Are you sure about this problem? Can you provide a reproduction? We don't render the docs element yet at the time you are emitting, so I cannot see how the emitting you are doing there would help. |
For a repro, you can use your repro repository. There https://recordit.co/qq5aAHEsl5 is a recording with a mentioned problem. As you see, there is primary:false in URL, and it's rendered correctly. However, its control is in the wrong state. |
Finally, I've managed how to update deps, fixed broken tests, and added a new one. @tmeasday could you please have a look? |
Thanks so much @pahan35!! I simplified things a little bit, let me know if you see any problems with it (tests still passing and my reproduction seems to be fixed still!) |
It should be OK. It was a bit unclear to me what Thanks for an improvement from your side! |
@shilman this is good to merge if you are happy with it? |
@pahan35 I've been keeping an eye on this pull request and one thing that I wanted to follow up with you! If you wouldn't mind jumping into our Discord Server and message me (same username)? Have a great weekend! Stay safe |
I've sent a friend request. I'll be on vacation for a week and will return back at November 15 to continue my work on this if there are some problems. Thanks, everybody for your help! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pahan35 I saw the notification and followed up with you, thanks for following up with me, appreciate it! Hope you have a great vacation! Stay safe |
Issue: #15278
Reopened from #16498
What I did
I passed values from URL to ArgsTable by emitting
storyArgsUpdated
with URL args state, which is not populated on the initial render.How to test
Go to the issue and try to reproduce it with these changes.
If a unit test is necessary for this fix, let me know how to write it.