mirror of
https://github.com/modrinth/code.git
synced 2026-08-26 17:44:50 +00:00
feat: organization projects page refresh (#6723)
* feat: update org projects page * feat: refresh the transfer projects to org modal * fix: allow full checkbox cell to be clicked * feat: update org link to go to org page * prepr --------- Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
This commit is contained in:
@@ -188,22 +188,25 @@
|
||||
</div>
|
||||
</template>
|
||||
<template #header-select>
|
||||
<div v-tooltip="formatMessage(messages.selectAllBulkEditableProjects)">
|
||||
<div
|
||||
v-tooltip="formatMessage(messages.selectAllBulkEditableProjects)"
|
||||
class="h-full w-full"
|
||||
>
|
||||
<Checkbox
|
||||
class="h-full w-full justify-center"
|
||||
:model-value="allBulkEditableProjectsSelected"
|
||||
@update:model-value="toggleAllBulkEditableProjects()"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
<template #cell-select="{ row: project }">
|
||||
<div>
|
||||
<Checkbox
|
||||
v-tooltip="getBulkEditDisabledTooltip(project)"
|
||||
:disabled="isProjectBulkEditDisabled(project)"
|
||||
:model-value="isProjectSelected(project)"
|
||||
@update:model-value="toggleProjectSelection(project)"
|
||||
/>
|
||||
</div>
|
||||
<Checkbox
|
||||
v-tooltip="getBulkEditDisabledTooltip(project)"
|
||||
class="h-full w-full justify-center"
|
||||
:disabled="isProjectBulkEditDisabled(project)"
|
||||
:model-value="isProjectSelected(project)"
|
||||
@update:model-value="toggleProjectSelection(project)"
|
||||
/>
|
||||
</template>
|
||||
<template #cell-name="{ row: project }">
|
||||
<nuxt-link class="project-name-cell" :to="getProjectUrl(project)">
|
||||
@@ -542,8 +545,8 @@ const projectTableColumns = computed(() => [
|
||||
{
|
||||
key: 'select',
|
||||
width: '3rem',
|
||||
headerClass: '!text-center',
|
||||
cellClass: '!overflow-visible',
|
||||
headerClass: '!p-0',
|
||||
cellClass: '!overflow-visible !p-0',
|
||||
},
|
||||
{
|
||||
key: 'name',
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<Avatar size="sm" :src="organization.icon_url" />
|
||||
<div class="flex flex-col justify-center gap-1">
|
||||
<h2 class="m-0 text-base">
|
||||
<nuxt-link :to="`/organization/${organization.slug}/settings`">
|
||||
<nuxt-link :to="`/organization/${organization.slug}`">
|
||||
{{ organization.name }}
|
||||
</nuxt-link>
|
||||
</h2>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user