Skip to content

added ticket viewer

Latest

Choose a tag to compare

@shresthasameerman shresthasameerman released this 07 Jan 08:50
· 39 commits to main since this release
cf0de4c

Release Notes for Event Management UI

Version 1.5.2

Overview

This release introduces several enhancements and new features to the Event Management UI application, improving user experience and functionality. The application consists of three main components: ui.py, ui2.py, and ticket.py.

Features

ui.py

  • Enhanced Event Cards:
    • Added a "View Details" button on each event card that opens a modal with more information about the event, including a description and a larger image.
  • Improved Responsiveness:
    • Further refined the layout to ensure better usability on smaller screens.
  • Search Functionality:
    • Implemented a search bar at the top of the event list to allow users to filter events by title.

ui2.py

  • Booking Confirmation Email:
    • Added functionality to send a confirmation email to the user after a successful booking (requires SMTP configuration).
  • Input Validation:
    • Enhanced input validation for the booking form to ensure that the mobile number is in the correct format and that the MPIN meets security requirements.
  • Booking Summary:
    • Improved the booking summary display to include a breakdown of the ticket price and total amount.

ticket.py

  • Improved Navigation:
    • Added a navigation menu to allow users to easily switch between different sections of the application.
  • User Feedback:
    • Implemented user feedback messages for actions such as ticket purchases and form submissions to enhance user experience.
  • Event Filtering:
    • Added functionality to filter events based on categories or types, making it easier for users to find relevant events.

Improvements

  • Code Refactoring:
    • Cleaned up and organized the code for better readability and maintainability.
  • Error Handling:
    • Improved error handling for database operations to provide more informative messages to the user.
  • User Interface Enhancements:
    • Updated the color scheme for better contrast and readability.
    • Added hover effects on buttons for a more interactive experience.

Bug Fixes

  • Fixed Image Loading Issues:
    • Resolved issues where images were not loading correctly on some systems.
  • Database Connection Handling:
    • Fixed potential database connection leaks by ensuring connections are properly closed after use.

How to Use

  1. Browsing Events:

    • Open ui.py to view the list of upcoming events.
    • Use the search bar to filter events by title.
    • Click on "View Details" to see more information about an event.
  2. Booking Tickets:

    • In the ticket booking interface (ui2.py), adjust the ticket quantity as needed.
    • Fill in your details in the booking form, ensuring that the mobile number and MPIN are valid.
    • Click the "BOOK TICKET" button to confirm your booking. A confirmation email will be sent to your registered email address.
  3. Navigating the Application:

    • Use the navigation menu in ticket.py to switch between different sections such as Events, Tickets, Stats, and My Account.
      Screenshot from 2025-01-07 14-35-19
      Screenshot from 2025-01-07 14-35-14
      Screenshot from 2025-01-07 14-35-08

Installation

To run the application, ensure you have Python and the required libraries installed. You can install the necessary libraries using the following command:

pip install tkinter pillow