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

Participants list in the sidebar #2407

Merged
merged 9 commits into from
Nov 6, 2019

Conversation

nickvergessen
Copy link
Member

No description provided.

}
return []
},
getParticipant: (state) => (token, index) => {
Copy link
Member Author

Choose a reason for hiding this comment

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

missing docs

}
return {}
},
getParticipantIndex: (state) => (token, participantIdentifier) => {
Copy link
Member Author

Choose a reason for hiding this comment

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

missing docs

}
state.participants[token].push(participant)
},
updateParticipant(state, { token, index, updatedData }) {
Copy link
Member Author

Choose a reason for hiding this comment

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

missing docs

state.participants[token][index] = Object.assign(state.participants[token][index], updatedData)
}
},
deleteParticipant(state, { token, index }) {
Copy link
Member Author

Choose a reason for hiding this comment

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

missing docs

addParticipant({ commit }, { token, participant }) {
commit('addParticipant', { token, participant })
},
async promoteToModerator({ commit, getters }, { token, participantIdentifier }) {
Copy link
Member Author

Choose a reason for hiding this comment

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

missing docs

}
commit('updateParticipant', { token, index, updatedData })
},
async demoteFromModerator({ commit, getters }, { token, participantIdentifier }) {
Copy link
Member Author

Choose a reason for hiding this comment

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

missing docs

}
commit('updateParticipant', { token, index, updatedData })
},
async removeParticipant({ commit, getters }, { token, participantIdentifier }) {
Copy link
Member Author

Choose a reason for hiding this comment

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

missing docs

nickvergessen and others added 8 commits November 6, 2019 15:24
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
Signed-off-by: Joas Schilling <coding@schilljs.com>
@marcoambrosini marcoambrosini marked this pull request as ready for review November 6, 2019 16:47
Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen merged commit 041f249 into master Nov 6, 2019
@nickvergessen nickvergessen deleted the feature/vuejs/participants-list branch November 6, 2019 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants