Open Bug 2098064 Opened 1 hour ago

Only show a Local Mode folder path as a link when the folder exists

Categories

(DevTools :: General, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: leo, Unassigned)

References

Details

In the DevTools settings panel, each Local Mode mapping shows its folder path as a link that reveals the folder in the file manager. The path is rendered as a link even when the folder doesn't exist and the panel already shows "This folder doesn't exist, or is invalid." under it.

Render the path as plain text when the folder is missing, and only as a link when it exists.

This applies to both the old settings panel (toolbox-options.js) and the new one (#renderFolder in devtools-settings-local-mode.mjs, from bug 2081851).

You need to log in before you can comment on or make changes to this bug.