Commit Graph

207 Commits

Author SHA1 Message Date
ThatOneCalculator
a9dce362df feat: 💄 Phosphor icons! 2022-11-06 17:33:52 -08:00
ThatOneCalculator
b9d107ba84 fix: 🐛 wrong placement 2022-10-25 23:19:45 -07:00
ThatOneCalculator
ab7d6ac90f fix: 🐛 Show title on mobile if there's no tab buttons 2022-09-09 15:04:31 -07:00
ThatOneCalculator
87f9e45048 chore: 🔀 Merge upstream 2022-09-09 12:16:58 -07:00
ThatOneCalculator
7de1d1327e fix: 🐛 fix header button positions on mobile 2022-09-08 10:42:01 -07:00
ThatOneCalculator
037ef98290 fix: 2022-09-07 16:18:04 -07:00
ThatOneCalculator
8d358052b9 fix sync 2022-09-07 16:11:00 -07:00
ThatOneCalculator
d2a3a3d4dd fix: 🐛 Don't show tab title on mobile 2022-09-07 15:37:04 -07:00
ThatOneCalculator
e8866825f5 fix 2022-09-07 15:33:21 -07:00
ThatOneCalculator
7ff2ecebe6 feat: Better tabs for mobile 2022-09-07 15:09:23 -07:00
syuilo
c8d228f2df refactor(client): refactor file name and directory structure 2022-09-06 18:21:49 +09:00
ThatOneCalculator
ada6f80b60 Merge remote-tracking branch 'misskey/develop' into develop 2022-09-05 15:00:53 -07:00
ThatOneCalculator
ad420b37d6 Merge remote-tracking branch 'misskey/develop' into develop 2022-09-05 15:00:45 -07:00
syuilo
fe8998b43c refactor(client): use setup syntax 2022-09-05 18:51:23 +09:00
syuilo
5af3133892 refactor(client): use setup syntax 2022-08-31 23:12:22 +09:00
syuilo
97575064d5 refactor(client): align filename to component name 2022-08-31 00:24:33 +09:00
ThatOneCalculator
3959698e89 Merge remote-tracking branch 'misskey/develop' into develop 2022-08-27 15:18:59 -07:00
syuilo
b261324837 chore(client): tweak loading display 2022-08-27 16:26:14 +09:00
ThatOneCalculator
15b3ea30ac fix: ⚗️ 2022-08-16 00:28:33 -07:00
ThatOneCalculator
0a77644ee5 fix: 🐛 fix avatar not showing up 2022-08-16 00:25:47 -07:00
ThatOneCalculator
a8e2342240 feat: Make mobile account avatar clickable 2022-08-16 00:22:37 -07:00
ThatOneCalculator
c1f155ccf7 Merge remote-tracking branch 'misskey/develop' into develop 2022-08-15 15:21:46 -07:00
あずき⪥™
b1f88cf122 feat: show header with current user avatar on TL (#9051)
* feat: show header with current user avatar on TL

* refactor(client): use displayMyAvatar prop instead of metadata

* refactor(client): prefer v-if to `display: none;`
2022-08-13 17:41:17 +09:00
ThatOneCalculator
776431403a New error images! 2022-08-08 14:07:09 -07:00
ThatOneCalculator
848767fe0e Merge remote-tracking branch 'misskey/develop' into develop 2022-08-06 22:06:55 -07:00
syuilo
7cf2bdac7f perf(client): use shallowRef as possible 2022-08-06 19:20:53 +09:00
ThatOneCalculator
c6f9136ec8 loader stroke 6px 2022-07-27 19:27:29 -07:00
ThatOneCalculator
8f04928d80 speed up to 1.2s 2022-07-27 12:34:23 -07:00
ThatOneCalculator
3d8ef2f9bc LOADING ANIMATION IS FINALLY FIXED 2022-07-27 12:32:14 -07:00
ThatOneCalculator
df7b3326b9 40 2022-07-27 12:28:36 -07:00
ThatOneCalculator
d26dba28a9 🙏 2022-07-27 12:27:09 -07:00
ThatOneCalculator
1fedfba14c fix fr on god no cap 2022-07-27 12:04:26 -07:00
ThatOneCalculator
e66818eb84 hopefully fix fo the last time 2022-07-27 11:57:09 -07:00
ThatOneCalculator
5bf254657a fix again 2022-07-27 11:52:10 -07:00
ThatOneCalculator
14c6e94e30 fix 2022-07-27 11:46:52 -07:00
ThatOneCalculator
f732867e87 accessibility <3 2022-07-27 11:32:55 -07:00
ThatOneCalculator
7fb6383e53 Spinner 2022-07-27 11:19:57 -07:00
ThatOneCalculator
e0cead53d7 start better headerbar 2022-07-23 21:57:13 -07:00
ThatOneCalculator
47dac7ac1b MkLoading instead of "Loading..." 2022-07-23 19:45:27 -07:00
ThatOneCalculator
2e00d82d29 Merge remote-tracking branch 'misskey/develop' into develop 2022-07-20 22:04:12 -07:00
syuilo
ae766b0708 refactor(client): 2022-07-20 22:24:26 +09:00
syuilo
711322cd9a enhance(client): ネストしたルーティングに対応 2022-07-20 19:59:27 +09:00
ThatOneCalculator
0693367f96 Merge remote-tracking branch 'misskey/develop' into develop 2022-07-19 09:04:29 -07:00
syuilo
5edecc1914 enhance(client): suspense
Fix #8817
2022-07-19 21:36:33 +09:00
ThatOneCalculator
67460a4e7b Merge remote-tracking branch 'thatonecalculator/self-host-images' into develop 2022-07-18 20:34:37 -07:00
ThatOneCalculator
134040410f Merge remote-tracking branch 'thatonecalculator/toggle-ads' into develop 2022-07-18 20:31:46 -07:00
syuilo
b76d76b8f9 enhance(client): tweak ui 2022-07-18 05:03:39 +09:00
Kainoa Kanter
e2075744f2 chore: improve ad style (#8995)
* Improve ad style

* 🎨

* `ad` -> `info`
2022-07-16 17:50:12 +09:00
syuilo
ad298da308 chore(client): tweak ui 2022-07-16 13:49:23 +09:00
syuilo
adc138fb4a refactor(client): use setup syntax 2022-07-16 13:14:16 +09:00
Kainoa Kanter
e15be5ce08 Merge branch 'develop' into toggle-ads 2022-07-14 17:48:59 -07:00
tamaina
0a8d24702f refactor(client): remove useCssModule (#8999)
* refactor(client): remove useCssModule()

* use MkStickyContainer

* Revert "use MkStickyContainer"

This reverts commit 639746786bb7e3342db9cbd3452854fc29aacf88.
2022-07-14 23:32:00 +09:00
ThatOneCalculator
eee7edd623 fix 2022-07-13 18:28:11 -07:00
ThatOneCalculator
9151664b59 typo 2022-07-13 18:19:18 -07:00
ThatOneCalculator
e17589478a fix 2022-07-13 18:19:01 -07:00
ThatOneCalculator
17381e9c0c Make showing ads toggleable 2022-07-13 17:54:12 -07:00
syuilo
65ec13a137 fix(client): fix url encoded string handling of nirax
Fix #8878
2022-07-13 18:11:54 +09:00
syuilo
edbdb7c5c9 chore(client): rendering performance tweak a bit 2022-07-05 22:35:57 +09:00
Johann150
9538815980 fix lint @typescript-eslint/ban-types 2022-07-04 16:46:48 +02:00
syuilo
36f2b27852 chore(client): tweak style 2022-07-03 16:46:00 +09:00
syuilo
58ebe2ed05 feat(client): status bar (experimental) 2022-07-03 14:40:02 +09:00
syuilo
92aa415ea6 enhance(client): better sticky-container component 2022-07-02 21:28:55 +09:00
syuilo
8c3f155a79 chore(client): tweak ui 2022-07-01 18:55:45 +09:00
syuilo
7be20ff1a7 tweak client 2022-06-30 10:53:40 +09:00
syuilo
7bc77f6137 perf(client): remove needless reactivity 2022-06-29 16:06:13 +09:00
ThatOneCalculator
bf6a4b8696 Self host error/info/not-found images 2022-06-28 19:33:32 -07:00
syuilo
76094b7d9a chore(client): tweak style 2022-06-28 18:09:42 +09:00
syuilo
4e20f39dca refactor(client): extract interval logic to a composable function
あと`onUnmounted`を`onMounted`内で呼んでいたりしたのを修正したりとか
2022-06-26 03:12:58 +09:00
syuilo
c78e44f8d5 tweak client 2022-06-22 20:47:53 +09:00
syuilo
4f70f4a481 refactor(client): use composition api 2022-06-22 16:30:55 +09:00
syuilo
a22dc728fb refactor(client): refactor header tab handling 2022-06-22 16:30:45 +09:00
syuilo
10a18cd514 refactor(client): Refine routing (#8846) 2022-06-20 17:38:49 +09:00
tamaina
e548abb13f refactor: チャットルームをComposition API化 (#8850)
* pick form

* pick message

* pick room

* fix lint

* fix scroll?

* fix scroll.ts

* fix directives/sticky-container

* update global/sticky-container.vue

* fix, 🎨

* test.1
2022-06-20 13:20:28 +09:00
tamaina
566e0d2bea feat: Add Badge Image to Push Notification (#8012)
* 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を戻した

* backend/src/web/index.ts

* notification-badges

* add scripts

* change create-notification.ts

* 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

* refactor

* キャッシュ対策

* Truncate push notification message

* fix

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

* components/drive-file-thumbnail.vue

* components/drive-select-dialog.vue

* components/drive-window.vue

* merge

* fix

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

* return createEmptyNotification()

* fix

* fix

* i18n.ts

* update

* ✌️

* remove ts-loader

* fix

* fix

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

* pollEnded

* pollEnded

* URLをsw.jsに戻す

* clean up

* fix lint

* changelog

* alpha-test

* also with twemoji

* add isMimeImage function

* catch

* Colour => Color

* char2file => char2filePath

* Update autocomplete.vue

* remove clone?

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-06-20 00:33:46 +09:00
Johann150
ec47b46423 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
tamaina
82331575cf refactor: use css module at components/global/loading.vue (#8750)
* refactor: use css module at components/global/loading.vue

* rename class name to "root"
2022-05-29 00:15:32 +09:00
Johann150
d2ca085a17 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
Johann150
aa1eab985a enhance(MFM): limit large MFM (#8540)
* add CSS classes for zoom MFM

* limit nesting of x2, x3, x4 MFM

* simplify CSS calculation

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

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-05-19 20:38:14 +09:00
syuilo
3999558d47 chore(client): tweak loading spinner design 2022-05-19 17:21:08 +09:00
syuilo
ea5dd3b1e7 chore(client): tweak loading spinner design 2022-05-19 15:24:35 +09:00
tamaina
8ad77a28b4 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
c5aa46c0b9 fix: Fix settings page (#8508)
* Fix settings page

* nanka iroiro

* clean up

* clean up

* インデックスに戻ってもタイトルが残ってしまうのを修正
2022-04-23 19:17:15 +09:00
syuilo
923c203230 refactor 2022-03-27 02:22:31 +09:00
tamaina
56150d66ef fix: Handle decodeURIComponent error (#8411) 2022-03-27 02:21:56 +09:00
syuilo
98dd6d0146 enhance(client): tweak padding 2022-02-11 22:16:20 +09:00
tamaina
44f36940bd 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
Johann150
07ab5d181b round relative time (#8199) 2022-01-28 15:29:24 +09:00
syuilo
875f1b76e7 refactor(client): better semantics 2022-01-28 11:53:12 +09:00
syuilo
0f57ea08e7 refactor(client): i18n.locale -> i18n.ts 2022-01-28 11:39:49 +09:00
syuilo
79980a22c3 wip: refactor(client): migrate components to composition api 2022-01-16 21:31:09 +09:00
syuilo
1d530be2cf wip: refactor(client): migrate components to composition api 2022-01-16 11:02:27 +09:00
syuilo
79c78bb6f2 refactor(client): specify global scope 2022-01-16 10:14:14 +09:00
syuilo
2a66ff3991 wip: refactor(client): migrate components to composition api 2022-01-16 08:24:53 +09:00
syuilo
52c13e9db5 wip: refactor(client): migrate components to composition api 2022-01-16 07:47:28 +09:00
syuilo
769c9192ec refactor(client): use composition api 2022-01-07 15:02:25 +09:00
syuilo
9f3045a234 tweak ui 2022-01-04 15:36:14 +09:00
syuilo
9b5e8a87e9 chore(client): tweak style 2021-12-25 16:53:15 +09:00
syuilo
fb31d04cec clean up 2021-12-23 17:05:50 +09:00
syuilo
1a86751ef3 refactor(client): refactor 2021-12-23 17:05:26 +09:00
syuilo
a46f0005fe refactor(client): 2021-12-05 16:57:49 +09:00
syuilo
ffaaa86584 fix(client): タッチ機能付きディスプレイを使っていてマウス操作をしている場合に一部機能が動作しない問題を修正 2021-12-05 13:10:19 +09:00
syuilo
4e0a25a675 client: tweak ui 2021-12-03 16:07:50 +09:00
syuilo
c593c160d6 client: tweak ui 2021-12-03 13:52:57 +09:00
syuilo
b79f470672 client: tweak ui 2021-12-02 20:46:16 +09:00
syuilo
677f0ad10c client: refine ui 2021-11-28 20:07:37 +09:00
syuilo
ec1ca199cb update linr 2021-11-19 19:36:12 +09:00
syuilo
14148f6c4a refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00