-
Notifications
You must be signed in to change notification settings - Fork 131
Week 7: GitHub Tracker by Elsa Carlström #39
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
Open
elsisco
wants to merge
15
commits into
Technigo:main
Choose a base branch
from
elsisco:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
e847711
first commit
elsisco 1f32a63
added styling and a language barometer
elsisco c3c09e5
added responsiveness and further styling
elsisco f4a4b18
adjusted links to assets
elsisco f8e6a22
added link to github in profile and some styling
elsisco 76b681a
added a footer and restyled the header
elsisco 7095832
added number of commits, sorted the projects by name and cleaned up t…
elsisco 07f830c
modified background image + footer and hard coded the fetch for commi…
elsisco 56d17e1
filled out information about the project in the readme file
elsisco 8031021
added link to portfolio
elsisco 2d7000c
changed wrap of project cards to be left aligned on desktop and added…
elsisco 10b80f7
updated portfolio link
elsisco 2171191
updated progress bar
elsisco 5ee880b
added sorting to API_REPOS
elsisco 14cc3ba
fixed sorting of repos
elsisco File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
This file contains hidden or 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 |
|---|---|---|
| @@ -1,3 +1,23 @@ | ||
| { | ||
| "liveServer.settings.port": 5505 | ||
| } | ||
| "liveServer.settings.port": 5506, | ||
| "workbench.colorCustomizations": { | ||
| "activityBar.activeBackground": "#fbed80", | ||
| "activityBar.activeBorder": "#06b9a5", | ||
| "activityBar.background": "#fbed80", | ||
| "activityBar.foreground": "#15202b", | ||
| "activityBar.inactiveForeground": "#15202b99", | ||
| "activityBarBadge.background": "#06b9a5", | ||
| "activityBarBadge.foreground": "#15202b", | ||
| "sash.hoverBorder": "#fbed80", | ||
| "statusBar.background": "#f9e64f", | ||
| "statusBar.foreground": "#15202b", | ||
| "statusBarItem.hoverBackground": "#f7df1e", | ||
| "statusBarItem.remoteBackground": "#f9e64f", | ||
| "statusBarItem.remoteForeground": "#15202b", | ||
| "titleBar.activeBackground": "#f9e64f", | ||
| "titleBar.activeForeground": "#15202b", | ||
| "titleBar.inactiveBackground": "#f9e64f99", | ||
| "titleBar.inactiveForeground": "#15202b99" | ||
| }, | ||
| "peacock.color": "#f9e64f" | ||
| } |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,13 +1,15 @@ | ||
| # GitHub Tracker | ||
|
|
||
| Replace this readme with your own information about your project. | ||
|
|
||
| Start by briefly describing the assignment in a sentence or two. Keep it short and to the point. | ||
| This is my version of a GitHub Tracker. It's a webpage that displays my profile and all projects I've made during the Technigo Frontend Boot Camp together with selected information about it fetched through GitHub API's. | ||
|
|
||
| ## The problem | ||
|
|
||
| Describe how you approached to problem, and what tools and techniques you used to solve it. How did you plan? What technologies did you use? If you had more time, what would be next? | ||
| I started out by studying the project brief and getting familiar to the use of the GitHub API's as I started to add code to the project. I finished the projects requirements and added extra features. The extra features includes the formatting of the fetched project name, adding the language percentage for each project and links to view the projects live. | ||
|
|
||
| This project opened up my eyes to the clever use of dynamic id's. By using it I was able to keep the functions separate and invoking them with arguments in the main function (getRepos) instead of having to collect them all in the main function in a "waterfall" structure to access the values of the variables inside. | ||
|
|
||
| Next step would be to add if the projects has collaborators or not (group or individual assignment), names of collaborators and the commits made for projects I've been a collaborator on. To be able to sort and/or search for the projects will come in handy when the number of projects will increase. | ||
|
|
||
| ## View it live | ||
|
|
||
| Every project should be deployed somewhere. Be sure to include the link to the deployed project so that the viewer can click around and see what it's all about. | ||
| https://priceless-kepler-739442.netlify.app/ | ||
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 |
|---|---|---|
| @@ -1,4 +1,35 @@ | ||
| //DOM-selector for the canvas 👇 | ||
| const ctx = document.getElementById('chart').getContext('2d') | ||
|
|
||
| //"Draw" the chart here 👇 | ||
| const drawChart = (amount) => { | ||
| const config = { | ||
| type: 'doughnut', | ||
| data: { | ||
| labels: [ | ||
| `Pushed projects`, | ||
| `Projects to go`, | ||
| ], | ||
| datasets: [{ | ||
| label: 'Technigo progress', | ||
| data: [amount, 19-amount], | ||
| backgroundColor: [ | ||
| '#F59B99', | ||
| '#FAECD2' | ||
| ], | ||
| borderColor: [ | ||
| 'transparent', | ||
| 'transparent' | ||
| ], | ||
| hoverOffset: 0 | ||
| }] | ||
| }, | ||
| options: { | ||
| plugins: { | ||
| legend: { | ||
| position: '', | ||
| } | ||
| } | ||
| } | ||
| } | ||
| const myChart = new Chart(ctx, config) | ||
| } | ||
|
|
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great ideas for the future and nice touch that you fixed some extra features, especially language percentage display is impressive!