Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Oct 20, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

App.tsx:
Move fetchModules function from inside the useEffect callback for project to outside of it.
Added onProjectChanged function that calls fetchModules and waits for it to complete.
Pass onProjectChanged to Tabs and Menu components.

Tabs.tsx:
Added onProjectChanged to TabsProps. Removed setProject.
Removed triggerProjectUpdate function.
Call await props.onProjectChange() when project is changed (after renameModuleInProject,
copyModuleInProject, and removeModuleFromProject).
Pass onProjectChange to AddTabDialog component.

AddTabDialog.tsx:
Added onProjectChanged to AddTabDialogProps. Removed setProject.
Call await props.onProjectChange() when project is changed (after addModuleToProject).

Menu.tsx:
Added onProjectChanged to MenuProps.
Pass onProjectChange to FileManageModal component.

FileManageModal.tsx:
Added onProjectChanged to FileManageModalProps. Removed setProject.
Removed triggerProjectUpdate function.
Call await props.onProjectChange() when project is changed (after renameModuleInProject,
copyModuleInProject, addModuleToProject, and removeModuleFromProject).
@pull pull bot locked and limited conversation to collaborators Oct 20, 2025
@pull pull bot added the ⤵️ pull label Oct 20, 2025
@pull pull bot merged commit db70675 into alan412:main Oct 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant