Commit graph

483 commits

Author SHA1 Message Date
f236653c26
add return type to toggle in checkbox.vue 2022-08-20 14:15:36 -04:00
16e9cf91f7 refactor: url.vue to composition api 2022-08-20 15:34:17 +00:00
6a3d98fbc1
refactor: remove reaction-icon component
The removed component does not contain any special script or styling.
It's template only contains a MkEmoji. To remove this unnecessary
indirection, the components was replaced with the MkEmoji component.
2022-08-20 16:03:09 +02:00
ffc23ae458
refactor: post-form-dialog.vue to composition api 2022-08-20 00:58:17 -04:00
e8414e8c8d
refactor: formula-core.vue to composition api 2022-08-19 16:02:51 -04:00
b3b8e56092
refactor: formula.vue to composition api 2022-08-19 15:58:16 -04:00
aa56cf5813
Fix lints in timeline and sub-note-content 2022-08-19 15:36:22 -04:00
b79cb711ac
add return type to tick() in time.vue 2022-08-19 15:05:24 -04:00
fd2028df48
fix: nonblock-statement-body-position lint in time.vue 2022-08-19 14:44:56 -04:00
bc79d721c8
remove client code related to pages 2022-08-18 17:31:51 +02:00
b137a39160
merge: remove promo notes
FoundKeyGang/FoundKey#62
2022-08-18 14:26:48 +02:00
74c71f5ce5
Remove twitter embed
Fixes FoundKeyGang/FoundKey#46
2022-08-17 12:35:11 -04:00
298febeb9c
enhance: add re-collapsing to quoted notes 2022-08-15 22:28:29 +02:00
1cb5856f7c Fix birthday time offset and date locale
The user's configred birthday is stored as UTC time, so use that for display as well.
This means the birthday won't be shown as a day behind or ahead depending on the user's browser timezone.

Also use the locale configured in the user's client settings in Misskey for date formatting.
2022-08-15 13:11:53 -04:00
a07b464690
fix missed parentheses 2022-08-14 17:32:25 +02:00
5548b585df
refactor MkTime component
Add the datetime property to the HTML5 time tag for a machine readable
timestamp.

Add the ability to display only the date or the time.

Change the computation of the relative time string to have precision
based on the format chosen based on the choice above. Also changed the
threshold for what is considered a date in the future so people do not
see "future" on notes they just created and thus try to stop them from
time traveling.
2022-08-14 14:14:29 +02:00
39b85f4a08
client: remove _prId_
That property was set on promo notes in the backend. Since it is no longer
being used it should also be removed from the client.
2022-08-14 13:14:17 +02:00
f0bdd9666f
remove empty import statements 2022-08-14 12:26:18 +02:00
9e6bc30a66 client: remove unused windowHeader references
All of them exist in separate header/body components.
Changed to have the entire component have the same background,
rather than setting it twice.
2022-08-12 21:25:06 +00:00
8d99f69c90 client: remove _acrylic
Acrylic is defined as having a background
similar to panel + transparency and backdrop.
Simply change everything that is _acrylic to be _panel instead.
2022-08-12 21:25:06 +00:00
e028a852f6
remove more code referencing promo notes 2022-08-12 19:39:48 +02:00
2209490cc8
client: fix syntax error in reaction-icon.vue 2022-08-12 09:07:13 +02:00
5b4c0ffdf3
client: fix some lints
Mostly focused on "@typescript-eslint/no-unused-vars" but also fixed some
other lints along the way.
2022-08-12 08:35:22 +02:00
534666f762 remove allowEmpty 2022-08-11 04:07:29 -04:00
21b78274aa more syntax fixes 2022-08-10 20:57:20 -04:00
091bf0f77b fix syntax error 2022-08-10 20:49:40 -04:00
ed52a39476 Remove unneeded imports/return annotations 2022-08-10 20:25:30 -04:00
0ce09d6753 refactor: post-form-attaches to composition api 2022-08-10 20:25:21 -04:00
3e7285c8d5
remove unnecessary vue imports
> `defineProps` and `defineEmits` are compiler macros only usable inside
> `<script setup>`. They do not need to be imported, and are compiled away
> when `<script setup>` is processed.

