Skip to content

Conversation

@yc08
Copy link
Collaborator

@yc08 yc08 commented Jun 25, 2025

No description provided.

@netlify
Copy link

netlify bot commented Jun 25, 2025

Deploy Preview for atcoder ready!

Name Link
🔨 Latest commit 6559e5f
🔍 Latest deploy log https://app.netlify.com/projects/atcoder/deploys/685dc5751096a700080d35b6
😎 Deploy Preview https://deploy-preview-56--atcoder.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@wulukewu wulukewu requested a review from Copilot June 26, 2025 15:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new profile tab to the frontend, enabling users to view their AtCoder profile data through an interactive input and corresponding UI components, and adds backend endpoints to support profile retrieval and proxy AtCoder API calls.

  • Added a “Profile” tab and associated components (CardHeader, Profile, Body) in the frontend.
  • Updated frontend styles to support the new username input and adjusted animations.
  • Updated backend endpoints and added createProfileJson in the AtCoder utility along with related proxy endpoints.

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
frontend/src/App.js Added profile tab, new components for user input, profile display, and profile fetching with debounce logic.
frontend/src/App.css Introduced new styles for the user input box and disabled a pulsing animation.
backend/package.json Upgraded node-fetch version to support newer functionality.
backend/netlify/profile.js Added a Netlify function to handle profile requests using createProfileJson.
backend/index.js Introduced new proxy endpoints and a profile endpoint integrating the new profile functionality.
backend/atcoder.js Added createProfileJson to fetch profile data from AtCoder and manage local caching.
Files not reviewed (1)
  • backend/package-lock.json: Language not supported
Comments suppressed due to low confidence (1)

backend/atcoder.js:40

  • The fs module is used in createProfileJson but is not imported. Please add 'const fs = require("fs");' at the top of the file.
    const profileDir = path.join(saveDir, "profiles");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants