Skip to content

feat: sync Card, SelectBottomSheet full page and Android back handling - #153

Merged
ergenekonyigit-ty merged 1 commit into
mainfrom
sync/internal-main
Nov 26, 2026
Merged

ergenekonyigit-ty merged 1 commit into
mainfrom
sync/internal-main

Conversation

@ergenekonyigit-ty

Copy link
Copy Markdown
Collaborator

Summary

Syncs the internal GitLab baklava-react-native main branch into the public repo. Only the changes the GitHub repo did not already have are included — the earlier SelectBottomSheet FullPage (#151) and Ruby/CocoaPods (#152) syncs were already merged to main, so this PR picks up what came after them.

What's included

New components

  • Card and CardCompactMetric — component, types, stories, tests and snapshots
  • docs/stories/components/card.mdx with the matching screenshots

Fixes

  • onRequestClose on Modal / BottomSheet so the Android hardware back press closes the sheet instead of popping the navigator or exiting the app (with test coverage)

Docs & Storybook

  • onRequestClose documented on modal.mdx and bottomsheet.mdx
  • Card ordering in .rnstorybook/preview.tsx
  • Box/Text stories aligned on the subtitleNNBold variant naming
  • Extra Text truncate coverage

Deliberately excluded

  • Internal analysis notes under docs/: PROJECT_ANALYSIS.md, LIST_ITEM_PLAN.md, FIGMA_TOKEN_COMPARISON.md, TOKEN_MIGRATION_IMPACT.md
  • Generated .rnstorybook/storybook.requires.ts (git-ignored here, produced by npm run storybook-generate)
  • Icons that only exist on GitHub (Ai2, AiOrtak, OrtakGrad, Support2) are preserved — the internal icon pipeline does not generate them, but removing them would break the public API
  • The existing Accordion animation-target fix on this repo is kept as-is

Verification

  • tsc --noEmit — clean
  • eslint on all changed files — clean
  • prettier --check src/ docs/stories/ .rnstorybook/ — clean
  • jest — 60 suites / 1002 tests / 130 snapshots passing

Port the internal GitLab `main` changes that the GitHub repository did not
have yet:

- Card and CardCompactMetric components with types, tests, snapshots and
  Storybook docs
- `onRequestClose` for the Android hardware back press on Modal and BottomSheet
- Box/Text story variant alignment, Storybook Card ordering and extra bottom
  sheet/modal prop documentation

Deliberately excluded from this sync: the internal analysis notes under `docs/`
(`PROJECT_ANALYSIS.md`, `LIST_ITEM_PLAN.md`, `FIGMA_TOKEN_COMPARISON.md`,
`TOKEN_MIGRATION_IMPACT.md`) and the generated `.rnstorybook/storybook.requires.ts`.
Icons that exist only on GitHub (`Ai2`, `AiOrtak`, `OrtakGrad`, `Support2`) are
preserved, and the existing Accordion animation fix is kept as-is.
@ergenekonyigit-ty ergenekonyigit-ty self-assigned this Nov 26, 2026
@ergenekonyigit-ty
ergenekonyigit-ty removed the request for review from HasanGocmen November 26, 2026 10:52
@ergenekonyigit-ty
ergenekonyigit-ty merged commit ed2eb49 into main Nov 26, 2026
12 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.67.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants