Skip to content

refactor: mail nav#2166

Open
JammingBen wants to merge 8 commits intomainfrom
refactor/mail-nav
Open

refactor: mail nav#2166
JammingBen wants to merge 8 commits intomainfrom
refactor/mail-nav

Conversation

@JammingBen
Copy link
Member

@JammingBen JammingBen commented Mar 17, 2026

Refactors the mail nav to use the runtime one instead of its own implementation.

Also simplifies the visibility handling of the mail widget a bit. It was controlled within the component as well as on the outside. This doesn't make sense, so this change simplifies it to control the visibility from the outside only.

Known issue

The mobile 100% view of the nav currently doesn't work.

Next steps

Make the nav look nice like in other apps.

@JammingBen JammingBen self-assigned this Mar 17, 2026
@JammingBen JammingBen added the Type:Maintenance E.g. technical debt, packaging, etc. label Mar 17, 2026
})

onMounted(async () => {
mailComposeEventToken = eventBus.subscribe('app.mail.show-compose-mail', onComposeMail)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using an event bus is the easiest solution I can think of right now. Another possibility would be to work with a store that keeps track of the visibility of the mail widget. But I feel like this wouldn't be an improvement.

@JammingBen JammingBen marked this pull request as ready for review March 17, 2026 15:17
Copy link
Member

@AlexAndBear AlexAndBear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, we should apply the agency design of the nav items in a follow up pr

@AlexAndBear
Copy link
Member

LGTM, we should apply the agency design of the nav items in a follow up pr

@JammingBen made this quick change on this PR. The audacity 🫨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type:Maintenance E.g. technical debt, packaging, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants