summaryrefslogtreecommitdiff
path: root/packages/client/src/components/global/time.vue (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-08-31refactor(client): align filename to component namesyuilo1-56/+0
2022-08-06perf(client): use shallowRef as possiblesyuilo1-1/+1
2022-06-26refactor(client): extract interval logic to a composable functionsyuilo1-9/+9
あと`onUnmounted`を`onMounted`内で呼んでいたりしたのを修正したりとか
2022-05-29refactor: improve code quality (#8751)Johann1501-2/+1
* 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-26fix lints (#8737)Johann1501-1/+1
* 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-01-28round relative time (#8199)Johann1501-5/+5
2022-01-28refactor(client): i18n.locale -> i18n.tssyuilo1-3/+3
2022-01-16wip: refactor(client): migrate components to composition apisyuilo1-64/+48
2021-11-12refactoringsyuilo1-0/+0
Resolve #7779
2020-12-26wipsyuilo1-3/+3
2020-12-11Update vetursyuilo1-0/+0
2020-10-27Reversi (#6765)syuilo1-1/+1
* wip * wip * wip * wip * Update game.setting.vue * wip * wip * Update game.setting.vue * wip * Update game.board.vue * wip * Update sidebar.ts
2020-10-17Migrate to Vue3 (#6587)syuilo1-6/+6
* Update reaction.vue * fix bug * wip * wip * wjio * wip * Revert "wip" This reverts commit e427f2160adf4e8a4147006e25a89854edab0033. * wip * wip * wip * Update init.ts * Update drive-window.vue * wip * wip * Use PascalCase for components * Use PascalCase for components * update dep * wip * wip * wip * Update init.ts * wip * Update paging.ts * Update test.vue * watch deep * wip * lint * wip * wip * wip * wip * wiop * wip * Update webpack.config.ts * alllow null poll * wip * wip * wip * wiop * UI redesign & refactor (#6714) * wip * wip * wip * wip * wip * Update drive.vue * Update word-mute.vue * wip * wip * wip * clean up * wip * Update default.vue * wip * Update notes.vue * Update mfm.ts * Update index.home.vue * Update post-form.vue * Update post-form-attaches.vue * wip * Update post-form.vue * Update sidebar.vue * wip * wip * Update index.vue * wip * Update default.vue * Update index.vue * Update index.vue * wip * Update post-form-attaches.vue * Update note.vue * wip * clean up * Update notes.vue * wip * wip * Update ja-JP.yml * wip * wip * Update index.vue * wip * wip * wip * wip * wip * wip * wip * wip * Update default.vue * wip * Update _dark.json5 * wip * wip * wip * clean up * wip * wip * Update index.vue * Update test.vue * wip * wip * fix * wip * wip * wip * wip * clena yop * wip * wip * Update store.ts * Update messaging-room.vue * Update default.widgets.vue * fix * wip * wip * Update modal.vue * wip * Update os.ts * Update os.ts * Update deck.vue * Update init.ts * wip * Update ja-JP.yml * v-sizeは単にwindowのresizeを監視するだけで良いかもしれない * Update modal.vue * wip * Update tooltip.ts * wip * wip * wip * wip * wip * Update image-viewer.vue * wip * wip * Update style.scss * Update style.scss * Update visitor.vue * wip * Update init.ts * Update init.ts * wip * wip * Update visitor.vue * Update visitor.vue * Update visitor.vue * Update visitor.vue * wip * wip * Update modal.vue * Update header.vue * Update menu.vue * Update about.vue * Update about-misskey.vue * wip * wip * Update visitor.vue * Update tooltip.ts * wip * Update drive.vue * wip * Update style.scss * Update header.vue * wip * wip * Update users.user.vue * Update announcements.vue * wip * wip * wip * Update emojis.vue * wip * Update emojis.vue * Update style.scss * Update users.vue * wip * Update style.scss * wip * Update welcome.entrance.vue * Update radio.vue * Update size.ts * Update emoji-edit-dialog.vue * wip * Update emojis.vue * wip * Update emojis.vue * Update emojis.vue * Update emojis.vue * wip * wip * wip * wip * Update file-dialog.vue * wip * wip * Update token-generate-window.vue * Update notification-setting-window.vue * wip * wip * Update _error_.vue * Update ja-JP.yml * wip * wip * Update store.ts * Update emojis.vue * Update emojis.vue * Update emojis.vue * Update announcements.vue * Update store.ts * wip * Update page-editor.vue * wip * wip * Update modal.vue * wip * Update select-file.ts * Update timeline.vue * Update emojis.vue * Update os.ts * wip * Update user-select.vue * Update mfm.ts * Update get-file-info.ts * Update drive.vue * Update init.ts * Update mfm.ts * wip * wip * Update window.vue * Update note.vue * wip * wip * Update user-info.vue * wip * wip * wip * wip * wip * Update header.vue * Update header.vue * wip * Update explore.vue * wip * wip * wip * Update webpack.config.ts * wip * wip * wip * wip * wip * wip * Update autocomplete.ts * wip * wip * wip * Update toast.vue * wip * Update post-form-dialog.vue * wip * wip * wip * wip * wip * Update users.vue * wip * Update explore.vue * wip * wip * wip * Update package.json * wip * Update icon-dialog.vue * wip * wip * Update user-preview.ts * wip * wip * wip * wip * wip * Update instance.vue * Update user-name.vue * Update federation.vue * Update instance.vue * wip * wip * Update tag.vue * wip * wip * wip * wip * wip * Update instance.vue * wip * Update os.ts * Update os.ts * wip * wip * wip * Update router.ts * wip * Update init.ts * Update note.vue * Update messages.vue * wip * wip * wip * wip * wip * google * wip * wip * wip * wip * Update theme-editor.vue * wip * wip * Update room.vue * Update channel-editor.vue * wip * Update window.vue * Update window.vue * wip * Update window.vue * Update window.vue * wip * Update menu.vue * wip * wip * wip * wip * Update messaging-room.vue * wip * Update post-form.vue * Update default.widgets.vue * Update window.vue * wip
2020-07-15chore: Add notesyuilo1-0/+1
2020-05-23feat(client): 翻訳をIndexedDBに保存・プッシュ通知を翻訳 (#6396)tamaina1-2/+0
* wip * tabun ok * better msg * oops * fix lint * Update gulpfile.ts Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * Update src/client/scripts/set-i18n-contexts.ts Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * refactor Co-authored-by: acid-chicken <root@acid-chicken.com> * ✨ * wip * fix lint * たぶんおk * fix flush * Translate Notification * remove console.log * fix * add notifications * remove san * wip * ok * :v: * Update src/prelude/array.ts Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * wip * i18n refactor * Update init.ts * :v: Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2020-02-12翻訳の抜けを修正その2 (#5893)tamaina1-1/+1
* Missing translation * use npx * :v: * Update ja-JP.yml * Update signup.vue * Update ja-JP.yml * Update messaging-room.vue * Update ja-JP.yml * Update signup.vue * Update ja-JP.yml * Update signin.vue * Update ja-JP.yml * Update index.vue * Update ja-JP.yml * Update signup.vue Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2020-01-30v12 (#5712)syuilo1-14/+14
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com> Co-authored-by: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>
2019-01-17Fix: time tooltip overlaps with others (#3901)MeiMei1-1/+1
2018-12-19[Client] Resolve #3662syuilo1-8/+1
2018-11-17Improve relative time detection (#3302)MeiMei1-2/+2
2018-11-09Refactoring of i18n (#3165)syuilo1-10/+12
Refactoring of i18n
2018-06-10:v:syuilo1-3/+6
2018-06-09Improve performancesyuilo1-1/+1
2018-06-07:v:syuilo1-1/+1
2018-05-20Fix bugsyuilo1-10/+10
2018-04-16Fix bugsyuilo1-10/+10
2018-03-29整理したsyuilo1-0/+0
2018-03-29Introduce processorAkihiko Odaki1-0/+0
2018-02-17wipsyuilo1-1/+1
2018-02-13wipsyuilo1-54/+67
2018-02-10wipsyuilo1-0/+0
2018-02-09wipsyuilo1-24/+32
2018-02-08wipsyuilo1-19/+23
2018-02-07wipこぴなたみぽ1-1/+1
2018-02-05wipsyuilo1-29/+30
2017-03-23wip #313syuilo1-10/+10
2017-02-22[Client] Fix bugsyuilo1-5/+5
2017-02-21wipsyuilo1-24/+33
2017-02-20wipsyuilo1-12/+12
2017-02-20wipsyuilo1-1/+1
2017-02-20wipsyuilo1-17/+17
2017-01-12Clean up: Removes needless quotes :sparkles:syuilo1-1/+1
2017-01-12#16syuilo1-39/+37
2017-01-04Fix bugsyuilo1-1/+1