Skip to content

test: Add UI and logic to evaluate boolean flags - #305

Merged
agrognetti merged 2 commits into
mainfrom
agrognetti/add-flag-evaluation
Dec 1, 2025
Merged

test: Add UI and logic to evaluate boolean flags#305
agrognetti merged 2 commits into
mainfrom
agrognetti/add-flag-evaluation

Conversation

@agrognetti

@agrognetti agrognetti commented Dec 1, 2025

Copy link
Copy Markdown
Contributor

Summary

Introduced a text field and button in CustomerApiButtons to input and evaluate a boolean flag key. Added evaluateBooleanFlag method in ViewModel to fetch the flag value and display the result using a Toast message.

How did you test this change?

No tests needed

Are there any deployment considerations?

No


Note

Adds UI and logic to input a flag key and evaluate a boolean flag via LDClient, showing the result in a Toast.

  • Android UI (Compose):
    • In CustomerApiButtons, add OutlinedTextField for flagKey input and a button to evaluate it via viewModel.evaluateBooleanFlag.
  • ViewModel:
    • Add evaluateBooleanFlag(flagKey) that uses LDClient.boolVariation and displays the result with a Toast; validates non-empty key.

Written by Cursor Bugbot for commit a3d020f. This will update automatically on new commits. Configure here.

Introduced a text field and button in CustomerApiButtons to input and evaluate a boolean flag key. Added evaluateBooleanFlag method in ViewModel to fetch the flag value and display the result using a Toast message.
@agrognetti
agrognetti requested a review from a team as a code owner December 1, 2025 19:53
@agrognetti agrognetti changed the title Add UI and logic to evaluate boolean flags test: Add UI and logic to evaluate boolean flags Dec 1, 2025
@agrognetti
agrognetti merged commit 835de98 into main Dec 1, 2025
21 of 23 checks passed
@agrognetti
agrognetti deleted the agrognetti/add-flag-evaluation branch December 1, 2025 21:37
abelonogov-ld added a commit that referenced this pull request Dec 2, 2025
* andrey/nonstandard-views:
  Attached dialog sample
  space
  use Canvas for certain types of windows
  consolidate in one view
  sample of adding floating views
  add floating button
  test: Add UI and logic to evaluate boolean flags (#305)
abelonogov-ld added a commit that referenced this pull request Dec 4, 2025
* main: (85 commits)
  doc: Add using ldMask in readme. (#311)
  chore: release main (#312)
  feat: take transformed coordinates, which are more precise in animation  (#309)
  chore: release main (#307)
  fix(SEC-7530): update react-server-dom-webpack to 19.0.1 (#310)
  feat: recursive mask collection (#308)
  feat: support non-standard windows added by WindowManager (#306)
  feat: Android SR Do not send duplicate screens (#304)
  test: Add UI and logic to evaluate boolean flags (#305)
  chore: release main (#303)
  feat: Android Dialog Capture (#302)
  chore: Update Android Test main screen (#301)
  chore: release main (#300)
  feat: XML Views Automasking options (#299)
  fix: missed imports (#298)
  chore: release main (#297)
  feat: Support ldMask() for Native and Compose views. (#295)
  chore: release main (#296)
  fix: tweaks Android InteractionDetector to delegate additional defaul… (#294)
  chore: release main (#293)
  ...

# Conflicts:
#	e2e/react-router/src/ldclientLazy.tsx
#	e2e/react-router/src/routes/root.tsx
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