Repository navigation
docs: [SDK-5844] refresh demo styles and build spec to match the Android reference - #76
Merged
Merged
Conversation
The Status row duplicates the External ID row, so demos are dropping it. The User spec now asserts on user_external_id_value, and build.md no longer specs the row or the user_status_value tag. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… Update User JWT buttons Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…te fields Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tional Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s and dialogs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Buttons 40, section spacing 16, scroll top 16, compact inputs (~44), denser dialog padding with 12 between fields, toggle rows without the 48dp tap-target padding, buttons with no built-in vertical margin, and a field group caption style. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e compact row style Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… in build.md Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…isplay:" build.md now specs the shorter line. The push helper matches either wording so demos can switch one at a time. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
build.md now specs the shorter line. The push helper and the notification click spec match either wording during the rollout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Google Sans Flex, a cooler grey palette with osInk text and #F7F7F7 background, 13 medium row labels and button text, two button styles (primary and outlined secondary with a neutral border), darker pressed state, copy buttons on ID rows, guidance banner above the App card, tabular log timestamps and the restyled Log View header. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…build.md Per-section primary/secondary table, IAM grid order (Top, Center, Bottom, Full first), copy buttons on App ID, External ID and Push ID with the Android 13+ snackbar exception, shorter guidance banner text, LOGS count badge and SecondaryButton in place of DestructiveButton. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…components and identifiers Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This reverts commit e5d74f9.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… {externalId}"
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Section headers stay the only uppercase text. build.md keeps button names in caps in prose and lists the rendered Title Case labels in the Button Styles table. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gives the 15 semibold section headers room above them, most visible where a section ends in a button row. Scroll top stays 16. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 of 18 tasks
nan-li
previously approved these changes
Dec 1, 2026
nan-li
left a comment
Contributor
There was a problem hiding this comment.
Nice spec refresh and backward-compatible Appium matchers. I found 3 small spec contradictions in demo/build.md and demo/styles.md (default App ID, fetchUser signature nullability, and the old Scrollable List bottom padding). None of these block the Appium tests, so I left them inline.
Make fetchUser's onesignalId optional to match the JWT lookup path, use the 1154c350 default App ID in the Configuration table, and drop the old Scrollable List bottom padding in favor of Scroll bottom. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Update the demo spec (
demo/styles.md,demo/build.md) to match the refreshed Android reference demo, and adjust the Appium tests for the renamed logs and the removed user Status row.Android reference implementation: OneSignal/OneSignal-Android-SDK#2860.
Details
styles.md
#F7F7F7app background.osControlBorder,osInklabel), radius 10, pressed state darkens 12%.Logswith tabular timestamps, dialogs with title case actions.build.md
addUserJwtInvalidatedListenerlog (JWT invalidated: {externalId}).Notif willDisplay:,Notif click:), dialog backdrop and layout notes.Appium
countLogMessages/expectOneNewLogaccept regex parts, and the notification checks accept both the oldNotification ...and newNotif ...wording, so demos that haven't migrated yet keep passing.No breaking changes for other demos beyond the Status row removal, which every demo picks up as it adopts the spec.
🤖 Generated with Claude Code