Skip to content

📊 Refresh Stellar Data Structures - #2446

Open
JFWooten4 wants to merge 7 commits into
stellar:mainfrom
john-stellar:723-pt-35
Open

JFWooten4 wants to merge 7 commits into
stellar:mainfrom
john-stellar:723-pt-35

Conversation

@JFWooten4

Copy link
Copy Markdown
Contributor

This PR refreshes the Stellar Data Structures section by adding a sidebar category and tightening the Assets and Events pages.

It updates the Assets page to use clearer language around securities, moves the contract token note closer to the related discussion, and formats int64s as code.

It also updates the Events page description and clarifies the TransactionMetaV3 and TransactionMetaV4 references so the page points directly to the relevant inline sections.

I also cleaned up the needless duplication of Markdown link references for the inline TransactionMeta page refs and updated the old SDF site SEP redirects to point directly to the actual GitHub instance.

Copilot AI review requested due to automatic review settings May 13, 2026 01:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR refreshes the “Stellar Data Structures” docs section by improving navigation (new sidebar category) and tightening language/linking in the Assets and Events pages to make key references easier to follow.

Changes:

  • Added a Docusaurus _category_.json to group the Stellar Data Structures docs under a sidebar category.
  • Updated assets.mdx for clearer asset examples, moved the contract token note closer to relevant content, and formatted int64s as code.
  • Updated events.mdx to link directly to the in-page TransactionMetaV3/V4 sections and replaced an outdated SEP-41 redirect with a direct GitHub link.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
docs/learn/fundamentals/stellar-data-structures/events.mdx Improves page metadata/wording and replaces reference-style links with direct in-page anchors; updates SEP-41 link target.
docs/learn/fundamentals/stellar-data-structures/assets.mdx Refines asset description language, relocates the “contract token” note, and formats int64s inline as code.
docs/learn/fundamentals/stellar-data-structures/category.json Adds a sidebar category entry that links to the section README.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot Autofix powered by AI <[email protected]>

@ElliotFriend ElliotFriend left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

some nitpicks to change, but it's a very good start.

your category file also appears in #2411. we can discuss more about the json file approach there, but if you include this file now, it could easily lead to a conflict down the road.

# Assets

Accounts on the Stellar network can be used to track, hold, and transfer any type of asset. Assets can represent many things: cryptocurrencies (such as bitcoin or ether), fiat currencies (such as dollars or pesos), other tokens of value (such as NFTs), pool shares, or bonds and equity.
Accounts on the Stellar network can be used to track, hold, and transfer any type of asset. Assets can represent many things: cryptocurrencies (such as bitcoin or ether), fiat currencies (such as dollars or pesos), other tokens of value (such as NFTs, pool shares, or securities).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

i think i like the parenthesis the way it was before. and maybe securities belongs as an addition to bonds and equity rather than a replacement?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is a holdover from all those years I spent in marketing. Groups of three are easier to remember, and they slide off the tongue much more easily. So perhaps I applied that thinking a little too much here.

I am trying to steer the docs toward a uniform definition of security, as per #2579 (comment), rather than the older precedent of subcategorization.

That said there is a real problem here in that it says you can "transfer any type of asset", but you can't transfer native pool shares. I propose just dropping that bit for now, implemented in a86f717. This ends our list in a uniform third "such as X or Y" syntax, matching earlier examples.

@JFWooten4 JFWooten4 changed the title 📊 Refreshe Stellar Data Structures 📊 Refresh Stellar Data Structures Jul 14, 2026
Removed label, position, and link fields from the category JSON.
Removed 'pool shares' from the list of asset types.
@stellar-doxie

stellar-doxie Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

🤖 Automated message from the Stellar Triage Bot.

Reviewing because this PR is stale (no update in 4+ weeks).

Facts check out and build is green at the head. No live preview was available.

@ElliotFriend, your other review points are settled: int64 applied, SEP links landed in #2447, and the description-only _category_.json fits your note on #2617. One point is open: the author wrote "(such as NFTs or securities)" instead of adding "securities" beside "bonds and equity", and dropped "pool shares" (correct: pool shares cannot be transferred). Do you accept this wording? @kaankacar

@stellar-doxie stellar-doxie Bot added the bot:needs-decision Bot needs a maintainer decision (listing, scope, policy) label Oct 7, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:needs-decision Bot needs a maintainer decision (listing, scope, policy)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants