Commit Graph

160 Commits

Author SHA1 Message Date
ThatOneCalculator
11082f1fb2 no more XHeader 2022-11-06 19:04:15 -08:00
ThatOneCalculator
20d264227c make icons large 2022-11-06 18:49:47 -08:00
ThatOneCalculator
5cb2a22566 fixxxxx 2022-11-06 18:30:26 -08:00
ThatOneCalculator
b3a5fdb1e0 feat: 💄 Phosphor icons! 2022-11-06 17:33:52 -08:00
ThatOneCalculator
405eb71564 fix: 🐛 wrong placement 2022-10-25 23:19:45 -07:00
ThatOneCalculator
f7ed1b77cc fix: 🐛 Show title on mobile if there's no tab buttons 2022-09-09 15:04:31 -07:00
ThatOneCalculator
e8664b5664 chore: 🔀 Merge upstream 2022-09-09 12:16:58 -07:00
ThatOneCalculator
f08c04cdb1 fix: 🐛 fix header button positions on mobile 2022-09-08 10:42:01 -07:00
ThatOneCalculator
c9792492cb fix: 2022-09-07 16:18:04 -07:00
ThatOneCalculator
78bd658a4f fix sync 2022-09-07 16:11:00 -07:00
ThatOneCalculator
045fc9e1ee fix: 🐛 Don't show tab title on mobile 2022-09-07 15:37:04 -07:00
ThatOneCalculator
c601650151 fix 2022-09-07 15:33:21 -07:00
ThatOneCalculator
9b3ad73576 feat: Better tabs for mobile 2022-09-07 15:09:23 -07:00
syuilo
a9e13693a5 refactor(client): refactor file name and directory structure 2022-09-06 18:21:49 +09:00
ThatOneCalculator
94774723f0 Merge remote-tracking branch 'misskey/develop' into develop 2022-09-05 15:00:53 -07:00
ThatOneCalculator
79be45c65c Merge remote-tracking branch 'misskey/develop' into develop 2022-09-05 15:00:45 -07:00
syuilo
9db2380c20 refactor(client): use setup syntax 2022-09-05 18:51:23 +09:00
syuilo
d9ff2dd471 refactor(client): use setup syntax 2022-08-31 23:12:22 +09:00
syuilo
786b150ea7 refactor(client): align filename to component name 2022-08-31 00:24:33 +09:00
ThatOneCalculator
ab4c267594 Merge remote-tracking branch 'misskey/develop' into develop 2022-08-27 15:18:59 -07:00
syuilo
e0dce77678 chore(client): tweak loading display 2022-08-27 16:26:14 +09:00
ThatOneCalculator
b6dcfede43 fix: ⚗️ 2022-08-16 00:28:33 -07:00
ThatOneCalculator
f8a410a843 fix: 🐛 fix avatar not showing up 2022-08-16 00:25:47 -07:00
ThatOneCalculator
0115747997 feat: Make mobile account avatar clickable 2022-08-16 00:22:37 -07:00
ThatOneCalculator
c80577c709 Merge remote-tracking branch 'misskey/develop' into develop 2022-08-15 15:21:46 -07:00
あずき⪥™
c97dc7fe93
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
0601a89cb8 New error images! 2022-08-08 14:07:09 -07:00
ThatOneCalculator
7452f648b6 Merge remote-tracking branch 'misskey/develop' into develop 2022-08-06 22:06:55 -07:00
syuilo
c4830dcf3a perf(client): use shallowRef as possible 2022-08-06 19:20:53 +09:00
ThatOneCalculator
5b67390baf loader stroke 6px 2022-07-27 19:27:29 -07:00
ThatOneCalculator
aa6ca4d6e9 speed up to 1.2s 2022-07-27 12:34:23 -07:00
ThatOneCalculator
979c7cc839 LOADING ANIMATION IS FINALLY FIXED 2022-07-27 12:32:14 -07:00
ThatOneCalculator
db787696b7 40 2022-07-27 12:28:36 -07:00
ThatOneCalculator
76ce3f80de 🙏 2022-07-27 12:27:09 -07:00
ThatOneCalculator
e1d6e910f7 fix fr on god no cap 2022-07-27 12:04:26 -07:00
ThatOneCalculator
160cb38afa hopefully fix fo the last time 2022-07-27 11:57:09 -07:00
ThatOneCalculator
f277aaf677 fix again 2022-07-27 11:52:10 -07:00
ThatOneCalculator
6e7efb8c43 fix 2022-07-27 11:46:52 -07:00
ThatOneCalculator
ac570286a2 accessibility <3 2022-07-27 11:32:55 -07:00
ThatOneCalculator
b36bb813c1 Spinner 2022-07-27 11:19:57 -07:00
ThatOneCalculator
1a9a3b1bc4 start better headerbar 2022-07-23 21:57:13 -07:00
ThatOneCalculator
f7e0c8a4a9 MkLoading instead of "Loading..." 2022-07-23 19:45:27 -07:00
ThatOneCalculator
490fab8335 Merge remote-tracking branch 'misskey/develop' into develop 2022-07-20 22:04:12 -07:00
syuilo
50e3ca19bc refactor(client): 2022-07-20 22:24:26 +09:00
syuilo
66f1aaf5f7 enhance(client): ネストしたルーティングに対応 2022-07-20 19:59:27 +09:00
ThatOneCalculator
eaf31f78ad Merge remote-tracking branch 'misskey/develop' into develop 2022-07-19 09:04:29 -07:00
syuilo
17afbc3c46 enhance(client): suspense
Fix #8817
2022-07-19 21:36:33 +09:00
ThatOneCalculator
4bfc6f2457 Merge remote-tracking branch 'thatonecalculator/self-host-images' into develop 2022-07-18 20:34:37 -07:00
ThatOneCalculator
be12452fb8 Merge remote-tracking branch 'thatonecalculator/toggle-ads' into develop 2022-07-18 20:31:46 -07:00
syuilo
49499f3d7d enhance(client): tweak ui 2022-07-18 05:03:39 +09:00
Kainoa Kanter
5619a3390d
chore: improve ad style (#8995)
* Improve ad style

* 🎨

* `ad` -> `info`
2022-07-16 17:50:12 +09:00
syuilo
57e533a5ef chore(client): tweak ui 2022-07-16 13:49:23 +09:00
syuilo
4f9b03a997 refactor(client): use setup syntax 2022-07-16 13:14:16 +09:00
Kainoa Kanter
a8de112fe0
Merge branch 'develop' into toggle-ads 2022-07-14 17:48:59 -07:00
tamaina
77c2a7cd71
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
38e0ff9875 fix 2022-07-13 18:28:11 -07:00
ThatOneCalculator
4684d279ae typo 2022-07-13 18:19:18 -07:00
ThatOneCalculator
6f2036565b fix 2022-07-13 18:19:01 -07:00
ThatOneCalculator
9b316c3ee7 Make showing ads toggleable 2022-07-13 17:54:12 -07:00
syuilo
ad970dffda fix(client): fix url encoded string handling of nirax
Fix #8878
2022-07-13 18:11:54 +09:00
syuilo
f66235f066 chore(client): rendering performance tweak a bit 2022-07-05 22:35:57 +09:00
Johann150
a228d1ddaa
fix lint @typescript-eslint/ban-types 2022-07-04 16:46:48 +02:00
syuilo
66ffb253a2 chore(client): tweak style 2022-07-03 16:46:00 +09:00
syuilo
44c85aff86 feat(client): status bar (experimental) 2022-07-03 14:40:02 +09:00
syuilo
f9ba35d928 enhance(client): better sticky-container component 2022-07-02 21:28:55 +09:00
syuilo
add6e9b14b chore(client): tweak ui 2022-07-01 18:55:45 +09:00
syuilo
bffe6fb9bf tweak client 2022-06-30 10:53:40 +09:00
syuilo
a107dff4d6 perf(client): remove needless reactivity 2022-06-29 16:06:13 +09:00
ThatOneCalculator
9ac1a527dc Self host error/info/not-found images 2022-06-28 19:33:32 -07:00
syuilo
d7e7152bd3 chore(client): tweak style 2022-06-28 18:09:42 +09:00
syuilo
5e95a1f7af refactor(client): extract interval logic to a composable function
あと`onUnmounted`を`onMounted`内で呼んでいたりしたのを修正したりとか
2022-06-26 03:12:58 +09:00
syuilo
d3f25fa290 tweak client 2022-06-22 20:47:53 +09:00
syuilo
be383aa5b2 refactor(client): use composition api 2022-06-22 16:30:55 +09:00
syuilo
85365da69e refactor(client): refactor header tab handling 2022-06-22 16:30:45 +09:00
syuilo
699f24f3dc
refactor(client): Refine routing (#8846) 2022-06-20 17:38:49 +09:00
tamaina
30a39a296d
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
b70473ed60
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
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
tamaina
abc8998b48
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
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
Johann150
60fd793bc3
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
65b048bb70 chore(client): tweak loading spinner design 2022-05-19 17:21:08 +09:00
syuilo
4fc2058745 chore(client): tweak loading spinner design 2022-05-19 15:24:35 +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
eac71ae1d7
fix: Fix settings page (#8508)
* Fix settings page

* nanka iroiro

* clean up

* clean up

* インデックスに戻ってもタイトルが残ってしまうのを修正
2022-04-23 19:17:15 +09:00
syuilo
c7969ef418 refactor 2022-03-27 02:22:31 +09:00
tamaina
a3cdb4cca1
fix: Handle decodeURIComponent error (#8411) 2022-03-27 02:21:56 +09:00
syuilo
c1f0fa5bd6 enhance(client): tweak padding 2022-02-11 22:16:20 +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
Johann150
29b33b37ee
round relative time (#8199) 2022-01-28 15:29:24 +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
9885c6ba6c wip: refactor(client): migrate components to composition api 2022-01-16 21:31:09 +09:00
syuilo
df61e173c1 wip: refactor(client): migrate components to composition api 2022-01-16 11:02:27 +09:00
syuilo
8322c90834 refactor(client): specify global scope 2022-01-16 10:14:14 +09:00
syuilo
ed5c918d70 wip: refactor(client): migrate components to composition api 2022-01-16 08:24:53 +09:00
syuilo
7cbeef21e1 wip: refactor(client): migrate components to composition api 2022-01-16 07:47:28 +09:00
syuilo
6558cd2f27 refactor(client): use composition api 2022-01-07 15:02:25 +09:00
syuilo
6a5713f5e5 tweak ui 2022-01-04 15:36:14 +09:00
syuilo
89a532eeac chore(client): tweak style 2021-12-25 16:53:15 +09:00