docker/hub-feedback

No Warning in UI for "Exceeded max number of characters" in Repository overview

Opened this issue · 1 comments

Problem description

I experienced problems when editing the Repository overview description in Markdown in the UI. The Edits where discarded after a reload.

Debug Information

Browser name and version:
Edge Version 120.0.2210.121 (Official build) (64-bit)

URL: https://hub.docker.com/r/cschranz/gpu-jupyter

Timetamp or time range: From 2024-01-16 16:00 until 2024-01-17 07:00 UTC

Hub Username:
cschranz

Error messages (on screen or in browser console)

Within the browser console I've saw this response for the gpu-jupyter/object with a 400 status code.

{
    "message": "httperror 400: request had 1 validation error",
    "errinfo": {
        "fielderrors": {
            "full_description": "Exceeded max number of characters"
        }
    }
}

Screenshots of the issue (if applicable)

image

I shortened the description from 3256 words to under 3000 and this error didn't occur. I suppose there is a hard character limit but no notification in the UI was shown.

Wish for dealing with this

A UI notification if the maximal number of characters is exceeded would be great to mitigate "copy-and-paste" non-updates.

Hello thank you for the heads up on this, we're keeping track to fix it when possible.