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

チャンネル選択のドロップダウンからアーカイブチャンネルを削除 #4257

Merged
merged 4 commits into from
Apr 6, 2024

Conversation

reiroop
Copy link
Contributor

@reiroop reiroop commented Apr 2, 2024

作れそうだったので作ったのですが、元issueで方針も決まっていませんし却下してくださっても大丈夫です

Copy link

github-actions bot commented Apr 2, 2024

Copy link

codecov bot commented Apr 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.36%. Comparing base (4d63db6) to head (0fc656c).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4257   +/-   ##
=======================================
  Coverage   86.36%   86.36%           
=======================================
  Files          66       66           
  Lines        4722     4722           
  Branches      565      565           
=======================================
  Hits         4078     4078           
  Misses        638      638           
  Partials        6        6           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@mehm8128 mehm8128 left a comment

Choose a reason for hiding this comment

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

#3285 (comment)
で懸念点書いてたのですが大きな問題でもないので、使いやすさ重視でこの変更方針で問題ないと思います

const { channelOptions: rawChannelOptions } = useChannelOptions(
rootChannel,
undefined,
true
Copy link
Contributor

Choose a reason for hiding this comment

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

アーカイブされたチャンネルの子にチャンネル生やすことってなさそうなのでfalseでよさそうです

Copy link
Contributor Author

Choose a reason for hiding this comment

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

了解です

@@ -45,7 +45,7 @@ const homeChannelId = computed(() => detail.value?.homeChannel ?? nullUuid)
const { fetchChannels } = useChannelsStore()
// 投稿先チャンネルとメッセージでの置換に必要
fetchChannels()
const { channelOptions } = useChannelOptions('-----')
const { channelOptions } = useChannelOptions('-----', undefined, true)
Copy link
Contributor

Choose a reason for hiding this comment

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

アーカイブされたチャンネルには投稿できないのでfalseでよさそうです

Copy link
Contributor Author

Choose a reason for hiding this comment

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

了解です🫡

Copy link
Contributor

@mehm8128 mehm8128 left a comment

Choose a reason for hiding this comment

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

よさそうです

@mehm8128
Copy link
Contributor

mehm8128 commented Apr 6, 2024

あ、これ勝手にマージしちゃってOKです

@reiroop
Copy link
Contributor Author

reiroop commented Apr 6, 2024

わかりました!

@reiroop reiroop merged commit 2075787 into master Apr 6, 2024
11 checks passed
@reiroop reiroop deleted the fix/remove_archived_channel_from_channel_select branch April 6, 2024 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants