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

Next #142

Closed
wants to merge 115 commits into from
Closed

Next #142

Changes from 1 commit
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
7b21f33
init
DarkIntaqt Feb 15, 2023
3468793
add fontawesome icons
DarkIntaqt Feb 15, 2023
7a8cee4
working navbar
DarkIntaqt Feb 15, 2023
4282b1f
added a url structure
DarkIntaqt Feb 15, 2023
6ae88f3
add localStorage functions
DarkIntaqt Feb 15, 2023
af022e8
silent vercel
DarkIntaqt Feb 15, 2023
114f6ee
Add a loader
DarkIntaqt Feb 15, 2023
41bba98
add a path highlighter
DarkIntaqt Feb 15, 2023
2d0d90d
Permit server hostnames for loading images
BlossomiShymae Feb 15, 2023
38fe796
Migrate global stylesheet
BlossomiShymae Feb 15, 2023
498e078
Migrate communities CSS module
BlossomiShymae Feb 15, 2023
101c046
Migrate communities page
BlossomiShymae Feb 15, 2023
ff3512f
Merge branch 'next' of github.com:DarkIntaqt/challenges into next
BlossomiShymae Feb 15, 2023
b340f97
Remove blank aria attribute
BlossomiShymae Feb 15, 2023
624e19e
Merge pull request #143 from BlossomiShymae/next
DarkIntaqt Feb 16, 2023
c24283a
Add shared JSDoc typedef file for data response objects
BlossomiShymae Feb 17, 2023
81a7264
Add helper functions for making requests
BlossomiShymae Feb 17, 2023
80c30bc
Add service for challenge related data
BlossomiShymae Feb 17, 2023
51f04d2
Add service for CDN data
BlossomiShymae Feb 17, 2023
9f9b7d2
Migrate titles page
BlossomiShymae Feb 17, 2023
3887e26
Migrate filter and titles stylesheets
BlossomiShymae Feb 17, 2023
e6fa243
Fix layout container not growing with children height
BlossomiShymae Feb 17, 2023
a1269c9
Merge pull request #144 from BlossomiShymae/next-titles-page
DarkIntaqt Feb 17, 2023
d1e6cc8
"smart header"
DarkIntaqt Feb 18, 2023
7985fb0
make title links work
DarkIntaqt Feb 18, 2023
d7c9109
challenge module
DarkIntaqt Feb 18, 2023
1fa08c0
added favicon
DarkIntaqt Feb 20, 2023
dcb54a4
add leaderboards (currently static only)
DarkIntaqt Feb 20, 2023
55e8d5c
code quality
DarkIntaqt Feb 20, 2023
88407d9
fixed svg bug
DarkIntaqt Feb 25, 2023
62eb1fd
added tags, moved selectors
DarkIntaqt Feb 25, 2023
4483e06
Initial migration for challenges page
BlossomiShymae Feb 26, 2023
a9f88cd
Refactor challenges module into SCSS
BlossomiShymae Feb 26, 2023
69008ed
Add global challenge type for getById endpoint
BlossomiShymae Feb 26, 2023
21cb9c3
Code quality
DarkIntaqt Feb 26, 2023
a42b74d
added icons
DarkIntaqt Feb 26, 2023
60af147
store the current header alignment to localStorage
DarkIntaqt Feb 26, 2023
1d26759
plain css to scss
DarkIntaqt Feb 26, 2023
dda5bac
add filter, thresholds and info
DarkIntaqt Feb 26, 2023
5aeb4f4
Fix rules for filter buttons
BlossomiShymae Feb 26, 2023
a017524
Include svg for FontAwesome icons
BlossomiShymae Feb 26, 2023
0ede84c
Fix another incorrect rule (wowie I am terrible :c)
BlossomiShymae Feb 26, 2023
01df44a
Add challenge placeholders and filter buttons
BlossomiShymae Feb 26, 2023
6dae2a9
Reduce large page data load
BlossomiShymae Feb 26, 2023
506188c
Fix button hover not highlighting
BlossomiShymae Feb 26, 2023
5640ce9
Change button>span selector to be pure for NEW badge
BlossomiShymae Feb 26, 2023
2dcfdaa
Refactor change filter method
BlossomiShymae Feb 27, 2023
4ceca6a
Add partial refactor for changing display method
BlossomiShymae Feb 27, 2023
bf7d5a1
Fix bug where selected category button style did not apply correctly
BlossomiShymae Feb 27, 2023
5bbde17
Add persistence for filters
BlossomiShymae Feb 27, 2023
71d95c8
Add persistence to challenge search
BlossomiShymae Feb 27, 2023
cf338bf
Add comments
BlossomiShymae Feb 27, 2023
0d232be
Fix incorrect type for challenge thresholds
BlossomiShymae Feb 27, 2023
b728027
Merge branch 'next' of github.com:DarkIntaqt/challenges into next-chu…
BlossomiShymae Feb 27, 2023
0609043
Merge pull request #145 from BlossomiShymae/next-chubby-challenges-page
DarkIntaqt Feb 27, 2023
0180886
addd a title to /
DarkIntaqt Feb 28, 2023
60a853e
added a footer
DarkIntaqt Mar 1, 2023
7be5af1
fixed spacing
DarkIntaqt Mar 4, 2023
20fcb89
moved user css to challenges css
DarkIntaqt Mar 4, 2023
d66d30a
unoptimize images
DarkIntaqt Mar 4, 2023
c96bddf
added challenge object (partially)
DarkIntaqt Mar 8, 2023
1e69fe3
changed the api structure
DarkIntaqt Mar 8, 2023
6ec6d20
made another component for the searchbar
DarkIntaqt Mar 8, 2023
cb2142c
fix typedef issue
DarkIntaqt Mar 12, 2023
8174865
You can search challenges from the startpage now
DarkIntaqt Mar 12, 2023
6f0ff62
fix a bug where the fonts werent loaded properly
DarkIntaqt Mar 12, 2023
ade7532
added profileIcon to ContentService
DarkIntaqt Mar 12, 2023
d555999
added a userService
DarkIntaqt Mar 12, 2023
9c8534e
bind new functions
DarkIntaqt Mar 12, 2023
d5c2c4f
made summoners searchable
DarkIntaqt Mar 12, 2023
c0a5b2e
migrated to the new challengeService
DarkIntaqt Mar 12, 2023
8f75dab
made the region changable
DarkIntaqt Mar 12, 2023
4eef89a
added a recently searched
DarkIntaqt Mar 12, 2023
8821857
made buttons clickable
DarkIntaqt Mar 12, 2023
1859e78
remove "recent searched" field if nothing was searched
DarkIntaqt Mar 14, 2023
818dd07
added getInitialProps for SSR
DarkIntaqt Mar 18, 2023
143e16e
fixed a background color bug
DarkIntaqt Mar 18, 2023
eac1b96
updated to latest api response
DarkIntaqt Mar 18, 2023
0a49434
removed intToTier offset
DarkIntaqt Mar 25, 2023
39ea73a
added a cookie script
DarkIntaqt Mar 25, 2023
0178991
removed headings within the searchbar
DarkIntaqt Mar 25, 2023
75dded5
made the background image a css property
DarkIntaqt Mar 25, 2023
66c50d1
new title section
DarkIntaqt Mar 25, 2023
e930985
added a hover effect to a title
DarkIntaqt Mar 25, 2023
e77c8b7
added error handling
DarkIntaqt Mar 25, 2023
9285a2e
disable link prefetch
DarkIntaqt Mar 25, 2023
3cd54b4
add about
DarkIntaqt Mar 29, 2023
59ed99d
pin challenges
DarkIntaqt Mar 29, 2023
90af77b
finally added the challenge object
DarkIntaqt Mar 30, 2023
9ae71ee
fixed broken link
DarkIntaqt Mar 30, 2023
b47374d
added parent capstones to a challenge
DarkIntaqt Mar 30, 2023
bd013e3
added faq
DarkIntaqt Mar 30, 2023
e8c4fdf
#152 made the searchbar visible while its hovered
DarkIntaqt Apr 4, 2023
19c188a
fix duplicate color
DarkIntaqt Apr 4, 2023
42f60aa
changed the platform math
DarkIntaqt Apr 4, 2023
2eb7369
added validation for the profile page
DarkIntaqt Apr 4, 2023
30af743
Add guard clause for undefined thresholds
BlossomiShymae Apr 12, 2023
1dec537
Add disabled leaderboard alert
BlossomiShymae Apr 12, 2023
2b90e20
Merge branch 'next' of https://github.com/DarkIntaqt/challenges into …
BlossomiShymae Apr 12, 2023
79e5d1f
Center align text
BlossomiShymae Apr 12, 2023
4ffe1e4
Add retired tag
BlossomiShymae Apr 12, 2023
9f1088c
Fix past tense wording
BlossomiShymae Apr 12, 2023
d67ebdc
Merge pull request #163 from BlossomiShymae/add-leaderboards-130
DarkIntaqt Apr 13, 2023
d1efb45
fetch user data
DarkIntaqt Apr 15, 2023
9fe1424
move challenges to a custom component
DarkIntaqt Apr 15, 2023
6a45968
changed paths
DarkIntaqt Apr 15, 2023
690008b
added filters to the summoner page
DarkIntaqt Apr 15, 2023
ec16b5e
apply user challenges to challenges
DarkIntaqt Apr 15, 2023
a473c26
link to a region
DarkIntaqt Apr 16, 2023
bcd6a1f
fixed missing highlight on region swap
DarkIntaqt Apr 16, 2023
e596a06
added the card
DarkIntaqt Apr 21, 2023
d498317
weird routing
DarkIntaqt Apr 21, 2023
ac75f89
show challenges on a users profile
DarkIntaqt Apr 22, 2023
4444248
user page
DarkIntaqt Apr 21, 2023
8c3dd36
changed the navigation a bit
DarkIntaqt Apr 26, 2023
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
Prev Previous commit
Next Next commit
Add shared JSDoc typedef file for data response objects
BlossomiShymae committed Feb 17, 2023
commit c24283a2433f313b6957452068018b480e272265
58 changes: 58 additions & 0 deletions typedef.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
/**
* @typedef StatsDto
* @type {Object}
* @property {number} CHALLENGER
* @property {number} BRONZE
* @property {number} GOLD
* @property {number} MASTER
* @property {number} GRANDMASTER
* @property {number} SILVER
* @property {number} DIAMOND
* @property {number} PLATINUM
* @property {number} IRON
*/

/**
* @typedef TranslationDto
* @type {Object}
* @property {string} description
* @property {string} name
* @property {string} shortDescription
*/

/**
* @typedef TagsDto
* @type {Object}
* @property {string} isCapstone
* @property {string} source
*/

/**
* @typedef ChallengeDto
* @type {Object}
* @property {number} id
* @property {string} state
* @property {boolean} leaderboard
* @property {Array.<StatsDto>} thresholds
* @property {TranslationDto} translation
* @property {boolean} reversed
* @property {Array.<number>} queueIds
* @property {TagsDto} tags
* @property {string} parent
* @property {string} parentCategory
* @property {Array.<StatsDto>} percentiles
* @property {Array.<number>} leaderboardThresholds
*/

/**
* @typedef TitleDto
* @type {Object}
* @property {string} type
* @property {string} title
* @property {number} percentile
* @property {number} icon
* @property {string} challenge
* @property {string} description
* @property {number} threshold
* @property {string} cid
*/