-- https://vuejs.org/api/sfc-script-setup.html#defineprops-defineemits
2022-08-11 00:36:34 +02:00
609fb91ca1
fix some lints automatically 2022-08-10 22:42:30 +02:00
7a80015225
fix lint "no-param-reassign" 2022-08-10 16:36:54 +02:00
cbefddc071
fix: copy visibility for renotes
The backend does not allow follower only and direct notes to be renoted
but these are prohibited for the renote button anyway.
2022-08-05 08:36:59 +02:00
4fbe2e065e
client: fix lint "quotes" 2022-08-03 22:48:13 +02:00
585e4f5c42
fix textarea not updating properly
fixes FoundKeyGang/FoundKey#54
2022-08-03 22:29:40 +02:00
646b8e08c0
fix another typo in import 2022-08-02 17:06:25 +02:00
f3a602c384
fix typo in import 2022-08-02 14:37:31 +02:00
aa2f401a85
refactor: reduce use of global variables 2022-08-02 12:02:28 +02:00
a24e0e0648
client: refactor form suspense to composition API 2022-08-02 11:50:46 +02:00
751921e24f
make emoji picker case insensitive
fix FoundKeyGang/FoundKey#50
2022-08-01 11:06:46 +02:00
ba18589986
client: fix lints 2022-08-01 00:28:32 +02:00
ce45f9f1b0
remove unused code 2022-07-31 23:42:56 +02:00
a752dcab30
fix lints from refactoring
closes FoundKeyGang/FoundKey#48

Co-authored-by: Francis Dinh <normandy@biribiri.dev>
2022-07-31 13:35:07 +02:00
15ac0fb303 fix: modal src should not be null
See: FoundKeyGang/FoundKey#40 (comment)
2022-07-31 00:29:44 +00:00
10bf05563b
fix: remove unused import 2022-07-30 22:59:03 +02:00
340420c48a
refactor components/widgets.vue to composition API 2022-07-30 22:37:29 +02:00
9e8b59f886
refactor: sample.vue to composition api 2022-07-29 12:46:58 -04:00
6c8eb4c4df refactor: object-view.value.vue to composition api 2022-07-29 12:11:41 +00:00
86b94e213e
fix: lint errors in modal.vue 2022-07-28 15:47:39 -04:00
9abbe94108
client: search button is a no-op
Don't be evil.
reference: FoundKeyGang/FoundKey#2 (comment)
2022-07-28 15:41:16 +02:00
9a236bd862
refactor components/form/textarea.vue to composition API 2022-07-28 12:01:15 +02:00
225b56706d
MkError can be non-retry-able 2022-07-28 11:59:10 +02:00
2f4704ccff Revert "Add padding"
This reverts commit d6a5eb4666.
2022-07-27 20:18:14 +00:00
aac8f209c8 Revert "only add padding for left and right sides"
This reverts commit ebfe2162e9.
2022-07-27 20:18:14 +00:00
9ee609d700
Merge: enhance privacy of notes
FoundKeyGang/FoundKey#14
2022-07-25 18:15:21 +02:00
46fff77acc
client uses new API for child notes depth 2022-07-25 16:41:47 +02:00
2fe64c1150
Refactor components/page/page.textarea.vue to composition API
FoundKeyGang/FoundKey#26
2022-07-25 07:51:31 +02:00
6d3181f983
Refactor components/page/page.text.vue to composition API
FoundKeyGang/FoundKey#25
2022-07-25 07:50:22 +02:00
d96baf1672 Merge branch 'main' into refactor/page.textarea.vue 2022-07-24 21:25:22 +00:00
d32228a347
Use immediate: true for page.textarea.vue::text 2022-07-24 15:37:21 -04:00
6ffbabeedc
use immediate: true for watch 2022-07-24 11:58:15 -04:00
cff82ea52e
refactor: page.textarea.vue to use composition api 2022-07-24 00:50:20 -04:00
ebfe2162e9 only add padding for left and right sides 2022-07-23 17:57:04 -04:00
d6a5eb4666 Add padding
This will let not have text right up against the edge.
2022-07-23 17:51:53 -04:00
d79fe1dee0 refactor: page.text.vue to use composition api 2022-07-23 17:42:00 -04:00
3e05740bee
refactor queue chart to composition API 2022-07-23 23:03:20 +02:00
63591da33e
refactor: colours in queue chart 2022-07-23 23:00:59 +02:00
128d0f0d4e
remove isHidden and its uses
The `isHidden` attribute is not being set any more and is thus removed.
Handling in the client is no longer necessary.
2022-07-23 22:28:39 +02:00
2f432dce65 refactor: link.vue to use composition api 2022-07-23 20:26:45 +00:00
bbb16208ab remove async from ok() 2022-07-23 20:23:45 +00:00
95148cf647 refactor: use emit for MkModal @closed 2022-07-23 20:23:45 +00:00
b64f266483 refactor: media-caption component as composition api 2022-07-23 20:23:45 +00:00
bfd9c7404b
form-dialog: set type of result for 'done' event to Record<string, any> 2022-07-21 18:54:43 -04:00
150f373ebf
replace one more object type 2022-07-21 21:17:39 +02:00
fef2d9173e
Merge: Refactor form-dialog.vue to Composition API
FoundKeyGang/FoundKey#17
2022-07-21 21:13:03 +02:00
2d245d62cf form-dialog: use Record<string, any> for form prop 2022-07-20 19:23:17 -04:00
syuilo
a12acf53ef
refactor(client): formatting and replace global $ts 2022-07-21 00:45:30 +02:00
929203b2f3 Remove leftover comments from form-dialog 2022-07-20 18:17:24 -04:00
d29a0dad8f Refactor form-dialog.vue to use Composition API 2022-07-20 18:15:55 -04:00
7e186dae69
refactor: use autofocus parameter
Using the `ref` seems to be broken but using the autofocus parameter
seems to fix it.
2022-07-20 23:49:55 +02:00
f3e196528f
Merge bearer-authentication
foundKeyGang/foundKey#15
2022-07-20 15:10:47 +02:00
syuilo
1477cb54b5
enhance(client): suspense
Fix https://github.com/misskey-dev/misskey/issues/8817
2022-07-19 18:56:50 +02:00
748a830937
client: display URLs in report 2022-07-19 17:18:19 +02:00
9ca504784a
keep URL of reported object separate
Instead of putting the URL in the report text, it is stored separately
so that users do not accidentally change or remove it.

