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

トピック編集 #539

Merged
merged 5 commits into from
Apr 30, 2020
Merged

トピック編集 #539

merged 5 commits into from
Apr 30, 2020

Conversation

spaspa
Copy link
Member

@spaspa spaspa commented Apr 29, 2020

No description provided.

@wtks wtks linked an issue Apr 29, 2020 that may be closed by this pull request
Copy link
Contributor

@sapphi-red sapphi-red left a comment

Choose a reason for hiding this comment

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

🙏

@@ -21,6 +21,7 @@ export const onChannelDeleted = ({ id }: ChannelDeletedEvent['body']) => {
export const onChannelUpdated = async ({ id }: ChannelUpdatedEvent['body']) => {
const res = await apis.getChannel(id)
store.commit.entities.extendChannels({ [id]: res.data })
store.commit.domain.messagesView.setTopic(res.data.topic)
Copy link
Contributor

Choose a reason for hiding this comment

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

見てるチャンネル以外も流れてくるのでその判定が必要そうです

Copy link
Contributor

@sapphi-red sapphi-red left a comment

Choose a reason for hiding this comment

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

あるチャンネルでトピック書き換える→別のチャンネルに行く

をすると移動先のチャンネルのトピックの編集前の文字列が移動前の編集後トピックのものになるみたいです

@spaspa
Copy link
Member Author

spaspa commented Apr 30, 2020

なおしました(実装がちょっとアだけど

Copy link
Contributor

@sapphi-red sapphi-red left a comment

Choose a reason for hiding this comment

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

👍

@sapphi-red sapphi-red merged commit eec5835 into master Apr 30, 2020
@sapphi-red sapphi-red deleted the feat/edit-topic branch April 30, 2020 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

トピックの編集
2 participants