matrix-public-archive/shared/lib
Eric Eastwood 16323df054
Add image metadata for URL previews (#224)
- Default to a nice `[matrix]` banner
    -  There is room for improvement here when the Matrix Public Archive gets it's own logo (https://github.com/matrix-org/matrix-public-archive/issues/94) and maybe says "Matrix Public Archive" somewhere in the banner.
    - This is good enough for now (and certainly better than downstream previews using the first image on the page).
 - For rooms, it will use the room avatar

Part of https://github.com/matrix-org/matrix-public-archive/issues/202

Image is sized to 1200x630 to match conventions of `og:image`.

Crafted the banner image by modifying the header on the room directory homepage and taking a node screenshot. Page zoom @ 175%
2023-05-10 00:50:12 -05:00
..
archive-history.js Fix URL being duplicated in query param (#110) 2022-10-25 01:59:23 -05:00
assert.js Show surrounding messages for a full screen of content (#71) 2022-09-20 16:02:09 -05:00
check-text-for-nsfw.js Mark NSFW room pages with `<meta name="rating" content="adult">` (#216) 2023-05-05 15:36:26 -05:00
custom-tile-utilities.js Add a way to jump forwards and backwards to more activity in the room (seamless navigation) (#114) 2022-11-02 04:27:30 -05:00
local-storage-keys.js Add safe search filter for NSFW rooms (#208) 2023-05-03 04:45:33 -05:00
mxc-url-to-http.js Add image metadata for URL previews (#224) 2023-05-10 00:50:12 -05:00
redirect-if-room-alias-in-hash.js Add support for client-side room alias hash `#` redirects to the correct URL (#111) 2022-10-28 00:32:24 -05:00
reference-values.js Follow tombstone and predecessor history (#167) 2023-04-19 01:26:15 -05:00
stub-powerlevels-observable.js Add `Copy permalink` option to messages (`matrix.to`) (#136) 2022-11-14 17:55:00 -06:00
supress-blank-anchors-reloading-the-page.js Add homeserver selector to room directory landing page (#87) 2022-10-20 02:06:43 -05:00
timestamp-utilities.js Follow tombstone and predecessor history (#167) 2023-04-19 01:26:15 -05:00
url-creator.js Follow tombstone and predecessor history (#167) 2023-04-19 01:26:15 -05:00