w3f / polkadot-wiki

The source of truth for Polkadot.
GNU General Public License v3.0
379 stars 2.35k forks source link

Order Figures in the /assets folder #4067

Closed filippoweb3 closed 1 year ago

filippoweb3 commented 1 year ago

The Figures in the /assets Folder look a bit messy. It would help to go through them and see which one is still used in the wiki and which one is not. I created an "old-figures" folder and we could start to move them there cleaning up a bit.

alfarok commented 1 year ago

Hey @filippoweb3 this is a great idea to help simplify the repo contents. I think we can leverage the link auditing script to generate a list of all local images that are in active markdown docs. Then we can compared this with the contents of the assets folder. Whichever items exist in assets but not in the audit result are likely not used, maybe a quick VSCode search over these to confirm.

Here is the relevant line in the auditing script to find image reference. Let me know if this is useful and I can hack the script locally pretty quickly for an initial assessment.

alfarok commented 1 year ago

~I need to verify this list but~ based on a very quick and dirty python script, these files live in assets but don't show up as markdown image references in the ./docs markdown files. A quick VSCode search was used to identify and remove false positives.

polkadotui-find-the-accounts-page.png
crowdloan-polkadotjs-explained.png
transfer-3.png
teleport_interface.png
spree.jpg
polkadot_adding_proxies.png
Polkadot_logotype_color.svg
blockchain-unbounded.png
polkadot_ui_3.png
ledger-2.png
parachain-roadmap.jpg
polkadot_regular_proxies.png
nominator-update-1.png
kill-proxy-4.png
kusama-guide.png
polkadot_anonymous_proxy.png
polkadot-wiki.png
Polkadot_Logotype_white.png
polkadot_vanity_generator_page.png
kill-proxy-1.png
web3-logo.png
transfer-2.png
transfer-1.png
parity_Signer_restore2.PNG
kusama.gif
polkadot.gif
Kusama_symbol_color.png
polkadot-wechat.jpg
remove_proxies.png
logo.svg
ledger-3.png
account-page-transfers.png
enzyme-generate-seed-phrase.png
kill-proxy-3.png
Kusama-expect-chaos.png
enzyme-copy-your-address.png
regular_proxy_diagram.png
polkadot_multisig_anon.png
time_delay_proxy_screenshot.png
account-send-transfer.png
proxies-example.png
Kusama-white-logo.png
enzyme-choose-a-password.png
Polkadot_Logotype_color.png
polkadotui-copy-account-address.png
Polkadot_symbol_color.png
polkadot_vanity_generate.png
para-id.png
polkadot_ui_2.png
polkadot_save_account.png
polkadotui-select-add-account-on-accounts-page.png
enzyme-open-the-extension.png
polkadotui-create-your-account.png
wechat_page_account.jpg
Polkadot_symbol_white.svg
Web3Foundation_1-100.jpg
parity_Signer_restore1.PNG
PH.png
Cousins_2.png
kill-proxy-2.png
polkadot_ui_1.png
registrar_cancel_judgement.png
xcm-asset-teleportation 2.png
xcm-reserve-asset-transfer 2.png
rococo-two-parachains.png
rococo-ui-connected.png
rococo-lateral-transfer2.png
rococo-lateral-transfer.png
rococo-register-parachain.png
rococo-change-network.png
rococo-downward-transfer.png
rococo-add-json.png
rococo-error.png
rococo-upward-transfer.png
rococo-error-message.png
rococo-fill-out-fields.png
manager-app-polkadot.png
wss04.png
undelegate.png
proposals_updated.png
remove_proxy.png
second_button.png
delegate_state.png
adding_proxy.png
delegate.png
second_confirm.png
second_result.png
authorize_preimage_transaction.png
set_proxy.png
sign_proposal_transaction.png
proxy_vote.png
AQB-electorate.png
Governance-diagram.png
AQB.png
nominate2.png
staking-keys.png
article-1.png
article-4.png
article-5.png
article-3.png
article-2.png
staking-participation-rate.png
05-min.png
06-min.png
08-min.png
07-min.png
vote_defender.jpg
vote_candidate.jpg
submit_bid.jpg
dashboard.jpg
parity.png
kusama_endpoint_parity.png
kusama_endpoint_web3.png
ryo.png
w3f.png
candidates.png
candidate_voted.png
register.png
info.png
referendum.png
claim_1.png
claim_5.png
claim_4.png
claim_2.png
15.jpg
04.jpg
06.jpg
clear.gif
new1.jpg
09.jpg
05.jpg
17.jpg
07.jpg
18.jpg
10.jpg
19.jpg
03.jpg
08.jpg
new2.jpg
11.jpg
polkadotui-find-the-accounts-page.png
create_account.png
faucet_1.png
kusama_polkadotjs_add_account.png
select_address.png
polkadotui-copy-account-address.png
save_generated_account.png
polkadotui-select-add-account-on-accounts-page.png
statemine-asset-transfer-3.png
polkadotui-create-your-account.png
statemine-asset-transfer-1.png
statemine-transfer-asset-2.png
save_backup.png
claim_1.png
claim_5.png
claim_4.png
claim_2.png
new-proposal.jpg
new-motion.jpg
constants.jpg
new-council.jpg
propose.jpg
motion.jpg
chain-selection.png
Nomination-Pools-4.png
nomination-pools-claim.png
Nomination-Pools-3.png
Nomination-Pools-6.png
Transfer.png
Network.png
Identity.png
Proposal.png
Stake.png
Account.png
Proxy.png
Treasury.png
Ambassadors.png
Council.png
Kusama.svg
Parachain.png
network.jpeg
kusama.png
Bridges.png
polkadot-dashboard-create-account.jpg
polkadot-dashboard-bonding.jpg
nominating.jpg
nominating2.jpg
polkadot-dashboard-set-session-key.jpg
validators.png
polkadot-dashboard-create-account.jpg
kusama-dashboard-bonding.png
kusama-dashboard-staking.png
polkadot-dashboard-set-session-key-modal.jpg
polkadot-dashboard-staking-queue.jpg
polkadot-node-seed.jpg
polkadot-overview.jpg
polkadot-dashboard-validate.jpg
kusama-set-session-key-1.png
kusama-dashboard-validate-1.png
kusama-dashboard-validate-2.png
polkadot-dashboard-set-session-key.jpg
polkadot-dashboard-validate-modal.jpg
kusama-set-session-key-2.png
kusama-dashboard-telemetry.png
polkadot_click_restore.png
polkadot_js_04.jpg
polkadot_js_02.png
ps-create-2.jpg
create-multisig.png
parity_save_recovery.png
decode-1.png
polkadot_plugin_js_02.jpg
multisig-4.png
ledger-transaction.png
subkey_01.jpg
companion-transfer2.png
multisig-3.png
polkadot_plugin_js_05.jpg
extenstion-transaction.png
polkadot_js_03.jpg
polkadot_js_05.png
sign-from-multi-1.png
polkadot_plugin_js_01.png
multisig-5.png
polkadot_plugin_js_09.jpg
polkadot_plugin_js_04.jpg
ps-create-4.jpg
polkadot_js_01.png
polkadot_plugin_js_new_02.png
signer-transaction.png
polkadot_plugin_js_07.jpg
decode-2.png
polkadot_plugin_js_new_03.png
parity_recovery_phrase.jpg
multisig-14.png
polkadot.js_restore_account.png
multisig-7.png
polkadot.js_enter_password.png
parity_select_profile.jpeg
multisig-1.png
polkadot_restore_complete.png
multisig-addy.png
ps-create-5.jpg
multisig-6.png
polkadot_enter_password.png
polkadot-js-existing-json.png
polkadot_restore_account.png
parity_click_restore.jpg
polkadot.js_list_accounts.png
multisig-15.png
multisig-12.png
multisig-13.png
parity_enter_password.jpg
polkadot_plugin_js_10.jpg
multisig-16.png
polkadot_plugin_js_02.png
multisig-11.png
ps-create-6.jpg
polkadot_plugin_js_new_01.png
polkadot_plugin_js_08.jpg
multisig-10.png
ps-create-3.jpg
multisig-2.png
parity_restoring_account.jpg
polkadot_plugin_js_11.jpg
polkadot_plugin_js_new_04.png
multisig-9.png
companion-transfer.png
ps-create-1.jpg
send-from-multi.png
polkadot_plugin_js_06.jpg
via_existing_seed_extension_3.png
extension_restore.png
via_existing_seed_1.png
via_existing_seed_extension_2.png
via_json.png
via_existing_seed_2.png
via_existing_seed_extension_4.png
via_existing_seed_3.png
via_existing_seed_extension_1.png
alfarok commented 1 year ago

I updated the list removing a bunch of false positives from the initial run after verifying. Inline html images were the main cases here that I didn't check for in the initial run, such as:

<img src="FalsePositive.png" />

I also ran the diff the opposite direction to see if there were any references that exist in the markdown that aren't actually backed by an image in ./assets but surprisingly didn't find any hits.

alfarok commented 1 year ago

Removal candidates PR -> https://github.com/w3f/polkadot-wiki/pull/4072