Skip to content

Conversation

@sacrodge
Copy link

@sacrodge sacrodge commented Oct 6, 2025

Problem

Creating a separate component to display just modified files in

Solution

Moved most of the logic from mynahUI.ts but it still has some logic.
Currently bypasses the LSP and backend directly updates the UI. Created separate branch for tackling this issue.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

- added support for changing the component title from LS
- Final stage not wotking yet
- Styled component to be attached to chat prompt window
- Set the default visibility to hidden, which is working
- (x) files modified! status doesn't reflect yet
- component title now changes from LS
- Need more functinalities offloaded from mynah to SL
- For now working on session reset
- Have completely shifted logic to LS and only kept rendering part in mynah
- Was only able to render the modified files not undo buttons
- Using existing fileList and creating a new array like datastructure
- Completely refactored code to have all the logic in LS instead
- mynah-ui just handles the rendering now no logic
- Shifting logic from mynahUI.ts to agenticChatController.ts
- It is the correct place to have business logic, mynahui.ts is just for UI
- Files are rendering but no functionality is working
- LS Sever <-->IDE<-->LS Chat client-->mynahui >>>> Flow diagram
- Files are rendering, files are clickable
- undo and undoall buttons are rendering and are clickable and functional
- However, all the buttons are rendering separately not with the filename
- Files are being rendered and are clickable
- Undo buttons per file are showing and are clickable working
- Undo-all logic not correct and not working
- UndoAll button only undoes the last file modification
- undo buttons work
- File click works
- Files are rendering correctly with undo and undoall buttons
- Buttons are all clickable and working
- However, upon multiple chats, sometimes nothing is rendering
- need further testing
- Files are rendering correctly with undo and undoall buttons
- Buttons are all clickable and working
- However, the sessions are probably not clearing correctly
- Files, buttons rendering and fully functional
- session manager is clearing older files for every new chat
- blockers : undoall is rendered too early
- component should hide initially and show working when prompted
- If no files were modified as a result of the chat it should hide again
- Now session clearing works as expected and shows current file in diff mode
- However, since I am clearing the toolUse data if user clicks on previous files from earlier chat
- they won't see the file in diff. Nothing will actually happen at all
@sacrodge sacrodge changed the base branch from main to feature/hello-world-server October 6, 2025 18:01
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.

1 participant