Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Enable link to the profile page on the user name

天舟196b07f88b1c
diff --git a/frontend/src/views/TaskActivityPanel.vue b/frontend/src/views/TaskActivityPanel.vue
index c45b7c7a13..f2a590d134 100644
--- a/frontend/src/views/TaskActivityPanel.vue
+++ b/frontend/src/views/TaskActivityPanel.vue
@@ -71,9 +71,11 @@
<div class="ml-3 min-w-0 flex-1">
<div class="min-w-0 flex-1 pt-1 flex justify-between">
<div class="text-sm text-control-light">
- <span class="font-medium text-main whitespace-nowrap">{{
- activity.creator.name
- }}</span>
+ <router-link
+ :to="`/u/${activity.creator.id}`"
+ class="font-medium text-main whitespace-nowrap hover:underline"
+ >{{ activity.creator.name }}</router-link
+ >
<a
:href="'#activity' + (index + 1)"
class="ml-1 anchor-link whitespace-normal"
diff --git a/frontend/src/views/TaskHighlightPanel.vue b/frontend/src/views/TaskHighlightPanel.vue
index f3a604dcb8..414a26e4aa 100644
--- a/frontend/src/views/TaskHighlightPanel.vue
+++ b/frontend/src/views/TaskHighlightPanel.vue
@@ -24,9 +24,11 @@
<div v-if="!$props.new">
<p class="text-sm text-control-light">
#{{ task.id }} opened by
- <span href="#" class="font-medium text-control">{{
- task.creator.name
- }}</span>
+ <router-link
+ :to="`/u/${task.creator.id}`"
+ class="font-medium text-control hover:underline"
+ >{{ task.creator.name }}</router-link
+ >
at
<span href="#" class="font-medium text-control">{{
moment(task.lastUpdatedTs).format("LLL")
diff --git a/frontend/src/views/TaskSidebar.vue b/frontend/src/views/TaskSidebar.vue
index 3bb8fcbcd5..af6eb9c260 100644
--- a/frontend/src/views/TaskSidebar.vue
+++ b/frontend/src/views/TaskSidebar.vue
@@ -133,9 +133,12 @@
<div class="flex-shrink-0">
<BBAvatar :size="'small'" :username="task.creator.name" />
</div>
- <div class="text-sm font-medium text-main">
+ <router-link
+ :to="`/u/${task.creator.id}`"
+ class="text-sm font-medium text-main hover:underline"
+ >
{{ task.creator.name }}
- </div>
+ </router-link>
</li>
</ul>
</div>