feat: Figma integration (#11044)

* OAuth

* store logo

* unfurl support

* refresh token

* support for list

* embed list

* mention menu for all embeds in a list

* multi-level list

* logo

* account level connection

* tsc

* Update Icon.tsx

* coderabbit feedback

* RFC 6749 suggestion

---------

Co-authored-by: Tom Moor <tom@getoutline.com>
This commit is contained in:
HemachandarandTom Moor authored and GitHub committed 2026-01-15 20:27:00 -05:00
1 parent bffd11b593
commit 5584089441
33 files changed
+944 -112

No files matched your search

+2 -3
View File
@@ -226,11 +226,10 @@ export class GitHub {
* @param actor User attempting to unfurl resource url
* @returns An object containing resource details e.g, a GitHub Pull Request details
*/
public static unfurl: UnfurlSignature = async (url: string, actor: User) => {
// Early return if URL doesn't match GitHub pattern (before any DB queries)
public static unfurl: UnfurlSignature = async (url: string, actor?: User) => {
const resource = GitHub.parseUrl(url);
if (!resource) {
if (!resource || !actor) {
return;
}