Sharkey/packages/frontend
dakkar 90e9480b92 fix offestMode in MkPagination - fixes #622
3f73251df5 reworked the way `offsetMode`
is handled, to allow reactive `ComputedRef<boolean>` in addition to a
simple `boolean`, so that custom emoji search could easily switch
between the faster `sinceId`/`untilId` pagination and the slower
`offset` as needed.

Or it would have, if I had written the correct expression! I wrote
`props.offsetMode` instead of `props.pagination.offsetMode`, so it was
always `false`

I have *no idea* how I didn't notice, I swear I tested it ☹

Anyway, factoring out the nested ternaries makes the whole thing
clearer and less prone to mistakes. And I have tested it, this time.
2024-08-16 14:41:04 +01:00
..
.storybook Merge remote-tracking branch 'misskey/release/2024.5.0' into future 2024-05-31 12:26:07 +01:00
.vscode
@types (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
assets fix: load libopenmpt on demand 2024-03-11 15:32:59 +03:00
lib remove our icon classes from a test file 2024-06-22 15:53:13 +01:00
public (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
src fix offestMode in MkPagination - fixes #622 2024-08-16 14:41:04 +01:00
test add copyright text to all our files 2024-06-15 11:36:55 +01:00
.eslintrc.cjs refactor(frontend): 非推奨となったReactivity Transformを使わないように (#12539) 2023-12-07 14:42:09 +09:00
.gitignore
package.json Merge remote-tracking branch 'misskey/release/2024.5.0' into future 2024-05-31 12:26:07 +01:00
tsconfig.json refactor: deprecate i18n.t (#13039) 2024-01-20 08:11:59 +09:00
vite.config.local-dev.ts Merge remote-tracking branch 'misskey/release/2024.5.0' into future-2024-04-25-post 2024-05-11 14:13:07 +01:00
vite.config.ts move icon replacements to their own file 2024-06-22 15:53:36 +01:00
vite.json5.ts
vite.replaceIcons.ts preserve ti-fw classes for icons - fixes #580 2024-07-15 16:33:10 +01:00
vue-shims.d.ts Fix/vue import error on intellij (#12612) 2023-12-09 13:13:31 +09:00