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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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())),