Skip to content

Conversation

@YOGESH-08
Copy link
Contributor

📌 Purpose

Previously, uploading a second PDF threw an error.
Now, the FiPlus button is disabled after one PDF is uploaded, with a tooltip saying “Only one PDF file is permitted.”appears on hover.


Corresponding issue: closes #395


🖼️ Showcase

image

🔧 Changes

  • Disabled FiPlus button when a PDF is uploaded
  • Added right-floating tooltip on hover
  • Minor cleanup around FiPlus markup

--> Implemented logic to disable the FiPlus add button when a PDF file is already uploaded, ensuring users can only upload one PDF at a time.

--> Added a tooltip that appears on hover beside the disabled icon, displaying a formal message: “Only one PDF file is permitted.”
@abhitrueprogrammer
Copy link
Collaborator

abhitrueprogrammer commented Nov 15, 2025

interesting. Welcome to the ORG btw :D

@abhitrueprogrammer abhitrueprogrammer merged commit 3b0fa05 into CodeChefVIT:staging Nov 15, 2025
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.

Remove the plus icon for adding more pdfs

2 participants