Skip to content

User List View#2

Open
rogaix wants to merge 12 commits into
mainfrom
qxi-user-list-view
Open

User List View#2
rogaix wants to merge 12 commits into
mainfrom
qxi-user-list-view

Conversation

@rogaix

@rogaix rogaix commented Aug 23, 2025

Copy link
Copy Markdown

Added an exemplary user list view where users can be added and deleted. Gotten a little out of hand :D

@rogaix rogaix requested a review from schogges August 23, 2025 01:52

@schogges schogges Aug 25, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ideally this is part of the components package. Did you use npx shadcn-vue@latest add toast to add the component? (ref: https://www.shadcn-vue.com/docs/components/toast.html)

Comment on lines +4 to +21
<div class="flex gap-2">
<Input
v-model="newName"
placeholder="Name"
class="flex-1"
/>
<Input
v-model="newEmail"
placeholder="Email"
class="flex-1"
/>
</div>
<Button
class="bg-slate-500 hover:bg-blue-400 text-white"
@click="createNewUser"
>
Create new user
</Button>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could we use a native <form> for this?

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