Skip to content

Enhancements: Better input prompts, handling empty lists, and user feedbackEnhance video manager: improved input handling and empty list checks#11

Open
karmakr1920 wants to merge 1 commit intohiteshchoudhary:mainfrom
karmakr1920:fix-update-video-message
Open

Enhancements: Better input prompts, handling empty lists, and user feedbackEnhance video manager: improved input handling and empty list checks#11
karmakr1920 wants to merge 1 commit intohiteshchoudhary:mainfrom
karmakr1920:fix-update-video-message

Conversation

@karmakr1920
Copy link
Copy Markdown

Changes Made:

  1. Update Video:
  • Shows a friendly message when there are no videos available to update.
  • Handles invalid or empty input gracefully.
  1. Delete Video:
  • Shows a clear message when no videos exist to delete.
  • After deletion, a confirmation message is displayed.
  1. User Prompts:
  • Improved clarity in input prompts to guide users better.
  1. Error Handling:
  • Prevents crashes when the user provides non-integer or out-of-range input.
  • Ensures functions exit early if the video list is empty.

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.

1 participant