Commit graph

89 commits

Author SHA1 Message Date
2f570b11f1 client: remove blinking animation from notification indicator
It was annoying, and turns out, also a CPU hog!

Changelog: Removed
2022-09-23 14:41:51 -04:00
772d4618a6
remove global variables for i18n 2022-09-21 13:29:08 -04:00
ee46d32602
client: refactor folder.vue to composition api 2022-09-19 22:42:23 +02:00
63f47ada04 Merge pull request 'client: refactor info.vue to composition api' (#131) from refactor/client-info.vue into main
Reviewed-on: FoundKeyGang/FoundKey#131
2022-09-14 04:34:02 +00:00
677c1df597
rename foundkey-js imports to foundkey 2022-09-13 17:17:46 +02:00
c469a17623
client: refactor info.vue to composition api 2022-09-08 04:10:28 -04:00
10caf861e8 Merge pull request 'Workspaces refactor' (#86) from refactor/workspaces into main
Reviewed-on: FoundKeyGang/FoundKey#86
2022-08-28 14:46:45 +00:00
a424426857
client: Use foundkey-js instead of misskey-js 2022-08-26 01:25:56 -04:00
7b33ee807e
refactor: window.vue to composition api 2022-08-25 21:28:14 -04:00
6fed87f85d
fix pagination.vue lints 2022-08-22 23:16:56 -04:00
7621e5461f
refactor: button.vue to composition api
Disabled require-default-prop for the to prop since it's only used when
link is true.

use null as default for props.to

FoundKeyGang/FoundKey#79
2022-08-21 00:19:39 +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
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
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
4fbe2e065e
client: fix lint "quotes" 2022-08-03 22:48:13 +02:00
ce45f9f1b0
remove unused code 2022-07-31 23:42:56 +02:00
15ac0fb303 fix: modal src should not be null
See: FoundKeyGang/FoundKey#40 (comment)
2022-07-31 00:29:44 +00:00
86b94e213e
fix: lint errors in modal.vue 2022-07-28 15:47:39 -04:00
syuilo
a12acf53ef
refactor(client): formatting and replace global $ts 2022-07-21 00:45:30 +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
462ea9c52b fix: pagination uses API correctly (#8925) 2022-07-16 12:00:34 -04:00
01d0a9cb51 fix lint vue/require-valid-default-prop 2022-07-16 11:53:47 -04:00
e5ade8289e fix(lint): semicolong spacing 2022-07-16 11:53:23 -04:00
syuilo
1d3e6f172e
chore(client): tweak style 2022-07-15 10:23:34 +02:00
b81f9e1c5a
refactor: use setup and ref sugar 2022-07-14 10:46:44 +02:00
79ec9641d2
remove ads from client 2022-07-13 23:19:50 +02:00
syuilo
9d8a9f22c1
chore(client): tweak style 2022-07-13 13:22:28 +02:00
syuilo
e4fefa42c5
chore(client): tweak style 2022-07-13 12:58:16 +02:00
syuilo
5e7b7d4d12
chore(client): tweak client 2022-07-13 12:52:43 +02:00
syuilo
57df232b07
refactor(client): refactor header tab handling 2022-07-13 10:03:08 +02:00
syuilo
cb87d03fe9 refactor(client): Refine routing (#8846) 2022-07-09 05:56:36 -04:00
syuilo
9d2622da99 enhance(client): improve files page of control panel 2022-07-09 05:35:08 -04:00
syuilo
ecb3c43520
feat: image cropping (#8808)
* wip

* wip

* wip
2022-06-11 15:45:44 +09:00
5e29528ad4
chore: fix some lints automatically (#8788)
* chore: fix some lints automatically

Fixed lints that were automatically fixable with `eslint --fix`.

* fix type

* workaround for empty interface lint
2022-06-10 14:36:55 +09:00
syuilo
adf3190859 chore(client): fix menu item style 2022-06-05 12:23:57 +09:00
3dae18b93c
fix lints (#8737)
* fix: emits use ev instead of e

* fix: errors use err instead of e

* fix: replace use of data where possible

* fix: events use evt instead of e

* fix: use strict equals

* fix: use emoji instead of e

* fix: vue lints
2022-05-26 22:53:09 +09:00
xianon
0f33864df1
fix: ノート詳細ページの新しいノートを表示する機能の動作が正しくなるように修正する (#8607)
* ノート詳細で新しいノートの表示が正しくないのを修正する

* ノート詳細から別のノート詳細を表示した時に前後の表示をリセットする
2022-05-19 20:32:55 +09:00
d62a55b46f
Refactor emoji-edit-dialog to use Composition API (#8657)
* refactor(client): refactor emoji-edit-dialog to use Composition API

* fix(client): fix editing emoji not updating emoji list

* Apply review suggestions from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

* fix(client): use cached category info instead of making a request

* fix(client): use updateItem in emoji pagination when editing

* fix(client): reimplement removeItem in MkPagination

* Apply review suggestion from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-15 22:20:01 +09:00
tamaina
a89003b57a
refactor: use Vite to build instead of webpack (#8575)
* update stream.ts

* https://github.com/misskey-dev/misskey/pull/7769#issuecomment-917542339

* fix lint

* clean up?

* add app

* fix

* nanka iroiro

* wip

* wip

* fix lint

* fix loginId

* fix

* refactor

* refactor

* remove follow action

* clean up

* Revert "remove follow action"

This reverts commit defbb416480905af2150d1c92f10d8e1d1288c0a.

* Revert "clean up"

This reverts commit f94919cb9cff41e274044fc69c56ad36a33974f2.

* remove fetch specification

* renoteの条件追加

* apiFetch => cli

* bypass fetch?

* fix

* refactor: use path alias

* temp: add submodule

* remove submodule

* enhane: unison-reloadに指定したパスに移動できるように

* null

* null

* feat: ログインするアカウントのIDをクエリ文字列で指定する機能

* null

* await?

* rename

* rename

* Update read.ts

* merge

* get-note-summary

* fix

* swパッケージに

* add missing packages

* fix getNoteSummary

* add webpack-cli

* ✌️

* remove plugins

* sw-inject分離したがテストしてない

* fix notification.vue

* remove a blank line

* disconnect intersection observer

* disconnect2

* fix notification.vue

* remove a blank line

* disconnect intersection observer

* disconnect2

* fix

* ✌️

* clean up config

* typesを戻した

* Update packages/client/src/components/notification.vue

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* disconnect

* oops

* Failed to load the script unexpectedly回避
sw.jsとlib.tsを分離してみた

* truncate notification

* Update packages/client/src/ui/_common_/common.vue

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

* clean up

* clean up

* キャッシュ対策

* Truncate push notification message

* クライアントがあったらストリームに接続しているということなので通知しない判定の位置を修正

* components/drive-file-thumbnail.vue

* components/drive-select-dialog.vue

* components/drive-window.vue

* merge

* fix

* Service Workerのビルドにesbuildを使うようにする

* return createEmptyNotification()

* fix

* i18n.ts

* update

* ✌️

* remove ts-loader

* fix

* fix

* enhance: Service Workerを常に登録するように

* pollEnded

* URLをsw.jsに戻す

* clean up

* wip

* wip

* wip

* wip

* wip

* wip

* ✌️

* use import

* fix

* install rollup

* use defineAsyncComponent.

* fix emojilist

* wip use defineAsyncComponent

* popup(import -> popup(defineAsyncComponent(() => import

* draggable?

* fix init import

* clean up

* fix router

* add comment

* ✌️

* ✌️

* ✌️

* remove webpack

* update vite

* fix boot sequence

* Revert "fix boot sequence"

This reverts commit e893dbf37aed83bf9f12e427d98c78a7065b4a39.

* revert boot import

* never make two app div

* ;

* remove console.log

* change clientEntry sequence

* fix

* Revert "fix"

This reverts commit 12741b3d89950a31dbb1bb81477ddb27b0e9951a.

* fix

* add comment https://github.com/misskey-dev/misskey/pull/8575#issuecomment-1114239210

* add log

* add comment

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-05-01 22:51:07 +09:00
tamaina
766559c6e9
feat: Improve Push Notification (#7667)
* clean up

* ev => data

* refactor

* clean up

* add type

* antenna

* channel

* fix

* add Packed type

* add PackedRef

* fix lint

* add emoji schema

* add reversiGame

* add reversiMatching

* remove signin schema (use Signin entity)

* add schemas refs, fix Packed type

* wip PackedHoge => Packed<'Hoge'>

* add Packed type

* note-reaction

* user

* user-group

* user-list

* note

* app, messaging-message

* notification

* drive-file

* drive-folder

* following

* muting

* blocking

* hashtag

* page

* app (with modifying schema)

* import user?

* channel

* antenna

* clip

* gallery-post

* emoji

* Packed

* reversi-matching

* update stream.ts

* https://github.com/misskey-dev/misskey/pull/7769#issuecomment-917542339

* fix lint

* clean up?

* add app

* fix

* nanka iroiro

* wip

* wip

* fix lint

* fix loginId

* fix

* refactor

* refactor

* remove follow action

* clean up

* Revert "remove follow action"

This reverts commit defbb416480905af2150d1c92f10d8e1d1288c0a.

* Revert "clean up"

This reverts commit f94919cb9cff41e274044fc69c56ad36a33974f2.

* remove fetch specification

* renoteの条件追加

* apiFetch => cli

* bypass fetch?

* fix

* refactor: use path alias

* temp: add submodule

* remove submodule

* enhane: unison-reloadに指定したパスに移動できるように

* null

* null

* feat: ログインするアカウントのIDをクエリ文字列で指定する機能

* null

* await?

* rename

* rename

* Update read.ts

* merge

* get-note-summary

* fix

* swパッケージに

* add missing packages

* fix getNoteSummary

* add webpack-cli

* ✌️

* remove plugins

* sw-inject分離したがテストしてない

* fix notification.vue

* remove a blank line

* disconnect intersection observer

* disconnect2

* fix notification.vue

* remove a blank line

* disconnect intersection observer

* disconnect2

* fix

* ✌️

* clean up config

* typesを戻した

* Update packages/client/src/components/notification.vue

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* disconnect

* oops

* Failed to load the script unexpectedly回避
sw.jsとlib.tsを分離してみた

* truncate notification

* Update packages/client/src/ui/_common_/common.vue

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

* clean up

* clean up

* キャッシュ対策

* Truncate push notification message

* クライアントがあったらストリームに接続しているということなので通知しない判定の位置を修正

* components/drive-file-thumbnail.vue

* components/drive-select-dialog.vue

* components/drive-window.vue

* merge

* fix

* Service Workerのビルドにesbuildを使うようにする

* return createEmptyNotification()

* fix

* i18n.ts

* update

* ✌️

* remove ts-loader

* fix

* fix

* enhance: Service Workerを常に登録するように

* pollEnded

* URLをsw.jsに戻す

* clean up

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-04-30 21:52:07 +09:00
syuilo
c928941d29 fix(client): fix popup menu direction calclation 2022-03-19 22:03:53 +09:00
syuilo
0f736e7e9d tweak client 2022-03-06 23:21:19 +09:00
syuilo
c0fd7697b9 enhance(client): improve launch pad usability 2022-02-23 23:40:31 +09:00
syuilo
9d7352a9e4 fix(client): リアクションピッカーの高さが低くなったまま戻らないことがあるのを修正
Fix #8071
2022-02-13 16:35:53 +09:00
syuilo
642a51a558 fix(client): nextTickの中でonUnmounted呼び出しても効かない可能性がある 2022-02-12 17:29:15 +09:00
syuilo
190b47aad2 feat(client): デバイスの種類を手動指定できるように 2022-02-08 18:46:39 +09:00