Skip to content
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

Home page #39

Merged
merged 3 commits into from
Apr 29, 2019
Merged

Home page #39

merged 3 commits into from
Apr 29, 2019

Conversation

santakadev
Copy link
Contributor

@santakadev santakadev commented Apr 23, 2019

What

A home page when accesing to P2P Editor. This home page is the base for future sessión configuration like, set display name (See #7), Enabling/disabling audio before accesing, type of session (See wiki), etc.

There are two versions of home page:

  1. Starting new session
  2. Joining an existing session

I don't want to put too much effort on design right now, so I have use a very basic style.

Integration: https://p2p-editor.codely.tv/ (browser cache flush needed if previously visited the old version)

Why

I've implemented #7 in local with the new proposed architecture #37. The feature is working but I have pending:

  1. Refactor vailla JS components using a frontend framework.
  2. UI for setting the display name.

I've decided to split the task and create this one first.

@santakadev santakadev self-assigned this Apr 23, 2019
@santakadev santakadev added this to In progress in P2P Editor via automation Apr 23, 2019
@santakadev santakadev added this to the 1.1 milestone Apr 23, 2019
@santakadev santakadev force-pushed the home-page branch 2 times, most recently from ff52e7d to 819424c Compare April 26, 2019 05:58
@santakadev santakadev marked this pull request as ready for review April 26, 2019 05:59
@santakadev santakadev force-pushed the home-page branch 4 times, most recently from 76d9268 to d5a7548 Compare April 28, 2019 08:08
Copy link
Member

@JavierCane JavierCane left a comment

Choose a reason for hiding this comment

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

Great work! 🙌

Gogogoooooo 🚀

src/index.js Outdated
@@ -24,14 +30,14 @@ class P2PEditor {
window.history.pushState(null, null, sessionId)
}
})

this.session.on('session.new_peer_appeared', (peer) => {
this.changeLog.replicate(peer, {live: true, encrypt: false})
// eslint-disable-next-line no-console
console.log('new peer')
Copy link
Member

Choose a reason for hiding this comment

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

Given that right now this is a stable feature, could we remove this console.log?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure! thanks for the feedback!

P2P Editor automation moved this from In progress to Reviewer approved Apr 29, 2019
@santakadev santakadev merged commit 9f93b44 into master Apr 29, 2019
P2P Editor automation moved this from Reviewer approved to Done Apr 29, 2019
@santakadev santakadev deleted the home-page branch April 29, 2019 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
P2P Editor
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants