From 52013774d79f5b473be1fd6376ecf4ebed290654 Mon Sep 17 00:00:00 2001 From: Alexandru Turcanu Date: Sat, 28 Jan 2023 10:47:04 -0800 Subject: [PATCH] 1.0.0 --- README.md | 12 ++++++++++-- license | 2 +- widget/package.json | 18 ++++++++++++++++-- widget/ui.html | 2 +- 4 files changed, 28 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c30f865..4a4c158 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,29 @@ # Chirp ## TODO +### widget + - [x] intents (retweet, like, comment) - [x] tweet url unfurl - [x] layout pixel peeping - [x] image cards -- [ ] annotated text -- [ ] twitter logo - [x] gif/video cards - [x] icon -> https://icon.ray.so/ +- [x] twitter logo +- [ ] new intent group +- [ ] annotated text +- [ ] property menu +- [ ] description +- [ ] banner - [ ] alt text +### www - [x] custom font - [x] domain - [x] analytics - [ ] twitter card - [ ] footer +- [ ] turborepo setup? ## Notes diff --git a/license b/license index 84fff25..cc4c6a4 100644 --- a/license +++ b/license @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 Alexandru Ţurcanu +Copyright (c) 2023 Alexandru Ţurcanu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/widget/package.json b/widget/package.json index 409a136..bb11d97 100644 --- a/widget/package.json +++ b/widget/package.json @@ -1,7 +1,21 @@ { - "name": "chirp", - "description": "Your Figma widget", "version": "1.0.0", + "name": "Chirp - Embed Tweets in your Figma or FigJam files", + "description": "Your Figma widget", + "keywords": [ + "twitter", + "tweet", + "retweet", + "embed", + "thread", + "twtr", + "social", + "media", + "network", + "blog", + "blue", + "bird" + ], "author": "Alexandru Ţurcanu", "license": "MIT", "scripts": { diff --git a/widget/ui.html b/widget/ui.html index c08af6c..65dcb70 100644 --- a/widget/ui.html +++ b/widget/ui.html @@ -2,7 +2,7 @@ window.onmessage = async (event) => { if (event.data.pluginMessage.type === 'fetch-tweet' && !!event.data.pluginMessage.id) { var request = new XMLHttpRequest() - request.open('GET', `http://localhost:3000/api/tweet/${event.data.pluginMessage.id}`) // https://alexandru.so + request.open('GET', `https://chirp.alexandru.so/api/tweet/${event.data.pluginMessage.id}`) // https://alexandru.so request.responseType = 'json' request.onload = () => { window.parent.postMessage({ pluginMessage: request.response }, '*')