-
Notifications
You must be signed in to change notification settings - Fork 5
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
Fe 62 rolling dice #77
Conversation
… in MyBooks comp to tell them book edition's not available
…ut going to page sections
… authenticate server call
…f childrens more easily
…ls:[Roll], and create all C(R)UD method in resolvers
…stions only have their own personal graphql container and dumb comp is generic
…ral is replaced by 'mydraft'
… are now instances of WideButton
…space between new animation
…when panel is closed.
… the Page slide to the left
…counting conditions/effects/rolls
@@ -41,10 +53,15 @@ class Game extends React.Component { | |||
return el.getBoundingClientRect().bottom <= window.innerHeight + 50 |
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.
Extraire dans un service
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.
if(window)
@@ -41,10 +53,15 @@ class Game extends React.Component { | |||
return el.getBoundingClientRect().bottom <= window.innerHeight + 50 | |||
} | |||
|
|||
trackScrolling() { | |||
trackScrolling(timeOut) { | |||
const wrappedElement = document.getElementById('page') |
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.
if(document)
GamePanels | ||
.filter(panel => panelState === panel.key) | ||
.map(panel => <panel.component key={panel.key} />) | ||
GamePanels.reduce( |
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.
Repasser au .filter .map
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' | ||
import styles from './style.scss' | ||
|
||
const AnimatedButton = posed.div({ |
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.
Move into a specific container
}) | ||
|
||
return ( | ||
<AnimatedButton> |
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.
move into container
|
||
.forbidden { | ||
display: none; | ||
@media #{$lt-desktop} { |
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.
todo
</div> | ||
<div className={styles.forbidden}> | ||
<Forbidden {...props} /> | ||
</div> |
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.
<GTMobileDisplay>
<AppLayout {...props} tabs={tabs} />
</GTMobileDisplay>
</AnimatedItemRow> | ||
)) | ||
} | ||
</PoseGroup> |
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.
AnimatedList = ({ list, children }) => {
<PoseGroup>
{
list.map((...args) => (
<UpDownAnimatedRow>
{children(...args)}
</UpDownAnimatedRow>
)
}
</PoseGroup>
}
<AnimatedList list={book.objects}>
{
(item) => <Bla toto={item.tg} />
}
</AnimatedList>
import PageRow from './PageRow' | ||
import styles from './styles.scss' | ||
|
||
const AnimatedPageRow = posed.div(dataRow) |
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.
idem
import StatRow from './StatRow' | ||
import styles from './styles.scss' | ||
|
||
const AnimatedStatRow = posed.div(dataRow) |
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.
idem
#62