This way it can easily be used when forwarding reports to different
instances to tell them what exactly was reported.
2022-07-19 17:18:18 +02:00
ecbb766df6
refactor: signup component as composition api 2022-07-19 10:35:11 +02:00
27be5e0892
fix collapsing long notes 2022-07-19 10:02:40 +02:00
7d4cbd6ecf Merge branch 'main' into fix-chat-continuation 2022-07-19 07:08:51 +00:00
36503f63d8
Fix broken chats
Co-authored-by: @ltlapy
2022-07-19 02:51:46 -04:00
454ed9b5c4
remove unnecessary parameter 2022-07-19 08:44:39 +02:00
fddf3573a1
client: use bearer token authorization 2022-07-19 00:49:40 +02:00
eeee4c713c
fix prismjs import
fixes #8944
2022-07-18 13:05:03 +02:00
Kainoa Kanter
26e89405cf
chore: fix client lint errors (#8934)
* Fix client lint
* Hide no-v-html
* Ignore banned type
* Update page-editor.vue

Co-authored-by: Johann150 <johann.galle@protonmail.com>
2022-07-18 12:48:09 +02:00
syuilo
f27c3df6dc chore(client): fix type 2022-07-16 12:04:15 -04:00
syuilo
ddab9eafee perf: allow get for notes/reactions 2022-07-16 12:02:10 -04:00
462ea9c52b fix: pagination uses API correctly (#8925) 2022-07-16 12:00:34 -04:00
syuilo
4059b91c0e enhance(client): improve marquee 2022-07-16 12:00:06 -04:00
0102ea066a fix lint @typescript-eslint/ban-types 2022-07-16 11:55:04 -04:00
5560de4b7f fix lint no-prototype-builtins 2022-07-16 11:54:42 -04:00
0f815a2f5d fix lint no-undef 2022-07-16 11:54:39 -04:00
01d0a9cb51 fix lint vue/require-valid-default-prop 2022-07-16 11:53:47 -04:00
8902813633 fix lint no-fallthrough 2022-07-16 11:53:42 -04:00