1
0
Commit Graph

74 Commits

Author SHA1 Message Date
dakkar 3aeca799a5 fix url preview spacing for very narrow viewports
on wide viewports, the url preview only leaves space for a thumbnail
when such thumbnail exists.

on small phones, or in busy deck views, it always left that space

this was not very evident for simple previews (which are pretty much a
title line, a favicon, and the site name), but it became very obvious
with the note embedding in 2024.11

this patch makes the thumbnail space conditional on the existence of
the thumbnail, for narrow viewports as well (I pretty much copied the
bit of CSS from the non-narrow media query sections)
2025-01-02 17:40:36 +00:00
dakkar 5fd3e271ac only log preview error in dev mode 2024-12-18 16:32:28 +00:00
dakkar 2dfadc082d style embedded note previews like normal previews
and not like normal quotes
2024-12-18 16:14:47 +00:00
dakkar fb833d13cd preview AP objects as quotes - fix #595 2024-12-18 12:23:13 +00:00
dakkar bc816cb166 Merge tag '2024.11.0' into feature/2024.10 2024-11-22 12:29:04 +00:00
dakkar a930fd9758 probably fix most renamed CSS variables 2024-11-08 17:33:04 +00:00
dakkar f079edaf3c Merge tag '2024.10.1' into feature/2024.10 2024-11-08 15:52:37 +00:00
かっこかり 17d9aca5a7 refactor(frontend): asとanyをすぐなおせる範囲で除去 (#14848)
* refactor(frontend): できるだけanyを除去

* refactor

* lint

* fix

* remove unused

* Update packages/frontend/src/components/MkReactionsViewer.details.vue

* Update packages/frontend/src/components/MkUsersTooltip.vue

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-10-31 13:46:42 +09:00
syuilo 54849bde6c clean up 2024-10-10 16:14:11 +09:00
dakkar f00576bce6 Merge remote-tracking branch 'misskey/master' into feature/2024.9.0 2024-10-09 15:17:22 +01:00
syuilo 4a356f1ba7 refactor(frontend): prefix css variables (#14725)
* wip

* Update index.d.ts

* remove unnecessary codes
2024-10-09 18:08:14 +09:00
かっこかり 837a8e15d8 refactor(frontend): frontend-embed/src/to-be-sharedを共通化 (#14536)
* refactor(frontend): shouldCollapsedを共通化

* refactor(frontend): config.js, worker-multi-dispatch.js, intl-const.jsを共通化

* fix(frontend-shared): fix type error

* refactor(frontend): is-link.jsと、同一の振る舞いをする記述を共通化

* fix

* fix lint

* lint fixes
2024-09-10 18:39:53 +09:00
dakkar cfa9b852df Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.07 2024-08-02 12:25:58 +01:00
かっこかり 4f85b6aa91 fix(frontend): Twitchの埋め込みが開けない問題を修正 (#14247)
* fix(frontend): twitchの埋め込みが開けない問題を修正

* Update Changelog

* fix test
2024-07-18 15:41:32 +09:00
syuilo 6dd2e9fc0b refactor(frontend): refactor popup api and make sure call dispose callback
Close #14122
2024-07-04 13:14:49 +09:00
dakkar df26b6501d replaced a bunch of ti-* 2024-06-22 15:53:32 +01:00
dakkar 172f9e7443 replaced ti-player-* and ti-volume-* 2024-06-22 15:53:13 +01:00
dakkar d4e1df7243 replaced ti-x 2024-06-22 15:53:13 +01:00
dakkar bc531ac414 Merge remote-tracking branch 'misskey/develop' into future-2024-03-23 2024-03-24 11:53:52 +00:00
tamaina 40bb6069ec fix(frontend): URLプレビューのto/hrefがない問題を修正
Fix of https://github.com/misskey-dev/misskey/pull/13579/files/9ae577871b10f6231acc3451188cd69ede9443ed#diff-cfa02e203bdbd03dbf312a889f009ca7f9ebd8376334ebd74c4961b716b22d93
2024-03-22 08:54:34 +09:00
おさむのひと 831c74a25b fix: URLプレビューの動作改善+動作設定を可能にする (#13579)
* wip

* support new version

* URLプレビュー無効化時、フロント側も非表示にしてリクエストをしないようにする

* fix lint

* fix lint

* tweak preview request error handles

* fix: CHANGELOG.md

* fix

* fix

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-03-21 18:46:42 +09:00
Marie 10bfc61670 merge: upstream 2024-02-19 10:47:42 +01:00
tamaina c1514ce91d (re) update SPDX-FileCopyrightText
Fix  #13290
2024-02-13 15:59:27 +00:00
tamaina 311c2172d7 Revert "update SPDX-FileCopyrightText"
This reverts commit 9b5aeb76d8.
2024-02-13 15:50:11 +00:00
syuilo 9b5aeb76d8 update SPDX-FileCopyrightText 2024-02-12 11:37:45 +09:00
Marie 85355813ad merge: latest changes 2024-02-09 19:22:06 +01:00
MeiMei 82c34f7f45 Fix: Summaly proxy利用時にプレイヤーが動作しないことがあるのを修正 (#13196)
* Fix: Summaly proxy利用時にプレイヤーが動作しないことがあるのを修正

* CHANGELOG
2024-02-08 13:16:22 +09:00
Marie db012fc8c3 merge: upstream (1) 2024-01-21 13:11:23 +01:00
ikasoba bc5aebe956 enhance(frontend): ページ遷移時にPlayerを閉じるように (#13013)
* なんかできた

* update changelog.md

* onDeactivatedを使うように
2024-01-17 13:26:36 +09:00
Marie 7552cea69a merge: upstream 2024-01-09 02:57:57 +01:00
tamaina 2a33981811 chore: use summaly, browser-image-resizer, and sharp-read-bmp on registry.npmjs.org instead of git (#12856)
* chore: use @misskey-dev/summaly on registry.npmjs.org instead of git

* fix backend dependency

* fic backend dependency

* @misskey-dev/sharp-read-bmp

* fix

* use @misskey-dev/browser-image-resizer
2023-12-31 09:45:35 +09:00
Marie 5db583a3eb merge: upstream 2023-12-23 02:09:23 +01:00
zyoshoka 406b4bdbe7 refactor(frontend): 非推奨となったReactivity Transformを使わないように (#12539)
* refactor(frontend): 非推奨となったReactivity Transformを使わないように

* refactor: 不要な括弧を除去

* fix: 不要なアノテーションを除去

* fix: Refの配列をrefしている部分の対応

* refactor: 不要な括弧を除去

* fix: lint

* refactor: Ref、ShallowRef、ComputedRefの変数の宣言をletからconstに置換

* fix: type error

* chore: drop reactivity transform from eslint configuration

* refactor: remove unnecessary import

* fix: 対応漏れ
2023-12-07 14:42:09 +09:00
anatawa12 00b11b1f75 chore: hide thumbnail if website is sensitive (#12581) 2023-12-06 13:46:10 +09:00
かっこかり 5bf7813b2d enhance/feat(frontend): データセーバーの改良・強化 (#12526)
* enhance(frontend): データセーバーを個別で設定できるように

* Update Changelog

* fix design

* (fix) 設定が当たらない

* fix test(無理やり感)

* (fix) 設定がない状態ですべて有効・向操作が効かない

* fix

* tweak

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-03 10:58:42 +09:00
y.takahashi c6ed06d783 twitter埋め込みのsandbox属性にallow-popups-to-escape-sandboxを追加 (#12400)
Co-authored-by: unarist <m.unarist@gmail.com>
2023-11-22 10:19:30 +09:00
Amelia Yukii 08de1f7baa fix: icons being inconsistent and PG (#136) 2023-11-03 23:20:53 +01:00
syuilo e893494b48 Revert "fix: URLプレビューが表示されないのを修正 (#12222)"
This reverts commit 8366984b2b.
2023-11-03 19:50:27 +09:00
ikasoba 8366984b2b fix: URLプレビューが表示されないのを修正 (#12222)
* プレビューが表示されないのを修正

* 修正

* Update packages/frontend/src/components/MkUrlPreview.vue

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-11-03 19:44:17 +09:00
ShittyKopper ae5d052274 upd: implement radius setting
to keep things manageable i merged a lot of one off values into just a
handful of common sizes, so some parts of the ui will look different than
upstream even with the "Misskey" rounding mode
2023-11-01 21:43:26 +03:00
ShittyKopper 72204d9294 Revert "prototype: decreased rounding"
This reverts commit 7a51e2d404.
2023-11-01 21:43:26 +03:00
Insert5StarName 7a51e2d404 prototype: decreased rounding 2023-10-01 01:20:20 +02:00
Insert5StarName b50c1ef9a5 upd: fix rest of icons 2023-10-01 00:46:42 +02:00
Insert5StarName 7b179d3a92 work in progress icons 2023-09-30 21:53:52 +02:00
syuilo b0f6c44f36 refactor(frontend): use ESM 2023-09-19 16:37:43 +09:00
かっこかり c0838c473f enhance(frontend): データセーバーモードで隠れる画像を増やす等 (#11806)
* enhance datasaver mode

* サムネイルがないとき変な角丸にならんようにする

* Avoid using wildcard selector

* Avoid wildcard

* Update MkMediaImage.vue

* (fix) ノートの画像プレビューがでない

* (fix) recent pages design

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-09-10 18:40:20 +09:00
syuilo cd7ab326cd Revert "enhance(frontend): データセーバーモードで隠れる画像を増やす等 (#11779)"
This reverts commit 22d966e92d.
2023-09-08 14:15:35 +09:00
かっこかり 22d966e92d enhance(frontend): データセーバーモードで隠れる画像を増やす等 (#11779)
* enhance datasaver mode

* サムネイルがないとき変な角丸にならんようにする

* Avoid using wildcard selector

* Avoid wildcard

* Update MkMediaImage.vue

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-09-06 17:36:14 +09:00
maguroshouta cb80dff7df x.comでも展開ができるように (#11757) 2023-08-22 15:56:36 +09:00
Kagami Sascha Rosylight 2896fc6cb4 fix(frontend/MkUrlPreview): allow fullscreen from tweets (#11712)
* fix(frontend/MkUrlPreview): allow fullscreen from tweets

* Update url-preview.test.ts
2023-08-13 12:29:13 +09:00