Commit graph

76 commits

Author SHA1 Message Date
Acid Chicken (硫酸鶏)
38d0b62167
build(): Storybook & Chromatic & msw ()
* build(): init

* fix(): invalid name conversion

* build(): load locales and vite config

* refactor(): remove unused imports

* build(): separate definitions and generated codes

* refactor(): remove hatches

* refactor(): module semantics

* refactor(): remove unused common preferences

* fix: typo

* build(): mock assets

* build(): impl `SatisfiesExpression`

* build(): control themes

* refactor(): semantics

* build(): make .storybook as an individual TypeScript project

* style(): use single quote

* build(): avoid intrinsic component names

* chore: suppress linter

* style: typing

* build(): update dependencies

* docs: note about Storybook

* build(): sync

* build(): full reload server on change

* chore: use defaultStore instead

* build(): show popups on Story

* refactor(): remove redundant div

* docs: fix

* build(): interactions

* build(): add an interaction test for `<MkA/>`

* build(): bump storybook

* docs(): mention to pre-build misskey-js

* build(): write stories for `MkAcct`

* build(): write stories for `MkAd`

* build(): fix missing type definition

* build(): use `toHaveTextContent`

* build(): write some stories

* build(): hide internal args

* build(): generate `components/global` stories only

* build(): write stories for `MkMisskeyFlavoredMarkdown`

* fix: conflict errors

* build(): subcomponents on sidebar

* refactor: restore `SatisfiesExpression`

* docs(): note development status

* build(): use chokidar-cli

* docs(): note chokidar-cli mode

* chore(): untrack generated stories files

* fix: pointer handling

* build(): finalize

* chore: add static option to `MkLoading`

* refactor(): bind to local args

* fix: missing case

* revert: restore `SatisfiesExpression`

This reverts commit f246699f38.

* build(): make storybook buildable

* build(): staticify assets

* build(): staticified directory structure

* build(): normalize path for Windows

* ci(): create actions

* build(): ignore tsc errors

* build(): ignore tsc errors

* build(): missing dependencies

* build(): missing dependencies

* build(): use fast-glob

* fix: invalid lockfile

* ci(): increase heap size

* build(): use unpkg for storybook tabler icons

* build(): use unpkg for storybook twemojis

* build(): disable `ProfilePageCat`

* build(): blur `MkA` before interaction ends

* ci(): stabilize

* ci(): fetch-depth

* build(): isChromatic

* ci(): notify on changes

* ci(): fix typo

* ci(): missing working directory

* ci(): skip build

* ci(): fix path

* build(): fails on Windows

* build(): available on Windows

* ci(): disable animation on chromatic

* ci(): add static option to `PageHeader.tabs`

* chore: void

* ci(): change parameters

* docs(): update CONTRIBUTING

* docs(): note about meta overriding and etc.

* ci(): use Chromatic for checks

* ci(): use `pull_request` instead of `pull_request_target` for now

* ci(): use `exitOnceUploaded`

* ci(): reuse built storybook

* ci(): back to `pull_request_target`

* chore: unused dependencies

* style(): reduce prettier indents

* style: note about `TSSatisfiesExpression`
2023-04-04 09:38:34 +09:00
Acid Chicken (硫酸鶏)
8a9847b06a
Merge branch 'develop' into acid-chicken-patch-1 2023-04-03 13:01:15 +09:00
syuilo
9224b6635f refactor(frontend): remove $ts and $t 2023-04-01 14:01:57 +09:00
syuilo
c823cbe63b refactor(frontend): remove $store 2023-04-01 13:42:40 +09:00
Acid Chicken (硫酸鶏)
14977ed2b7
fix: the avatar in the title bar is clipped 2023-03-31 07:47:03 +00:00
Acid Chicken (硫酸鶏)
13a406b6cf
Merge branch 'develop' into acid-chicken-patch-1 2023-03-31 16:41:55 +09:00
tamaina
6a4d56c81c fix(client): set overflow: clip to page header title container
2023-03-31 07:38:28 +00:00
Acid Chicken (硫酸鶏)
49d4c538fe
fix: typo 2023-03-29 23:37:43 +09:00
Acid Chicken (硫酸鶏)
4d3f0be419
chore: respect the animation preference 2023-03-27 05:16:39 +00:00
Acid Chicken (硫酸鶏)
07cfab0489
fix: add tight state to cat ears for workarounds 2023-03-26 09:36:46 +00:00
Acid Chicken (硫酸鶏)
453574644c
fix: add workaround for cat ears on iOS Safari 2023-03-26 09:25:51 +00:00
Acid Chicken (硫酸鶏)
7f9a41b05c
fix: redesign cat ears ()
* fix: viewing disgusting objects when user is a cat with having transparent avatar

* chore: mask cat ears when useBlurEffect is enabled

* fix: typo

* style: add comment

* chore: shrink mask

* chore: blur mask

* refactor: minify

* chore: use SVG to determine ear color

* style: comment

* refactor: use `<component>`

* refactor: separate cat definitions

* refactor: use singleton SVG definitions

* perf: use CSS instead of SVG

* refactor: unused definer

* refactor: not used anymore

* refactor: minify

* refactor: minify

* fix: import
2023-03-23 18:06:26 +09:00
Kagami Sascha Rosylight
0d2bee787d
fix(frontend/XHome): fall back to user.uri if user.url does not exist ()
* fix(frontend/XHome): fall back to user.uri if user.url does not exist

* Update CHANGELOG.md
2023-03-13 09:46:33 +09:00
syuilo
6607b39235 fix(client): ロールで広告を無効にするとadmin/adsでプレビューがでてこない
Fix 
2023-03-09 12:28:40 +09:00
syuilo
3066a133ac fix(client): prevent null reference error 2023-03-03 11:43:53 +09:00
syuilo
ebd7b27075 clean up 2023-03-02 18:40:55 +09:00
syuilo
dad915e522 enhance(client): provide sticktyFooter 2023-03-02 18:40:43 +09:00
syuilo
24553eb69a 🎨 2023-02-25 18:03:16 +09:00
tamaina
5c989ed18f
fix/refaftor(client): MkTime.vueの変更 ()
* fix(client): MkTime.timeにstringでもDateでない値が入った場合、?を表示

* fix(client): MkTimeを改良

* numberを許容

* falsyな値もとる

* 不明

* ありません

* fix
2023-02-24 16:21:49 +09:00
syuilo
c174f23389 chore(client): tweak custom emoji size 2023-02-23 15:42:57 +09:00
syuilo
0fb9c372dd lint 2023-02-22 15:28:17 +09:00
syuilo
b5fa8767da 🎨 2023-02-20 17:28:09 +09:00
Kagami Sascha Rosylight
7c5fc2c423
style(frontend): fix autofixable eslint errors () 2023-02-17 10:56:23 +09:00
Kagami Sascha Rosylight
63df2c851e
refactor: remove all unused imports ()
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-02-16 23:09:41 +09:00
syuilo
56c7359a0c refactor 2023-02-12 16:51:45 +09:00
tamaina
5d02405a98 🎨 2023-02-11 13:07:09 +00:00
tamaina
998c2b692a 🎨 2023-02-11 11:35:28 +00:00
tamaina
9349f72227
refactor(client): Refactor MkPageHeader ()
* disable animation

* refactor(client): MkPageHeaderのタブをMkPageHeader.tabsに分離
animationをフォローするように

* update CHANGELOG.md

* remove unnecessary props
2023-02-11 16:04:45 +09:00
tamaina
0138c3b00e
enhance(client): ヘッダー(MkPageHeader)関連 ()
* MkPageHeader大改造

* ユーザーページのノート一覧をタブにするなど

* ✌️

* 🎨

* fix

* wheel

* clean up

* 🎨

* 🎨

* remove console.log

* update CHANGELOG.md

* fix

* fix

* fix

* ✌️

* header avatar clickable

* !hideTitle

* Revert "!hideTitle"

This reverts commit 19cad428c906f555b73730d602e401a1e943cdef.

* fix changelog
2023-02-11 13:08:18 +09:00
Acid Chicken (硫酸鶏)
686a709e87
chore: determine dimensions of the helix of cat ears based on the size of avatars ()
* chore: determine dimensions of the helix of cat ears based on the size of avatars

* Update MkAvatar.vue

* Update packages/frontend/src/components/global/MkAvatar.vue

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-02-10 00:36:05 +09:00
syuilo
73f06e591a revert: 650187deaf 2023-02-08 20:07:19 +09:00
syuilo
650187deaf perf(client): do not render custom emojis in user names
2023-02-08 17:48:02 +09:00
syuilo
788ae2f6ca fix(client): validate urls to improve security 2023-02-04 09:10:01 +09:00
tamaina
d78e15cc1a fix(client): カスタム絵文字にアニメーション画像を再生しない設定が適用されていない問題を修正 2023-02-03 20:37:15 +00:00
syuilo
88c3957085 enhance(client): hidden ads when canHideAds is true 2023-02-03 14:03:34 +09:00
syuilo
452bd6db25 tweak custom emoji handling
Close 
2023-01-26 15:48:12 +09:00
tamaina
605b0f27e4 Merge branch 'develop' into emoji-re 2023-01-25 14:22:26 +00:00
tamaina
5f49ac1b11 fix(client): アニメーションをオフに設定しても絵文字のアニメーションが止まらない
Fix 
2023-01-25 06:21:08 +00:00
tamaina
0d44129ae3 remove console.log 2023-01-22 17:20:53 +00:00
tamaina
d347f0a087 wip 2023-01-22 16:07:17 +00:00
tamaina
a5f54580a9 fix 2023-01-22 12:57:51 +00:00
syuilo
aa339be2ab fix(client): リアクションのカスタム絵文字が表示されないことがあるのを修正
Fix 
2023-01-22 07:04:20 +09:00
syuilo
957eff0e63 fix(client): リアクションのカスタム絵文字が表示されないのを修正
Fix 
2023-01-22 05:39:33 +09:00
syuilo
363d727c55 refactor 2023-01-22 05:33:26 +09:00
syuilo
3e112da486 ローカルのカスタム絵文字については直接オリジナルURLにリクエストするように 2023-01-21 20:40:09 +09:00
syuilo
fe4fbafcf0 存在しないカスタム絵文字をテキストで表示するように
Resolve 
2023-01-17 15:58:12 +09:00
syuilo
77e491f52c refactor 2023-01-16 14:18:11 +09:00
syuilo
fe0bb21b37 enhance(client): make possible to hide ads
Resolve 
Resolve 
2023-01-16 11:21:04 +09:00
tamaina
7e5f3dbf11
set -webkit-touch-callout () 2023-01-16 03:38:16 +09:00
tamaina
9385767b12 fix(client): add :disable-link="true" to some <MkAvatar /> Fix 2023-01-15 16:32:24 +00:00