mirror of
https://github.com/outline/outline.git
synced 2026-11-22 05:51:43 +03:00
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:
1 parent
bffd11b593
commit
5584089441
33 files changed
+944
-112
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user