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

Add delete submission button and overflow menu #1446

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

JamesTessmer
Copy link
Collaborator

This PR is linked to issue: microbiomedata/issues#826
The goal is to add a delete submission button inside an overflow menu that could be added to later.
Clicking the delete button will show a confirmation menu, and when confirmed the submission will be deleted from the front-end schema.

@JamesTessmer JamesTessmer self-assigned this Nov 14, 2024
@marySalvi marySalvi self-requested a review November 14, 2024 20:54
@JamesTessmer JamesTessmer marked this pull request as draft November 14, 2024 23:03
<template #activator="{ on }">
<v-btn
class="ml-1"
icon="mdi-dots-vertical"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know you aren't done yet, but just wanted to point out that the icon prop is a boolean and doesn't take a string. It indicates a type of button, in this case round and 'text' (transparent). Therefore using the icon prop makes the text prop redundant.
Admittedly icon is not an intuitive name for this behavior.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes a lot of sense why it was behaving unexpectedly. Thanks for pointing it out. I think that format is from vuetify 1 since I formatted it after those docs. I’m planning to go through and update all those kinds of things after looking at the vuetify2 docs some more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants