Skip to content
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

checking the validation status, new attempt #1097

Merged
merged 2 commits into from
May 11, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 51 additions & 1 deletion web/src/views/DandisetLandingView/DandisetPublish.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,57 @@
</v-row>

<v-row
v-if="currentDandiset.version_validation_errors.length "
v-if="currentDandiset.status === 'Pending'"
class="mb-4 px-1"
no-gutters
>
<v-menu
:nudge-width="200"
>
<template #activator="{ on: menu, attrs }">
<v-tooltip bottom>
<template #activator="{ on: tooltip }">
<v-card
class="amber lighten-5 no-text-transform"
outlined
v-bind="attrs"
v-on="{ ...tooltip, ...menu }"
>
<v-row class="align-center px-4">
<v-col
cols="1"
class="justify-center py-0"
>
<v-icon
color="warning"
class="mr-1"
>
mdi-playlist-remove
</v-icon>
</v-col>
<v-spacer />
<v-col
cols="9"
class="py-0"
>
<div
v-if="currentDandiset"
class="text-caption"
>
Validation of the dandiset is pending.
</div>
</v-col>
</v-row>
</v-card>
</template>
<span>Wait for validation or reload the page</span>
djarecka marked this conversation as resolved.
Show resolved Hide resolved
</v-tooltip>
</template>
</v-menu>
</v-row>

<v-row
v-else-if="currentDandiset.version_validation_errors.length "
class="mb-4 px-1"
no-gutters
>
Expand Down