#42298·appsmith

[Bug]: 82 broken image references in the ADS component docs — dead Notion-hosted screenshots and missing docs/ images across 20 folders

Author: auroraxoCreated Sep 27, 2026Updated Sep 29, 2026
  • I have searched the existing issues

Description

The component documentation (app/client/packages/design-system/ads/src/**/**.mdx) references 82 images that cannot load:

1. 9 external images are dead (HTTP 403). DatePicker.mdx (2), SearchInput.mdx (2) and Tab.mdx (5) embed screenshots hosted on private Notion storage (https://s3-us-west-2.amazonaws.com/secure.notion-static.com/...). That bucket requires signed access, so these URLs return 403 Forbidden for everyone and render as broken images. Example from DatePicker.mdx (lines 40, 49):

markdown
![Untitled](https://s3-us-west-2.amazonaws.com/secure.notion-static.com/664c7a08-a953-49f9-89e4-f84396f06101/Untitled.png)
![Untitled](https://s3-us-west-2.amazonaws.com/secure.notion-static.com/bca765c3-3250-4735-980a-571139297389/Untitled.png)

2. 73 relative image paths point at files that do not exist in the repository. Every component's .mdx references ./docs/*.png assets (anatomy, spacing, usage screenshots), but the docs/ directories are missing. Button.mdx alone references three of them:

markdown
![Button anatomy](./docs/button-anatomy.png)     <!-- app/client/packages/design-system/ads/src/Button/docs/button-anatomy.png -->
![Button spacing](./docs/button-spacing.png)     <!-- .../Button/docs/button-spacing.png -->
![iconbutton-usage-on-appsmith](./docs/iconbutton-usage-on-appsmith.png)

The GitHub contents API returns 404 Not Found for app/client/packages/design-system/ads/src/Button/docs on release, and a history query for button-anatomy.png returns zero commits — these paths were never in the tree. Distribution of the 73 missing paths:

directory under ads/src/ missing images
Documentation/docs 28
List/docs 8
Button, Callout, Checkbox, Collapsible, Input, Link, Menu, Popover, Radio, SegmentedControl, Select, Spinner, Switch, Tab, Tag, Toast, ToggleButton (2 each) 34
Documentation/CategoryTokens/docs, Modal 3

Total affected: 20 component/documentation folders, 82 broken references (9 external + 73 in-repo).

Steps To Reproduce

bash
# 1. dead external (403):
curl -sI https://s3-us-west-2.amazonaws.com/secure.notion-static.com/664c7a08-a953-49f9-89e4-f84396f06101/Untitled.png | head -1

# 2. missing in-repo path (404):
curl -s -o /dev/null -w "%{http_code}\n" https://api.github.com/repos/appsmithorg/appsmith/contents/app/client/packages/design-system/ads/src/Button/docs/button-anatomy.png

# 3. or render any of these .mdx files on the release branch and watch the broken images

Environment

Release

Severity

Low (Cosmetic UI issues)

Additional context

Found by docrot, a documentation-rot scan that resolves every image reference in the markdown of the 100 most-used OSS repositories (appsmith is currently the largest single case in that corpus; raw results: auroraxo/docrot). For the Notion-hosted screenshots the likely fix is to move the images into the repo next to the .mdx files (or drop them if outdated); the docs/ image trees either need the screenshots committed or the references cleaned up. Happy to send a PR for either approach if maintainers say which way they want it.