-
Notifications
You must be signed in to change notification settings - Fork 13
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
[TAS-2441] ✨ Implement collector memo section #2002
base: develop
Are you sure you want to change the base?
[TAS-2441] ✨ Implement collector memo section #2002
Conversation
v-if="authorReplied" | ||
:class="[ | ||
'absolute bottom-0 right-[6px]', | ||
authorReplied ? 'group-hover:right-[22px]' : '', |
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.
authorReplied ? 'group-hover:right-[22px]' : '', | |
{ 'group-hover:right-[22px]': authorReplied }, |
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.
]" | ||
:style="bgStyle" | ||
> | ||
<p class="block text-[16px] line-clamp-4">{{ buyerMessage }}</p> |
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.
<p class="block text-[16px] line-clamp-4">{{ buyerMessage }}</p> | |
<p class="block text-[16px] line-clamp-4" v-text="buyerMessage" /> |
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.
buyerMessage() { | ||
return this.message?.buyerMessage; | ||
}, | ||
authorReplied() { |
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.
authorReplied() { | |
hasAuthorReplied() { |
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.
isHistoryInfoLoading: false, | ||
isFinishedLoadingHistory: false, |
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.
isHistoryInfoLoading: false, | |
isFinishedLoadingHistory: false, | |
isHistoryInfoLoading: false, | |
hasHistoryInfoLoaded: false, |
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.
src/util/ui.js
Outdated
export function ellipsisCollectorAddress(value) { | ||
if (value) { | ||
const len = value.length; | ||
const dots = '...'; | ||
if (!value) return ''; | ||
if (value.length > 10) { | ||
return value.substring(0, 8) + dots; | ||
} | ||
return value; | ||
} | ||
return value; | ||
} | ||
|
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.
Can reuse this instead?
Lines 12 to 23 in 447460d
export function ellipsis(value) { | |
if (value) { | |
const len = value.length; | |
const dots = '...'; | |
if (!value) return ''; | |
if (value.length > 20) { | |
return value.substring(0, 8) + dots + value.substring(len - 6, len); | |
} | |
return value; | |
} | |
return value; | |
} |
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.
src/components/ScrollingList.vue
Outdated
durationTime() { | ||
return this.animationDuration; | ||
}, |
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.
maybe add unit here?
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.
src/components/ScrollingList.vue
Outdated
.animate-scroll { | ||
animation: scroll var(--animation-duration, 60s) infinite linear; | ||
} | ||
|
||
.animate-scroll.delay { | ||
animation: scroll var(--animation-duration, 60s) infinite linear; | ||
animation-delay: calc(var(--animation-duration, 60s) * -1); | ||
} |
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.
.animate-scroll { | |
animation: scroll var(--animation-duration, 60s) infinite linear; | |
} | |
.animate-scroll.delay { | |
animation: scroll var(--animation-duration, 60s) infinite linear; | |
animation-delay: calc(var(--animation-duration, 60s) * -1); | |
} | |
.animate-scroll, | |
.animate-scroll.delay { | |
animation: scroll var(--animation-duration, 60s) infinite linear; | |
} | |
.animate-scroll.delay { | |
animation-delay: calc(var(--animation-duration, 60s) * -1); | |
} |
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.
src/components/ScrollingList.vue
Outdated
props: { | ||
animationDuration: { | ||
type: String, | ||
default: '60s', |
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.
Should we add unit here or just number?
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.
default.mp4