Skip to content

[flags] FFL-1145: Update documentation#2955

Merged
jonathanmos merged 2 commits into
feature/feature-flaggingfrom
jmoskovich/ffl-1145/documentation
Oct 30, 2025
Merged

[flags] FFL-1145: Update documentation#2955
jonathanmos merged 2 commits into
feature/feature-flaggingfrom
jmoskovich/ffl-1145/documentation

Conversation

@jonathanmos

Copy link
Copy Markdown
Member

What does this PR do?

Adds comprehensive documentation for setup and usage of the flags module to the readme. We may remove this when public documentation becomes available in order to match what we have in the other modules.

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

@jonathanmos jonathanmos changed the title FFL-1145: Update documentation [flags] FFL-1145: Update documentation Oct 20, 2025
@typotter
typotter force-pushed the typo/FFL-1184-resolve-value-method branch 2 times, most recently from 9c296a3 to a73b2bd Compare October 21, 2025 07:32
@jonathanmos
jonathanmos force-pushed the jmoskovich/ffl-1145/documentation branch from 8dc4676 to d46a0c6 Compare October 21, 2025 10:04
@codecov-commenter

codecov-commenter commented Oct 21, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.91%. Comparing base (fda13c9) to head (a15ecaf).
⚠️ Report is 165 commits behind head on feature/feature-flagging.

Additional details and impacted files
@@                     Coverage Diff                      @@
##           feature/feature-flagging    #2955      +/-   ##
============================================================
+ Coverage                     70.87%   70.91%   +0.04%     
============================================================
  Files                           841      841              
  Lines                         30577    30577              
  Branches                       5168     5168              
============================================================
+ Hits                          21670    21681      +11     
+ Misses                         7447     7433      -14     
- Partials                       1460     1463       +3     

see 32 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jonathanmos
jonathanmos marked this pull request as ready for review October 21, 2025 10:56
@jonathanmos
jonathanmos requested review from a team as code owners October 21, 2025 10:56
0xnm
0xnm previously approved these changes Oct 21, 2025

@0xnm 0xnm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. It would be nice to get a look from @DataDog/documentation as well.

Comment thread features/dd-sdk-android-flags/README.md
Comment thread features/dd-sdk-android-flags/README.md Outdated
Comment thread features/dd-sdk-android-flags/README.md Outdated
- `reason: String?` - Optional explanation of why this value was resolved
- `errorCode: ErrorCode?` - Optional error code (null indicates success)
- `errorMessage: String?` - Optional human-readable error message
- `flagMetadata: Map<String, Any>?` - Optional metadata associated with the flag

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think it will be better to have empty collection here instead of null value.

Comment thread features/dd-sdk-android-flags/README.md Outdated
Comment thread features/dd-sdk-android-flags/README.md Outdated
@jonathanmos
jonathanmos force-pushed the jmoskovich/ffl-1145/documentation branch from d46a0c6 to a7bcdba Compare October 21, 2025 14:05
@buraizu

buraizu commented Oct 21, 2025

Copy link
Copy Markdown
Contributor

Created DOCS-12384 for documentation team review

Base automatically changed from typo/FFL-1184-resolve-value-method to feature/feature-flagging October 22, 2025 17:15
@typotter
typotter dismissed 0xnm’s stale review October 22, 2025 17:15

The base branch was changed.

rtrieu
rtrieu previously approved these changes Oct 29, 2025

@rtrieu rtrieu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

left some minor feedback for your consideration!

Comment thread features/dd-sdk-android-flags/README.md Outdated
Comment thread features/dd-sdk-android-flags/README.md Outdated
Comment thread features/dd-sdk-android-flags/README.md Outdated
Comment thread features/dd-sdk-android-flags/README.md Outdated
Comment thread features/dd-sdk-android-flags/README.md Outdated
Comment thread features/dd-sdk-android-flags/README.md Outdated
Comment thread features/dd-sdk-android-flags/README.md Outdated
Comment thread features/dd-sdk-android-flags/README.md Outdated
Comment thread features/dd-sdk-android-flags/README.md Outdated
Comment thread features/dd-sdk-android-flags/README.md Outdated
@jonathanmos
jonathanmos merged commit 9ef2564 into feature/feature-flagging Oct 30, 2025
26 checks passed
@jonathanmos
jonathanmos deleted the jmoskovich/ffl-1145/documentation branch October 30, 2025 10:59
This was referenced Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants