Skip to content

Provider: add linear-docs provider#126

Merged
valerybugakov merged 1 commit intomainfrom
vb/provider-linear-docs
Jun 6, 2024
Merged

Provider: add linear-docs provider#126
valerybugakov merged 1 commit intomainfrom
vb/provider-linear-docs

Conversation

@valerybugakov
Copy link
Copy Markdown
Member

  • Adds the Linear Docs provider, which is very similar to the Linear Issues provider
  • Added instructions for internal testing to 1Password

Test plan

  1. Tested using the local bundle.js file.
  2. Tested using the published: https://www.npmjs.com/package/@openctx/provider-linear-docs

@valerybugakov valerybugakov requested review from 0xnmn and sqs June 5, 2024 03:03
@valerybugakov valerybugakov self-assigned this Jun 5, 2024
@@ -0,0 +1,111 @@
// Identical to provider/linear-issues/auth.ts.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is identical, should we just created a shared lib file for them, or import one from the other?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about it but decided to keep it simple for now with code duplication. I do not expect this code (local auth scripts) to be changed. WDYT?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a fair whack of code… but we don't have CI that runs across both if you just intend on changing one… so probably not a bad idea to keep separate.

Copy link
Copy Markdown
Collaborator

@toolmantim toolmantim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great!

CleanShot 2024-06-06 at 15 53 42@2x

@@ -0,0 +1,111 @@
// Identical to provider/linear-issues/auth.ts.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a fair whack of code… but we don't have CI that runs across both if you just intend on changing one… so probably not a bad idea to keep separate.

@valerybugakov valerybugakov merged commit dc92b76 into main Jun 6, 2024
@valerybugakov valerybugakov deleted the vb/provider-linear-docs branch June 6, 2024 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants