From 9dfa221e386fb608a57b584b2e7dbc1a8960c3ea Mon Sep 17 00:00:00 2001 From: anshul-garg27 Date: Wed, 29 Apr 2026 17:46:18 +0530 Subject: [PATCH] Fix common spelling errors in app/src comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Comment-only changes — no behavior or identifiers touched. Fixes the following misspellings that were scattered across `app/src/` and one test file in `crates/warpui_core/`: - accomodate -> accommodate - indvidual -> individual - occured -> occurred - overwritting -> overwriting - recieve / recieved -> receive / received - seperate / seperation / seperator -> separate / separation / separator --- app/src/ai/blocklist/inline_action/code_diff_view.rs | 2 +- app/src/ai/execution_profiles/profiles.rs | 2 +- app/src/notebooks/active_notebook_data.rs | 2 +- app/src/pane_group/mod_tests.rs | 2 +- app/src/server/cloud_objects/update_manager_test.rs | 4 ++-- app/src/settings/cloud_preferences_syncer_tests.rs | 2 +- app/src/terminal/block_list_element.rs | 2 +- app/src/terminal/model/block.rs | 2 +- app/src/terminal/model/iterm_image.rs | 2 +- app/src/terminal/shared_session/viewer/event_loop.rs | 2 +- crates/warpui_core/src/elements/stack/mod_test.rs | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/src/ai/blocklist/inline_action/code_diff_view.rs b/app/src/ai/blocklist/inline_action/code_diff_view.rs index 8f108e1c0..aa04e6e59 100644 --- a/app/src/ai/blocklist/inline_action/code_diff_view.rs +++ b/app/src/ai/blocklist/inline_action/code_diff_view.rs @@ -3042,7 +3042,7 @@ pub fn convert_file_edits_to_file_diffs( for (index, (_, search_content)) in search_blocks_with_ranges.iter().enumerate() { if index > 0 { - // add "..." between each edit to indicate the seperation + // add "..." between each edit to indicate the separation dummy_content.push_str("...\n"); } for search_line in search_content.lines() { diff --git a/app/src/ai/execution_profiles/profiles.rs b/app/src/ai/execution_profiles/profiles.rs index 093d3e18e..cba3e12a1 100644 --- a/app/src/ai/execution_profiles/profiles.rs +++ b/app/src/ai/execution_profiles/profiles.rs @@ -1150,7 +1150,7 @@ impl AIExecutionProfilesModel { /// `edit_profile_internal` edits an AIExecutionProfile and upserts the changed profile to the cloud /// Parameters: /// * `profile_id`: The id of the profile to edit - /// * `edit_fn`: a closure that safely modifies the AIExecutionProfile. It should return `true` if the profile was changed, `false` otherwise. When `true`, it syncs the changes to the cloud, and otherwise exits early to prevent excessive cloud operations if no changes occured. + /// * `edit_fn`: a closure that safely modifies the AIExecutionProfile. It should return `true` if the profile was changed, `false` otherwise. When `true`, it syncs the changes to the cloud, and otherwise exits early to prevent excessive cloud operations if no changes occurred. /// * `ctx`: The model context fn edit_profile_internal( &mut self, diff --git a/app/src/notebooks/active_notebook_data.rs b/app/src/notebooks/active_notebook_data.rs index 6e184f8ac..b44878c8f 100644 --- a/app/src/notebooks/active_notebook_data.rs +++ b/app/src/notebooks/active_notebook_data.rs @@ -311,7 +311,7 @@ impl ActiveNotebookData { /// Checks whether or not this notebook has edit conflicts that would /// results in the conflict resolution banner being shown. We check both - /// if a conflicting object has been recieved from the server, and that there + /// if a conflicting object has been received from the server, and that there /// are no pending content changes on the notebook. /// /// We need to check the pending content changes because of a race condition where diff --git a/app/src/pane_group/mod_tests.rs b/app/src/pane_group/mod_tests.rs index b2d21601e..aa63d7d59 100644 --- a/app/src/pane_group/mod_tests.rs +++ b/app/src/pane_group/mod_tests.rs @@ -1389,7 +1389,7 @@ fn test_focused_pane_is_synchronized_with_application_focus() { // Second, emit an event on the pane group to trigger assertion // logic in the FocusDetectionView. This event effect is enqueued after // the focus effect but before the focus effect is processed, meaning - // it will observe any changes that occured synchronously as part + // it will observe any changes that occurred synchronously as part // of the focus effect but will _not_ observe any changes that result // from events dispatched during focus handling. // diff --git a/app/src/server/cloud_objects/update_manager_test.rs b/app/src/server/cloud_objects/update_manager_test.rs index 0b111fe8e..4c0e75d2f 100644 --- a/app/src/server/cloud_objects/update_manager_test.rs +++ b/app/src/server/cloud_objects/update_manager_test.rs @@ -3673,7 +3673,7 @@ fn test_pending_conflict_correctly_clears_after_edits() { ModelEvent::UpsertNotebook { .. } )); - // While we still have edits in flight, recieve an RTC message, that has a TS before the object update + // While we still have edits in flight, receive an RTC message, that has a TS before the object update // response. This should put the notebook conflict status as pending let mocked_metadata = ServerMetadata { uid: server_id, @@ -3805,7 +3805,7 @@ fn test_pending_conflict_correctly_stays_after_edits() { ModelEvent::UpsertNotebook { .. } )); - // While we still have edits in flight, recieve an RTC message, that has a TS after the object update + // While we still have edits in flight, receive an RTC message, that has a TS after the object update // response. This should put the notebook conflict status as pending let mocked_metadata = ServerMetadata { uid: server_id, diff --git a/app/src/settings/cloud_preferences_syncer_tests.rs b/app/src/settings/cloud_preferences_syncer_tests.rs index 437930b31..fcd859c0b 100644 --- a/app/src/settings/cloud_preferences_syncer_tests.rs +++ b/app/src/settings/cloud_preferences_syncer_tests.rs @@ -339,7 +339,7 @@ fn test_sync_local_pref_to_cloud_after_initial_sync() { &mut server_api, )); - // Expect the creation of one or two cloud settings in seperate requests depending on the platform + // Expect the creation of one or two cloud settings in separate requests depending on the platform all_client_ids.append(&mut expect_bulk_create_generic_string_objects( &mut server_api, 1, diff --git a/app/src/terminal/block_list_element.rs b/app/src/terminal/block_list_element.rs index ca4e779f9..373ea7b86 100644 --- a/app/src/terminal/block_list_element.rs +++ b/app/src/terminal/block_list_element.rs @@ -3404,7 +3404,7 @@ impl Element for BlockListElement { }); visible_height_px += height_px; - // we want to show different text in the seperator if this is an indvidual conversation + // we want to show different text in the separator if this is an individual conversation // restored from the command palette let banner_intro_text = if is_historical_conversation_restoration { "Conversation restored".to_string() diff --git a/app/src/terminal/model/block.rs b/app/src/terminal/model/block.rs index 841a0ec6e..551cd5d4e 100644 --- a/app/src/terminal/model/block.rs +++ b/app/src/terminal/model/block.rs @@ -335,7 +335,7 @@ pub struct Block { /// determine if commands in a restored session should be included in /// History::session_commands. This is optional b/c just like session_id, pwd, git_branch, etc. /// which are determined at precmd time, it is unset at block creation. It is also to - /// accomodate the case where determining the ShellHost fails during session restoration, e.g. + /// accommodate the case where determining the ShellHost fails during session restoration, e.g. /// if the values in sqlite are NULL or invalid. shell_host: Option, diff --git a/app/src/terminal/model/iterm_image.rs b/app/src/terminal/model/iterm_image.rs index 77e00fd19..545aa4c0b 100644 --- a/app/src/terminal/model/iterm_image.rs +++ b/app/src/terminal/model/iterm_image.rs @@ -68,7 +68,7 @@ pub fn parse_iterm_image_metadata(params: &[&[u8]]) -> ITermImageMetadata { // Because the format of arguments is (MultipartFile | File) = [optional arguments], // The first optional argument will have "MultipartFile=" or "File=" prefixed to it. - // For example, params[1] will be "File=inline=0". So the key-value seperation done before + // For example, params[1] will be "File=inline=0". So the key-value separation done before // will yield a value of "inline=0", which we need to further split. if key == b"File" || key == b"MultipartFile" { (key, value) = match value.iter().position(|&byte| byte == b'=') { diff --git a/app/src/terminal/shared_session/viewer/event_loop.rs b/app/src/terminal/shared_session/viewer/event_loop.rs index c4863b507..59cdd5d20 100644 --- a/app/src/terminal/shared_session/viewer/event_loop.rs +++ b/app/src/terminal/shared_session/viewer/event_loop.rs @@ -307,7 +307,7 @@ impl EventLoop { { // Role is set to the presence manager's role to stay as up-to-date as possible. // This avoids a race condition if a viewer gets a new role before catching up, - // by ensuring we're not overwritting the new role. + // by ensuring we're not overwriting the new role. if let Some(role) = presence_manager.as_ref(ctx).role() { self.terminal_model.lock().set_shared_session_status( SharedSessionStatus::ActiveViewer { role }, diff --git a/crates/warpui_core/src/elements/stack/mod_test.rs b/crates/warpui_core/src/elements/stack/mod_test.rs index 2bf3abb71..61731b3e9 100644 --- a/crates/warpui_core/src/elements/stack/mod_test.rs +++ b/crates/warpui_core/src/elements/stack/mod_test.rs @@ -668,7 +668,7 @@ fn test_relative_positioning_bound_to_window_by_position() { .scene() .expect("Presenter should have rendered a scene after the view was updated."); - // The expected bounds should have a modified position to accomodate the size of the + // The expected bounds should have a modified position to accommodate the size of the // positioned child (it should be moved back to (0,0) from it's 'default' (75, 75). // // Note the usage of `RectF::from_points`, which specifies top-left