🖼️ Normalize SDP images#2380
Conversation
There was a problem hiding this comment.
Pull request overview
This PR normalizes Stellar Disbursement Platform (SDP) documentation screenshot assets by moving to lowercase, de-duplicated filenames/paths and updating all MDX references accordingly to improve web compatibility and reduce asset churn.
Changes:
- Add/rename SDP screenshot assets under
static/assets/sdp/with normalized lowercase numeric filenames. - Update English and Spanish docs to reference the new
/assets/sdp/*.pngpaths (and adjust some surrounding formatting). - Remove duplicate/unused screenshots per the PR description and re-sequence references to match the new numbering.
Reviewed changes
Copilot reviewed 38 out of 89 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| static/assets/sdp/6.png | Adds normalized SDP screenshot asset. |
| static/assets/sdp/10.png | Adds normalized SDP screenshot asset. |
| static/assets/sdp/12.png | Adds normalized SDP screenshot asset. |
| docs/platforms/stellar-disbursement-platform/admin-guide/user-interface/wallets.mdx | Updates screenshot reference to normalized /assets/sdp/ path. |
| docs/platforms/stellar-disbursement-platform/admin-guide/user-interface/receivers.mdx | Updates screenshot reference to normalized /assets/sdp/ path. |
| docs/platforms/stellar-disbursement-platform/admin-guide/user-interface/payments.mdx | Updates screenshot reference to normalized /assets/sdp/ path. |
| docs/platforms/stellar-disbursement-platform/admin-guide/user-interface/disbursements.mdx | Updates screenshot reference to normalized /assets/sdp/ path. |
| docs/platforms/stellar-disbursement-platform/admin-guide/user-interface/dashboard-home.mdx | Updates screenshot reference and normalizes punctuation in copy. |
| docs/platforms/stellar-disbursement-platform/admin-guide/user-interface/circle-configuration.mdx | Updates Circle screenshots to normalized /assets/sdp/ paths. |
| docs/platforms/stellar-disbursement-platform/admin-guide/user-interface/analytics.mdx | Updates screenshot reference to normalized /assets/sdp/ path. |
| docs/platforms/stellar-disbursement-platform/admin-guide/troubleshooting.mdx | Updates screenshot reference to normalized /assets/sdp/ path. |
| docs/platforms/stellar-disbursement-platform/admin-guide/overview.mdx | Updates screenshot reference and normalizes punctuation in copy. |
| docs/platforms/stellar-disbursement-platform/admin-guide/monitoring.mdx | Updates Grafana screenshots to normalized paths and separates images from list text for readability. |
| docs/platforms/stellar-disbursement-platform/admin-guide/making-your-wallet-sdp-ready.mdx | Updates screenshot reference to normalized /assets/sdp/ path. |
| docs/platforms/stellar-disbursement-platform/admin-guide/getting-started.mdx | Updates multiple screenshots to normalized paths and separates images from list text for readability. |
| docs/platforms/stellar-disbursement-platform/admin-guide/embedded-wallets.mdx | Updates embedded-wallet screenshots to normalized /assets/sdp/ paths. |
| docs/platforms/stellar-disbursement-platform/admin-guide/design-and-architecture.mdx | Updates architecture diagram reference to normalized /assets/sdp/ path. |
| i18n/es/docusaurus-plugin-content-docs/current/platforms/stellar-disbursement-platform/admin-guide/user-interface/wallets.mdx | Updates Spanish screenshot reference to normalized /assets/sdp/ path. |
| i18n/es/docusaurus-plugin-content-docs/current/platforms/stellar-disbursement-platform/admin-guide/user-interface/receivers.mdx | Updates Spanish screenshot reference to normalized /assets/sdp/ path. |
| i18n/es/docusaurus-plugin-content-docs/current/platforms/stellar-disbursement-platform/admin-guide/user-interface/payments.mdx | Updates Spanish screenshot reference to normalized /assets/sdp/ path. |
| i18n/es/docusaurus-plugin-content-docs/current/platforms/stellar-disbursement-platform/admin-guide/user-interface/disbursements.mdx | Updates Spanish screenshot reference to normalized /assets/sdp/ path. |
| i18n/es/docusaurus-plugin-content-docs/current/platforms/stellar-disbursement-platform/admin-guide/user-interface/dashboard-home.mdx | Updates Spanish screenshot reference to normalized /assets/sdp/ path. |
| i18n/es/docusaurus-plugin-content-docs/current/platforms/stellar-disbursement-platform/admin-guide/user-interface/circle-configuration.mdx | Updates Spanish Circle screenshots to normalized /assets/sdp/ paths. |
| i18n/es/docusaurus-plugin-content-docs/current/platforms/stellar-disbursement-platform/admin-guide/user-interface/analytics.mdx | Updates Spanish screenshot reference to normalized /assets/sdp/ path. |
| i18n/es/docusaurus-plugin-content-docs/current/platforms/stellar-disbursement-platform/admin-guide/overview.mdx | Updates Spanish flow diagram reference to normalized /assets/sdp/ path. |
| i18n/es/docusaurus-plugin-content-docs/current/platforms/stellar-disbursement-platform/admin-guide/monitoring.mdx | Updates Spanish Grafana screenshots to normalized paths and separates images from list text. |
| i18n/es/docusaurus-plugin-content-docs/current/platforms/stellar-disbursement-platform/admin-guide/making-your-wallet-sdp-ready.mdx | Updates Spanish registration-flow screenshot to normalized /assets/sdp/ path. |
| i18n/es/docusaurus-plugin-content-docs/current/platforms/stellar-disbursement-platform/admin-guide/getting-started.mdx | Updates multiple Spanish getting-started screenshots to normalized paths and separates images from list text. |
| i18n/es/docusaurus-plugin-content-docs/current/platforms/stellar-disbursement-platform/admin-guide/design-and-architecture.mdx | Updates Spanish architecture diagram reference to normalized /assets/sdp/ path. |
| i18n/es/docusaurus-plugin-content-docs-sdp/current/admin-guide/user-interface/wallets.mdx | Updates Spanish (SDP docs set) screenshot reference to normalized /assets/sdp/ path. |
| i18n/es/docusaurus-plugin-content-docs-sdp/current/admin-guide/user-interface/receivers.mdx | Updates Spanish (SDP docs set) screenshot reference to normalized /assets/sdp/ path. |
| i18n/es/docusaurus-plugin-content-docs-sdp/current/admin-guide/user-interface/payments.mdx | Updates Spanish (SDP docs set) screenshot reference to normalized /assets/sdp/ path. |
| i18n/es/docusaurus-plugin-content-docs-sdp/current/admin-guide/user-interface/disbursements.mdx | Updates Spanish (SDP docs set) screenshot reference to normalized /assets/sdp/ path. |
| i18n/es/docusaurus-plugin-content-docs-sdp/current/admin-guide/user-interface/dashboard-home.mdx | Updates Spanish (SDP docs set) screenshot reference to normalized /assets/sdp/ path. |
| i18n/es/docusaurus-plugin-content-docs-sdp/current/admin-guide/user-interface/circle-configuration.mdx | Updates Spanish (SDP docs set) Circle screenshots to normalized /assets/sdp/ paths. |
| i18n/es/docusaurus-plugin-content-docs-sdp/current/admin-guide/user-interface/analytics.mdx | Updates Spanish (SDP docs set) screenshot reference to normalized /assets/sdp/ path. |
| i18n/es/docusaurus-plugin-content-docs-sdp/current/admin-guide/overview.mdx | Updates Spanish (SDP docs set) flow diagram reference to normalized /assets/sdp/ path. |
| i18n/es/docusaurus-plugin-content-docs-sdp/current/admin-guide/monitoring.mdx | Updates Spanish (SDP docs set) Grafana screenshots to normalized paths and separates images from list text. |
| i18n/es/docusaurus-plugin-content-docs-sdp/current/admin-guide/making-your-wallet-sdp-ready.mdx | Updates Spanish (SDP docs set) registration-flow screenshot reference. |
| i18n/es/docusaurus-plugin-content-docs-sdp/current/admin-guide/getting-started.mdx | Updates multiple Spanish (SDP docs set) getting-started screenshots and separates images from list text. |
| i18n/es/docusaurus-plugin-content-docs-sdp/current/admin-guide/design-and-architecture.mdx | Updates Spanish (SDP docs set) architecture diagram reference to normalized /assets/sdp/ path. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@JFWooten4 - we are removing the i18n directory in favor of Google Translate. We should not translate anything in the Spanish pages. |
|
Got it - no translating there and in the work going forward. For this PR specifically, I don't think I can just "undo" the i18n changes. They are reference and linking changes, with a few added steps and imported images. Since most of it is just updating the static PNG paths, undoing my changes will block compilation since the routes will not resolve. |
Right now the deployment paths of these images use duplicative and uppercase file names. The uppercase part hurts web compatibility, and the duplicate part is just plain obnoxious.
This change reorders the file list to account for what were previously style deviations from numbering. The only exception maintained is a duplicate at 2, which is the transparent version.
It removes image 21, which was a duplicate of 20. And then it updates all the references.
You can use this script to help review: