forked from open-sauced/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adding subfolders to the using section for Chrome Extension (op…
- Loading branch information
Showing
8 changed files
with
187 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: code-explanation | ||
title: 'Code Explanation' | ||
sidebar_label: 'Code Explanation' | ||
keywords: | ||
- ai | ||
- code explanations | ||
--- | ||
|
||
Generate an explanation for a block of code by using the blue plus button that is displayed when hovering over a line. To select a block of code, hover over the starting line, click and drag the blue plus button until the desired line. | ||
|
||
![generate code refactor](../../static/gif/pr-code-explain.gif) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
id: highlights | ||
title: 'Highlight' | ||
sidebar_label: 'Highlight' | ||
keywords: | ||
- highlights | ||
- posting | ||
--- | ||
|
||
You can access the post to highlight it from the popup window in the extension. When you clicked, it will automatically, populate the PR or issue title, here you can use our AI functions to get a summary of the highlight similar to the PR summary. | ||
|
||
![location of post to highlight](https://user-images.githubusercontent.com/18273833/241761099-e7a745c8-204e-4a4d-b313-867ab99af0b2.png) | ||
|
||
If you post a successful highlight it will show you a message with an option to see the highlight on the OpenSauced website. | ||
|
||
![Successful message example](https://github.com/open-sauced/docs.opensauced.pizza/assets/18273833/723ac624-e996-45f8-acdf-0d3ff08af90b) | ||
|
||
If you presented with an error with the summarization, it will be printed in the text area. Here's an example: | ||
|
||
![Error message](https://user-images.githubusercontent.com/18273833/241762187-f6968a71-c344-495f-8eed-f1de9aff7599.gif) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
id: pr-description | ||
title: 'PR Description' | ||
sidebar_label: 'PR Description' | ||
keywords: | ||
- ai | ||
- pr descriptions | ||
--- | ||
|
||
This will help you to create a PR based on the configuration you have in the extension, it will enable you to create the summary based on either **Commit Messages** or **The diff between the files** or **both**, you can even set the length and the tone of the message using the same settings. | ||
|
||
_Note: This feature is not available on private repositories._ | ||
|
||
![generate pr description](../../static/gif/pr-description.gif) | ||
|
||
You can use this settings to set the strictness and the tone of the generated AI, here is an explanation of those settings: | ||
|
||
- **Description** length:The output length. | ||
- **Temperature**: Is the similarity between the input text and the output, higher temperature mean more randomness, lower temperature means more strict to the input. | ||
- **Max Input length.** | ||
- **Description language:** right now this feature supports: English, Spanish, French, German, Italian, Portuguese, Dutch, Russian, Chinese, Korean. | ||
- **Description tone:** The tone of the output: Exciting, Persuasive, Informative, Humorous, Formal | ||
- **Description source:** The source of the description that our AI will use to get the output it can be the next:**Commit Messages** or **The diff between the files** or **both** | ||
|
||
![Setting screenshot](https://user-images.githubusercontent.com/18273833/241760972-aa10eabe-3c01-4921-956a-ab85bada1575.png) | ||
|
||
![ezgif-3-43e056fc1f](https://github.com/open-sauced/docs.opensauced.pizza/assets/18273833/fa19fa8e-e652-461c-8df4-6e959c9b9943) | ||
|
||
[Example PR](https://github.com/open-sauced/insights/pull/1197), using the next options: both in the description source, 500 for output length and 3900 max input length, temperature 0.7. | ||
|
||
**Exciting:** This PR fixes the follow call and adds a FollowUser function to the contributor-highlight-card. The code has been linted and merged from the beta branch. FollowUser function allows users to follow/unfollow contributors. Copy link and follow/unfollow options are now available in the dropdown menu. | ||
|
||
**Persuasive:** This PR fixes the follow call and linting issues in the `ContributorHighlightCard` component. It also merges the `beta` branch into `fix-follow-check`. A new `FollowUser` function has been added to handle follow/unfollow functionality. This PR ensures a smoother user experience. | ||
|
||
**Informative:** This PR fixes the follow call and linting issues in the `ContributorHighlightCard` component. A new function `FollowUser` has been added to handle the follow/unfollow functionality. The `useFollowUser` hook has been moved inside this function. The `FollowUser` function is now used in place of the previous follow/unfollow code block. The code has been tested and reviewed. | ||
|
||
**Humorous:** This PR fixes the follow call and also lints the file. We've also added a new FollowUser function to make the code more readable. Now you can follow/unfollow contributors with ease. We've also merged the beta branch into fix-follow-check. | ||
|
||
**Formal:** This PR fixes the follow call and linting issues in the `ContributorHighlightCard` component. A new function `FollowUser` has been added to handle the follow/unfollow functionality. The `useFollowUser` hook has been moved inside this function. The `FollowUser` function is now used in place of the previous follow/unfollow code block. This PR also merges the `beta` branch into `fix-follow-check`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
id: opensauced-links | ||
title: 'Code Explanation' | ||
sidebar_label: 'Quick Access to OpenSauced' | ||
keywords: | ||
- opensauced | ||
- links | ||
--- | ||
|
||
![Quick Access to OpenSauced](../../static/img/extension-links.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
id: refactoring-and-testing | ||
title: 'Refactoring and Testing' | ||
sidebar_label: 'Refactoring and Testing' | ||
keywords: | ||
- refactoring | ||
- testing | ||
--- | ||
|
||
Refactor a block of code by using the blue plus button that is displayed when hovering over a line. To select a block of code, hover over the starting line, click and drag the blue plus button until the desired line. | ||
|
||
![generate code refactor](../../static/gif/pr-code-refactor.gif) | ||
|
||
Generate tests for a block of code by using the blue plus button that is displayed when hovering over a line. To select a block of code, hover over the starting line, click and drag the blue plus button until the desired line. | ||
|
||
![generate code refactor](../../static/gif/pr-code-test.gif) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
id: viewing-insights-and-invitations | ||
title: 'Viewing Insights and Invitations' | ||
sidebar_label: Insights and Invitations' | ||
keywords: | ||
- github | ||
- insights and invitations | ||
--- | ||
View stats about open issues, PRs made, average PRs velocity, and contributed repos that are in the OpenSauced database. This page can be found by clicking the profile picture at the top left of the extension. | ||
|
||
![GitHub Profile Insights](../../static/img/extension-popup.png) | ||
|
||
### Invite GitHub users to join OpenSauced with a single click | ||
|
||
Invite other users to create an OpenSauced account to keep track of open source contributions when visiting their GitHub profile. | ||
|
||
![Invite GitHub Users](../../static/img/extension-invite.png) | ||
|
||
### View GitHub users' OpenSauced profiles and connect with them | ||
|
||
View a user’s OpenSauced profile when on their GitHub profile page. | ||
|
||
![View OpenSauced Profiles](../../static/img/extension-view.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters