Commit graph

668 commits

Author SHA1 Message Date
syuilo
027380c013 fix bug 2021-10-01 19:32:16 +09:00
Johann150
7974dbf477
insert space for unknown MFM functions (#7851) 2021-09-30 22:47:07 +09:00
Johann150
414f1d1158
fix: truncate image descriptions (#7699)
* move truncate function to separate file to reuse it

* truncate image descriptions

* show image description limit in UI

* correctly treat null

Co-authored-by: nullobsi <me@nullob.si>

* make truncate Unicode-aware

The strings that truncate returns should now be valid Unicode.

PostgreSQL also counts Unicode Code Points instead of bytes so this
should be correct.

* move truncate to internal, validate in API

Truncating could also be done in src/services/drive/add-file.ts or
src/services/drive/upload-from-url.ts but those would also affect
local images. But local images should result in a hard error if the
image comment is too long.

* avoid overwriting

Co-authored-by: nullobsi <me@nullob.si>
2021-09-30 01:44:22 +09:00
syuilo
c5e5a9b8ef 🎨 2021-09-30 01:13:54 +09:00
syuilo
1ac1a968b9 refactor components 2021-09-30 00:50:45 +09:00
syuilo
ebce02c253 chore: clean up 2021-09-26 03:25:52 +09:00
syuilo
5fd549656b chore: clean up 2021-09-26 02:56:02 +09:00
syuilo
a70dbb7e74 feat(client): MFM関数構文のサジェストを実装 2021-09-26 02:55:11 +09:00
Skehmatics
a499ad6879
feat: MFM Sparkle animation (#7813)
* Add sparkle mfm animation 

* Cleanup sparkle effect

+ spaces -> tabs and other codestyle
+ use proper image
+ listen for resizes
+ use font-size to determine particle size (for fun with x2/3/4 stacking)
2021-09-22 22:09:23 +09:00
syuilo
72a49f334a enhance(client): リスト、アンテナタイムラインを個別ページとして分割 2021-09-21 21:04:59 +09:00
tamaina
90bf976fe2
enhance: ノートヘッダーにflex-shrinkを設定し、Acctを優先的に縮小して見栄えをよくするように (#7752)
* MAKE NOTE HEADER FLEX AGAIN

* span => div

* remove submodules
2021-09-20 22:14:49 +09:00
syuilo
54e0a7f8a8
feat: 凍結された場合のダイアログを実装 (#7811)
* feat: 凍結された場合のダイアログを実装

* Update CHANGELOG.md

* Update basic.js

* improve error handling

* cypressなんもわからん

* Update basic.js
2021-09-19 02:23:12 +09:00
syuilo
6d4e96dea2 fix style 2021-09-18 21:26:31 +09:00
syuilo
361069314f
Refine UI (#7806)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update default.vue

* wip
2021-09-17 22:39:15 +09:00
tamaina
48f46333f8
サインアップ・ログアウト周りの怪しい挙動を修正 (#7750)
* fix #7749

* fix

* fix logout behavior when there is no push subscription

* fix logout behavior when there is no push subscription 2

* clean up service worker registration

* fix lint

* remove submodules
2021-09-04 18:09:53 +09:00
syuilo
f64d3942d7 🎨 2021-08-22 16:18:53 +09:00
syuilo
45fe754759 🎨 2021-08-22 16:15:40 +09:00
syuilo
8785e1c3a4 enhance(client): ユーザー名についてのヒントを追加 2021-08-22 13:16:15 +09:00
syuilo
f6128dd3ff 🎨 2021-08-21 17:40:15 +09:00
syuilo
47dd30d3b2 fix(client): ノートの「削除して編集」をするとアンケートの選択肢が[object Object]になる問題を修正
Fix #7037
2021-08-21 11:16:56 +09:00
syuilo
73ce1f61a8 Tweak client style 2021-08-16 15:21:58 +09:00
syuilo
8661cd1ee7 Renoteされた時刻が投稿された時刻のように表示される問題を修正
Fix #7620
2021-08-16 15:20:23 +09:00
syuilo
cced83024b feat: ノートの翻訳機能
Resolve #5213
2021-08-15 20:26:44 +09:00
syuilo
d3b4b70bfc 🎨 2021-08-14 22:35:15 +09:00
syuilo
1561391293 feat(client): Misskey更新時にダイアログを表示するように 2021-08-13 17:59:54 +09:00
syuilo
b81ff340b1 Introduce e2e test 2021-08-12 19:05:07 +09:00
syuilo
0627df8116 improve(client): Improve emoji autocomplete 2021-08-12 12:41:57 +09:00
syuilo
0f55e65701 ぼかし効果の切り替え機能 2021-08-11 22:34:45 +09:00
syuilo
31b6ab9b23 fix chore error 2021-08-11 00:21:48 +09:00
syuilo
4149c7782f 🎨 2021-08-11 00:21:24 +09:00
syuilo
fff3c552e2 perf(client): use function for render slot to improve performance
See: https://forum.vuejs.org/t/how-to-avoid-non-function-value-encountered-for-default-slot-warning/107039
2021-08-10 18:19:59 +09:00
syuilo
e19cc8bebf ハッシュタグ入力が空のときに#が付くのを修正 2021-08-10 16:06:14 +09:00
syuilo
f4f8debb92 🎨 2021-08-10 15:29:30 +09:00
syuilo
6678d97cc4 🎨 2021-08-09 21:41:20 +09:00
syuilo
e3642a8d10 🎨 2021-08-09 18:55:39 +09:00
syuilo
1c764139bf 🎨 2021-08-09 18:01:12 +09:00
syuilo
6cfad65ac7 🎨 2021-08-08 21:59:18 +09:00
syuilo
82150bd5b8 🎨 2021-08-08 16:30:30 +09:00
syuilo
9e03335ff8 Improve client 2021-08-08 13:02:58 +09:00
syuilo
b3c5c3f0ea Improve usability 2021-08-08 12:45:44 +09:00
syuilo
65858dab3e Improve client 2021-08-08 12:19:10 +09:00
syuilo
c03e2febb0 🎨 2021-08-07 19:09:06 +09:00
syuilo
5f869e5d87 Improve client 2021-08-07 17:55:16 +09:00
syuilo
aec2762bf1 🎨 2021-08-07 16:12:42 +09:00
syuilo
ebb53e87f3 ハッシュタグ入力エリア
Resolve #7600
2021-08-07 12:47:01 +09:00
syuilo
46d5711071 🎨 2021-08-06 22:29:19 +09:00
syuilo
48113f3afd Improve doc 2021-08-06 14:28:40 +09:00
syuilo
f6f96ae5bf Imorive client 2021-08-05 22:43:14 +09:00
syuilo
62ccb53c24 Add rainbow function for MFM 2021-08-05 21:55:41 +09:00
syuilo
33b0cab596 refactor 2021-08-05 16:34:18 +09:00