Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@Mateleo Mateleo released this 22 Dec 14:07
· 28 commits to master since this release

Calibrum

πŸš€ Calibrum v1.0.0 is here! πŸ₯³

✨ New Features

  • add styling for "UNRANKED" tier to match the gradient background of other tiers (cef88a) by @Mateleo
  • add support for descending order in LpUpdate query to get the latest updates first (fd91d4) by @Mateleo
  • add support for shower badge by checking if the account has played more than 6 games in a day (fd91d4) by @Mateleo
  • add dynamic background image URL based on props.championId to display champion splash image (ef8414) by @Mateleo
  • refactor code to use arrow functions and improve code readability (64fece) by @Mateleo
  • update text content for the latest project description in the modal (8a2296) by @Mateleo
  • update player accounts to split and trim each account to remove whitespace and improve data consistency (d61f12) by @Mateleo
  • add Modal component to display a button with project information and hide functionality (6e7dd2) by @Mateleo
  • add support for process.env.PORT environment variable to be able to run app on a configurable port (aa865d) by @Mateleo
  • create an API endpoint to fetch players for search functionality (aa865d) by @Mateleo
  • (aa865d) by @Mateleo
  • fetch last games data from the "/api/lastgames" endpoint using useLazyFetch (b6840d) by @Mateleo
  • add dynamic links to player profiles using NuxtLink (b6840d) by @Mateleo
  • display the game date in the format "DD/MM Γ  HH (b6840d) by @Mateleo
  • add conditional styling to the LP element based on the value of game.lastUpdateDiff (b6840d) by @Mateleo
  • add getLast10Games function to retrieve the last 10 games played by players (c3a2b7) by @Turdyo
  • add getLastXUpdates function to retrieve the last X lp updates (c3a2b7) by @Turdyo
  • add provider to defineOgImageStatic to specify the image generation method as browser (a3018f) by @Mateleo
  • add caching to AllPlayedChamps function to improve performance and reduce API calls (a4c853) by @Mateleo
  • use championId prop to fetch champion splash image instead of champion name (2aad95) by @Mateleo
  • pass mostPlayedChamp as championId prop to MyOgImage.vue (2aad95) by @Mateleo
  • add mostPlayedChamp field to player response (2aad95) by @Mateleo
  • add isLive and mostPlayedChamp fields to PlayerResponse type definition (2aad95) by @Mateleo
  • add function to get most played champion by account name and puuid (ca957c) by @Mateleo
  • add interfaces for match data (ca957c) by @Mateleo
  • import getMostPlayedChampByAccount function from accounts.ts to use it in player endpoint (ca957c) by @Mateleo
  • make isLive prop optional and add support for null value (46ed8c) by @Mateleo
  • add isLive field to Player model (46ed8c) by @Mateleo
  • add caching to the event handler with a maxAge of 5 minutes and enable SWR (46ed8c) by @Mateleo
  • add isLive prop to LeaderboardPlayer component to show if player is currently in game (f4ed5b) by @Mateleo
  • add isLive property to players returned by getPlayersWithLive function (f4ed5b) by @Mateleo
  • add getPlayersWithLive function to get all players with isLive property and shuffle players to avoid rate limit issues (f4ed5b) by @Mateleo
  • add shuffle function to shuffle arrays (f4ed5b) by @Mateleo
  • add live indicator to LIVE GAME button when live prop is true (d524c4) by @Mateleo
  • add endpoint to get the best and worst players of the day based on their LP gains (779bc6) by @Turdyo
  • add endpoint to register a player and their accounts (779bc6) by @Turdyo
  • add function to get LP updates by account and by day (779bc6) by @Turdyo
  • add function to get the best and worst players of the day based on their LP gains (779bc6) by @Turdyo
  • add button to watch player live game if they are currently in game (08857e) by @Mateleo
  • add LP prop to Props interface to display players LP in MyOgImage component (c0a7db) by @Mateleo
  • add support for displaying peak rank and rank history graph (795601) by @Turdyo
  • add support for displaying rank history graph (795601) by @Turdyo
  • add support for displaying multiple accounts and their rank history graph (795601) by @Turdyo
  • add response types for player, account and lpupdate to improve type safety and readability (795601) by @Turdyo
  • change defineOgImageDynamic to defineOgImageScreenshot to improve performance and reduce server load (8358ec) by @Mateleo
  • enable Nitros node mode to improve server-side rendering performance (b8c6fa) by @Mateleo
  • add MyOgImage component to generate Open Graph image (32d3be) by @Mateleo
  • add main tag to layout to fix footer position (32d3be) by @Mateleo
  • add SEO meta tags and watch for player and selected account changes (32d3be) by @Mateleo
  • set suggestedMax y-axis value to LPC peak value + 15 (9cd9ac) by @Mateleo
  • add getPlayers function import to use it in the leaderboard endpoint handler (da5c20) by @Turdyo
  • add getPlayerLiveGame function to get live game data for a player (9ff487) by @Turdyo
  • add watcher to update AllTiers variable when players change (7200e4) by @Mateleo
  • add function to convert LPC to string with tier and rank (7200e4) by @Mateleo
  • add y-axis ticks callback to display LPC as string (7200e4) by @Mateleo

