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

引用ブロックを折り畳めるように #4051

Merged
merged 7 commits into from
Sep 15, 2023
Merged

Conversation

SSlime-s
Copy link
Member

Close #801

高さとかは検索部分 (ref: src/components/Main/CommandPalette/SearchResultMessageElement.vue) 準拠です

Figma: https://www.figma.com/file/6Wme6N24y3GN2jD0vqZWZr/traQ-S-UI?type=design&node-id=9539-23359&mode=dev

image
image

@SSlime-s SSlime-s self-assigned this Aug 24, 2023
@github-actions
Copy link

@codecov
Copy link

codecov bot commented Aug 24, 2023

Codecov Report

Patch has no changes to coverable lines.

📢 Thoughts on this report? Let us know!.

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.

よさそうです、ありがとうございます!

Copy link
Member

@ras0q ras0q left a comment

Choose a reason for hiding this comment

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

レビューしました 👀

個人的にはexpandした時にボタンのfocusが外れてほしいです

<fold-button
v-if="oversized"
:is-fold="!isExpanded"
:class="$style.expandButton"
Copy link
Member

Choose a reason for hiding this comment

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

fold-buttonのstyleが$style.expandButtonなのかなり違和感あるけどしゃーなし?
FoldableCodeBlock.vueがfoldベースで書かれてるのでそっちに揃えてほしさがあります

Copy link
Member Author

Choose a reason for hiding this comment

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

expand 系にしてた理由忘れたので fold で書き換えました

@SSlime-s
Copy link
Member Author

レビューしました 👀

個人的にはexpandした時にボタンのfocusが外れてほしいです

ちなみにどこに focus が当たって欲しいですか

@ras0q
Copy link
Member

ras0q commented Sep 14, 2023

どこにもあたってほしくない(?)
ボタン押して引用を開いた直後に1枚目ではなくて2枚目のようになってほしいです
image
image

@SSlime-s
Copy link
Member Author

近くに focus がないとキーボード操作するときに終わりませんか

@ras0q
Copy link
Member

ras0q commented Sep 14, 2023

traQからワープしました
focusはついたままでも良くて、見た目が2枚目になってほしいです:pray:

@SSlime-s
Copy link
Member Author

traQからワープしました focusはついたままでも良くて、見た目が2枚目になってほしいです🙏

変えました

refs:

Copy link
Member

@ras0q ras0q left a comment

Choose a reason for hiding this comment

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

動作確認しました
良さそうです🙏

Copy link
Member

@ras0q ras0q left a comment

Choose a reason for hiding this comment

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

普通のコメントにしちゃった

@mehm8128 mehm8128 merged commit 3615f6e into master Sep 15, 2023
11 checks passed
@mehm8128 mehm8128 deleted the SSlime/quote-foldable branch September 15, 2023 14:10
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.

コード等の折りたたみ表示
3 participants