-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
J UI p 150 creacion componente tabs #38
base: master
Are you sure you want to change the base?
Conversation
Pull Request Test Coverage Report for Build 9490758039Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9522367456Details
💛 - Coveralls |
src/components/Tabs/index.tsx
Outdated
return null; | ||
} | ||
|
||
const [activeTab, setActiveTab] = useState(initialTab); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dam788 los ajustes de estilos quedaron bien, revisate que, cuando le paso un valor a initialTab que no sea 0, me rompe con este error:
Invariant Violation: scrollToIndex should be used in conjunction with getItemLayout or onScrollToIndexFailed, otherwise there is no way to know the location of offscreen indices or handle failures.
Cualquier cosa, si vos haces la prueba y no te pasa avisame y lo vemos a ver si estoy bardeando con algo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
si gonza, me encontre con unos problemas que no habia tenido en cuenta. Ahi los resolvi, gracias!
Pull Request Test Coverage Report for Build 9571647947Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9571672680Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dam788 Punto que me sñalaron en diseño cuando se implemento, las tabs cuando estan inactivas tienen el titulo en negro.
Tambien hay que revisar como se ve en web.
Pull Request Test Coverage Report for Build 9583526137Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9586828157Details
💛 - Coveralls |
LINK DE TICKET:
https://janiscommerce.atlassian.net/browse/JUIP-149
DESCRIPCIÓN DEL REQUERIMIENTO:
Contexto
En los nuevos diseños de las apps, tenemos tabs en la parte superior de algunas pantallas
Necesidad
Se requiere tener el componente uppertabs que tenemos en las apps, adaptado para ui native
DESCRIPCIÓN DE LA SOLUCIÓN:
CÓMO SE PUEDE PROBAR?
Es en storybook:
npm start
|npm run storybook:android
En la app:
En la app Wms:
npm run build
yyalc push
.yalc add @janis-commerce/ui-native
ynpm i
.SCREENSHOTS:
DATOS EXTRA A TENER EN CUENTA:
CHANGELOG: