Skip to content

Conversation

@FranAguilera
Copy link
Contributor

@FranAguilera FranAguilera commented Oct 31, 2025

Main change

Screenshot 2025-11-04 at 18 30 34

Will update public docs on next release

@FranAguilera FranAguilera requested a review from kattrali October 31, 2025 08:36
@github-actions
Copy link

github-actions bot commented Oct 31, 2025

Size Comparison Report (x86_64)

Metric APK (KB) SO (KB)
Baseline 3310 1192
Current 3310 1192
Difference 0 0

APK size unchanged. SO size unchanged.

@FranAguilera FranAguilera requested a review from Copilot October 31, 2025 09:31
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR renames the SleepMode enum values from .active/.inactive to .enabled/.disabled across both Swift and Kotlin platforms to improve naming clarity and consistency.

  • Renamed SleepMode.active to SleepMode.enabled and SleepMode.inactive to SleepMode.disabled
  • Updated all references to use the new enum values throughout the codebase
  • Updated documentation comments to reflect the new naming

Reviewed Changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.

Show a summary per file
File Description
platform/swift/source/features/SleepMode.swift Renamed enum cases from active/inactive to enabled/disabled
platform/jvm/capture/src/main/kotlin/io/bitdrift/capture/SleepMode.kt Renamed enum cases from ACTIVE/INACTIVE to ENABLED/DISABLED
platform/swift/source/features/Configuration.swift Updated default value and documentation to use disabled
platform/swift/source/LoggerObjc.swift Updated documentation and default parameter value
platform/swift/source/LoggerBridgingFactoryProvider.swift Updated documentation comment
platform/swift/source/LoggerBridge.swift Updated enum comparisons to use enabled
platform/jvm/capture/src/main/kotlin/io/bitdrift/capture/LoggerImpl.kt Updated enum comparisons to use ENABLED
platform/jvm/capture/src/main/kotlin/io/bitdrift/capture/Configuration.kt Updated default value and documentation
test/platform/swift/unit_integration/mocks/MockLogging.swift Updated default value to disabled
test/platform/swift/unit_integration/mocks/MockLoggerBridging.swift Updated default value to disabled
test/platform/swift/unit_integration/core/network/helper/BaseNetworkingTestCase.swift Updated test initialization to use disabled
test/platform/swift/unit_integration/core/LoggerTests.swift Updated test to use enabled
test/platform/swift/unit_integration/core/ConfigurationTests.swift Updated test assertion to check disabled

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@FranAguilera FranAguilera marked this pull request as draft October 31, 2025 09:48
@FranAguilera FranAguilera marked this pull request as ready for review November 4, 2025 17:30
@FranAguilera FranAguilera requested a review from murki November 4, 2025 17:31
@FranAguilera FranAguilera force-pushed the franjam/rename-sleep-mode branch from 0d64125 to 34ed4bd Compare November 4, 2025 17:33
@FranAguilera FranAguilera enabled auto-merge (squash) November 4, 2025 17:43
@FranAguilera FranAguilera merged commit 3180a15 into main Nov 4, 2025
15 checks passed
@FranAguilera FranAguilera deleted the franjam/rename-sleep-mode branch November 4, 2025 18:00
@github-actions github-actions bot locked and limited conversation to collaborators Nov 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants