Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate the faucet page to Redocly #2243

Merged
merged 29 commits into from
Dec 13, 2023
Merged

Migrate the faucet page to Redocly #2243

merged 29 commits into from
Dec 13, 2023

Conversation

JST5000
Copy link
Contributor

@JST5000 JST5000 commented Oct 30, 2023

Migrating this page: https://xrpl.org/xrp-testnet-faucet.html

Steps to migrate

  • Get the developer url (localhost:4000/xrp-testnet-faucet.html) to display a new file that we define in Redocly (likely using Redocly’s equivalent of dactyl-config.yml)
  • Get the basic HTML elements displaying (migrating a lot of page-xrp-faucets.html.jinja without the reactivity or CSS)
  • Add the logic from faucet.js into the page (requires migrating JQuery to React syntax)
  • Fix the css so that it displays like it used to
  • Make sure that clicking “Faucets” from the page top navigation works
  • Make sure that clicking the faucet link from the docs homepage (https://xrpl.org/docs.html) works

Visible pieces of the page to migrate

  1. Some text to be formatted near the top (title + explanation)
  2. A right-hand sidebar that has copyable links for each of the chains
  3. A modal dialogue to pick your network
  4. A button which when you press it triggers a faucet call
  5. A loading icon when the button is clicked that appears underneath (uses class “throbbing” in xrpl-dev-portal)
  6. Headers + text to appear under displaying the retrieved data (transformation is implemented in faucet.js currently)

@JST5000
Copy link
Contributor Author

JST5000 commented Oct 30, 2023

Will take this out of draft when done, wanted to open this as a PR so that work in progress could be used as a reference for others :)

@github-actions
Copy link

Link check report. 553607 links checked.
58 broken links found:
File: out/developer-funding.html Link: ./img/backgrounds/funding-purple.svg
File: out/developer-funding.html Link: ./img/backgrounds/funding-orange.svg
File: out/docs.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/docs.html Link: ./img/backgrounds/cta-home-green.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-purple.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-green.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-orange.svg
File: out/index.html Link: ./img/backgrounds/home-purple.svg
File: out/index.html Link: ./img/backgrounds/home-green.svg
File: out/index.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/index.html Link: ./img/backgrounds/cta-home-green.svg
File: out/index.html Link: ./img/backgrounds/cta-home-magenta.svg
File: out/history.html Link: ./img/backgrounds/history-orange.svg
File: out/history.html Link: ./img/backgrounds/history-purple.svg
File: out/events.html Link: ./img/backgrounds/events-orange.svg
File: out/ambassadors.html Link: ./img/backgrounds/ambassador-purple.svg
File: out/dev-tools.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/dev-tools.html Link: ./img/backgrounds/cta-home-green.svg
File: out/code-samples.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/xrp-overview.html Link: ./img/backgrounds/xrp-overview-blue.svg
File: out/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-magenta.svg
File: out/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-green-2.svg
File: out/impact.html Link: ./img/backgrounds/community-purple.svg
File: out/impact.html Link: ./img/backgrounds/home-green.svg
File: out/impact.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/impact.html Link: ./img/backgrounds/cta-calculator-green.svg
File: out/contribute.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/contribute.html Link: ./img/backgrounds/cta-community-green.svg
File: out/ja/developer-funding.html Link: ./img/backgrounds/funding-purple.svg
File: out/ja/developer-funding.html Link: ./img/backgrounds/funding-orange.svg
File: out/ja/docs.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/ja/docs.html Link: ./img/backgrounds/cta-home-green.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-purple.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-green.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-orange.svg
File: out/ja/index.html Link: ./img/backgrounds/home-purple.svg
File: out/ja/index.html Link: ./img/backgrounds/home-green.svg
File: out/ja/index.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/ja/index.html Link: ./img/backgrounds/cta-home-green.svg
File: out/ja/index.html Link: ./img/backgrounds/cta-home-magenta.svg
File: out/ja/history.html Link: ./img/backgrounds/history-orange.svg
File: out/ja/history.html Link: ./img/backgrounds/history-purple.svg
File: out/ja/events.html Link: ./img/backgrounds/events-orange.svg
File: out/ja/ambassadors.html Link: ./img/backgrounds/ambassador-purple.svg
File: out/ja/dev-tools.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/ja/dev-tools.html Link: ./img/backgrounds/cta-home-green.svg
File: out/ja/code-samples.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/ja/xrp-overview.html Link: ./img/backgrounds/xrp-overview-blue.svg
File: out/ja/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-magenta.svg
File: out/ja/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-green-2.svg
File: out/ja/impact.html Link: ./img/backgrounds/community-purple.svg
File: out/ja/impact.html Link: ./img/backgrounds/home-green.svg
File: out/ja/impact.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/ja/impact.html Link: ./img/backgrounds/cta-calculator-green.svg
File: out/ja/contribute.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/ja/contribute.html Link: ./img/backgrounds/cta-community-green.svg

