Skip to content

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

Use editor icon for task update field activity

Tianzhou Cheneb5eb9c9f52b
diff --git a/frontend/src/views/TaskActivityPanel.vue b/frontend/src/views/TaskActivityPanel.vue
index 068633524c..0512498c11 100644
--- a/frontend/src/views/TaskActivityPanel.vue
+++ b/frontend/src/views/TaskActivityPanel.vue
@@ -22,24 +22,50 @@
activity.attributes.actionType == 'bytebase.task.create'
"
>
- <div>
- <div class="relative pl-0.5">
- <div
- class="bg-control-bg rounded-full ring-8 ring-white flex items-center justify-center"
+ <div class="relative pl-0.5">
+ <div
+ class="w-7 h-7 bg-control-bg rounded-full ring-8 ring-white flex items-center justify-center"
+ >
+ <svg
+ class="w-5 h-5 text-control"
+ fill="currentColor"
+ viewBox="0 0 20 20"
+ xmlns="http://www.w3.org/2000/svg"
>
- <svg
- class="w-7 h-7 text-control"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- fill-rule="evenodd"
- d="M10 5a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0v-3H6a1 1 0 110-2h3V6a1 1 0 011-1z"
- clip-rule="evenodd"
- ></path>
- </svg>
- </div>
+ <path
+ fill-rule="evenodd"
+ d="M10 5a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0v-3H6a1 1 0 110-2h3V6a1 1 0 011-1z"
+ clip-rule="evenodd"
+ ></path>
+ </svg>
+ </div>
+ </div>
+ </template>
+ <template
+ v-else-if="
+ activity.attributes.actionType ==
+ 'bytebase.task.field.update'
+ "
+ >
+ <div class="relative pl-0.5">
+ <div
+ class="w-7 h-7 bg-control-bg rounded-full ring-8 ring-white flex items-center justify-center"
+ >
+ <svg
+ class="w-5 h-5 text-control"
+ fill="currentColor"
+ viewBox="0 0 20 20"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ d="M17.414 2.586a2 2 0 00-2.828 0L7 10.172V13h2.828l7.586-7.586a2 2 0 000-2.828z"
+ ></path>
+ <path
+ fill-rule="evenodd"
+ d="M2 6a2 2 0 012-2h4a1 1 0 010 2H4v10h10v-4a1 1 0 112 0v4a2 2 0 01-2 2H4a2 2 0 01-2-2V6z"
+ clip-rule="evenodd"
+ ></path>
+ </svg>
</div>
</div>
</template>