Skip to content

Propose fix some typos#4062

Closed
jeis4wpi wants to merge 1 commit intoGetStream:developfrom
jeis4wpi:develop
Closed

Propose fix some typos#4062
jeis4wpi wants to merge 1 commit intoGetStream:developfrom
jeis4wpi:develop

Conversation

@jeis4wpi
Copy link
Copy Markdown

@jeis4wpi jeis4wpi commented Apr 10, 2026

🔗 Issue Links

Provide all Linear and/or Github issues related to this PR, if applicable.

🎯 Goal

Describe why we are making this change.

📝 Summary

Propose fix some typos

Provide bullet points with the most important changes in the codebase.

🛠 Implementation

Provide a detailed description of the implementation and explain your decisions if you find them relevant.

🎨 Showcase

Add relevant screenshots and/or videos/gifs to easily see what this PR changes, if applicable.

Before After
img img

🧪 Manual Testing Notes

Explain how this change can be tested manually, if applicable.

☑️ Contributor Checklist

  • I have signed the Stream CLA (required)
  • This change should be manually QAed
  • Changelog is updated with client-facing changes
  • Changelog is updated with new localization keys
  • New code is covered by unit tests
  • Documentation has been updated in the docs-content repo

Summary by CodeRabbit

  • Chores
    • Fixed spelling inconsistencies in internal code and logs.
    • Adjusted code formatting and whitespace for consistency across the codebase.

Signed-off-by: John E <jeis4wpi@outlook.com>
@jeis4wpi jeis4wpi requested a review from a team as a code owner April 10, 2026 16:55
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 10, 2026

📝 Walkthrough

Walkthrough

This PR corrects spelling errors throughout the codebase, including "succesfully" → "successfully", "beeing" → "being", "tread" → "thread", and "Editted" → "Edited", alongside minor whitespace adjustments across test files and one debug log statement. No functional logic is modified.

Changes

Cohort / File(s) Summary
Production Code
Sources/StreamChat/Database/DatabaseContainer.swift
Corrected debug log spelling "succesfully" → "successfully"; adjusted whitespace formatting.
UI Test Files
StreamChatUITestsAppUITests/Tests/Attachments_Tests.swift, StreamChatUITestsAppUITests/Tests/Message Delivery Status/MessageDeliveryStatus+ChannelList_Tests.swift, StreamChatUITestsAppUITests/Tests/Message Delivery Status/MessageDeliveryStatus_Tests.swift, StreamChatUITestsAppUITests/Tests/QuotedReply_Tests.swift
Corrected test description spellings: "beeing" → "being", "retuns" → "returns", "succesfully" → "successfully", "tread" → "thread"; minor whitespace cleanup.
Unit Test Files
Tests/StreamChatTests/Database/DTOs/MemberModelDTO_Tests.swift, Tests/StreamChatTests/StateLayer/Chat_Tests.swift
Corrected ChannelId value "messsaging" → "messaging" and test string "Editted" → "Edited"; adjusted whitespace throughout.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰 A hoppy fix for typos galore,
Each spelling slip corrected for sure,
From "succesfully" to "successfully" we bound,
The whitespace cleaned, mistakes unwound!
Happy hopping through cleaner code,
On the quality rabbit road! 🐇✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 15.91% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Propose fix some typos' accurately describes the primary change in the pull request, which consists entirely of spelling corrections and minor whitespace adjustments across multiple test and database files.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
Tests/StreamChatTests/StateLayer/Chat_Tests.swift (1)

531-531: Optional: clean remaining typos in touched test names/comments for consistency.

A few typo variants remain in modified lines (e.g., Succeess, Succeds, Consequtive, Unpining, inital).

Proposed rename/comment cleanup
-    func test_downloadAttachment_whenMessageUpdaterSucceeds_thenSucceess() async throws {
+    func test_downloadAttachment_whenMessageUpdaterSucceeds_thenSuccess() async throws {

-    func test_deleteLocalAttachmentDownload_whenMessageUpdaterSucceeds_thenSucceess() async throws {
+    func test_deleteLocalAttachmentDownload_whenMessageUpdaterSucceeds_thenSuccess() async throws {

-    func test_sendMessageAction_whenAPIRequestSucceds_thenSendMessageActionSucceeds() async throws {
+    func test_sendMessageAction_whenAPIRequestSucceeds_thenSendMessageActionSucceeds() async throws {

-    func test_updateMessage_whenTwoConsequtiveTextUpdates_thenWebSocketEventDoesNotResetTextToTheFirstEdit() async throws {
+    func test_updateMessage_whenTwoConsecutiveTextUpdates_thenWebSocketEventDoesNotResetTextToTheFirstEdit() async throws {

-        // Accessing the state triggers loading the inital states
+        // Accessing the state triggers loading the initial states

-    func test_unpin_whenChannelUpdaterSucceeds_thenUnpiningSucceeds() async throws {
+    func test_unpin_whenChannelUpdaterSucceeds_thenUnpinningSucceeds() async throws {

Also applies to: 552-552, 673-673, 815-815, 880-880, 893-893, 1768-1768

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@Tests/StreamChatTests/StateLayer/Chat_Tests.swift` at line 531, Fix remaining
typos in test names and comments in Chat_Tests.swift: rename
test_downloadAttachment_whenMessageUpdaterSucceeds_thenSucceess to
test_downloadAttachment_whenMessageUpdaterSucceeds_thenSuccess and correct other
occurrences of misspellings (e.g., change "Succeds" to "Succeeds", "Consequtive"
to "Consecutive", "Unpining" to "Unpinning", "inital" to "initial") in the
touched test function names and inline comments (search for the variants listed
and update the corresponding test functions and comment strings so names and
descriptions are consistently spelled).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@Tests/StreamChatTests/StateLayer/Chat_Tests.swift`:
- Line 531: Fix remaining typos in test names and comments in Chat_Tests.swift:
rename test_downloadAttachment_whenMessageUpdaterSucceeds_thenSucceess to
test_downloadAttachment_whenMessageUpdaterSucceeds_thenSuccess and correct other
occurrences of misspellings (e.g., change "Succeds" to "Succeeds", "Consequtive"
to "Consecutive", "Unpining" to "Unpinning", "inital" to "initial") in the
touched test function names and inline comments (search for the variants listed
and update the corresponding test functions and comment strings so names and
descriptions are consistently spelled).

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 4054e954-3f61-4149-a2f6-077f437504c7

📥 Commits

Reviewing files that changed from the base of the PR and between f7295d3 and 1083266.

📒 Files selected for processing (7)
  • Sources/StreamChat/Database/DatabaseContainer.swift
  • StreamChatUITestsAppUITests/Tests/Attachments_Tests.swift
  • StreamChatUITestsAppUITests/Tests/Message Delivery Status/MessageDeliveryStatus+ChannelList_Tests.swift
  • StreamChatUITestsAppUITests/Tests/Message Delivery Status/MessageDeliveryStatus_Tests.swift
  • StreamChatUITestsAppUITests/Tests/QuotedReply_Tests.swift
  • Tests/StreamChatTests/Database/DTOs/MemberModelDTO_Tests.swift
  • Tests/StreamChatTests/StateLayer/Chat_Tests.swift

@laevandus
Copy link
Copy Markdown
Contributor

@jeis4wpi thank you for pointing out these typos. We ran a review over other files as well and included these changes in the #4063

@laevandus laevandus closed this Apr 13, 2026
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.

2 participants