Page MenuHomePhabricator

[landing] introduce new assetMetaData
ClosedPublic

Authored by ginsu on Jun 2 2023, 12:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 27, 11:54 PM
Unknown Object (File)
Feb 10 2024, 2:50 PM
Unknown Object (File)
Feb 10 2024, 2:50 PM
Unknown Object (File)
Feb 10 2024, 2:50 PM
Unknown Object (File)
Feb 10 2024, 2:50 PM
Unknown Object (File)
Feb 10 2024, 2:50 PM
Unknown Object (File)
Feb 10 2024, 2:49 PM
Unknown Object (File)
Feb 10 2024, 2:37 PM
Subscribers

Details

Summary

In preparation of repurposing the InfoBlocks to match the new designs, I reintroduced and updated the type for the assetMetaData array.

They copy for this file was copy and pasted from DES-74 and DES-75

Depends on D8077

Test Plan

Please look at the screenshots below:

Keyserver info block:

Screenshot 2023-08-07 at 3.53.25 PM.png (2×3 px, 867 KB)

Team info block:
No hover:

Screenshot 2023-08-07 at 3.39.31 PM.png (2×3 px, 818 KB)

Hover over "Ashoat":

Screenshot 2023-08-07 at 3.39.36 PM.png (2×3 px, 830 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu requested review of this revision.Jun 2 2023, 12:26 PM
ginsu retitled this revision from DRAFT: [landing] introduce new assetMetaData to [landing] introduce new assetMetaData.Aug 7 2023, 1:01 PM
ginsu edited the summary of this revision. (Show Details)
ginsu edited the test plan for this revision. (Show Details)
ginsu added reviewers: atul, kamil.
landing/asset-meta-data.js
20 ↗(On Diff #29597)

In this linear comment, @ashoat and I talked about making infoBlockContent a piece of JSX instead of just a string (which was what we originally had) so that we can easily embed links into the content

90 ↗(On Diff #29597)

Flow makes us explicitly annotate the type here:

Screenshot 2023-08-07 at 4.06.44 PM.png (724×2 px, 213 KB)

landing/asset-meta-data.js
20 ↗(On Diff #29601)

In this linear comment, @ashoat and I talked about making infoBlockContent a piece of JSX instead of just a string (which was what we originally had) so that we can easily embed links into the content

This revision is now accepted and ready to land.Aug 7 2023, 10:33 PM
This revision was landed with ongoing or failed builds.Aug 8 2023, 2:08 PM
This revision was automatically updated to reflect the committed changes.