Skip to content

Conversation

@simonLeary42
Copy link
Collaborator

Screen.Recording.2025-09-26.at.5.14.01.PM.mov

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR improves the user experience by disabling the "Import Key" button until a file is actually selected, preventing users from attempting to import without selecting a file first.

  • Adds disabled state to the import button by default
  • Implements JavaScript logic to enable the button only when a file is selected
  • Updates HTML to include proper IDs for element targeting

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@simonLeary42 simonLeary42 force-pushed the ssh-key-upload-catch branch 2 times, most recently from 3f08a3f to defc155 Compare September 26, 2025 21:20
simonLeary42 and others added 2 commits September 29, 2025 11:32
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

@bryank-cs bryank-cs left a comment

Choose a reason for hiding this comment

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

Good enough until #327 can be complete.

@simonLeary42 simonLeary42 changed the title disable import button until file is uploaded disable import button until file is uploaded, unmask invalid uploaded file error Sep 29, 2025
@simonLeary42 simonLeary42 merged commit a5ee7c2 into main Sep 29, 2025
2 checks passed
@simonLeary42 simonLeary42 deleted the ssh-key-upload-catch branch September 29, 2025 21:08
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.

3 participants