Repository navigation
feat(android): DdsSocialSignIn chooses how many methods show inline (0.12.0) - #166
Merged
Merged
Conversation
…0.12.0) primaryLimit (positive) sets how many sign-in methods sit on the screen; the rest stay in the sheet. The existing overloads keep three.
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.
What
DdsSocialSignIn(primaryLimit = …)sets how many sign-in methods show on the screen; the rest stay in the "more methods" sheet. The existing overloads keep three. A limit below one is rejected (require).Docs: README (en/ko) and CHANGELOG 0.12.0 (en/ko). No release tag is pushed in this PR.
Verification (commit 5055c37)
node --test tests/android-tokens.test.mjs, token/icon/source checks — pass./gradlew testDebugUnitTest+ lint + assemble (the CI command) +:dds-compose:compileDebugAndroidTestKotlin— BUILD SUCCESSFUL, 98 unit tests, 0 failuresconnectedDebugAndroidTestforScreenReaderTeston emulatordds_catalog_api36(API 36) — 33/33 pass, including the changed sign-in test (4 inline, Microsoft in the sheet)변경
DdsSocialSignIn(primaryLimit = …)로 화면에 바로 보일 로그인 수단 개수를 정합니다. 나머지는 '다른 로그인 방법' 시트에 남습니다. 기존 호출의 기본값은 그대로 3이고, 1보다 작은 값은 거부합니다.문서: README(영/한), CHANGELOG 0.12.0(영/한). 이 PR에서 릴리스 태그는 올리지 않습니다.
검증 (커밋 5055c37)
testDebugUnitTest·lint·assemble(CI와 같은 명령) — 성공, 단위 테스트 98개 실패 0ScreenReaderTest33/33 통과 — 바뀐 로그인 테스트(화면 4개, Microsoft는 시트) 포함