zoyasiddiqui / NoteNinja

A note-taking app with python code snippets and AI helpers.
MIT License
3 stars 1 forks source link

Resolved Git Issue RenameNote use case not working!! #24

Closed mrdandelion6 closed 11 months ago

mrdandelion6 commented 11 months ago
  1. Refactored Event Handling:

    • Moved all actionPerformed events from the actionPerformed method in EditNoteView inside the constructor for EditNoteView. Now, we use .addActionListener on every button. This restructuring enhances the organization of event handling within the class.
  2. Git Issue Resolution: 'RenameNote use case not working.'

    • Resolved the Git issue related to the 'RenameNote' use case not functioning correctly. Now, each time propertyChange(evt) is fired in EditNoteView, we reset the button text to the new noteTitle stored in EditNoteState. This fix ensures that the button text reflects the most recent note title changes.