Skip to content

fix: json format folder environment not updated when switching tabs[INS-5907] - #8823

Merged
notjaywu merged 1 commit into
developfrom
fix/json-environment-editor-issue
Jul 1, 2025
Merged

notjaywu merged 1 commit into
developfrom
fix/json-environment-editor-issue

Conversation

@cwangsmv

@cwangsmv cwangsmv commented Jul 1, 2025

Copy link
Copy Markdown
Contributor

Changes:
Due to react aria upgrade, the environment editor component is unmounted when blur event listener triggered, which leads to json format folder environment not being updated.

Change to saveChanges when tab selection changes and environmentEditorRef exists(which means current tab is nav away from environment editor).

@cwangsmv
cwangsmv requested a review from a team July 1, 2025 02:45
@cwangsmv cwangsmv changed the title Fix folder environment not update issue when switch tab[INS-5907] fix: json format folder environment not updated when switching tabs[INS-5907] Jul 1, 2025
@notjaywu
notjaywu requested a review from xiaodemen July 1, 2025 03:42
@notjaywu
notjaywu merged commit 2dd3dbe into develop Jul 1, 2025
@notjaywu
notjaywu deleted the fix/json-environment-editor-issue branch July 1, 2025 06:23
RoamingLost pushed a commit to RoamingLost/insomnia that referenced this pull request Aug 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants