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

feat: redesign of ticket page #85

Merged
merged 11 commits into from Mar 7, 2024
Merged

Conversation

Fjandin
Copy link
Contributor

@Fjandin Fjandin commented Mar 7, 2024

Example

example.mov

feat: add option for transfering multple tickets and emailing or copying share link to clipboard

feat: add ConfirmDialog component for confirmation dialogs

  • Added a new ConfirmDialog component to handle confirmation dialogs with
    a title, description, and confirm action
  • The ConfirmDialog component includes a loading state to prevent multiple
    submissions while waiting for confirmation
  • The onConfirm function is called when the Confirm button is clicked

This commit also includes:

  • Refactored Ticket component to include a selected prop and onSelect
    function to handle selecting tickets
  • Removed unused DropdownMenu components and imports
  • Updated the Ticket component to use the ConfirmDialog for confirming
    ticket deletion and transfer actions
  • Updated the Ticket component to include a forceView state for showing
    QR code without user interaction

feat: add option for transfering multple tickets and emailing or copying share link to clipboard

feat: add ConfirmDialog component for confirmation dialogs

- Added a new ConfirmDialog component to handle confirmation dialogs with
  a title, description, and confirm action
- The ConfirmDialog component includes a loading state to prevent multiple
  submissions while waiting for confirmation
- The onConfirm function is called when the Confirm button is clicked

This commit also includes:
- Refactored Ticket component to include a selected prop and onSelect
  function to handle selecting tickets
- Removed unused DropdownMenu components and imports
- Updated the Ticket component to use the ConfirmDialog for confirming
  ticket deletion and transfer actions
- Updated the Ticket component to include a forceView state for showing
  QR code without user interaction
Copy link

vercel bot commented Mar 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
luttaka ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 7, 2024 1:13pm

src/app/me/tickets/page.tsx Outdated Show resolved Hide resolved
@Fjandin Fjandin requested a review from suuunly March 7, 2024 13:08
Copy link
Contributor

@suuunly suuunly left a comment

Choose a reason for hiding this comment

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

looking good! :D

@Fjandin Fjandin merged commit 0e832bc into main Mar 7, 2024
2 checks passed
@Fjandin Fjandin deleted the Add-variants-and-confirm-dialog branch March 7, 2024 13:18
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.

None yet

2 participants