revert: "feat(web): wasm justified layout" (#19226)

This commit is contained in:
Zack Pollard
2025-06-17 17:01:40 +01:00
committed by GitHub
parent 0684a3ada4
commit 4c69511225
13 changed files with 145 additions and 106 deletions

View File

@@ -31,7 +31,7 @@ export const assetFactory = Sync.makeFactory<AssetResponseDto>({
export const timelineAssetFactory = Sync.makeFactory<TimelineAsset>({
id: Sync.each(() => faker.string.uuid()),
ratio: Sync.each((i) => 0.2 + ((i * 0.618_034) % 3.8)), // deterministic random float between 0.2 and 4.0
ratio: Sync.each(() => faker.number.int()),
ownerId: Sync.each(() => faker.string.uuid()),
thumbhash: Sync.each(() => faker.string.alphanumeric(28)),
localDateTime: Sync.each(() => fromISODateTimeUTCToObject(faker.date.past().toISOString())),