Preview: https://XRPLF.github.io/xrpl-dev-portal/pr-preview/jm-faucets/

Style Report

@JST5000 JST5000 changed the title Get basic HTML loading for faucet page Migrate the faucet page to Redocly Oct 31, 2023
Copy link

socket-security bot commented Nov 2, 2023

New dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
xrpl 3.0.0-beta.1 network +11 13.7 MB ckniffen

@JST5000 JST5000 marked this pull request as ready for review November 7, 2023 01:10
Copy link

github-actions bot commented Nov 7, 2023

Link check report. 553607 links checked.
58 broken links found:
File: out/contribute.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/contribute.html Link: ./img/backgrounds/cta-community-green.svg
File: out/docs.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/docs.html Link: ./img/backgrounds/cta-home-green.svg
File: out/history.html Link: ./img/backgrounds/history-orange.svg
File: out/history.html Link: ./img/backgrounds/history-purple.svg
File: out/impact.html Link: ./img/backgrounds/community-purple.svg
File: out/impact.html Link: ./img/backgrounds/home-green.svg
File: out/impact.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/impact.html Link: ./img/backgrounds/cta-calculator-green.svg
File: out/code-samples.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/events.html Link: ./img/backgrounds/events-orange.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-purple.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-green.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-orange.svg
File: out/ambassadors.html Link: ./img/backgrounds/ambassador-purple.svg
File: out/index.html Link: ./img/backgrounds/home-purple.svg
File: out/index.html Link: ./img/backgrounds/home-green.svg
File: out/index.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/index.html Link: ./img/backgrounds/cta-home-green.svg
File: out/index.html Link: ./img/backgrounds/cta-home-magenta.svg
File: out/developer-funding.html Link: ./img/backgrounds/funding-purple.svg
File: out/developer-funding.html Link: ./img/backgrounds/funding-orange.svg
File: out/dev-tools.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/dev-tools.html Link: ./img/backgrounds/cta-home-green.svg
File: out/xrp-overview.html Link: ./img/backgrounds/xrp-overview-blue.svg
File: out/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-magenta.svg
File: out/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-green-2.svg
File: out/ja/contribute.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/ja/contribute.html Link: ./img/backgrounds/cta-community-green.svg
File: out/ja/docs.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/ja/docs.html Link: ./img/backgrounds/cta-home-green.svg
File: out/ja/history.html Link: ./img/backgrounds/history-orange.svg
File: out/ja/history.html Link: ./img/backgrounds/history-purple.svg
File: out/ja/impact.html Link: ./img/backgrounds/community-purple.svg
File: out/ja/impact.html Link: ./img/backgrounds/home-green.svg
File: out/ja/impact.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/ja/impact.html Link: ./img/backgrounds/cta-calculator-green.svg
File: out/ja/code-samples.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/ja/events.html Link: ./img/backgrounds/events-orange.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-purple.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-green.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-orange.svg
File: out/ja/ambassadors.html Link: ./img/backgrounds/ambassador-purple.svg
File: out/ja/index.html Link: ./img/backgrounds/home-purple.svg
File: out/ja/index.html Link: ./img/backgrounds/home-green.svg
File: out/ja/index.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/ja/index.html Link: ./img/backgrounds/cta-home-green.svg
File: out/ja/index.html Link: ./img/backgrounds/cta-home-magenta.svg
File: out/ja/developer-funding.html Link: ./img/backgrounds/funding-purple.svg
File: out/ja/developer-funding.html Link: ./img/backgrounds/funding-orange.svg
File: out/ja/dev-tools.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/ja/dev-tools.html Link: ./img/backgrounds/cta-home-green.svg
File: out/ja/xrp-overview.html Link: ./img/backgrounds/xrp-overview-blue.svg
File: out/ja/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-magenta.svg
File: out/ja/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-green-2.svg

Preview: https://XRPLF.github.io/xrpl-dev-portal/pr-preview/jm-faucets/

Style Report

@JST5000
Copy link
Contributor Author

JST5000 commented Nov 8, 2023

TODO before merging: Double check that the link from the top nav has a nice name for the page. (As opposed to a filename)

@JST5000 JST5000 requested review from mDuo13 and pdp2121 November 8, 2023 23:52
@JST5000
Copy link
Contributor Author

JST5000 commented Nov 8, 2023

Remaining to fix:

  • AMM Devnet faucet isn't working in my branch (specifically when trying to use fundWallet) - Currently investigating.
  • Making the files more readable by breaking out longer lines (feedback from @ckniffen )
  • Making top-nav link have a nice header instead of a filename / path
  • Fix build preview (unsure why it's broken, I don't have access to the logs)

@XRPLF XRPLF deleted a comment from github-actions bot Nov 13, 2023
@XRPLF XRPLF deleted a comment from github-actions bot Nov 13, 2023
@XRPLF XRPLF deleted a comment from github-actions bot Nov 13, 2023
@XRPLF XRPLF deleted a comment from github-actions bot Nov 13, 2023
@XRPLF XRPLF deleted a comment from github-actions bot Nov 13, 2023
@XRPLF XRPLF deleted a comment from github-actions bot Nov 13, 2023
@XRPLF XRPLF deleted a comment from github-actions bot Nov 13, 2023
@XRPLF XRPLF deleted a comment from github-actions bot Nov 13, 2023
@XRPLF XRPLF deleted a comment from github-actions bot Nov 13, 2023
Copy link

Link check report. 553607 links checked.
97 broken links found:
File: out/offline-account-setup.html Link: /dev-tools/xrp-faucets
File: out/get-started-using-python.html Link: /dev-tools/xrp-faucets
File: out/get-started-using-python.html Link: /dev-tools/xrp-faucets
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-purple.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-green.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-orange.svg
File: out/get-started-using-javascript.html Link: /dev-tools/xrp-faucets
File: out/connect-your-rippled-to-the-xrp-test-net.html Link: /dev-tools/xrp-faucets
File: out/build-a-desktop-wallet-in-python.html Link: /dev-tools/xrp-faucets
File: out/build-a-desktop-wallet-in-python.html Link: /dev-tools/xrp-faucets
File: out/build-a-desktop-wallet-in-python.html Link: /dev-tools/xrp-faucets
File: out/xrp-overview.html Link: ./img/backgrounds/xrp-overview-blue.svg
File: out/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-magenta.svg
File: out/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-green-2.svg
File: out/use-payment-channels.html Link: /dev-tools/xrp-faucets
File: out/history.html Link: ./img/backgrounds/history-orange.svg
File: out/history.html Link: ./img/backgrounds/history-purple.svg
File: out/impact.html Link: ./img/backgrounds/community-purple.svg
File: out/impact.html Link: ./img/backgrounds/home-green.svg
File: out/impact.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/impact.html Link: ./img/backgrounds/cta-calculator-green.svg
File: out/dev-tools.html Link: /dev-tools/xrp-faucets
File: out/dev-tools.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/dev-tools.html Link: ./img/backgrounds/cta-home-green.svg
File: out/contribute.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/contribute.html Link: ./img/backgrounds/cta-community-green.svg
File: out/developer-funding.html Link: ./img/backgrounds/funding-purple.svg
File: out/developer-funding.html Link: ./img/backgrounds/funding-orange.svg
File: out/code-samples.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/index.html Link: ./img/backgrounds/home-purple.svg
File: out/index.html Link: ./img/backgrounds/home-green.svg
File: out/index.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/index.html Link: ./img/backgrounds/cta-home-green.svg
File: out/index.html Link: ./img/backgrounds/cta-home-magenta.svg
File: out/parallel-networks.html Link: /dev-tools/xrp-faucets
File: out/ambassadors.html Link: ./img/backgrounds/ambassador-purple.svg
File: out/docs.html Link: .//dev-tools/xrp-faucets
File: out/docs.html Link: ./dev-tools/xrp-faucets
File: out/docs.html Link: /dev-tools/xrp-faucets
File: out/docs.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/docs.html Link: ./img/backgrounds/cta-home-green.svg
File: out/events.html Link: ./img/backgrounds/events-orange.svg
File: out/build-a-desktop-wallet-in-javascript.html Link: /dev-tools/xrp-faucets
File: out/get-started-using-java.html Link: /dev-tools/xrp-faucets
File: out/create-an-automated-market-maker.html Link: /dev-tools/xrp-faucets
File: out/ja/offline-account-setup.html Link: /dev-tools/xrp-faucets
File: out/ja/get-started-using-python.html Link: /dev-tools/xrp-faucets
File: out/ja/get-started-using-python.html Link: /dev-tools/xrp-faucets
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-purple.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-green.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-orange.svg
File: out/ja/get-started-using-javascript.html Link: /dev-tools/xrp-faucets
File: out/ja/connect-your-rippled-to-the-xrp-test-net.html Link: /dev-tools/xrp-faucets
File: out/ja/connect-your-rippled-to-the-xrp-test-net.html Link: /dev-tools/xrp-faucets
File: out/ja/connect-your-rippled-to-the-xrp-test-net.html Link: /dev-tools/xrp-faucets
File: out/ja/build-a-desktop-wallet-in-python.html Link: /dev-tools/xrp-faucets
File: out/ja/build-a-desktop-wallet-in-python.html Link: /dev-tools/xrp-faucets
File: out/ja/build-a-desktop-wallet-in-python.html Link: /dev-tools/xrp-faucets
File: out/ja/xrp-overview.html Link: ./img/backgrounds/xrp-overview-blue.svg
File: out/ja/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-magenta.svg
File: out/ja/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-green-2.svg
File: out/ja/use-payment-channels.html Link: /dev-tools/xrp-faucets
File: out/ja/history.html Link: ./img/backgrounds/history-orange.svg
File: out/ja/history.html Link: ./img/backgrounds/history-purple.svg
File: out/ja/impact.html Link: ./img/backgrounds/community-purple.svg
File: out/ja/impact.html Link: ./img/backgrounds/home-green.svg
File: out/ja/impact.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/ja/impact.html Link: ./img/backgrounds/cta-calculator-green.svg
File: out/ja/dev-tools.html Link: /dev-tools/xrp-faucets
File: out/ja/dev-tools.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/ja/dev-tools.html Link: ./img/backgrounds/cta-home-green.svg
File: out/ja/contribute.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/ja/contribute.html Link: ./img/backgrounds/cta-community-green.svg
File: out/ja/escrow.html Link: /dev-tools/xrp-faucets
File: out/ja/developer-funding.html Link: ./img/backgrounds/funding-purple.svg
File: out/ja/developer-funding.html Link: ./img/backgrounds/funding-orange.svg
File: out/ja/code-samples.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/ja/index.html Link: ./img/backgrounds/home-purple.svg
File: out/ja/index.html Link: ./img/backgrounds/home-green.svg
File: out/ja/index.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/ja/index.html Link: ./img/backgrounds/cta-home-green.svg
File: out/ja/index.html Link: ./img/backgrounds/cta-home-magenta.svg
File: out/ja/parallel-networks.html Link: /dev-tools/xrp-faucets
File: out/ja/parallel-networks.html Link: /dev-tools/xrp-faucets
File: out/ja/monitor-incoming-payments-with-websocket.html Link: /dev-tools/xrp-faucets
File: out/ja/ambassadors.html Link: ./img/backgrounds/ambassador-purple.svg
File: out/ja/docs.html Link: .//dev-tools/xrp-faucets
File: out/ja/docs.html Link: ./dev-tools/xrp-faucets
File: out/ja/docs.html Link: /dev-tools/xrp-faucets
File: out/ja/docs.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/ja/docs.html Link: ./img/backgrounds/cta-home-green.svg
File: out/ja/events.html Link: ./img/backgrounds/events-orange.svg
File: out/ja/build-a-desktop-wallet-in-javascript.html Link: /dev-tools/xrp-faucets
File: out/ja/get-started-using-java.html Link: /dev-tools/xrp-faucets
File: out/ja/create-an-automated-market-maker.html Link: /dev-tools/xrp-faucets

Preview: https://XRPLF.github.io/xrpl-dev-portal/pr-preview/jm-faucets/

Style Report

Copy link

Link check report. 553607 links checked.
97 broken links found:
File: out/offline-account-setup.html Link: /dev-tools/xrp-faucets
File: out/get-started-using-python.html Link: /dev-tools/xrp-faucets
File: out/get-started-using-python.html Link: /dev-tools/xrp-faucets
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-purple.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-green.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-orange.svg
File: out/get-started-using-javascript.html Link: /dev-tools/xrp-faucets
File: out/connect-your-rippled-to-the-xrp-test-net.html Link: /dev-tools/xrp-faucets
File: out/build-a-desktop-wallet-in-python.html Link: /dev-tools/xrp-faucets
File: out/build-a-desktop-wallet-in-python.html Link: /dev-tools/xrp-faucets
File: out/build-a-desktop-wallet-in-python.html Link: /dev-tools/xrp-faucets
File: out/xrp-overview.html Link: ./img/backgrounds/xrp-overview-blue.svg
File: out/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-magenta.svg
File: out/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-green-2.svg
File: out/use-payment-channels.html Link: /dev-tools/xrp-faucets
File: out/history.html Link: ./img/backgrounds/history-orange.svg
File: out/history.html Link: ./img/backgrounds/history-purple.svg
File: out/impact.html Link: ./img/backgrounds/community-purple.svg
File: out/impact.html Link: ./img/backgrounds/home-green.svg
File: out/impact.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/impact.html Link: ./img/backgrounds/cta-calculator-green.svg
File: out/dev-tools.html Link: /dev-tools/xrp-faucets
File: out/dev-tools.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/dev-tools.html Link: ./img/backgrounds/cta-home-green.svg
File: out/contribute.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/contribute.html Link: ./img/backgrounds/cta-community-green.svg
File: out/developer-funding.html Link: ./img/backgrounds/funding-purple.svg
File: out/developer-funding.html Link: ./img/backgrounds/funding-orange.svg
File: out/code-samples.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/index.html Link: ./img/backgrounds/home-purple.svg
File: out/index.html Link: ./img/backgrounds/home-green.svg
File: out/index.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/index.html Link: ./img/backgrounds/cta-home-green.svg
File: out/index.html Link: ./img/backgrounds/cta-home-magenta.svg
File: out/parallel-networks.html Link: /dev-tools/xrp-faucets
File: out/ambassadors.html Link: ./img/backgrounds/ambassador-purple.svg
File: out/docs.html Link: .//dev-tools/xrp-faucets
File: out/docs.html Link: ./dev-tools/xrp-faucets
File: out/docs.html Link: /dev-tools/xrp-faucets
File: out/docs.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/docs.html Link: ./img/backgrounds/cta-home-green.svg
File: out/events.html Link: ./img/backgrounds/events-orange.svg
File: out/build-a-desktop-wallet-in-javascript.html Link: /dev-tools/xrp-faucets
File: out/get-started-using-java.html Link: /dev-tools/xrp-faucets
File: out/create-an-automated-market-maker.html Link: /dev-tools/xrp-faucets
File: out/ja/offline-account-setup.html Link: /dev-tools/xrp-faucets
File: out/ja/get-started-using-python.html Link: /dev-tools/xrp-faucets
File: out/ja/get-started-using-python.html Link: /dev-tools/xrp-faucets
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-purple.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-green.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-orange.svg
File: out/ja/get-started-using-javascript.html Link: /dev-tools/xrp-faucets
File: out/ja/connect-your-rippled-to-the-xrp-test-net.html Link: /dev-tools/xrp-faucets
File: out/ja/connect-your-rippled-to-the-xrp-test-net.html Link: /dev-tools/xrp-faucets
File: out/ja/connect-your-rippled-to-the-xrp-test-net.html Link: /dev-tools/xrp-faucets
File: out/ja/build-a-desktop-wallet-in-python.html Link: /dev-tools/xrp-faucets
File: out/ja/build-a-desktop-wallet-in-python.html Link: /dev-tools/xrp-faucets
File: out/ja/build-a-desktop-wallet-in-python.html Link: /dev-tools/xrp-faucets
File: out/ja/xrp-overview.html Link: ./img/backgrounds/xrp-overview-blue.svg
File: out/ja/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-magenta.svg
File: out/ja/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-green-2.svg
File: out/ja/use-payment-channels.html Link: /dev-tools/xrp-faucets
File: out/ja/history.html Link: ./img/backgrounds/history-orange.svg
File: out/ja/history.html Link: ./img/backgrounds/history-purple.svg
File: out/ja/impact.html Link: ./img/backgrounds/community-purple.svg
File: out/ja/impact.html Link: ./img/backgrounds/home-green.svg
File: out/ja/impact.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/ja/impact.html Link: ./img/backgrounds/cta-calculator-green.svg
File: out/ja/dev-tools.html Link: /dev-tools/xrp-faucets
File: out/ja/dev-tools.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/ja/dev-tools.html Link: ./img/backgrounds/cta-home-green.svg
File: out/ja/contribute.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/ja/contribute.html Link: ./img/backgrounds/cta-community-green.svg
File: out/ja/escrow.html Link: /dev-tools/xrp-faucets
File: out/ja/developer-funding.html Link: ./img/backgrounds/funding-purple.svg
File: out/ja/developer-funding.html Link: ./img/backgrounds/funding-orange.svg
File: out/ja/code-samples.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/ja/index.html Link: ./img/backgrounds/home-purple.svg
File: out/ja/index.html Link: ./img/backgrounds/home-green.svg
File: out/ja/index.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/ja/index.html Link: ./img/backgrounds/cta-home-green.svg
File: out/ja/index.html Link: ./img/backgrounds/cta-home-magenta.svg
File: out/ja/parallel-networks.html Link: /dev-tools/xrp-faucets
File: out/ja/parallel-networks.html Link: /dev-tools/xrp-faucets
File: out/ja/monitor-incoming-payments-with-websocket.html Link: /dev-tools/xrp-faucets
File: out/ja/ambassadors.html Link: ./img/backgrounds/ambassador-purple.svg
File: out/ja/docs.html Link: .//dev-tools/xrp-faucets
File: out/ja/docs.html Link: ./dev-tools/xrp-faucets
File: out/ja/docs.html Link: /dev-tools/xrp-faucets
File: out/ja/docs.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/ja/docs.html Link: ./img/backgrounds/cta-home-green.svg
File: out/ja/events.html Link: ./img/backgrounds/events-orange.svg
File: out/ja/build-a-desktop-wallet-in-javascript.html Link: /dev-tools/xrp-faucets
File: out/ja/get-started-using-java.html Link: /dev-tools/xrp-faucets
File: out/ja/create-an-automated-market-maker.html Link: /dev-tools/xrp-faucets

Preview: https://XRPLF.github.io/xrpl-dev-portal/pr-preview/jm-faucets/

Style Report

Copy link
Collaborator

@mDuo13 mDuo13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's weird that the faucet page doesn't have a sidebar even though it's listed in the sidebar. I wonder if we need to do something custom with the template to add it explicitly.

Mostly works but I would like to reduce the scope of the PR a little to reduce merge conflicts.

content/dev-tools/faucets.json Show resolved Hide resolved
content/static/js/xrpl-guard.tsx Outdated Show resolved Hide resolved
content/dev-tools/xrp-faucets.page.tsx Outdated Show resolved Hide resolved
template/page-docs.html.jinja Outdated Show resolved Hide resolved
@JST5000 JST5000 requested a review from mDuo13 December 6, 2023 01:29
Copy link
Collaborator

@mDuo13 mDuo13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there are still some changes in this diff that are unrelated to the task at hand. If you can rebase to squash/drop as much of those as possible, that'll make the merging process easier. (We're going to have to rebase the redocly-migration branch onto the latest master after merging these, possibly more than once, so I want to keep each PR as constrained as possible, to minimize complications there.)

content/concepts/networks-and-servers/parallel-networks.md Outdated Show resolved Hide resolved
content/static/js/xrpl-guard.tsx Outdated Show resolved Hide resolved
template/page-docs.html.jinja Outdated Show resolved Hide resolved
content/_code-samples/get-started/py/prepare-payment.py Outdated Show resolved Hide resolved
template/page-docs.html.jinja Outdated Show resolved Hide resolved
template/page-xrp-faucets.html.jinja Outdated Show resolved Hide resolved
styles/yarn.lock Outdated Show resolved Hide resolved
content/static/components/XRPLoader.tsx Outdated Show resolved Hide resolved
@@ -0,0 +1,28 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe put this file into a data folder or something

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's useful to keep the data near where it's used in this case since it's super related to the test & there's not many files so it doesn't clutter a reader's ability to tell what all the files are for / doing.

@JST5000 JST5000 requested review from mDuo13 and pdp2121 December 8, 2023 18:56
Copy link

github-actions bot commented Dec 8, 2023

Link check report. 553607 links checked.
58 broken links found:
File: out/history.html Link: ./img/backgrounds/history-orange.svg
File: out/history.html Link: ./img/backgrounds/history-purple.svg
File: out/events.html Link: ./img/backgrounds/events-orange.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-purple.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-green.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-orange.svg
File: out/index.html Link: ./img/backgrounds/home-purple.svg
File: out/index.html Link: ./img/backgrounds/home-green.svg
File: out/index.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/index.html Link: ./img/backgrounds/cta-home-green.svg
File: out/index.html Link: ./img/backgrounds/cta-home-magenta.svg
File: out/ambassadors.html Link: ./img/backgrounds/ambassador-purple.svg
File: out/xrp-overview.html Link: ./img/backgrounds/xrp-overview-blue.svg
File: out/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-magenta.svg
File: out/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-green-2.svg
File: out/docs.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/docs.html Link: ./img/backgrounds/cta-home-green.svg
File: out/dev-tools.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/dev-tools.html Link: ./img/backgrounds/cta-home-green.svg
File: out/contribute.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/contribute.html Link: ./img/backgrounds/cta-community-green.svg
File: out/developer-funding.html Link: ./img/backgrounds/funding-purple.svg
File: out/developer-funding.html Link: ./img/backgrounds/funding-orange.svg
File: out/code-samples.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/impact.html Link: ./img/backgrounds/community-purple.svg
File: out/impact.html Link: ./img/backgrounds/home-green.svg
File: out/impact.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/impact.html Link: ./img/backgrounds/cta-calculator-green.svg
File: out/ja/history.html Link: ./img/backgrounds/history-orange.svg
File: out/ja/history.html Link: ./img/backgrounds/history-purple.svg
File: out/ja/events.html Link: ./img/backgrounds/events-orange.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-purple.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-green.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-orange.svg
File: out/ja/index.html Link: ./img/backgrounds/home-purple.svg
File: out/ja/index.html Link: ./img/backgrounds/home-green.svg
File: out/ja/index.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/ja/index.html Link: ./img/backgrounds/cta-home-green.svg
File: out/ja/index.html Link: ./img/backgrounds/cta-home-magenta.svg
File: out/ja/ambassadors.html Link: ./img/backgrounds/ambassador-purple.svg
File: out/ja/xrp-overview.html Link: ./img/backgrounds/xrp-overview-blue.svg
File: out/ja/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-magenta.svg
File: out/ja/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-green-2.svg
File: out/ja/docs.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/ja/docs.html Link: ./img/backgrounds/cta-home-green.svg
File: out/ja/dev-tools.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/ja/dev-tools.html Link: ./img/backgrounds/cta-home-green.svg
File: out/ja/contribute.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/ja/contribute.html Link: ./img/backgrounds/cta-community-green.svg
File: out/ja/developer-funding.html Link: ./img/backgrounds/funding-purple.svg
File: out/ja/developer-funding.html Link: ./img/backgrounds/funding-orange.svg
File: out/ja/code-samples.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/ja/impact.html Link: ./img/backgrounds/community-purple.svg
File: out/ja/impact.html Link: ./img/backgrounds/home-green.svg
File: out/ja/impact.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/ja/impact.html Link: ./img/backgrounds/cta-calculator-green.svg

Preview: https://XRPLF.github.io/xrpl-dev-portal/pr-preview/jm-faucets/

Style Report

1 similar comment
Copy link

github-actions bot commented Dec 8, 2023

Link check report. 553607 links checked.
58 broken links found:
File: out/history.html Link: ./img/backgrounds/history-orange.svg
File: out/history.html Link: ./img/backgrounds/history-purple.svg
File: out/events.html Link: ./img/backgrounds/events-orange.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-purple.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-green.svg
File: out/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-orange.svg
File: out/index.html Link: ./img/backgrounds/home-purple.svg
File: out/index.html Link: ./img/backgrounds/home-green.svg
File: out/index.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/index.html Link: ./img/backgrounds/cta-home-green.svg
File: out/index.html Link: ./img/backgrounds/cta-home-magenta.svg
File: out/ambassadors.html Link: ./img/backgrounds/ambassador-purple.svg
File: out/xrp-overview.html Link: ./img/backgrounds/xrp-overview-blue.svg
File: out/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-magenta.svg
File: out/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-green-2.svg
File: out/docs.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/docs.html Link: ./img/backgrounds/cta-home-green.svg
File: out/dev-tools.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/dev-tools.html Link: ./img/backgrounds/cta-home-green.svg
File: out/contribute.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/contribute.html Link: ./img/backgrounds/cta-community-green.svg
File: out/developer-funding.html Link: ./img/backgrounds/funding-purple.svg
File: out/developer-funding.html Link: ./img/backgrounds/funding-orange.svg
File: out/code-samples.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/impact.html Link: ./img/backgrounds/community-purple.svg
File: out/impact.html Link: ./img/backgrounds/home-green.svg
File: out/impact.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/impact.html Link: ./img/backgrounds/cta-calculator-green.svg
File: out/ja/history.html Link: ./img/backgrounds/history-orange.svg
File: out/ja/history.html Link: ./img/backgrounds/history-purple.svg
File: out/ja/events.html Link: ./img/backgrounds/events-orange.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-purple.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-green.svg
File: out/ja/xrp-ledger-overview.html Link: ./img/backgrounds/cta-xrpl-overview-orange.svg
File: out/ja/index.html Link: ./img/backgrounds/home-purple.svg
File: out/ja/index.html Link: ./img/backgrounds/home-green.svg
File: out/ja/index.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/ja/index.html Link: ./img/backgrounds/cta-home-green.svg
File: out/ja/index.html Link: ./img/backgrounds/cta-home-magenta.svg
File: out/ja/ambassadors.html Link: ./img/backgrounds/ambassador-purple.svg
File: out/ja/xrp-overview.html Link: ./img/backgrounds/xrp-overview-blue.svg
File: out/ja/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-magenta.svg
File: out/ja/xrp-overview.html Link: ./img/backgrounds/cta-xrp-overview-green-2.svg
File: out/ja/docs.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/ja/docs.html Link: ./img/backgrounds/cta-home-green.svg
File: out/ja/dev-tools.html Link: ./img/backgrounds/cta-home-purple.svg
File: out/ja/dev-tools.html Link: ./img/backgrounds/cta-home-green.svg
File: out/ja/contribute.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/ja/contribute.html Link: ./img/backgrounds/cta-community-green.svg
File: out/ja/developer-funding.html Link: ./img/backgrounds/funding-purple.svg
File: out/ja/developer-funding.html Link: ./img/backgrounds/funding-orange.svg
File: out/ja/code-samples.html Link: ./img/backgrounds/xrpl-overview-orange.svg
File: out/ja/impact.html Link: ./img/backgrounds/community-purple.svg
File: out/ja/impact.html Link: ./img/backgrounds/home-green.svg
File: out/ja/impact.html Link: ./img/backgrounds/cta-community-purple.svg
File: out/ja/impact.html Link: ./img/backgrounds/cta-calculator-green.svg

Preview: https://XRPLF.github.io/xrpl-dev-portal/pr-preview/jm-faucets/

Style Report

