fix: default deployed contract functions to expanded state#7147
Merged
Aniket-Engg merged 2 commits intoMay 21, 2026
Merged
Conversation
✅ Deploy Preview for reliable-cocada-166884 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
ioedeveloper
requested changes
Apr 29, 2026
| const { trackMatomoEvent: baseTrackEvent } = useContext(TrackingContext) | ||
| const trackMatomoEvent = <T extends UdappEvent = UdappEvent>(event: T) => baseTrackEvent?.<T>(event) | ||
| const [toggleExpander, setToggleExpander] = useState<boolean>(true) | ||
| const [toggleExpander, setToggleExpander] = useState<boolean>(false) |
Collaborator
There was a problem hiding this comment.
No need to make changes here. This file is deprecated and should be removed.
Author
|
Good catch, reverted , left that file untouched now. |
2492ab2 to
ad7708f
Compare
Change the default expanded state of deployed contracts from collapsed to expanded so developers can immediately interact with functions after deploying. Also update the clickInstance E2E command to check visibility before toggling, ensuring test stability with the new default. Fixes remix-project-org#7132
File is deprecated — no changes needed there.
ad7708f to
249d004
Compare
Aniket-Engg
approved these changes
May 21, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Files changed:
DeployedContractItem.tsx—isExpandeddefault:false→trueuniversalDappUI.tsx—toggleExpanderdefault:true→false(inverted logic, same effect)clickInstance.ts(E2E) — Updated to check visibility before toggling, so tests work correctly with the new defaultFixes #7132
Test plan