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

Despite having photos uploaded and set for app and bot PFP's, ALT Text on them show "No file chosen" when hovering. #6373

Closed
auxtinn opened this issue Aug 24, 2023 · 2 comments

Comments

@auxtinn
Copy link

auxtinn commented Aug 24, 2023

Description

Despite having photos uploaded and set for app and bot PFP's, ALT Text on them shows "No file chosen" when hovering.

Steps to Reproduce

  • Go to the Discord Developer Portal
  • Create a New Application, or go to an existing one with PFP's set for the App and the Bot attached to the App
  • In the "General Information" tab of the Application, hover over the user-uploaded asset for the Application's "Icon"; noticing the ALT Text that appears saying "No file chosen", despite a file being chosen
  • Now also go to that New Application's "Bot" tab and hover over the user-uploaded asset for the Bot's PFP; noticing the ALT Text that appears saying "No file chosen", despite a file being chosen.

Expected Behavior

There is no ALT Text on user-uploaded Application and Bot Icon/PFP's saying "No file chosen" when a file has already been chosen.

Current Behavior

ALT Text on user-uploaded Application & Bot Icon/PFP's saying "No file chosen" exists even when a file has already been chosen.

Screenshots/Videos

Client and System Information

Browser:
Google Chrome Version 116.0.5845.96 (Official Build) (arm64)

System:
2023 16-inch MacBook Pro (M2 Max); macOS Ventura 13.4.1

@auxtinn auxtinn added the bug label Aug 24, 2023
@DV8FromTheWorld
Copy link
Member

This alt-text comes from the underlying file upload input.
While there may be a file already saved and being used for the bot/app, the upload control represents the current state of the upload control to accept a new file.

As such, the alt-text being "No File Chosen" is accurate. Once you upload a new file, the alt-text will change.

Icon already set

image

A new icon has been selected (save button hasn't been clicked yet)

image

@auxtinn
Copy link
Author

auxtinn commented Aug 24, 2023

Interesting concept

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

No branches or pull requests

2 participants