-
Notifications
You must be signed in to change notification settings - Fork 26
Adding tippies to Saga Diagram #2412
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
Changes from all commits
2517d8a
2dad94a
39a9d05
3b15dfd
f1ca403
78afc84
8f9885f
f04dc21
95aabb3
accc0cb
dd14e16
33a459c
1709b19
2bb62e0
13b8476
412fc10
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,9 +45,9 @@ watch( | |
<div class="row row--right"> | ||
<div class="cell cell--center"> | ||
<div class="cell-inner cell-inner-line"> | ||
<img class="saga-icon saga-icon--center-cell saga-icon--overlap" :src="SagaTimeoutIcon" alt="" /> | ||
<a v-if="message.HasBeenProcessed" v-tippy="`Scroll to invoked timeout`" class="timeout-status" href="#" @click.prevent="navigateToTimeout" aria-label="timeout requested">Timeout Requested = {{ message.TimeoutFriendly }}</a> | ||
<span v-else class="timeout-status" aria-label="timeout requested">Timeout Requested = {{ message.TimeoutFriendly }}</span> | ||
<img class="saga-icon saga-icon--center-cell saga-icon--overlap" :src="SagaTimeoutIcon" alt="Timeout Request" /> | ||
<a v-if="message.HasBeenProcessed" v-tippy="`View timeout processing details`" class="timeout-status" href="#" @click.prevent="navigateToTimeout" aria-label="timeout requested">Timeout Requested = {{ message.TimeoutFriendly }}</a> | ||
<span v-else class="timeout-status" aria-label="timeout requested" v-tippy="`This timeout has been requested but not yet processed`">Timeout Requested = {{ message.TimeoutFriendly }}</span> | ||
</div> | ||
</div> | ||
<div class="cell cell--side"></div> | ||
|
@@ -65,9 +65,9 @@ watch( | |
'cell-inner-side--active': shouldBeActive, | ||
}" | ||
> | ||
<img class="saga-icon saga-icon--side-cell" :src="TimeoutIcon" alt="" /> | ||
<h2 class="message-title" aria-label="timeout message type">{{ message.FriendlyTypeName }}</h2> | ||
<div class="timestamp" aria-label="timeout message timestamp">{{ message.FormattedTimeSent }}</div> | ||
<img class="saga-icon saga-icon--side-cell" :src="TimeoutIcon" alt="" v-tippy="`Timeout Message`" /> | ||
<h2 class="message-title" aria-label="timeout message type" v-tippy="message.FriendlyTypeName">{{ message.FriendlyTypeName }}</h2> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use EllipsesComponent instead. |
||
<div class="timestamp" aria-label="timeout message timestamp" v-tippy="`Sent at: ${message.FormattedTimeSent}`">{{ message.FormattedTimeSent }}</div> | ||
</div> | ||
<div v-if="showMessageData" class="message-data message-data--active"> | ||
<MessageDataBox :messageData="message.Data" :maximizedTitle="message.FriendlyTypeName" /> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -150,18 +150,23 @@ const hasStateChanges = computed(() => { | |
}" | ||
:data-message-id="update.InitiatingMessage.IsSagaTimeoutMessage ? update.MessageId : ''" | ||
> | ||
<img class="saga-icon saga-icon--side-cell" :src="update.InitiatingMessage.IsSagaTimeoutMessage ? TimeoutIcon : update.InitiatingMessage.IsEventMessage ? EventIcon : CommandIcon" alt="" /> | ||
<h2 class="message-title" aria-label="initiating message type">{{ update.InitiatingMessage.FriendlyTypeName }}</h2> | ||
<div class="timestamp" aria-label="initiating message timestamp">{{ update.InitiatingMessage.FormattedMessageTimestamp }}</div> | ||
<img | ||
class="saga-icon saga-icon--side-cell" | ||
:src="update.InitiatingMessage.IsSagaTimeoutMessage ? TimeoutIcon : update.InitiatingMessage.IsEventMessage ? EventIcon : CommandIcon" | ||
alt="" | ||
v-tippy="update.InitiatingMessage.IsSagaTimeoutMessage ? `Timeout Message` : update.InitiatingMessage.IsEventMessage ? `Event Message` : `Command Message`" | ||
/> | ||
<h2 class="message-title" aria-label="initiating message type" v-tippy="update.InitiatingMessage.FriendlyTypeName">{{ update.InitiatingMessage.FriendlyTypeName }}</h2> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use EllipsesComponent instead. |
||
<div class="timestamp" aria-label="initiating message timestamp" v-tippy="`Received at: ${update.InitiatingMessage.FormattedMessageTimestamp}`">{{ update.InitiatingMessage.FormattedMessageTimestamp }}</div> | ||
</div> | ||
</div> | ||
<div class="cell cell--center cell-flex"> | ||
<div class="cell-inner cell-inner-center cell-inner--align-bottom"> | ||
<template v-if="update.InitiatingMessage.IsSagaTimeoutMessage"> | ||
<img class="saga-icon saga-icon--center-cell" :src="SagaTimeoutIcon" alt="" /> | ||
<img class="saga-icon saga-icon--center-cell" :src="SagaTimeoutIcon" alt="" v-tippy="`Saga Timeout`" /> | ||
<a | ||
v-if="update.InitiatingMessage.HasRelatedTimeoutRequest" | ||
v-tippy="`Scroll to timeout request`" | ||
v-tippy="`View original timeout request`" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 |
||
href="#" | ||
@click.prevent="navigateToTimeoutRequest" | ||
class="saga-status-title saga-status-title--inline timeout-status" | ||
|
@@ -172,9 +177,13 @@ const hasStateChanges = computed(() => { | |
<h2 v-else class="saga-status-title saga-status-title--inline timeout-status" aria-label="timeout invoked">Timeout Invoked</h2> | ||
<br /> | ||
</template> | ||
<img class="saga-icon saga-icon--center-cell" :src="update.IsFirstNode ? SagaInitiatedIcon : SagaUpdatedIcon" alt="" /> | ||
<h2 class="saga-status-title saga-status-title--inline">{{ update.StatusDisplay }}</h2> | ||
<div class="timestamp timestamp--inline" aria-label="time stamp">{{ update.FormattedStartTime }}</div> | ||
<img class="saga-icon saga-icon--center-cell" :src="update.IsFirstNode ? SagaInitiatedIcon : SagaUpdatedIcon" alt="" v-tippy="update.IsFirstNode ? `Saga Initiated` : `Saga Updated`" /> | ||
<h2 class="saga-status-title saga-status-title--inline"> | ||
{{ update.StatusDisplay }} | ||
</h2> | ||
<div class="timestamp timestamp--inline" aria-label="time stamp" v-tippy="`Update time: ${update.FormattedStartTime}`"> | ||
{{ update.FormattedStartTime }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
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.
Use
EllipsesComponent
instead?