1
0
Commit Graph

108 Commits

Author SHA1 Message Date
Hazelnoot 7549f24702 fix errors in MkNoteSub.vue 2025-04-01 11:34:19 -04:00
Hazelnoot c371af34e8 copy sharkey settings into new frontend preferences model 2025-03-31 14:53:02 -04:00
Hazelnoot d8908ef2d8 merge upstream 2025-03-25 16:14:53 -04:00
syuilo 8c9ec5827f enhance(frontend): improve accounts management 2025-03-13 22:12:23 +09:00
Marie ad14d2ebfa upd: check for remote url first before providing local url on pleaseLoginContext 2025-03-09 20:26:55 +01:00
syuilo be7e3b9a0c refactor(frontend): scripts -> utility 2025-03-09 14:28:01 +09:00
Hazelnoot 292d3b9229 add "reject quotes" toggle at user and instance level
+ improve, cleanup, and de-duplicate quote resolution
+ add warning message when quote cannot be loaded
+ add "process error" framework to display warnings when a note cannot be correctly loaded from another instance
2025-02-20 09:57:48 -05:00
Hazelnoot b2d43040b1 factor out shared "compute-merged-cw" routine 2025-02-16 19:20:42 -05:00
Hazelnoot 905b637648 append mandatory CW in all note views (Mk/Sk/Em + basic/Detailed/Simple/Sub) 2025-02-16 19:20:41 -05:00
HellhoundSoftware 5a76b7069f Refactor renote tooltip text 2025-01-18 08:28:57 -05:00
HellhoundSoftware 3717654309 move tooltip message to computed 2025-01-15 16:14:35 -05:00
HellhoundSoftware 2c90eebe86 Add tooltip for shift-boost 2025-01-15 14:38:34 -05:00
HellhoundSoftware 7825f6e95e Open boost visibility menu on shift-click 2025-01-14 19:42:35 -05:00
dakkar 0ebdf91b28 fix pleaseLogin on *NoteSub
we really need to factor these things out
2024-12-12 10:04:54 +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
syuilo 4a356f1ba7 refactor(frontend): prefix css variables (#14725)
* wip

* Update index.d.ts

* remove unnecessary codes
2024-10-09 18:08:14 +09:00
Marie e21e2530e6 fix: don't show quoted toast on cancel of quote note 2024-09-16 00:35:26 +02:00
dakkar 5b808a97b2 update all our uses of os.popup 2024-08-14 11:50:39 +01:00
dakkar df26b6501d replaced a bunch of ti-* 2024-06-22 15:53:32 +01:00
dakkar 43c0ffe7f8 better block display for <bdi> elements
We use MfM in all sorts of places, and only some of them are actual
blocks. We can now tell the `Mfm` component to make the top-level
`<bdi>` a block when we need to (mostly note bodies, user
descriptions, announcements) and leave it inline in all other places.

This should still rendener inline rtl content embedded in ltr text in
a sensible way, while providing right-alignment for fully rtl blocks.
2024-06-07 11:18:25 +01:00
Marie b0bc69aac8 Reactions not working on child notes in detailed view 2024-02-22 21:16:08 +00:00
Marie 10bfc61670 merge: upstream 2024-02-19 10:47:42 +01:00
dakkar aa72db76c4 rework boost visibility #388
* only show allowed visibilities
* "local only" is a switch

notice that the backend will limit the visibility, too
2024-02-16 13:26:13 +00: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
ShittyKopper c61adcf61d upd: expandAllCws also expands all long posts on first click
this mimics glitch-soc behavior
2024-02-04 15:21:57 +03:00
dakkar f87483feb7 align Sk & Mk variants of components
some whitespace, some types, a missing sound, and a probably wrong API
URL
2024-01-21 12:37:41 +00:00
Marie d974b30e56 merge: upstream 2024-01-09 10:35:10 +01:00
Marie 7552cea69a merge: upstream 2024-01-09 02:57:57 +01:00
おさむのひと fa9c4a19b9 refactor(frontend): os.tsに引き込んだscripts/api.tsの再exportをやめる (#12694)
* refactor(frontend): os.tsに引き込んだscripts/api.tsの再exportをやめる

* fix

* fix

* renate to "misskeyApi"

* rename file
2024-01-04 18:32:46 +09:00
Marie 0197d3354a fix: lint 2024-01-02 12:32:49 +01:00
Marie b87142d2f7 fix: like button not playing reaction sound 2024-01-02 00:47:08 +01:00
Marie c9ca1dd3f1 upd: add boost settings 2024-01-01 20:34:18 +01:00
Marie 70433db9d9 fix: button effect not lining up on sub notes|
Closes #277
2023-12-29 18:36:15 +01:00
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