Home Reference Source

References

Class Summary

Static Public Class Summary
public

ChatsList(props: Object)

ChatsList is a React class component.

public

CustomNav(props: Object)

CustomNav is a React class component which renders different Headers depending on the UI state of the application.

public

This is the top-level component for rendering the custom emoji-only keyboard.

public

EmojiKeys(updateInput: function, emojiData: array)

This component creates the array of emoji keys that are pressable on the keyboard.

public

GameScreen(props: Object)

GameScreen is a React class component.

public

Toast is a React class component designed to provide modal notifications across the application.

Variable Summary

Static Public Variable Summary
public

App: *

App is the entrypoint for both the ios and (in the future) Android versions of the app.

public

Client->Client: Indicates that the user has read the most recent notificaiton.

public

Emoji(x: number, y: number): *

This is a basic emoji component.

public

EmojiInput(emojiElements: array): *

This is the input box in the EmojiKeyboard component.

public

Server->Client: conveys a game event to be displayed to the user in the ui and/or as a notification.

public

GameScreenContainer is a 'container component' which binds the props and actions creators of GameScreen to the store and dispatcher, respectively.

public

HomeScreen(onPress: function()): *

onPress additionally triggers navigation to GameScreen

public

HomeScreenContainer is a 'container component' which binds the props and actions creators of HomeScreen to the store and dispatcher, respectively.

public

Message(props: Object): *

Message is a React functional component.

public

Client->Server: sent to server when the dealer wants to broadcast a clue

public

Client->Server: sent to server when the client wants to broadcast a guess

public

StatsScreenContainer is a 'container component' which binds the props and actions creators of StatsScreen to the store and dispatcher, respectively.

public

Server->Client: integrates action.payload into the game part of the store

public

Server->Client: integrates action.payload into the message part of the store

public

Server->Client: integrates action.payload into the user part of the store

public

colors: *

The app's color palette is based on this Adobe color theme: https://color.adobe.com/Color-Theme-4-color-theme-8030401/edit/?copy=true It consists of the five colors below: darkBlue, midBlue, lightBlue, caramel, cream

To access colors in any other file, import colors object and access individual colors as properties

public

This creates an action which removes a memo from the notifications queue once it has been dismissed by the user.

public

This creates an action for the dealer to submit a clue This action is handeled by the server

public

Creates an action for submitting a guess to the server This action is handled by the server