Commit graph

46 commits

Author SHA1 Message Date
Jeder 3ae8049d81
client: change followers only icon to closed lock
Reviewed-on: FoundKeyGang/FoundKey#388
Changelog: Changed
2023-05-29 20:01:23 +02:00
Johann150 0cf8f78e23
client: fix attached files and account switcher combination
fixes FoundKeyGang/FoundKey#342

Changelog: Fixed
2023-02-18 12:30:45 +01:00
Johann150 a45908c1cb
client: check quoteId for canPost computation
fixes FoundKeyGang/FoundKey#334

Changelog: Fixed
2023-02-03 23:12:12 +01:00
Johann150 334368f6e2
fix: allow to pick higher visibility than chosen before
If you selected a lower visibility that one would then be used as
the parent visibility. Instead it is necessary to use two separate
variables, one for parent and one for the preselected visibility.
2023-01-04 21:39:33 +01:00
Johann150 338e898f56
client: disable unavailable visibilities 2023-01-01 21:02:55 +01:00
Norm def5eb0d2e Merge pull request 'client: remove click-anime directive' (#185) from remove-anime into main 2022-10-05 04:41:32 +00:00
Johann150 f4f83cb091
client: remove click-anime directive 2022-10-04 20:01:14 +02:00
Norm 4ab9312392
client: fix post-form.vue
This fixes an issue where the post form hangs after posting.
2022-10-04 13:04:07 -04:00
Johann150 def1e6396c
fixup: simplify check because there is never an initial poll 2022-10-02 16:13:37 +02:00
Johann150 2e07477398
client: discard drafts that are just the default state
Changelog: Changed
2022-10-02 15:52:39 +02:00
Johann150 106e14700f
client: include renote in visibility computation
Changelog: Changed
2022-09-15 17:42:04 -04:00
Johann150 17fa488eb9
refactor: move visibility computation to foundkey-js
Changelog: Changed
2022-09-15 17:39:51 -04:00
Chloe Kudryavtsev d434343a09
client: fix default-selected reply scopes
As a side-effect, I remove the broken "remember privacy scope" setting.

Co-authored-by: Johann150 <johann.galle@protonmail.com>
Changelog: Fixed
2022-09-15 17:38:00 -04:00
Johann150 677c1df597
rename foundkey-js imports to foundkey 2022-09-13 17:17:46 +02:00
Norm a424426857
client: Use foundkey-js instead of misskey-js 2022-08-26 01:25:56 -04:00
Johann150 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
Johann150 609fb91ca1
fix some lints automatically 2022-08-10 22:42:30 +02: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 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 a29ff7b1fa
Fix lint issues in post form component (#8619)
* fix(client): fix lint issues in post form

* Apply review suggestions from @Johann150

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

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-07 17:01: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 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
syuilo f512b29443 chore(client): check textarea exists 2022-02-09 21:27:42 +09:00
syuilo eb894c330f fix(client): 環境に依っては返信する際のカーソル位置が正しくない問題を修正 2022-02-08 23:53:01 +09:00
nullobsi bfc95ccf73
fix: ensure that specified users does not get duplicates (#8233)
* ensure that specified users does not get duplicates

* Update packages/client/src/components/post-form.vue

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

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-02-01 21:49:34 +09:00
syuilo f0e720931b fix(client): 投稿フォームのハッシュタグ保持フィールドが動作しない問題を修正
Fix #8212
2022-01-29 02:54:56 +09:00
syuilo b946d89ec1 refactor(client): better semantics 2022-01-28 11:53:12 +09:00
syuilo 57ec04d9ec refactor(client): i18n.locale -> i18n.ts 2022-01-28 11:39:49 +09:00
syuilo 779bd244a6 chore: fix instant form handling 2022-01-27 17:38:02 +09:00
Derek 4e1974c6e6
enhance: Improve poll-editor UI + composition port (#8186)
* Poll editor UI changes

Use a horizontal layout when possible, wrap to vertical when constrained

* Port poll-editor to composition API

* Fix poll-editor `get` time calcs

* fix

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-01-26 03:26:12 +09:00
syuilo 901453ba7d chore(client): add tooltip 2022-01-21 20:51:07 +09:00
syuilo 10609eebfa 投稿したらアカウントを元に戻すように 2022-01-21 20:19:56 +09:00
syuilo 331afcb96a feat(client): make possible to switch account instantly in post form 2022-01-21 20:17:31 +09:00
tamaina 1bd7c55c88
post-form.vue (#8164) 2022-01-20 23:15:08 +09:00
syuilo d7d533f9de fix #8158 2022-01-19 23:51:28 +09:00
syuilo 689e75e10a wip: refactor(client): migrate components to composition api 2022-01-16 08:49:27 +09:00
syuilo c17e8fa8a4 wip: refactor(client): migrate components to composition api 2022-01-16 01:46:25 +09:00
tamaina e159f15600
enhance: pizzaxでstreamingのuser storage updateイベントを監視して更新 (#8095)
* wip

* wip?

* ?

* streamingのuser storage updateイベントを監視して更新

* 必要な時以外はストレージを更新しない

* fix?

* wip

* fix

* fix
2021-12-29 22:13:09 +09:00
syuilo 46c0280764 refactor(client): 2021-12-10 01:22:22 +09:00
nullobsi 3eef0a65c2
fix mentions in replies (#8030) 2021-12-02 20:27:42 +09:00
syuilo 5d968afa74 update linr 2021-11-19 19:36:12 +09:00
syuilo 73b5c12927 introduce lint for client
Resolve #7998
2021-11-18 23:32:43 +09:00
syuilo ea9aeef9d8 refactor(client): refactor dialog functions to improve type inference 2021-11-18 18:45:58 +09:00
nullobsi c038892795
fix: mention local users in replies (#7975)
* mention local users in replies

* fix merge
2021-11-12 19:31:56 +09:00
syuilo 6496835515 viaMobileフラグ廃止
Close #7965
2021-11-12 15:11:20 +09:00
syuilo 0e4a111f81 refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00
Renamed from src/client/components/post-form.vue (Browse further)