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

enhance(client): Sync widgets #8512

Merged
merged 13 commits into from
Dec 27, 2022
Merged

Conversation

tamaina
Copy link
Contributor

@tamaina tamaina commented Apr 16, 2022

Resolve #7724

What

  • デフォルト(universal)UIおよびクラシックUIのウィジェットがデバイス間で同期されるようになります。
    クラシックUIの上部メニュー状態において、デフォルトUIやクラシックUI左側サイドメニューで追加されたウィジェットは、右側に配置されます。
  • classic.widgets.vueの機能をuniversal.widgets.vueに統合
  • クラシックUIで左右のウィジェット編集状態を同期するように
  • 左右やカラム間でウィジェットを行き来できるように
  • MkWidgetsをCSS Module化

Additional info (optional)

p1.a9z.devで動作中

@tamaina tamaina requested a review from syuilo May 27, 2022 15:28
@github-actions github-actions bot added the packages/frontend Client side specific issue/PR label Dec 25, 2022
* classic.widgets.vueの機能をuniversal.widgets.vueに統合
* 左右のウィジェット編集状態を同期するように
* 左右やカラム間でウィジェットを行き来できるように
* MkWidgetsをCSS Module化
@tamaina tamaina changed the title feature: Sync widgets enhance(client): Sync widgets Dec 25, 2022
@codecov
Copy link

codecov bot commented Dec 25, 2022

Codecov Report

Merging #8512 (0c41a8c) into develop (9384f53) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #8512   +/-   ##
========================================
  Coverage    22.41%   22.41%           
========================================
  Files          704      704           
  Lines        66017    66017           
  Branches      2134     2134           
========================================
  Hits         14801    14801           
  Misses       51216    51216           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@tamaina
Copy link
Contributor Author

tamaina commented Dec 25, 2022

🆙

}

.edit {
&-header {
Copy link
Member

Choose a reason for hiding this comment

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

&hogeはCSS被害者救済法で禁止されているから、

みたいに&:global使えば良さそう

Copy link
Contributor Author

Choose a reason for hiding this comment

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

&hogeはCSS被害者救済法で禁止されているから、

そんな法律知らなかった…


みたいに&:global使えば良さそう

パフォーマンス悪くなるらしいのでネストは使いたくない

@syuilo
Copy link
Member

syuilo commented Dec 26, 2022

MkWidgetsをCSS Module化

については考え中だけどもそれ以外は良さそう

@syuilo syuilo merged commit e3f2845 into misskey-dev:develop Dec 27, 2022
@syuilo
Copy link
Member

syuilo commented Dec 27, 2022

👍

@syuilo
Copy link
Member

syuilo commented Jan 1, 2023

新しいデバイスからログインされるとウィジェットが初期状態に戻る気がする

@syuilo
Copy link
Member

syuilo commented Jan 2, 2023

pizzaxのi/registry/get-allが終わるまでの間にuniversal.vueがmountされると発生する

syuilo added a commit that referenced this pull request Jan 2, 2023
@tamaina
Copy link
Contributor Author

tamaina commented Jan 2, 2023

#9225 が適用されていると発見できなかったのか…?
( #9225で起きないとは限らないか? )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages/frontend Client side specific issue/PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Webクライアントのウィジェットの設置状態をサーバーが記憶するようにする
2 participants