syuilo
db21be3282
chore(client): trust ios
2022-07-13 21:41:06 +09:00
yzhe819
9107de63b4
chore: fix lint errors ( #8981 )
2022-07-10 19:47:29 +09:00
syuilo
c0eba65527
chore(client): tweak ui
2022-07-07 20:19:50 +09:00
syuilo
f4fcb912e3
enhance(client): make widgets available on tablet again
2022-07-07 17:29:30 +09:00
syuilo
1c5f339d09
chore(client): tweak style
2022-07-07 17:28:21 +09:00
syuilo
f66235f066
chore(client): rendering performance tweak a bit
2022-07-05 22:35:57 +09:00
syuilo
ccea04f391
chore(client): tweak deck
2022-07-05 16:07:53 +09:00
syuilo
135dfa8026
chore(client): tweak deck
2022-07-05 15:55:55 +09:00
Kainoa Kanter
1eb504a640
chore: fix client lint errors ( #8934 )
...
* Fix client lint
* Hide no-v-html
* Ignore banned type
* Update page-editor.vue
2022-07-05 11:21:59 +09:00
Johann150
a5c3fcea6e
fix lint no-undef
2022-07-04 16:33:55 +02:00
Johann150
2bd4323b17
fix lint: use let instead of const for $ref
...
Fixes lint no-const-assign.
2022-07-04 16:22:21 +02:00
syuilo
65c12903e4
enhance(client): deckのウイジェットカラムが未設定の時に説明を表示するように
2022-07-04 21:28:59 +09:00
syuilo
4ab2f16ed3
enhance(client): tweak statusbar
2022-07-04 01:37:47 +09:00
syuilo
dc1a35c13c
chore(client): tweak style
2022-07-04 01:12:36 +09:00
syuilo
1cb847aa80
enhance(client): tweak deck
2022-07-03 23:13:41 +09:00
syuilo
1163c85db6
enhance(client): refine deck
...
Fix #7720
2022-07-03 20:30:58 +09:00
syuilo
af6dd4194f
fix(client): contextmenu of deck not working
2022-07-03 19:11:10 +09:00
syuilo
4774bc1f47
chore(client): tweak style
2022-07-03 16:36:13 +09:00
syuilo
e393ab6044
fix(client): style tweak for ios
2022-07-03 16:17:31 +09:00
syuilo
44c85aff86
feat(client): status bar (experimental)
2022-07-03 14:40:02 +09:00
syuilo
ded0f6f0df
refactor(client): refactoring
2022-07-02 14:00:37 +09:00
syuilo
9ac526b6b6
tweak client
2022-06-30 10:13:27 +09:00
Johann150
8b7dcf4dba
fix 'assignment to const' error
2022-06-29 17:44:03 +02:00
syuilo
a50b1d69a1
chore(client): fix #8858
2022-06-28 17:59:23 +09:00
syuilo
699f24f3dc
refactor(client): Refine routing ( #8846 )
2022-06-20 17:38:49 +09:00
syuilo
4e89d41f04
lint
2022-06-12 19:50:47 +09:00
syuilo
a8e7b1a303
fix(client): デッキでウィジェットの情報が保存されない問題を修正
...
Fix #8818
2022-06-12 19:50:43 +09:00
Johann150
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
Johann150
121a1784a2
fix(lint): indentation
2022-05-31 16:22:00 +02:00
Johann150
804fa33535
refactor: improve code quality ( #8751 )
...
* remove unnecessary if
`Array.prototype.some` already returns a boolean so an if to return
true or false is completely unnecessary in this case.
* perf: use count instead of find
When using `count` instead of `findOneBy`, the data is not
unnecessarily loaded.
* remove duplicate null check
The variable is checked for null in the lines above and the function
returns if so. Therefore, it can not be null at this point.
* simplify `getJsonSchema`
Because the assigned value is `null` and the used keys are only
shallow, use of `nestedProperty.set` seems inappropriate. Because the
value is not read, the initial for loop can be replaced by a `for..in`
loop.
Since all keys will be assigned `null`, the condition of the ternary
expression in the nested function will always be true. Therefore the
recursion case will never happen. With this the nested function can be
eliminated.
* remove duplicate condition
The code above already checks `dragging` and returns if it is truthy.
Checking it again later is therefore unnecessary.
To make this more obvious the `return` is removed in favour of using
an if...else construct.
* remove impossible "unknown" time
The `ago` variable will always be a number and all non-negative numbers
are already covered by other cases, the negative case is handled with
`future` so there is no case when `unkown` could be achieved.
2022-05-29 15:15:52 +09:00
Andreas Nedbal
708fba989a
feat(tests): add e2e tests for widgets ( #8735 )
...
* test(e2e): add baseline for widget tests
* chore(repo): enable test running in branch
* fix(e2e): set viewport for widget tests
* fix(client): add widget identifier classes to widgets
* test(e2e): add memo widget test
* fix(tests): force select value
* fix(tests): force button press for widget addition
* fix(tests): invoke select value differently
* fix(tests): adjust widget submit
* fix(tests): don't explicitly navigate for widget test
* fix(tests): click label to hide select popup
* fix(tests): just click modal background
* fix(tests): adjust modal background selector
* fix(tests): click all modal backgrounds
* feat(e2e): add test for adding timeline widget
* fix(client): add more widget identifier classes
* feat(tests): add method abstraction for test cases
* fix(tests): force-click overlays
* fix(tests): force widget button press
* fix(tests): remove timeout from final widget check
* feat(tests): add widget removal test case
* fix(client): use mk instead of msky as class prefix
* fix(tests): check widgets for existence rather than visibility
* chore(meta): don't run tests for specific feature branch
2022-05-28 14:28:12 +09:00
Johann150
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
Andreas Nedbal
a273940348
fix(client): fix lint issues in Deck UI components ( #8681 )
2022-05-19 17:35:43 +09:00
あずき⪥™
e3f2d469c0
remove unneeded attrs ( #8673 )
2022-05-18 01:34:30 +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
tamaina
12a3c6872f
enhance: ドライブに画像ファイルをアップロードするときオリジナル画像を破棄してwebpublicのみ保持するオプション ( #8216 )
...
* wip
* Update packages/client/src/os.ts
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* メニューをComposition API化、switchアイテム追加
クライアントサイド画像圧縮の準備
* メニュー型定義を分離 (TypeScriptの型支援が効かないので)
* disabled
* make keepOriginal to follow setting value
* ✌️
* fix
* fix
* ✌️
* WEBP
* aaa
* ✌️
* webp
* lazy load browser-image-resizer
* rename
* rename 2
* Fix
* clean up
* add comment
* clean up
* jpeg, pngにもどす
* fix
* fix name
* webpでなくする ただしサムネやプレビューはwebpのまま (テスト)
* 動画サムネイルはjpegに
* エラーハンドリング
* ✌️
* v2.2.1-misskey-beta.2
* browser-image-resizer#v2.2.1-misskey.1
* ✌️
* fix alert
* update browser-image-resizer to v2.2.1-misskey.2
* lockfile
Co-authored-by: mei23 <m@m544.net>
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
2022-04-28 11:14:03 +09:00
tamaina
f7030d4a42
enhance: タッチパッド・タッチスクリーンでのデッキの操作性を向上 ( #8450 )
...
* enhance experience of deck with touchpad
* test: 単純にdeltaYを加算してみる
* clean up
* ios bug fix?
* ✌️
* use overflow-y
* Safari does not supports clip
2022-04-02 15:12:01 +09:00
syuilo
525b4b6cf4
tweak client
2022-03-27 16:28:25 +09:00
syuilo
30fe632d54
fix of client
2022-03-27 16:21:09 +09:00
tamaina
78736c70f7
デッキまわりをCompositon API / Setup Sugarに ( #8410 )
...
* universal.widgets.vue
* column.vue, antenna-column.vue
* direct-column.vue, list-column.vue
* main-column.vue
* wip
* ✌️
* fix
* ✌️
* ✌️
2022-03-21 03:11:14 +09:00
syuilo
8ca8d77c1e
tweak client
2022-03-06 23:21:25 +09:00
tamaina
446e4ce0c3
fix: iPhone X以降(?)でページの内容が全て表示しきれないのを修正 ( #8375 )
...
* add safe-area-inset-bottom to spacer
* fix
* ✌️
* fix
2022-03-05 02:00:45 +09:00
syuilo
0bd68902f9
feat(client): indicate dev build
2022-03-03 01:17:37 +09:00
syuilo
c0fd7697b9
enhance(client): improve launch pad usability
2022-02-23 23:40:31 +09:00
syuilo
1c6ab5447d
fix(client): 一部環境でサイドバーの投稿ボタンが表示されない問題を修正
2022-02-12 17:28:33 +09:00
syuilo
e7d6bd19eb
🎨
2022-02-12 17:00:09 +09:00
syuilo
720d5db041
🎨
2022-02-12 16:52:01 +09:00
syuilo
fd3ce321c5
fix(client): フッターでセーフエリアを考慮するように
2022-02-12 14:48:01 +09:00
tamaina
ae3abc2126
fix: Fix Sideview ( #8235 )
...
* Fix #7890
* a-
* 3度目の正直
* fix
* ✌️
* update CHANGELOG
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-02-01 23:48:19 +09:00