-
Notifications
You must be signed in to change notification settings - Fork 26
Moved message display to be under /messages #2271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
updateMessageDeleteDate(message); | ||
await downloadHeadersAndBody(message); | ||
failedMessage.value = message; | ||
} catch (err) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed this catch; it was just swalling exceptions
5e7134d
to
c2416b5
Compare
heading="Are you sure you want to retry this message?" | ||
body="Are you sure you want to retry this message?" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
body could be left empty?
@@ -0,0 +1,13 @@ | |||
<script setup lang="ts"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from memory, redirect can be configured in the router config directly, rather than having to have a separate component
heading="Are you sure you want to retry this message?" | ||
body="Are you sure you want to retry this message?" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
body could be left empty?
@@ -96,10 +96,15 @@ const config: RouteItem[] = [ | |||
{ | |||
path: routeLinks.failedMessage.message.template, | |||
title: "Message", | |||
component: () => import("@/components/failedmessages/MessageView.vue"), | |||
component: () => import("@/components/failedmessages/MessageRedirectForBackwardsCompatibility.vue"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think redirects can be done directly rather than through a component
This is in preparation for a new "All messages" area.
The goal is to share the same view for successful and failed messages.
This is a first step in this direction.