Skip to content

Pre beta merge#4283

Merged
Maheshkale447 merged 185 commits into
Releases/Betafrom
master
Aug 25, 2025
Merged

Pre beta merge#4283
Maheshkale447 merged 185 commits into
Releases/Betafrom
master

Conversation

@Maheshkale447

@Maheshkale447 Maheshkale447 commented Aug 25, 2025

Copy link
Copy Markdown
Contributor

Thank you for your contribution.
Before submitting this PR, please make sure:

  • PR description and commit message should describe the changes done in this PR
  • Verify the PR is pointing to correct branch i.e. Release or Beta branch if the code fix is for specific release , else point it to master
  • Latest Code from master or specific release branch is merged to your branch
  • No unwanted\commented\junk code is included
  • No new warning upon build solution
  • Code Summary\Comments are added to my code which explains what my code is doing
  • Existing unit test cases are passed
  • New Unit tests are added for your development
  • Sanity Tests are successfully executed for New and Existing Functionality
  • Verify that changes are compatible with all relevant browsers and platforms.
  • After creating pull request there should not be any conflicts
  • Resolve all Codacy comments
  • Builds and checks are passed before PR is sent for review
  • Resolve code review comments
  • Update the Help Library document to match any feature changes

Summary by CodeRabbit

  • New Features

    • Ginger Play integration: dedicated configuration page with connectivity tests; new menu entry.
    • AI-assisted POM learning: “AI Fine-Tuning” option, AI progress indicator, AI-generated locators/labels.
    • Network logging: option to monitor, clear, and save request/response logs with custom filenames.
    • Solution Categories: new collapsible sections on Activity and Business Flow pages; Run Set synchronization.
    • Validation DB expression editor for quick in-place edits.
  • Enhancements

    • More locator strategies; element screenshots in learning flows.
    • Excel actions: richer error logging.
    • Value Expression highlighting and mapping improvements.
  • UI/Style

    • Layout tweaks, titles, themed colors, AI row styling.
  • Removals/Streamlining

    • Simplified execution results settings; removed “Enterprise features” user toggle.
  • Bug Fixes

    • Safer null handling and configuration fallbacks.

Maheshkale447 and others added 30 commits June 22, 2025 10:16
…te_DirtyMark

Remove the publish for Action and added relevant field
…ge-reference-to-System.IdentityModel.Tokens.Jwt

Removing unused package reference to System.IdentityModel.Tokens.Jwt …
Added Value Expression as a Mapped Runtime Value
Enhanced the exception handling in `ActExcel.cs` by adding an error logging statement. This improvement provides better visibility into issues that may occur during the process of writing to Excel.
jainammAmdocs and others added 24 commits August 5, 2025 18:02
…awRequestPreviewGETAPI

Content Typr will be added now in Raw Request Preview
…ovedFrom_RegularActivities

Categories removed from regular activities
…dChanges

Handled Exception for run-set execution
Updated Ginger Play configuration check for AI fine Tune Option Remov…
@coderabbitai

coderabbitai Bot commented Aug 25, 2025

Copy link
Copy Markdown
Contributor

Caution

Review failed

The pull request is closed.

Walkthrough

Introduces Ginger Play integration (config page, endpoints, token manager), AI-driven POM learning and UI indicators, enhanced network logging (save/clear, filenames), solution Categories across Activity/BusinessFlow/RunSet, Value Expression DB editor, IWindowExplorer screenshot API expansion, execution/report URL migration, and multiple UI/driver updates, utilities, and backward-compat changes.

Changes

Cohort / File(s) Summary
Ginger Play integration (UI, endpoints, tokens, menu, assets, solution mapping)
Ginger/ExternalConfigurations/GingerPlayConfigurationpage.xaml, .../GingerPlayConfigurationpage.xaml.cs, Ginger/MenusLib/ConfigurationsMenu.cs, GingerCoreCommon/External/Configurations/GingerPlayConfiguration.cs, GingerCoreNET/External/GingerPlay/GingerPlayEndPointManager.cs, .../GingerPlayAPITokenManager.cs, .../GingerPlayAPITokenResponseInfo.cs, GingerCoreCommon/WorkSpaceLib/Solution.cs, Ginger/App.config, Ginger/UserControlsLib/ImageMakerLib/ImageMakerControl.xaml.cs, GingerCoreCommon/EnumsLib/eImageType.cs, Ginger/Ginger.csproj
Adds Ginger Play configuration page and menu, endpoint/token managers, config model and solution migration, appSettings for services, image/enum support for logo, project refs.
AI POM learning pipeline and indicators
Ginger/ApplicationModelsLib/POMModels/POMWizardLib/LearnWizard/POMLearnConfigWizardPage.xaml, ...xaml.cs, GingerCoreCommon/Repository/.../PomSetting.cs, GingerCoreNET/Application Models/Learn/POM/PomLearnUtils.cs, .../Web/Selenium/SeleniumDriver.cs, .../Web/POM/POMLearner.cs, .../Web/POM/POMUtils.cs, Ginger/WizardLib/WizardWindow.xaml, .../WizardWindow.xaml.cs, Ginger/ApplicationModelsLib/POMModels/PomElementsPage.xaml, .../PomElementsPage.xaml.cs, Ginger/UserControlsLib/UCElementDetails.xaml, .../UCElementDetails.xaml.cs, GingerCoreCommon/UIElement/ElementLocator.cs, GingerCoreCommon/UIElement/ElementInfo.cs, Ginger/Dictionaries/Skins/GingerDefaultSkinDictionary.xaml
Adds AI toggle/visibility and driver subscription, LearnPOMByAI persistence, AI batching via POMUtils, wizard AI processing UI/timer, AI indicators/columns/styles, IsAIGenerated and new locator enums, centralized purple color.
Network logging enhancements
Ginger/Actions/ActionEditPages/ActBrowserElementEditPage.xaml, ...xaml.cs, GingerCoreCommon/Actions/Web/ActBrowserElement.cs, GingerCoreNET/Drivers/CoreDrivers/Web/ActionHandlers/ActBrowserElementHandler.cs, .../Web/Playwright/PlaywrightBrowserTab.cs, .../Web/Selenium/SeleniumDriver.cs, .../Web/BrowserHelper.cs, Ginger/Drivers/DriversConfigsEditPages/WebAgentConfigEditPage.xaml, ...xaml.cs
Adds SaveLogToFile, request/response filename inputs, ClearExistingNetworkLog action, centralized log processing/writing, Playwright/Selenium network log capture/clear, agent setting binding.
Categories across entities (Activity/BusinessFlow/RunSet) and UI
Ginger/Activities/ActivityDetailsPage.xaml, ...xaml.cs, Ginger/Activities/ActivityPage.xaml.cs, Ginger/BusinessFlowWindows/BusinessFlowConfigurationsPage.xaml, ...xaml.cs, Ginger/SolutionCategories/SolutionCategoriesPage.xaml.cs, GingerCoreCommon/GeneralLib/General.cs, GingerCoreCommon/Repository/BusinessFlowLib/Activity.cs, .../BusinessFlowLib/BusinessFlow.cs, Ginger/RunSetPageLib/NewRunSetPage.xaml.cs, Ginger/RunSetLib/RunSetOperations.cs, GingerCoreCommon/Run/RunSetConfig.cs
Adds Categories UI sections and wiring, CategoryValueChanged event, merge/update helpers, persisted CategoriesDefinitions and computed MergedCategoriesDefinitions, UI sync and initialization changes.
Value Expression: DB editor and highlighting
Ginger/Actions/ActionEditPages/ValidationDBPage.xaml, ...xaml.cs, Ginger/UserControlsLib/TextEditor/ValueExpression/ValueExpressionEditor.cs, .../ValueExpressionHighlighting.xshd, Ginger/UserControlsLib/UCDataMapping.xaml, .../UCDataMapping.xaml.cs, Ginger/UserControlsLib/TextEditor/ValueExpression/ValueExpressionEditorPage.xaml.cs
Adds DB expression editing constructor/UpdateContent, integrates into editor, expands syntax highlighting (EnvApp/DB/Query, VBS/regex groups), adds ValueExpression mapping type and control.
IWindowExplorer.GetVisibleControls: screenshot parameter propagation
GingerCoreCommon/UIElement/IWindowExplorer.cs, GingerCore/Drivers/*/*Driver*.cs, GingerCoreNET/Drivers/*/*Driver*.cs, GingerCoreNET/Application Models/Delta/PomDelta/PomDeltaUtils.cs, .../Delta/DeltaElementInfo.cs
Interface gains optional Bitmap ScreenShot; propagated across drivers and learners; delta utils now pass screenshot; DeltaElementInfo exposes ScreenShotImage.
Execution/reporting URL migration to Ginger Play
Ginger/Reports/ExecutionResultsConfiguration.xaml, ...xaml.cs, GingerCoreCommon/ReportsLib/ExecutionLoggerConfiguration.cs, GingerCoreNET/ALMLib/Generic/ALMCore.cs, GingerCoreNET/Reports/RunsetFromReportLoader.cs, Ginger/RunSetLib/CreateAutoRunWizardLib/AutoRunWizard.cs
Removes legacy endpoint UI/bindings; adds backward-compat getters; switches report/execution URLs to GingerPlayEndPointManager; adjusts autorun gating.
HTTP client/content-type/form-data handling
Ginger/ApplicationModelsLib/APIModels/APIModelPage.xaml.cs, GingerCoreNET/Drivers/WebServicesDriver/HttpWebClientUtils.cs
Consolidates REST body-type UI logic and adds multipart/form-data, GET content-type handling, JSON-without-charset path, and robustness tweaks.
Repo folder assignment utility and null-safety fixes
GingerCoreCommon/WorkSpaceLib/RepoFolderManager.cs, GingerCoreCommon/Repository/SolutionRepository.cs, GingerCoreCommon/Run/ApplicationAgent.cs, GingerCoreCommon/Repository/BusinessFlowLib/BusinessFlow.cs
Adds cross-process repo folder manager with locking/heartbeat; adds null guards in repository watchers and app/platform retrieval.
General helpers: AI calls and screenshots
GingerCoreNET/GeneralLib/General.cs, GingerCoreNET/GeneralLib/ElementWrapperInfo.cs, GingerCoreNET/GeneralLib/CommonLib.cs
Adds Ginger Play config creation, OpenAI request helpers, element screenshot cropper, element wrapper DTOs; minor usings cleanup.
Accessibility and misc UI tweaks
GingerCoreNET/ActionsLib/UI/Web/ActAccessibilityTesting.cs, Ginger/Functionalities/FindAndReplacePage.xaml.cs, Ginger/UserControlsLib/TextEditor/UCTextEditor.xaml.cs, Ginger/UserConfigLib/UserSettingsPage.xaml, ...xaml.cs, Ginger/Actions/ActionEditPage.xaml.cs, Ginger/ApplicationModelsLib/POMModels/POMWizardLib/DeltaWizard/*
Path resolution update for reports; Find/Replace attribute filtering; editor row height default; remove “Show enterprise features” UI/binding; doc/comment and checkbox handler additions.
Packages, versions, and removals
Ginger/Ginger.csproj, GingerCoreCommon/GingerCoreCommon.csproj, GingerCoreNET/GingerCoreNET.csproj, GingerConsoleTest/GingerConsoleTest.csproj, GingerCore/GingerCore.csproj
Bumps Ginger.ExecuterService.Contracts to 25.3.0; removes System.IdentityModel.Tokens.Jwt; adjusts assembly/file/product versions; adds GingerExternal reference; embeds GingerPlayLogo as Resource.
Reporting/messages and actions metadata
GingerCoreCommon/ReporterLib/UserMsgsPool.cs, GingerCoreCommon/Actions/Act.cs
Adds GingerPlay connection messages and error variant; marks Act properties editable via AllowUserToEdit attributes.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor User
  participant Menu as Configurations Menu
  participant Page as GingerPlayConfigurationpage
  participant Token as GingerPlayAPITokenManager
  participant Endpoints as GingerPlayEndPointManager
  participant ID as Identity Service
  participant Svc as Services (Report/Exec/AI)

  User->>Menu: Open "Ginger Play"
  Menu->>Page: Create page
  User->>Page: Click "Test Connection"
  Page->>Token: GetOrValidateToken()
  Token->>Endpoints: GetGenerateTokenUrl()
  Token->>ID: POST /connect/token (client creds)
  ID-->>Token: access_token
  Token-->>Page: success/fail
  alt success
    Page->>Endpoints: Get*HealthUrl()
    loop each enabled service
      Page->>Svc: GET /health
      Svc-->>Page: Healthy/Unhealthy
    end
  end
  Page-->>User: Show status summary
Loading
sequenceDiagram
  autonumber
  actor User
  participant UI as ActBrowserElementEditPage
  participant Handler as ActBrowserElementHandler
  participant Tab as Playwright/Selenium Driver
  participant Helper as BrowserHelper
  participant FS as File system
  participant Report as Artifacts

  User->>UI: Select Get/Stop/Clear Network Log
  UI->>Handler: Execute action
  alt Get / Stop
    Handler->>Tab: Capture/Stop logs
    Tab-->>Handler: request/response logs
    Handler->>Helper: ProcessNetworkLogs(act, resp, req)
    Helper->>FS: Create HAR files (optional)
    FS-->>Helper: Paths
    Helper-->>Handler: Return params + artifacts
    Handler-->>UI: ExInfo/outputs
  else Clear
    Handler->>Tab: ClearExistingNetworkLog()
    Tab-->>Handler: Cleared
    Handler-->>UI: ExInfo
  end
Loading
sequenceDiagram
  autonumber
  actor User
  participant Wiz as WizardWindow
  participant Learn as POMLearnConfigWizardPage
  participant Driver as SeleniumDriver
  participant POMU as POMUtils
  participant AI as AI Service

  User->>Wiz: Start POM Learn (AI enabled)
  Wiz->>Learn: Init (subscribe driver)
  Learn->>Driver: Begin learn (IsProcessing=true)
  Driver->>Wiz: IsProcessing changed
  Wiz->>Wiz: AIProcessStarted()+timer
  loop Batch discovered elements
    Driver->>POMU: SendInBatchesList(...)
    POMU->>AI: POST /process-extracted-elements
    AI-->>POMU: Updated names/locators
    POMU-->>Driver: Apply updates (IsAIGenerated)
  end
  Driver->>Wiz: IsProcessing=false
  Wiz->>Wiz: AIProcessStopped()
Loading

Estimated code review effort

🎯 5 (Critical) | ⏱️ ~120+ minutes

Possibly related PRs

Poem

A rabbit taps on keys so spry,
Wiring logs to gently lie,
Categories bloom, neat and shy,
Playful gateways say “Oh hi!”
AI learns the POM on high—
Screenshots wink, selectors fly.
Thump-thump: shipped. Now watch it sky. 🐇✨

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.

✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch master

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.
    • 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.
  • 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 the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

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

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

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 or @coderabbitai title 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

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • 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.

@Maheshkale447
Maheshkale447 merged commit affb1e3 into Releases/Beta Aug 25, 2025
3 of 5 checks passed
@coderabbitai coderabbitai Bot mentioned this pull request Dec 22, 2025
15 tasks
@coderabbitai coderabbitai Bot mentioned this pull request Jan 19, 2026
15 tasks
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.

6 participants