Skip to content

Conversation

@GregHolmes
Copy link
Contributor

Description

This PR converts the Realtime SDK Types API reference page from Textile format to MDX, as part of a full textile to MDX migration.

@GregHolmes GregHolmes self-assigned this Oct 24, 2025
@GregHolmes GregHolmes added the review-app Create a Heroku review app label Oct 24, 2025
@coderabbitai
Copy link

coderabbitai bot commented Oct 24, 2025

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch EDU-2046-Convert-Pub-Sub-Types-API-refs-to-MDX

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ably-ci ably-ci temporarily deployed to ably-docs-edu-2046-conv-vrkfo3 October 24, 2025 12:25 Inactive
Copy link
Contributor

@franrob-projects franrob-projects left a comment

Choose a reason for hiding this comment

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

The only "must change" are the tables :)


#### <If lang="javascript,nodejs,flutter,go,objc,swift,csharp">Properties</If><If lang="java">Members</If><If lang="ruby">Attributes</If>

| Property | Description | Type |
Copy link
Contributor

Choose a reason for hiding this comment

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

This may be an hallucination

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This isn't a hallucination, unfortunately the textile work was showing the properties header but no table. I've added the table here.


| Property | Description | Type |
|----------|-------------|------|
| <If lang="javascript,nodejs,java,objc,swift,ruby,flutter">items</If><If lang="csharp,go">Items</If> | Contains a page of results; for example, an array of [`Message`](#message) or [`PresenceMessage`](#presence-message) objects for a channel history request | `Array<>` |
Copy link
Contributor

Choose a reason for hiding this comment

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

This may be an hallucination

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same here. Not a hallucination,b ut something that was missing in the first place. However showed the header.


<If lang="javascript,nodejs">

| Property | Description |
Copy link
Contributor

Choose a reason for hiding this comment

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

Tyle collumn needed


<If lang="javascript,nodejs">

### Message action <a id="#message-action" />
Copy link
Contributor

Choose a reason for hiding this comment

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

May be worth noting that the original has no sample for node

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same here. Javascript and Nodejs in this instance are the same code. But if I don't add the node one in, it'll just be empty. I'd rather show it.


`StatsIntervalGranularity` is an enum specifying the granularity of a [`Stats interval`](/docs/api/rest-sdk/statistics#stats-type).

<If lang="javascript">
Copy link
Contributor

Choose a reason for hiding this comment

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

The orignal shows "You're currently viewing the Node.js docs. There either isn't a Node.js code sample for this example,"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The JS and Node are identical. There wasn't any point just keeping the JS version and not adding the nodejs. It would just not render the new way. So I added it as it isn't anything different.

@GregHolmes GregHolmes force-pushed the EDU-2046-Convert-Pub-Sub-Types-API-refs-to-MDX branch 3 times, most recently from 6b967b6 to e8e712d Compare November 5, 2025 12:38
@franrob-projects franrob-projects temporarily deployed to ably-docs-edu-2046-conv-y3ardz November 5, 2025 13:32 Inactive
Copy link
Contributor

@franrob-projects franrob-projects left a comment

Choose a reason for hiding this comment

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

Perfecto

@GregHolmes GregHolmes force-pushed the EDU-2046-Convert-Pub-Sub-Types-API-refs-to-MDX branch from e8e712d to 3070e1e Compare November 5, 2025 14:13
@GregHolmes GregHolmes temporarily deployed to ably-docs-edu-2046-conv-y3ardz November 5, 2025 14:13 Inactive
@GregHolmes GregHolmes merged commit da59653 into main Nov 5, 2025
6 checks passed
@GregHolmes GregHolmes deleted the EDU-2046-Convert-Pub-Sub-Types-API-refs-to-MDX branch November 5, 2025 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-app Create a Heroku review app

Development

Successfully merging this pull request may close these issues.

4 participants