@mDuo13 mDuo13 merged commit 589e03b into redocly-migration Dec 13, 2023
2 of 3 checks passed
mDuo13 pushed a commit that referenced this pull request Dec 14, 2023
* Get basic HTML loading for faucet page

* Add xrpl.js implementation

* Add sidebar and fix throbber

* Add translates

* Try to format sidebar

* Fix formatting

* Support xrpl.js

* Fix links

* Comment out XRPLGuard for now

* Make AMM Devnet faucet work

* Improve readability

* Update all instances of link + fix topnav

* Remove unnecessary file

* Use a more current version of xrpl

* Add missing loader while keys are generating

* Type with xrpl and remove unnecessary script

* Use string interpolation instead of multiple trans

* Move faucets into a json file

* Remove the old faucet code

* Use xrpl-beta directly

* Use dropsToXRP

* Support hooks natively

* Remove AMM-Devnet

* Revert changes to link path

* Revert link changes pt 2

* Revert pt 3

* Use XRPLoader for loading icon

* Fix small mistakes

* Remove unnecessary changes
mDuo13 pushed a commit that referenced this pull request Jan 12, 2024
* Get basic HTML loading for faucet page

* Add xrpl.js implementation

* Add sidebar and fix throbber

* Add translates

* Try to format sidebar

* Fix formatting

* Support xrpl.js

* Fix links

* Comment out XRPLGuard for now

* Make AMM Devnet faucet work

* Improve readability

* Update all instances of link + fix topnav

* Remove unnecessary file

* Use a more current version of xrpl

* Add missing loader while keys are generating

* Type with xrpl and remove unnecessary script

* Use string interpolation instead of multiple trans

* Move faucets into a json file

* Remove the old faucet code

* Use xrpl-beta directly

* Use dropsToXRP

* Support hooks natively

* Remove AMM-Devnet

* Revert changes to link path

* Revert link changes pt 2

* Revert pt 3

* Use XRPLoader for loading icon

* Fix small mistakes

* Remove unnecessary changes
mDuo13 pushed a commit that referenced this pull request Jan 23, 2024
* Get basic HTML loading for faucet page

* Add xrpl.js implementation

* Add sidebar and fix throbber

* Add translates

* Try to format sidebar

* Fix formatting

* Support xrpl.js

* Fix links

* Comment out XRPLGuard for now

* Make AMM Devnet faucet work

* Improve readability

* Update all instances of link + fix topnav

* Remove unnecessary file

* Use a more current version of xrpl

* Add missing loader while keys are generating

* Type with xrpl and remove unnecessary script

* Use string interpolation instead of multiple trans

* Move faucets into a json file

* Remove the old faucet code

* Use xrpl-beta directly

* Use dropsToXRP

* Support hooks natively

* Remove AMM-Devnet

* Revert changes to link path

* Revert link changes pt 2

* Revert pt 3

* Use XRPLoader for loading icon

* Fix small mistakes

* Remove unnecessary changes
mDuo13 pushed a commit that referenced this pull request Jan 26, 2024
* Get basic HTML loading for faucet page

* Add xrpl.js implementation

* Add sidebar and fix throbber

* Add translates

* Try to format sidebar

* Fix formatting

* Support xrpl.js

* Fix links

* Comment out XRPLGuard for now

* Make AMM Devnet faucet work

* Improve readability

* Update all instances of link + fix topnav

* Remove unnecessary file

* Use a more current version of xrpl

* Add missing loader while keys are generating

* Type with xrpl and remove unnecessary script

* Use string interpolation instead of multiple trans

* Move faucets into a json file

* Remove the old faucet code

* Use xrpl-beta directly

* Use dropsToXRP

* Support hooks natively

* Remove AMM-Devnet

* Revert changes to link path

* Revert link changes pt 2

* Revert pt 3

* Use XRPLoader for loading icon

* Fix small mistakes

* Remove unnecessary changes
mDuo13 pushed a commit that referenced this pull request Feb 1, 2024
* Get basic HTML loading for faucet page

* Add xrpl.js implementation

* Add sidebar and fix throbber

* Add translates

* Try to format sidebar

* Fix formatting

* Support xrpl.js

* Fix links

* Comment out XRPLGuard for now

* Make AMM Devnet faucet work

* Improve readability

* Update all instances of link + fix topnav

* Remove unnecessary file

* Use a more current version of xrpl

* Add missing loader while keys are generating

* Type with xrpl and remove unnecessary script

* Use string interpolation instead of multiple trans

* Move faucets into a json file

* Remove the old faucet code

* Use xrpl-beta directly

* Use dropsToXRP

* Support hooks natively

* Remove AMM-Devnet

* Revert changes to link path

* Revert link changes pt 2

* Revert pt 3

* Use XRPLoader for loading icon

* Fix small mistakes

* Remove unnecessary changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants