Skip to content

Edu 1954 Improves pub/sub flutter readme - #571

Merged
ttypic merged 1 commit into
mainfrom
EDU-1954-Improve-Pub/Sub-flutter-README
Jul 28, 2025
Merged

Edu 1954 Improves pub/sub flutter readme#571
ttypic merged 1 commit into
mainfrom
EDU-1954-Improve-Pub/Sub-flutter-README

Conversation

@franrob-projects

@franrob-projects franrob-projects commented Jun 18, 2025

Copy link
Copy Markdown
Contributor

This PR streamlines and refocuses the content of README.md to improve readability, simplify navigation, and make ongoing maintenance easier.

Commits

EDU-1954: Adds header and sheild

Adds README header and shields badge.

EDU-1954: Adds image

Inserts header image for visual branding.

EDU-1954: Rewrites introduction and overview

Rewrite introduction and overview for better clarity.

EDU-1954: Adds getting started

Add "Getting Started" section with links to setup basics.

EDU-1954: Rewrites supported platforms section

Update and clarify the supported platforms information.

EDU-1954: Deletes install and usage sections

Removes installation and usage instructions from README -- which are already in the docs.

EDU-1954: Deletes resources section

Removes outdated resources section.

EDU-1954: Adds release section

Adds new section to describe release process and versions.

EDU-1954: Tweaks contribute and support section

Improves language in contribute and support sections.

Jira

https://ably.atlassian.net/browse/EDU-1954

Summary by CodeRabbit

  • Documentation
    • Rewrote and condensed the README for a more streamlined and modern overview.
    • Provided simplified installation instructions and a minimal usage example.
    • Reformatted supported platforms into a clear table with version notes.
    • Removed detailed examples and in-depth API usage sections for brevity.
    • Updated contributing and support sections with streamlined links to guidelines and resources.

@coderabbitai

coderabbitai Bot commented Jun 18, 2025

Copy link
Copy Markdown

Warning

Rate limit exceeded

@franrob-projects has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 4 minutes and 53 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 7e65303 and 635863c.

⛔ Files ignored due to path filters (1)
  • images/FlutterSDK-github.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • README.md (1 hunks)

Walkthrough

The README.md file was significantly rewritten to provide a concise, modern overview of the SDK. Detailed usage examples, API descriptions, and setup instructions were removed, replaced with high-level information, minimal usage guidance, and links to external documentation. Badges, warnings, and support links were updated and streamlined.

Changes

File(s) Change Summary
README.md Fully rewritten and condensed: removed detailed examples and extensive API usage; added badges, a header image, minimal usage example, platform requirements, external documentation links, and simplified support/contribution sections.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐇
A README trimmed, so neat and bright,
Examples gone, but links in sight.
With badges shining, guidance clear,
The docs now point to help that's near.
Hop along, explore with glee—
Simpler starts for you and me!

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch EDU-1954-Improve-Pub/Sub-flutter-README

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions
github-actions Bot temporarily deployed to staging/pull/571/features June 18, 2025 16:41 Inactive
@github-actions
github-actions Bot temporarily deployed to staging/pull/571/dartdoc June 18, 2025 16:41 Inactive
@github-actions
github-actions Bot temporarily deployed to staging/pull/571/dartdoc June 23, 2025 09:26 Inactive
@github-actions
github-actions Bot temporarily deployed to staging/pull/571/features June 23, 2025 09:26 Inactive
@github-actions
github-actions Bot temporarily deployed to staging/pull/571/features July 23, 2025 14:15 Inactive
@github-actions
github-actions Bot temporarily deployed to staging/pull/571/dartdoc July 23, 2025 14:16 Inactive
@franrob-projects
franrob-projects marked this pull request as ready for review July 23, 2025 14:17

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🧹 Nitpick comments (3)
README.md (3)

1-1: Alt-text incorrectly mentions “PHP”

The hero image alt-text says “PHP Header” even though the document is for the Flutter SDK.

-![Ably Pub/Sub PHP Header](images/flutterSDK-github.png)
+![Ably Pub/Sub Flutter Header](images/flutterSDK-github.png)

41-45: Admonition syntax isn’t rendered on GitHub

[!NOTE] / [!IMPORTANT] are DocFX-style call-outs; on GitHub they show up literally.
Convert them to a plain blockquote or bold label so they render correctly.

-> [!NOTE]
-> If your project needs support …
+> **Note**  
+> If your project needs support …
...
-> [!IMPORTANT]
-> SDK versions < 1.2.25 will be …
+> **Important**  
+> SDK versions < 1.2.25 will be …

49-52: Duplicate section headers

Both “## Install” and “## Installation” appear back-to-back. Keep one to avoid noise.

-## Install 
-
 ## Installation
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b4c3794 and 18b54f4.

⛔ Files ignored due to path filters (1)
  • images/FlutterSDK-github.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • README.md (1 hunks)
🪛 LanguageTool
README.md

[style] ~74-~74: Using many exclamation marks might seem excessive (in this case: 5 exclamation marks for a text that’s 2938 characters long)
Context: ...ter/ably_flutter.dart' as ably; ``` > [!NOTE] > When increasing the version of `...

(EN_EXCESSIVE_EXCLAMATION)


[style] ~121-~121: This adverb was used twice in the sentence. Consider removing one of them or replacing them with a synonym.
Context: ...so view all Ably releases on changelog.ably.com. --- ...

(ADVERB_REPETITION_PREMIUM)

🧰 Additional context used
🪛 LanguageTool
README.md

[style] ~74-~74: Using many exclamation marks might seem excessive (in this case: 5 exclamation marks for a text that’s 2938 characters long)
Context: ...ter/ably_flutter.dart' as ably; ``` > [!NOTE] > When increasing the version of `...

(EN_EXCESSIVE_EXCLAMATION)


[style] ~121-~121: This adverb was used twice in the sentence. Consider removing one of them or replacing them with a synonym.
Context: ...so view all Ably releases on changelog.ably.com. --- ...

(ADVERB_REPETITION_PREMIUM)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: android (24)
  • GitHub Check: ios (iPhone 15)
  • GitHub Check: android (29)
  • GitHub Check: android

Comment thread README.md Outdated
Comment thread README.md
Comment thread README.md
Comment thread README.md Outdated
@github-actions
github-actions Bot temporarily deployed to staging/pull/571/features July 24, 2025 09:31 Inactive
@github-actions
github-actions Bot temporarily deployed to staging/pull/571/dartdoc July 24, 2025 09:31 Inactive
@franrob-projects
franrob-projects force-pushed the EDU-1954-Improve-Pub/Sub-flutter-README branch from 780ed52 to 7e65303 Compare July 24, 2025 09:32
@franrob-projects
franrob-projects requested a review from ttypic July 24, 2025 09:32
@github-actions
github-actions Bot temporarily deployed to staging/pull/571/dartdoc July 24, 2025 09:33 Inactive
@github-actions
github-actions Bot temporarily deployed to staging/pull/571/features July 24, 2025 09:33 Inactive

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 0

♻️ Duplicate comments (2)
README.md (2)

75-106: Code sample still does not compile – wrapper & stray brace

Same issue flagged in a previous review: the snippet isn’t inside an async main() (or other function) and the closing brace at the end is unmatched, so copy-pasting fails to compile.

-```dart
-  // Initialize Ably Realtime client
+```dart
+void main() async {
+  // Initialize Ably Realtime client
   final clientOptions = ably.ClientOptions(
@@
   await channel.publish(
     name: 'test-event',
     data: 'hello world',
   );
-}
+}

111-113: CHANGELOG link points to CONTRIBUTING.md

The hyperlink label and target don’t match, sending users to the wrong document.

-The [CHANGELOG.md](./CONTRIBUTING.md) contains details of the latest releases for this SDK.
+See the [CHANGELOG.md](./CHANGELOG.md) for details of the latest releases for this SDK.
🧹 Nitpick comments (2)
README.md (2)

1-3: Alt-text refers to PHP instead of Flutter

The header image alt-text reads “Ably Pub/Sub PHP Header”, which is misleading in a Flutter README.

-![Ably Pub/Sub PHP Header](images/flutterSDK-github.png)
+![Ably Pub/Sub Flutter Header](images/flutterSDK-github.png)

41-46: Admonition syntax renders poorly on GitHub

[!NOTE] / [!IMPORTANT] is a Docs-style extension not supported by GitHub Markdown, so readers will just see the raw markup.
Prefer a standard blockquote or bolded heading for better readability.

-> [!NOTE]
-If your project needs support for …
+> **Note**  
+> If your project needs support for …
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 18b54f4 and 780ed52.

📒 Files selected for processing (1)
  • README.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
README.md

[style] ~66-~66: Using many exclamation marks might seem excessive (in this case: 5 exclamation marks for a text that’s 2845 characters long)
Context: ...ter/ably_flutter.dart' as ably; ``` > [!NOTE] > When increasing the version of `...

(EN_EXCESSIVE_EXCLAMATION)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
  • GitHub Check: ios
  • GitHub Check: android (29)
  • GitHub Check: android
  • GitHub Check: ios (iPhone 15)
  • GitHub Check: android (24)

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 0

♻️ Duplicate comments (2)
README.md (2)

75-105: Code sample still doesn’t compile
Same issue flagged previously: no wrapping main() and one stray }.

```dart
-  // Initialize Ably Realtime client
+void main() async {
+  // Initialize Ably Realtime client
   final clientOptions = ably.ClientOptions(
     key: 'your-ably-api-key',
     clientId: 'me',
   );
   …
   await channel.publish(
     name: 'test-event',
     data: 'hello world',
   );
-}
+}

111-113: Link points to the wrong file

The text says CHANGELOG.md but links to CONTRIBUTING.md – same issue as before.

-The [CHANGELOG.md](./CONTRIBUTING.md) contains details of the latest releases for this SDK.
+See the [CHANGELOG.md](./CHANGELOG.md) for the latest releases.
🧹 Nitpick comments (2)
README.md (2)

1-3: Alt-text references the wrong SDK

The alt-text still says PHP although this is the Flutter README.

-![Ably Pub/Sub PHP Header](images/flutterSDK-github.png)
+![Ably Pub/Sub Flutter Header](images/flutterSDK-github.png)

41-46: Admonition syntax won’t render on GitHub

[!NOTE] / [!IMPORTANT] blocks are a Docs-MS extension and appear as plain text on GitHub.
Replace with regular Markdown admonitions, e.g.:

> **Note**  
> If your project …
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 780ed52 and 7e65303.

⛔ Files ignored due to path filters (1)
  • images/FlutterSDK-github.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • README.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
README.md

[style] ~66-~66: Using many exclamation marks might seem excessive (in this case: 5 exclamation marks for a text that’s 2845 characters long)
Context: ...ter/ably_flutter.dart' as ably; ``` > [!NOTE] > When increasing the version of `...

(EN_EXCESSIVE_EXCLAMATION)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: android (24)
  • GitHub Check: android (29)
  • GitHub Check: ios (iPhone 15)
  • GitHub Check: android

@franrob-projects
franrob-projects force-pushed the EDU-1954-Improve-Pub/Sub-flutter-README branch from ab7fbf8 to e1679ff Compare July 24, 2025 14:18
EDU-1954: Adds image

EDU-1954: Rewrites introduction and overview

EDU-1954: Adds getting started

EDU-1954: Rewrites supported platforms section

EDU-1954: Deletes install and usage sections

EDU-1954: Deletes resources section

EDU-1954: Adds release section

EDU-1954: Tweaks contribute and support section

EDU-1954: Makes sheilds clickable

EDU-1954: Adds trimmed install and usage sections
@ttypic
ttypic merged commit a402c04 into main Jul 28, 2025
9 checks passed
@ttypic
ttypic deleted the EDU-1954-Improve-Pub/Sub-flutter-README branch July 28, 2025 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants