From d2204fd5c8fb2361e9c29ed31cd0d40eb69d2f4b Mon Sep 17 00:00:00 2001 From: tamaina Date: Fri, 13 Jan 2023 18:25:40 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20pagination/date-separated-list?= =?UTF-8?q?=E7=B3=BB=E5=87=A6=E7=90=86=E3=82=92=E8=89=AF=E3=81=84=E6=84=9F?= =?UTF-8?q?=E3=81=98=E3=81=AB=EF=BC=9F=20(#8209)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * pages/messaging/messaging-room.vue * wip * wip * wip??? * wip? * :v: * messaaging-room.form.vue rewrite to compositon api * refactor * 関心事でないのでとりあえず置いておく * :art: * :art: * i18n.ts * fix scroll container find function * fix * FIX * :v: * Fix scroll bottom detect * wip * aaaaaaaaaaa * rename * fix * fix? * :v: * :v: * clean up * clena up * refactor * scroll event once or not * fix * fix once * add safe-area-inset-bottom to spacer * fix * :v: * :art: * fix * fix * wip * :v: * clean up * fix lint * Update packages/client/src/components/global/sticky-container.vue Co-authored-by: Johann150 * Update packages/client/src/components/ui/pagination.vue Co-authored-by: Johann150 * Update packages/client/src/pages/messaging/messaging-room.form.vue Co-authored-by: Johann150 * clean up: single line comment * https://github.com/misskey-dev/misskey/pull/8209#discussion_r867386077 * fix * asobi → tolerance * pick form * pick message * pick room * fix lint * fix scroll? * fix scroll.ts * fix directives/sticky-container * update global/sticky-container.vue * fix, :art: * revert merge * :v: * fix lint errors * :art: * Update packages/client/src/types/date-separated-list.ts Co-authored-by: Acid Chicken (硫酸鶏) * https://github.com/misskey-dev/misskey/pull/8209#discussion_r917225080 * use ' * Update packages/client/src/scripts/scroll.ts Co-authored-by: Acid Chicken (硫酸鶏) * use Number.EPSILON Co-authored-by: acid-chicken * revert * fix * fix * Use % instead of vh * :art: * :art: * :art: * wip * wip * css modules Co-authored-by: Johann150 Co-authored-by: Acid Chicken (硫酸鶏) --- .../src/components/MkDateSeparatedList.vue | 206 ++++++++----- packages/frontend/src/components/MkNotes.vue | 11 +- .../frontend/src/components/MkPagination.vue | 290 +++++++++++------- .../frontend/src/pages/messaging/index.vue | 2 +- .../pages/messaging/messaging-room.form.vue | 3 +- .../src/pages/messaging/messaging-room.vue | 93 +++--- packages/frontend/src/scripts/scroll.ts | 120 +++++--- .../frontend/src/types/date-separated-list.ts | 6 + packages/frontend/src/ui/visitor/a.vue | 4 +- 9 files changed, 457 insertions(+), 278 deletions(-) create mode 100644 packages/frontend/src/types/date-separated-list.ts diff --git a/packages/frontend/src/components/MkDateSeparatedList.vue b/packages/frontend/src/components/MkDateSeparatedList.vue index 5d8e14c3c..cb88444d3 100644 --- a/packages/frontend/src/components/MkDateSeparatedList.vue +++ b/packages/frontend/src/components/MkDateSeparatedList.vue @@ -1,13 +1,14 @@ - + diff --git a/packages/frontend/src/components/MkNotes.vue b/packages/frontend/src/components/MkNotes.vue index 73659fd50..f9952e424 100644 --- a/packages/frontend/src/components/MkNotes.vue +++ b/packages/frontend/src/components/MkNotes.vue @@ -9,7 +9,16 @@ - +