Commit graph

135 commits

Author SHA1 Message Date
dakkar
576a87118c real-time update: adjust replyCount up/down
this also fixes the connecting lines in the Sk-style view

thanks @ShittyKopper for reporting the bug!

NOTE: at this point, the `isDeletedRef` boolean is pretty much
useless, because we're directly removing deleted notes from the
`replies` array and therefore from the DOM (we were just hiding them,
before); I'm intentionally not touching `isDeletedRef` to simplify
merges from upstream
2023-12-23 14:09:52 +00:00
dakkar
683b4aafb2 real-time updates on note detail view
`useNoteCapture` already subscribes to all updates for a note, so
we can tell it when a note gets replied to, too

Since I'm not actually adding any extra subscription in the client,
just an extra callback, there should be no overhead when replies are
not coming in.

Also, all the timelines already call `useNoteCapture` for each note
displayed, so we know the whole `GlobalEventService` thing works fine.

Many thanks to VueJS for taking care of all the DOM complications
2023-12-23 14:09:51 +00:00
Marie
5db583a3eb merge: upstream 2023-12-23 02:09:23 +01:00
woxtu
c92508a575
Remove unused imports (#12730) 2023-12-21 11:36:45 +09:00
Marie
c92c2d065f upd: replace mfm with sfm 2023-12-18 03:03:05 +01:00
Acid Chicken (硫酸鶏)
2217d0c050
refactor(frontend): remove redundant class names (#12618) 2023-12-10 17:53:38 +09: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
Mar0xy
d586d1e6f8
upd: add additional check to visibility selector for boost 2023-12-04 00:26:47 +01:00
Mar0xy
fb75282ea8
add: choose boost visibility when clicking boost
Closes transfem-org/Sharkey#195
2023-12-04 00:19:34 +01:00
Mar0xy
620be4a9e1
add: auto uncollapse CW on all notes option
Closes transfem-org/Sharkey#191
2023-12-03 19:35:39 +01:00
Mar0xy
f0fe8eceaf
upd: add option to select between note designs
Adds the ability to choose between `Sharkey` or `Misskey`
2023-12-02 13:09:25 +01:00
Insert5StarName
1a4bff7698 upd: rework threading/post ui 1/2
Co-authored-by: Gaspard Wierzbinski <contact@cpluspatch.com>
Co-authored-by: Marie <marie@kaifa.ch>
2023-12-02 01:39:29 +01:00
Marie
ad5a6c1e41
fix: reactions escaping view in note view 2023-12-01 14:51:48 +01:00
zyoshoka
98e1af28b8
enhance(frontend): ノートプレビューにCWが反映されるように (#12509)
* enhance(frontend): ノートプレビューにCWが反映されるように

* Update CHANGELOG.md

* refactor: 不要な条件を除去

* Revert "refactor: 不要な条件を除去"

This reverts commit e4eff689bd1f2df78411a2f01ee05434e2d298a8.

* fix: やっぱり不要な条件だった
2023-11-30 13:49:31 +09:00
Mar0xy
363bb43658
upd: remove quote button restriction and coloring 2023-11-29 22:26:56 +01:00
Mar0xy
c9112b2949 upd: use null as default on user like setting 2023-11-28 22:21:40 +01:00
dakkar
d50d335e44 re-fix "hide preview of quote-renote"
I'm not sure how this got lost
2023-11-26 16:03:23 +00:00
かっこかり
5bdae9f6d0
enhance(frontend): リアクション選択時に音を流せるように (#12441)
* (add) リアクション選択時に音を鳴らせるように

* Update Changelog

* tweak sound

* tweak sound

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-11-26 13:04:44 +09:00
Mar0xy
42bf8e5e76
merge: upstream 2023-11-22 23:40:27 +01:00
Mar0xy
a3fd51d6e0
upd: change the way likes get handled 2023-11-16 23:47:44 +01:00
Mar0xy
490b249407
upd: Allow users to change default like emoji
When users change the default like emoji in reactions tab from heart to another one it will be send out as that specific emoji.

If reset back to heart it will default to the instance like emoji again which is heart by default.

Closes transfem-org/Sharkey#95
2023-11-16 00:22:12 +01:00
syuilo
3939360e55 fix(frontend): 特定の条件下でノートがnyaizeされない問題を修正
Fix #12331
2023-11-15 11:09:54 +09:00
Mar0xy
d2e403a4bd
fix: NoteDetailed using wrong value 2023-11-12 22:53:06 +01:00
Mar0xy
430a96ebdb
fix: like not being set 2023-11-12 22:40:33 +01:00
Mar0xy
f0a2ce00e7
chore: lint 2023-11-12 22:27:57 +01:00
Mar0xy
5c38e6b824
add: custom like emoji per instance, fix like
This fixes the fact that likes on mastodon didn't get federated properly and let's instance admins choose a custom emoji
2023-11-12 22:16:47 +01:00
おさむのひと
828749be64
fix #12266 (#12267)
ポップアップの表示後、MkNoteとMkNoteDetailedでそれぞれが持つfocusメソッドを呼び出していたのをやめた

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-11-06 19:26:17 +09:00
syuilo
bfca457510 enhance(frontend): improve aiscript plugin error handling 2023-11-06 11:21:43 +09:00
Mar0xy
f17f630acd
add: locales for mfm play button and dialog 2023-11-06 01:38:15 +01:00
Mar0xy
6cf811aa13
chore: add spacing between text and play mfm button 2023-11-06 00:49:08 +01:00
Mar0xy
2dfd8b2842
upd: play animated MFM button 2023-11-06 00:26:23 +01:00
Mar0xy
db29a5c2da
merge: develop 2023-11-04 21:52:12 +01:00
Mar0xy
647e76ab36
merge: upstream 2023-11-04 14:32:28 +01:00
syuilo
b7d3c5f4f0 enhance of 5e9f6a90df 2023-11-04 19:50:49 +09:00
syuilo
5e9f6a90df enhance(frontend): ノート内のカスタム絵文字をクリックすることで、コピーおよびリアクションができるように 2023-11-04 18:27:22 +09:00
Amelia Yukii
08de1f7baa
fix: icons being inconsistent and PG (#136) 2023-11-03 23:20:53 +01:00
Mar0xy
7c480424a6
merge: upstream 2023-11-03 15:35:12 +01:00
おさむのひと
39a3f4ae98
feat: チャンネル内→チャンネル外へのリノート制限機能追加 (#12230)
* チャンネル内→チャンネル外へのリノート制限機能追加

* fix CHANGELOG.md

* コメント対応(canRenoteSwitch→allowRenoteToExternal)

* コメント対応(別チャンネルへのリノート対策)

* コメント対応(canRenote->allowRenoteToExternal)

* fix comment

* Update misskey-js.api.md

* ✌️

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-11-03 17:34:23 +09:00
Amelia Yukii
77c49eacc1
Merge pull request #124 from ShittyKopper/corner-radius
Quick-and-dirty corner roundness toggle
2023-11-01 21:44:10 +01:00
Mar0xy
c490c7558f
fix: use computed instead of watch 2023-11-01 19:52:13 +01:00
Mar0xy
44a6b0dce2
fix: note text updates not showing up directly 2023-11-01 19:49:13 +01: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
Mar0xy
8388b18df9
merge: upstream 2023-11-01 12:39:07 +01:00
syuilo
d6fe897923 perf(frontend): ノート表示時のMFMパース処理を減らす 2023-11-01 10:23:20 +09:00
Mar0xy
826e172746
chore: blank line lint 2023-10-31 20:08:01 +01:00
Mar0xy
cca9ea3126
chore: lint 2023-10-31 19:57:52 +01:00
Mar0xy
4dd23a3793
merge: upstream 2023-10-31 19:33:24 +01:00
syuilo
7436e0da18 lint fixes 2023-10-29 16:09:20 +09:00
taichan
e73e21851e
feat(frontend): プラグインを用いて疑似的にミュートできるようにする (#12135)
* feat: mute note using plugin

* Update CHANGELOG

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-28 15:50:46 +09:00