Commit graph

72 commits

Author SHA1 Message Date
Marie
53365159e8 merge: real-time updates on note detail view (#246)
Closes #223

Reviewed-on: https://git.joinsharkey.org/Sharkey/Sharkey/pulls/246
Reviewed-by: Marie <marie@kaifa.ch>
2023-12-23 21:00:00 +01:00
Marie
eb036d558f fix: note footer not properly resizing 2023-12-23 19:21:37 +01:00
dakkar
fea6428245 add missing .value 2023-12-23 14:47:14 +00:00
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
d06939bd25 real-time update: hide deleted replies 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
ShittyKopper
05166f79e1 upd: add option for reply depth 2023-12-08 11:35:26 +00: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
10b27ad972
fix: quotes showing in replies on a note 2023-12-03 20:43:25 +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
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
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
430a96ebdb
fix: like not being set 2023-11-12 22:40:33 +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
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
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
ShittyKopper
a796c8663b upd: pointer on clickToOpen-able parts of notes 2023-11-01 23:57:37 +03: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
4dd23a3793
merge: upstream 2023-10-31 19:33:24 +01:00
かっこかり
481db8aba4
fix(frontend): MFMパース時に意図せずnyaizeされる問題を修正 (#12161)
* Update MkMisskeyFlavoredMarkdown.ts

* Update MkMisskeyFlavoredMarkdown.ts

* Update MkMisskeyFlavoredMarkdown.ts

* Update MkNote.vue

* (fix) にゃいずをノートでのみ適用

* fix

* Fix lint
2023-10-28 12:41:17 +09:00
Mar0xy
13c5da63d7
fix: MFM overflowing out of note
Closes transfem-org/Sharkey#104
2023-10-22 22:48:49 +02:00
Mar0xy
fc5d75f8d4
fix: no translations on sub notes
Closes bug:  transfem-org/Sharkey#89
2023-10-19 22:23:27 +02:00
ShittyKopper
c8df61ed04 feat: "show content for all replies" button 2023-10-17 22:32:14 +03:00
Marie
a8d937b08e
chore: add newline between } and @media 2023-10-15 19:28:15 +02:00
Insert5StarName
a977d4316d fix: wrong scaling in notifications container 2023-10-15 19:25:59 +02:00
Insert5StarName
85aa0c06bc fix: make MKNoteSub scale correctly 2023-10-15 19:01:28 +02:00
Mar0xy
48c7eeb57e
fix: prevent quoted toast to be triggered when not quoted 2023-10-15 18:03:27 +02:00
Mar0xy
26cd12f7bf
upd: add locale for quoted, add toasts and effects 2023-10-15 18:00:09 +02:00
Mar0xy
7e648a255f
upd: Separate quote from boost 2023-10-15 02:16:02 +02:00
Mar0xy
d561aae3e5
chore: lint 2023-10-13 21:54:57 +02:00
Mar0xy
363df5b256
upd: add renote limit to other note components 2023-10-13 21:53:38 +02:00
syuilo
f6ba5cfaf4
merge: timeline 1 2023-10-13 17:58:11 +02:00
Mar0xy
bf3d493d04
Revert "feat: improve tl performance" 2023-10-03 20:21:26 +02:00
Mar0xy
38e35e1472
merge: upstream 2023-10-03 15:20:49 +02:00
syuilo
6277a5545c
feat: improve tl performance (#11946)
* wip

* wip

* wip

* wip

* wip

* wip

* Update NoteCreateService.ts

* wip

* wip

* wip

* wip

* Update NoteCreateService.ts

* wip

* Update NoteCreateService.ts

* wip

* Update user-notes.ts

* wip

* wip

* wip

* Update NoteCreateService.ts

* wip

* Update timeline.ts

* Update timeline.ts

* Update timeline.ts

* Update timeline.ts

* Update timeline.ts

* wip

* Update timelines.ts

* Update timelines.ts

* Update timelines.ts

* wip

* wip

* wip

* Update timelines.ts

* Update misskey-js.api.md

* Update timelines.ts

* Update timelines.ts

* wip

* wip

* wip

* Update timelines.ts

* wip

* Update timelines.ts

* wip

* test

* Update activitypub.ts

* refactor: UserListJoining -> UserListMembership

* Update NoteCreateService.ts

* wip
2023-10-03 20:26:11 +09:00
Mar0xy
099b86ff3c
chore: lint 2023-10-01 02:06:04 +02:00