Skip to content

fix(ui): nothing appears on lists#10

Open
leocavalcante wants to merge 1 commit intoivanjm3:mainfrom
leocavalcante:fix/lists
Open

fix(ui): nothing appears on lists#10
leocavalcante wants to merge 1 commit intoivanjm3:mainfrom
leocavalcante:fix/lists

Conversation

@leocavalcante
Copy link
Copy Markdown

This pull request makes targeted improvements to the UI update logic, specifically addressing how window resizing is handled and fixing a bug in the reply quoting functionality. The main changes are:

UI resizing logic simplification:

  • Simplified the handleResize method in ui/update.go by removing the switch statement and consistently resizing both emailList and labelList, ensuring they always match the window size. This reduces complexity and potential bugs when switching between states.

Bug fix in reply quoting:

  • Fixed a bug in the reply functionality so that the quoted text in a reply now correctly uses the body of the email being replied to (m.replyTo.Body) instead of the currently viewed email (m.currentEmail.Body). This ensures the reply includes the intended original message.

Closes #9

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.

Works but nothing is displayed in the lists

1 participant