Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add contributing to vscode ext #65

Merged
merged 6 commits into from
Jul 8, 2020
Merged

docs: add contributing to vscode ext #65

merged 6 commits into from
Jul 8, 2020

Conversation

jsjoeio
Copy link
Contributor

@jsjoeio jsjoeio commented Jul 5, 2020

This PR fixes #53 by updating the Contribution Guide.

Feel free to suggest any changes to wording, prose, organization, etc. Any feedback is gladly welcomed!

5. In the new extension host of VS Code that launched, open a Foam workspace (e.g. your personal one, or a test-specific one created from foam-template). This is strictly not necessary, but the extension won't auto-run unless it's in a workspace with a `.vscode/foam`.json file.
6. Test a command to make sure it's working as expected. Open the Command Palette (Ctrl/Cmd + Shift + P) and select "Foam: Update Markdown Reference List". If you see no errors, it's good to go!

### Tutorial: Adding a New Command
Copy link
Collaborator

Choose a reason for hiding this comment

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

I wonder if adding new command tutorial needs to be this front and center, since it's not something we expect people to have to do on a regular basis? In the spirit of atomic zettels/bubbles, I'd maybe extract this to its own markdown file and link it from here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good question! My thinking - try adding a new command as a way to verify that your local development env is set up correctly?

Your call! Would be happy to extract it. Let me know!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually, why don't I just do that in this PR as you say!

Copy link
Collaborator

@jevakallio jevakallio left a comment

Choose a reason for hiding this comment

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

This looks great! One syntax/typo nit and one structural suggestions! Approving this now, feel free to merge once those have been changed 😉

Co-authored-by: Jani Eväkallio <[email protected]>
@jsjoeio
Copy link
Contributor Author

jsjoeio commented Jul 6, 2020

Thanks for the suggestion! I accepted it. As for the structural change, let me get to that before we merge this!

But also, I don't think it will let me merge 😢
image

@jevakallio
Copy link
Collaborator

But also, I don't think it will let me merge

Weird! Contributor write access should be enough to allow merging PRs, no? There appears to be different rules for organization repos and this very thorough looking table doesn't actually appear to say what level access you need to merge PRs! I guess technically PR is a "push to a protected branch" and that requires the Maintain bit.

Let's keep it at Write level for now. I'll try be responsive in reviewing and merging things!

@jsjoeio
Copy link
Contributor Author

jsjoeio commented Jul 6, 2020

Sounds good. I'll @ you when it's ready!

@jsjoeio
Copy link
Contributor Author

jsjoeio commented Jul 6, 2020

@jevakallio smh at myself 🤦🏼‍♂️

It's because at the time of that comment, I hadn't seen or accepted the invite you sent me. Now I have merge access. I will merge when it's ready!

image

docs/contribution-guide.md Outdated Show resolved Hide resolved
@jsjoeio jsjoeio requested a review from jevakallio July 7, 2020 00:51
@jsjoeio
Copy link
Contributor Author

jsjoeio commented Jul 7, 2020

Re-requesting a review to make sure I did this right. Feel free to make changes or merge after you approve!

Copy link
Collaborator

@jevakallio jevakallio left a comment

Choose a reason for hiding this comment

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

Nit about the link formatting. Approving again, good to merge after the fix.

docs/contribution-guide.md Outdated Show resolved Hide resolved
docs/contribution-guide.md Outdated Show resolved Hide resolved
@jsjoeio jsjoeio merged commit b7e6359 into foambubble:master Jul 8, 2020
@jsjoeio jsjoeio deleted the jsjoeio-53-improve-vscode-ext-docs branch July 8, 2020 14:53
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.

Improve VS Code Extension Contributing Guidelines
2 participants