πŸ”§ Bug Fixes

  • fix incorrect property access in message string to display the correct games count (01ee1e) by @Mateleo
  • add support for unranked players by adding unranked prop and conditionally disabling link (54e0bc) by @Mateleo
  • pass unranked prop to LeaderboardPlayer component based on players rank status (54e0bc) by @Mateleo
  • fix the conditional class assignment in the v-for loop to correctly apply the border style (a46015) by @Turdyo
  • add a filter to exclude updates with a lastUpdateDiff of 0 when fetching the last X updates (a46015) by @Turdyo
  • handle null or undefined tier values by displaying "UNRANKED" instead (cef88a) by @Mateleo
  • fix incorrect NuxtLink to worstPlayers profile page (06875e) by @Mateleo
  • fix incorrect property name when retrieving player name for PlayersOfTheDay component (06875e) by @Mateleo
  • fix typo in "games daffilΓ©es" to "games daffilΓ©e" in streak badge message (fd91d4) by @Mateleo
  • fix the date range in getGamesCountByAccountByDay function to get games count in the last 24 hours (fd91d4) by @Mateleo
  • adjust grid layout and center align content for better responsiveness (353e35) by @Mateleo
  • comment out unused defineOgImage function to improve code readability and remove unnecessary code (3ad3f4) by @Mateleo
  • update badge messages to include the actual number of consecutive games won or lost and the number of games played in a day (3ad3f4) by @Mateleo
  • add missing semicolons to improve code readability and maintainability (ef8414) by @Mateleo
  • add missing semicolons to improve code readability (64fece) by @Mateleo
  • fix indentation and line breaks to improve code readability (64fece) by @Mateleo
  • fix typo in image URL to display correct profile icon (64fece) by @Mateleo
  • set default value for tier field to SILVER to avoid null values (64fece) by @Mateleo
  • fix URL typo to display correct profile icon image (64fece) by @Mateleo
  • fix image size and alignment issues in Players of the Day component (657184) by @Mateleo
  • remove dev-team page component (cfe861) by @Mateleo
  • comment out unused NuxtLink components and add a paragraph with the names of the creators (8399af) by @Mateleo
  • comment out unused NuxtLink component (8399af) by @Mateleo
  • fix keyup.enter event to check results length before navigating (8399af) by @Mateleo
  • fix await keyword in useLazyFetch call (8399af) by @Mateleo
  • remove console.log statement (8399af) by @Mateleo
  • fix destructuring of players data and add conditional rendering for gains (8399af) by @Mateleo
  • change Header component to LazyHeader component (8399af) by @Mateleo
  • change useLazyFetch to useFetch in fetching player data (8399af) by @Mateleo
  • remove plugins property (8399af) by @Mateleo
  • fix await keyword in useLazyFetch call and change return type to array (8399af) by @Mateleo
  • undefined (8399af) by @Mateleo
  • remove console.log statement for search value (8a2296) by @Mateleo
  • randomize the order of accounts before processing them in the scheduler (8a2296) by @Mateleo
  • update siteUrl in ogImage configuration to use the correct domain (d61f12) by @Mateleo
  • update ogUrl in useSeoMeta configuration to use the correct domain (d61f12) by @Mateleo
  • import the access function from fs module to fix the missing import error (d61f12) by @Mateleo
  • update flex layout to display account information in a row on larger screens (537017) by @Mateleo
  • remove fixed width from rank container to allow for dynamic width (537017) by @Mateleo
  • update width class to apply only on medium and larger screens (537017) by @Mateleo
  • update flex layout to display account information in a column on smaller screens and add missing closing div tag (537017) by @Mateleo
  • adjust grid layout and styling to improve responsiveness and alignment (5293b6) by @Mateleo
  • clear search results when pressing enter and improve search functionality (5293b6) by @Mateleo
  • adjust width and font size for better layout consistency (5293b6) by @Mateleo
  • fix tier image source to use lowercase tier name for consistency (5293b6) by @Mateleo
  • fix tier image source to use lowercase tier name for consistency (5293b6) by @Mateleo
  • fix typo in player name (5293b6) by @Mateleo
  • fix tier image source to use lowercase tier name for consistency (5293b6) by @Mateleo
  • adjust layout and spacing for better responsiveness (5293b6) by @Mateleo
  • remove unused code for generating og (5293b6) by @Mateleo
  • remove playwright dependency from the project as it is no longer needed (56cc27) by @Mateleo
  • add optional config parameter to getAccountByName, getAccountById, getAccountsByPlayer, and getAccounts functions for more flexibility in querying accounts (b003f1) by @Turdyo
  • refactor components to use lazy loading for improved performance and code splitting (59bafa) by @Mateleo
  • fix indentation and formatting issues in the template section (b6840d) by @Mateleo
  • fix conditional class assignment in the v-for loop to correctly apply the "border-b-0" class (b6840d) by @Mateleo
  • update image source path for account tier emblem to use new_emblems folder instead of emblems folder (068a55) by @Mateleo
  • update image source path for player account tier emblem to use new_emblems folder instead of emblems folder (068a55) by @Mateleo
  • update LPC to tier mapping to include new EMERALD tier (068a55) by @Mateleo
  • update image source path for lpUpdate tier emblem to use new_emblems folder instead of emblems folder (068a55) by @Mateleo
  • add EMERALD as a new tier in the enum Tier (068a55) by @Mateleo
  • decrease maxAge to 2 minutes for leaderboard cache (068a55) by @Mateleo
  • comment out unused code for getting most played champion (068a55) by @Mateleo
  • update LPC values for EMERALD, DIAMOND, MASTER, GR (068a55) by @Mateleo
  • fix type error when filtering AllPlayedChamps array by adding a type guard to filter method (a4c853) by @Mateleo
  • add delay of 500ms to defineOgImageScreenshot function to improve performance (ffa1ae) by @Mateleo
  • fix typo in cached function options (73fb88) by @Mateleo
  • fix cached function to receive puuid parameter and filter AllPlayedChamps array correctly (73fb88) by @Mateleo
  • change champion prop to championId to improve semantics (2aad95) by @Mateleo
  • change champion prop to championId to match MyOgImage.vue changes (2aad95) by @Mateleo
  • remove mostPlayedChamp field from Account model (2aad95) by @Mateleo
  • handle case when fetchMatchesHistory returns undefined (2aad95) by @Mateleo
  • refactor getPlayersWithLive function to use Promise.all and simplify code (7188a1) by @Turdyo
  • remove unused playerLive variable and console.log statement (5522d1) by @Mateleo
  • change live prop to isLive to improve semantics and make it optional (46ed8c) by @Mateleo
  • pass player.isLive to PlayerNavigation component (46ed8c) by @Mateleo
  • set isLive to isInGame if its not defined in the player object (46ed8c) by @Mateleo
  • pass isLive prop to LeaderboardPlayer component (f4ed5b) by @Mateleo
  • change getLiveGameDataOrError function to getLiveGameData function and return undefined instead of throwing error (f4ed5b) by @Mateleo
  • add missing import of dayjs (779bc6) by @Turdyo
  • fix error message to show the correct player name when there are no accounts in game (08857e) by @Mateleo
  • fix typo in sumonerLvl prop name in Props interface in MyOgImage component (c0a7db) by @Mateleo
  • fix typo in sumonerLvl prop name in MyOgImage component (c0a7db) by @Mateleo
  • use arrow functions instead of anonymous functions for better readability (208cca) by @Mateleo
  • remove unnecessary spaces in template string (208cca) by @Mateleo
  • remove unnecessary spaces in arrow functions (208cca) by @Mateleo
  • remove unnecessary spaces in arrow functions (208cca) by @Mateleo
  • remove unnecessary spaces in arrow functions (208cca) by @Mateleo
  • remove unnecessary spaces in arrow functions (208cca) by @Mateleo
  • remove unnecessary spaces in arrow functions (208cca) by @Mateleo
  • remove unnecessary spaces in arrow functions (208cca) by @Mateleo
  • remove unnecessary empty line (129ab2) by @Turdyo
  • remove console.log statement (3292af) by @Mateleo
  • add profileIcon to account props to be able to display players profile icon (3292af) by @Mateleo
  • add key binding to v-for loop to improve performance (3292af) by @Mateleo
  • remove unused variables and simplify code by removing intermediate variables and using reduce to calculate peakEloUpdate (267209) by @Turdyo
  • fix PlayerRank component props by removing unused lastUpdate variable and using account.lpUpdates.at(0) instead of lastUpdate variable. Also, fix peakEloUpdate calculation by using reduce function. (267209) by @Turdyo
  • fix typo in variable name LPC -> LP to correctly display rank (795601) by @Turdyo
  • add --with-deps flag to playwright install command to ensure all dependencies are installed before running nuxt build script (d117e4) by @Mateleo
  • convert y-axis ticks value to integer (9cd9ac) by @Mateleo
  • add missing semicolons to improve code quality (9ff487) by @Turdyo
  • throw error instead of returning it to improve error handling (9ff487) by @Turdyo
  • add missing semicolons to improve code quality (9ff487) by @Turdyo
  • throw error instead of returning it to improve error handling (9ff487) by @Turdyo
  • throw error instead of returning it to improve error handling (9ff487) by @Turdyo
  • use ref to update AllTiers variable (7200e4) by @Mateleo
  • reverse lpUpdates array to display in correct order (7200e4) by @Mateleo
  • update image size to fit new design requirements (a1c5ae) by @Mateleo
  • fix indentation and whitespace issues in the style section (cf5468) by @Mateleo

🎨 Styles

  • add conditional rendering to display a message when there are no latest updates (a46015) by @Turdyo
  • adjust styling and layout of Players of the Day component for better readability and visual appeal (657184) by @Mateleo
  • refactor template to use flexbox and add conditional rendering for player data (d3440e) by @Turdyo
  • add line breaks for better readability (d3440e) by @Turdyo
  • add div wrapper to template for better structure and readability (d3440e) by @Turdyo
  • format code to improve readability (a3018f) by @Mateleo
  • remove unnecessary gap in CommonSection component (ffa1ae) by @Mateleo
  • use props to access live property instead of data to improve readability and maintainability (7a2a9e) by @Mateleo
  • add props interface and default value for live prop (d524c4) by @Mateleo
  • change background color and gradient of GOLD class to improve visual consistency with other classes (a11197) by @Mateleo
  • extract player link to a separate component to improve code readability and reusability (08857e) by @Mateleo
  • format code for better readability (08857e) by @Mateleo
  • fix indentation and spacing issues (187d23) by @Mateleo
  • remove unused CSS class definition (187d23) by @Mateleo
  • add border-teal-400 class to ProfileIcon component (c0a7db) by @Mateleo
  • adjust size and opacity of background image and grid gaps in MyOgImage component (c0a7db) by @Mateleo
  • adjust font size of player name in MyOgImage component (c0a7db) by @Mateleo
  • adjust font size and position of player tier, rank and LP in MyOgImage component (c0a7db) by @Mateleo
  • adjust size and position of (c0a7db) by @Mateleo
  • change MyOgImage component layout to a grid with two columns to improve readability and add sumonerLvl to account props (fb0c8d) by @Mateleo
  • reorder classes to improve readability and consistency (4d4f8a) by @Mateleo
  • reorder classes to improve readability and consistency (4d4f8a) by @Mateleo
  • reorder classes to improve readability and consistency (4d4f8a) by @Mateleo
  • reorder classes to improve readability and consistency (4d4f8a) by @Mateleo
  • reorder classes to improve readability and consistency (4d4f8a) by @Mateleo
  • reorder classes to improve readability and consistency (4d4f8a) by @Mateleo
  • remove .prettierrc file and add prettier.config.js file with new configuration options and tailwindcss plugin to improve code formatting. (2ab061) by @Turdyo
  • add arrowParens configuration to avoid parentheses around a single parameter in arrow functions and improve code readability (73faeb) by @Turdyo
  • add trailingComma option to prettier config (129ab2) by @Turdyo
  • improve code formatting and readability, add missing closing tag to div element (557998) by @Turdyo
  • add default profile icon and support for left and right slots (c23560) by @Turdyo
  • refactor to use PlayerProfileIcon component and remove unnecessary div (c23560) by @Turdyo
  • fix indentation and add line break for readability (c23560) by @Turdyo
  • increase image size and improve contrast (3292af) by @Mateleo
  • improve button style (3292af) by @Mateleo
  • set default champion to Shaco to improve aesthetics (3292af) by @Mateleo
  • improve code readability and add default values to props (d49b0e) by @Mateleo
  • change LPC to LP for better semantics (d49b0e) by @Mateleo
  • remove unused ogImage and add og (d49b0e) by @Mateleo
  • increase width and height of the image to improve visual appeal and user experience (8358ec) by @Mateleo
  • add background-position center to improve image composition (8358ec) by @Mateleo
  • change defineOgImageDynamic to defineOgImageScreenshot for better semantics and readability (164c77) by @Mateleo
  • remove unused import statement (df5cb2) by @Mateleo
  • add caretPadding to chart options (9cd9ac) by @Mateleo
  • add top padding to chart layout (9cd9ac) by @Mateleo
  • add z-index to header component to fix overlapping issue (bf6af4) by @Mateleo
  • increase height of the image container to fit the new image size (a1c5ae) by @Mateleo
  • add padding to the main element (cf5468) by @Mateleo
  • add gradient background color to each tier and refactor player list to be filtered by tier (66945f) by @Mateleo

πŸ“ Documentation


πŸ—Ώ Chad Contributors