Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Feature/show2 233 segmented control #625

Merged

Conversation

intergalacticspacehighway
Copy link
Collaborator

Why

How

Test Plan

  • Run segmented control example in storybook for web and native.

@linear
Copy link

linear bot commented Dec 23, 2021

SHOW2-233 Segmented Control

Maybe use react-native-segmented-control?

@vercel
Copy link

vercel bot commented Dec 23, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/showtime/showtime/8vLy1SrGdiYUb9XBhdc6Sc2kVm69
✅ Preview: https://showtime-git-feature-show2-233-segmented-control-showtime.vercel.app

Copy link
Contributor

@axeldelafosse axeldelafosse left a comment

Choose a reason for hiding this comment

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

LGTM ✨

Comment on lines 7 to 9
import {colors} from "design-system/tailwind/colors";
import {useIsDarkMode} from "design-system/hooks";
import {tw} from "design-system/tailwind";
Copy link
Contributor

Choose a reason for hiding this comment

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

There is no spaces here (should be { colors }), maybe your VSCode ESLint config is not correct? Cf #624

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

oh my bad. I had format on save disabled. Pushed the fix

@github-actions
Copy link

github-actions bot commented Dec 23, 2021

PR Preview - Storybook

This pull request preview deployment is now available.

✅ Preview: io.showtime.storybook://expo-development-client/?url=https://exp.host/@tryshowtime/showtime-storybook-react-native/index.exp?release-channel=pr-625&sdkVersion=44.0.0

Comment ID: 1000255504

@github-actions
Copy link

github-actions bot commented Dec 23, 2021

PR Preview - App

This pull request preview deployment is now available.

✅ Preview: io.showtime.development://expo-development-client/?url=https://exp.host/@tryshowtime/showtime/index.exp?release-channel=pr-625&sdkVersion=44.0.0

Comment ID: 1000259103

@axeldelafosse
Copy link
Contributor

I'm not a big fan of the pressed label color, it's a little bit weird isn't it?

Upload.from.GitHub.for.iOS.MOV

@axeldelafosse
Copy link
Contributor

Would be cool to automatically trigger a new build on EAS when we add a native dependency!

@intergalacticspacehighway
Copy link
Collaborator Author

I'm not a big fan of the pressed label color, it's a little bit weird isn't it?

Upload.from.GitHub.for.iOS.MOV

Screen.Recording.2021-12-23.at.6.16.20.PM.mov

True. It's using TouchableOpacity for web/android, no way to customise it 🙁. On iOS it doesn't look that bad.

@github-actions
Copy link

github-actions bot commented Dec 23, 2021

PR Preview - Storybook on Chromatic

✅ Preview: The Storybook preview URL for this Pull Request

✅ Build: The Chromatic build URL for this Pull Request

@axeldelafosse
Copy link
Contributor

Ah! Maybe we can patch it to use Pressable instead? It's not a blocker tho, accepted the change on Chromatic, all green ✅

@intergalacticspacehighway
Copy link
Collaborator Author

Cool. Added the patch with PressableScale!

@axeldelafosse
Copy link
Contributor

Perfect 🤩

@intergalacticspacehighway intergalacticspacehighway merged commit f217d51 into staging Dec 23, 2021
@intergalacticspacehighway intergalacticspacehighway deleted the feature/show2-233-segmented-control branch December 23, 2021 14:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants