Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

RTS Welcome Pages#666

Merged
dbkr merged 11 commits into
developfrom
luke/rts-welcome-pages
Feb 7, 2017
Merged

RTS Welcome Pages#666
dbkr merged 11 commits into
developfrom
luke/rts-welcome-pages

Conversation

@lukebarnard1
Copy link
Copy Markdown
Contributor

@lukebarnard1 lukebarnard1 commented Feb 2, 2017

Takes what @ara4n started and makes it use a mx_team_token in localStorage instead of config.json.

Goes with element-hq/element-web#3103

@lukebarnard1 lukebarnard1 requested review from dbkr and removed request for dbkr February 2, 2017 14:16
@lukebarnard1
Copy link
Copy Markdown
Contributor Author

FTR @dbkr I'd like to change this from using local storage as we suggested, to using local storage with a fall-back of query parameter. Local storage will only be set on registration or (in a PR coming soon) logging in.

@lukebarnard1 lukebarnard1 requested a review from dbkr February 7, 2017 11:42
Copy link
Copy Markdown
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

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

Tests are broken as I think you're missing a this.props

Comment thread src/components/structures/MatrixChat.js Outdated
self.notifyNewScreen('directory');
if (self.props.config.home_page) {
self.notifyNewScreen('home');
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Brace style

Comment thread src/components/structures/MatrixChat.js Outdated
self.setState({ready: true, page_type: PageTypes.RoomDirectory});
if (this._teamToken) {
self.setState({ready: true, page_type: PageTypes.HomePage});
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Brace style

@dbkr dbkr merged commit 96539a4 into develop Feb 7, 2017
@lukebarnard1 lukebarnard1 deleted the luke/rts-welcome-pages branch February 7, 2017 13:43
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.

3 participants