Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
b7be0da
Added complete overview link to profile page
zachspiel Aug 3, 2020
3f389ba
Added message passing from background to content to detect page chang…
zachspiel Aug 20, 2020
d796f95
Removed oAuth token, added commit dates to commit messages in overview
zachspiel Aug 20, 2020
a28cd7a
Added Repository.js to fix error
zachspiel Aug 20, 2020
eb6a05d
Added colors to overview page, fixed background errors and sorted com…
zachspiel Aug 22, 2020
13ca67a
Update in progress to match GitHub UI in overview page. Added issue t…
zachspiel Aug 25, 2020
8eaa6c3
Updated overview layout with progress bar and sorted repos by size. D…
zachspiel Aug 26, 2020
526889b
Updated overview page to dynamically show user name and image.
zachspiel Sep 1, 2020
51e017a
Updated file structure, updated code to be more readable by reducing …
zachspiel Oct 5, 2020
c732017
Add files via upload
zachspiel Oct 20, 2020
07ae44b
Add files via upload
zachspiel Oct 20, 2020
ff72032
Updated plugin with ribbons for uploading files, forking repos and co…
zachspiel Oct 20, 2020
4351f40
Delete StreetMapDataInterpreterTest.java
zachspiel Oct 20, 2020
1bc42e8
Merge branch 'master' of https://github.com/zachspiel/ResearchPlugin
zachspiel Oct 20, 2020
3755539
Update README.md
zachspiel Oct 20, 2020
ade85e8
Updated plugin to add messages when forking repository, uploading fil…
zachspiel Oct 27, 2020
bfeddd1
Updated plugin to re-add upload files success message and fixed navig…
zachspiel Nov 4, 2020
95a26ef
Updated comments and fixed refresh issue when viewing a pull request
zachspiel Nov 9, 2020
8875abd
Updated plugin to fix bug with new repository nav bar and updated plu…
zachspiel Mar 29, 2021
4f2f843
Updated formatting and fix icons not appearing in pull request process
zachspiel Mar 11, 2022
6432d0b
Fix fork repository and upload file messages
zachspiel Mar 12, 2022
76b1cbb
Remove oAuth token and unneeded code
zachspiel Mar 12, 2022
27dd858
Fix bug where Home page link is highlighted in other tabs, and update…
zachspiel Mar 12, 2022
95becda
Move strings to constants file and refactor logic for navigating tabs…
zachspiel Mar 13, 2022
7c29fdd
Remove files on home page
zachspiel Mar 13, 2022
069416d
Updated progress bar styles in dark mode
zachspiel Mar 14, 2022
224106d
Remove accordion layout from code tab and refactor code
zachspiel Mar 17, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.eslintrc.json
.eslintrc.js
.prettierrc
23 changes: 23 additions & 0 deletions ChromeExtension/background/background.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
chrome.tabs.onUpdated.addListener((tabId, changeInfo, tab) => {
if (changeInfo.status === "complete" && tab.status === "complete" && tab.url) {
chrome.tabs.sendMessage(tabId, {
type: "CHECK_URL",
});
}
chrome.tabs.sendMessage(tabId, {
type: "UPDATE_REPO_LAYOUT",
});
});

chrome.runtime.onMessage.addListener(handleMessage);

/**
* Function name: handleMessage
* @param {string} msg
* Responds to changes in content script
*/
function handleMessage(msg) {
if (msg.type === "OPEN_COMPLETE_OVERVIEW") {
chrome.tabs.create({ url: chrome.runtime.getURL("content/overview.html") });
}
}
40 changes: 40 additions & 0 deletions ChromeExtension/content/constants.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
const constantStrings = {
NOW_EDITING_FILE_MESSAGE:
"You are now editing the file, make your changes below and press the green button to continue",
PULL_REQUEST_CREATED_MESSAGE:
"The pull request was created successfully and will be reviewed shortly",
COMMENT_ADDED_MESSAGE:
"The mentioned user will receive a notification and may help you work on the pull request.",
FILENAME_TOOLTIP: "This is the file name, changing it will create a new file with the new name.",
PROPOSE_CHANGES_TOOLTIP:
"By clicking the Propose changes button you will start the pull request submission process. You will have the chance to check your changes before finalizing it.",
DIRECTLY_COMMIT_CHANGES_TOOLTIP:
"By clicking the Commit Changes button the changes will automatically be pushed to the repo",
PULL_REQUEST_TITLE_TOOLTIP:
"This is the title of the pull request. Give a brief description of the change. Be short and objective.",
PULL_REQUEST_DESCRIPTION_TOOLTIP:
"Add a more detailed description of the pull request if needed. Here you can present your arguments and reasoning that lead to change.",
PULL_REQUEST_DETAILED_DESCRIPTION_TOOLTIP:
"You can add a more detailed description of the pull request here if needed.",
PULL_REQUEST_ORIGIN_AND_DESTINATION_TOOLTIP:
"By clicking this button you will create the pull request to allow others to view your changes and accept them into the repository.",
CREATE_PULL_REQUEST_TOOLTIP:
"By clicking this button you will create the pull request to allow others to view your changes and accept them into the repository.",
PULL_REQUEST_SUMMARY_TOOLTIP:
"This shows the amount of commits in the pull request, the amount of files you changed in the pull request, how many comments were on the commits for the pull request and the ammount of people who worked together on this pull request.",
PULL_REQUEST_FILE_COMPARISON_TOOLTIP:
"This shows the changes between the orginal file and your version. Green(+) represents lines added. Red(-) represents removed lines",
PULL_REQUEST_STATUS_TOOLTIP:
"This indicates that the pull request is open meaning someone will get to it soon.",
PULL_REQUEST_MENU_TOOLTIP:
"Feel free to explore this menu, you can discuss with project contributors, see the commits made, check the review status and see the files changed.",
CLOSE_PULL_REQUEST_TOOLTIP:
"This will close the pull request meaning people cannot view this! Do not click close unless the request was solved.",
COMMIT_TITLE_TOOLTIP:
"This is the title of the commit. Give a brief description of the change. Be short and objective.",
COMMIT_FILES_DESCRIPTION_TOOLTIP:
"Add a more detailed description of the commit if needed. Here you can describe the files uploaded.",
HISTORY_LINK_TOOLTIP:
'Use the "History" link <br> to view changes to this <br> file by other contributors.',
PENCIL_ICON_TOOLTIP: "Click the pencil to edit the file and start a pull request",
};
Loading