Skip to content

Conversation

@Shirym-min
Copy link
Contributor

@Shirym-min Shirym-min commented Feb 1, 2026

Release Notes

New Features

  • Created Shirym-min's demo page.
  • Added necessary module to create demo page.
  • Almost information contents are written by JSON to make subsequent editing easier.
  • English is supported.

Will be fixed in the future

  • Mobile devices aren't supported.
  • Visibility is expected to improve going forward.

Operation has been verified on PC

Summary by CodeRabbit

  • New Features

    • Added "Shirym-min" demo page: bilingual (JP/EN) profile with language toggle, GitHub link, timeline, birthday, and multi-section content; linked from demos.
  • Style

    • New responsive styling for the demo: grid/flex layouts, responsive typography, and light/dark mode adjustments.
  • Chores

    • Added runtime dependency for animations (framer-motion).

@vercel
Copy link

vercel bot commented Feb 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
kss-it-committee-github-io Ready Ready Preview, Comment Feb 9, 2026 5:23am

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 1, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Adds a new client-side demo "Shirym-min": a Next.js page component, responsive CSS module, bilingual JSON content, and a runtime dependency framer-motion in package.json.

Changes

Cohort / File(s) Summary
Dependency
package.json
Added runtime dependency framer-motion ^12.29.0. Review lockfile and deployment runtime to ensure new package is available.
Demo Index
src/app/demo/page.tsx
Inserted a new demo link entry for /demo/Shirym-min.
Shirym-min Demo
src/app/demo/Shirym-min/page.tsx, src/app/demo/Shirym-min/min.module.css, src/app/demo/Shirym-min/mincontents.json
Added a client component page (language toggle, uses Framer Motion controls), a responsive CSS module with color-scheme and media queries, and a bilingual JSON content file (profile, contents). Check i18n mapping and CSS color-scheme behavior.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested labels

enhancement

Suggested reviewers

  • rotarymars
  • katsumata68
  • kinoto0103
  • SakaYq4875

Poem

🐰 I hopped through code and night,
Brought fonts and JSON bright,
Two languages in tune and play,
A demo blooms, then hops away,
I left a framer-motion bite.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Add Shirym-min demo page' directly and accurately reflects the main change in the pull request: adding a new demo page for Shirym-min.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/demo/minato

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Shirym-min Shirym-min changed the title Add Shirym-min page Add Shirym-min demo page Feb 1, 2026
@Shirym-min Shirym-min requested a review from rotarymars February 1, 2026 10:51
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 6

🤖 Fix all issues with AI agents
In `@src/app/demo/Shirym-min/min.module.css`:
- Around line 65-67: The CSS rule .gridcontents > div sets background-color:
black but doesn't set a contrasting text color; update the rule to explicitly
set a readable foreground (e.g. color: white or a high-contrast variable) and
also ensure descendant elements like links/buttons inside .gridcontents > div
inherit or override with accessible colors (use color variables or ensure
:link/:visited/:hover states are high contrast) so text and controls are
readable on the black cards.
- Around line 19-24: The .changelanguage rule uses invalid CSS padding syntax
("padding: 24px,24px;") so browsers ignore it; update the .changelanguage style
to use valid padding notation (e.g., space-separated values like "24px 24px" or
a single value "24px") and remove the comma so the spacing actually applies.

In `@src/app/demo/Shirym-min/mincontents.json`:
- Around line 1-6: The JSON entry contains a full birthdate under the "birthday"
key in the Shirym-min object which exposes sensitive PII; update the "birthday"
value to a less granular form (e.g., "09/05" or remove the key entirely) and
adjust any UI/consumer text that expects a full date to handle the redacted
format (search for usages of "birthday" in components or code that reads
mincontents.json and ensure they tolerate month/day-only or missing values).

In `@src/app/demo/Shirym-min/page.tsx`:
- Around line 70-71: The Link element in src/app/demo/Shirym-min/page.tsx that
renders external URL (Link href={data.mygithub} target="_blank") is missing
rel="noopener noreferrer"; update that JSX element to include rel="noopener
noreferrer" (on the same Link component rendering the GitHub URL) to prevent
reverse-tabnabbing and match other instances in the codebase.
- Around line 62-66: The mapped JSX lists rendering
data.description[lang].map(...) and the other map at lines noted are missing
React key props; update both map callbacks (the one iterating
data.description[lang] and the other at lines 90–97) to return elements with a
stable key (e.g., use a unique identifier from the item if available or fallback
to the map index) so each <p> has a key prop; ensure the key is passed on the
returned element inside the map callback in page.tsx.
- Line 72: The Image component instance (Image with className={style.image}
src={data.imagesrc} width={200} height={200}) is missing an alt attribute and
causes the build to fail; add an alt prop (e.g., alt={data.alt} or
alt={data.title} or a meaningful string) or use alt="" if the image is purely
decorative so the JSX becomes Image ... alt={...} to satisfy
next/core-web-vitals linting.
🧹 Nitpick comments (1)
src/app/demo/Shirym-min/page.tsx (1)

25-40: Avoid re-running the animation on every render.

useEffect runs after every render without a dependency array, which replays the animation whenever state changes.

♻️ Suggested fix
-    useEffect(() => {
+    useEffect(() => {
         controls.start((i) => ({
             scale: 1,
             textShadow: [
                 "0 0 90px `#FFF`, 0 0 90px `#FFF`",
                 "0 0 3px `#FFF`, 0 0 3px `#FFF`",
                 "0 0 0 `#FFF`",
             ],
             opacity: [0, 1, 1],
             transition: {
                 ease: "easeOut",
                 duration: 2,
                 delay: i * 0.1,
             },
         }))
-    })
+    }, [controls]);

rotarymars and others added 2 commits February 2, 2026 19:00
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Fix all issues with AI agents
In `@src/app/demo/Shirym-min/page.tsx`:
- Around line 10-11: Replace the JSX-only comment token used at module scope
with a valid JavaScript comment: locate the module-level comment instance that
currently uses {/* モバイル対応は後で行う */} in the Shirym-min page module and change it
to either // モバイル対応は後で行う or /* モバイル対応は後で行う */ so the file-level comment is valid
outside JSX.
- Around line 25-40: The useEffect containing controls.start((i) => {...}) is
missing a dependency array causing the animation to restart on every render;
update the hook call for mount-only behavior by adding an empty dependency array
as the second argument to useEffect (i.e., useEffect(() => { controls.start(...)
}, [])) so the entrance animation runs only once on mount while keeping the
existing controls.start callback intact.

rotarymars and others added 2 commits February 2, 2026 20:36
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@rotarymars
Copy link
Member

とりあえずビルドだけしてプレビューを閲覧できるところまでは編集しました。確認してみてください。
https://kss-it-committee-github-io-git-featu-f775e8-rotarymars-projects.vercel.app/demo/Shirym-min

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@rotarymars
Copy link
Member

一度確認してみてください。

# Conflicts:
#	package-lock.json
#	package.json
#	src/app/demo/page.tsx
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@src/app/demo/Shirym-min/min.module.css`:
- Around line 19-28: The CSS file contains a stray duplicate declaration and an
extra closing brace after the .changelanguage rule; remove the orphaned
`white-space: nowrap;` line and the extra `}` so the .changelanguage block is
the only place defining whitespace and the stylesheet parses correctly. Target
the `.changelanguage` rule in min.module.css and ensure it ends with a single
closing brace and no duplicate declarations following it.

Looks like it messed up the package-lock.json at some time.
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@src/app/demo/Shirym-min/page.tsx`:
- Line 50: The alt text on the Image component has a typo ("Avater"); update the
alt prop on the Image element (Image with className={style.image} and
src={data.imagesrc}) to a correct, accessible string such as "GitHub avatar" or
"GitHub Avatar" to fix screen-reader text and improve accessibility.

@Shirym-min
Copy link
Contributor Author

Fixed Some Issues and Added New Features

Fixed

  • Fixed issue with display corruption in light mode.
  • Fixed bug when change language.

New Features

  • Mobile-Friendly
  • Removed animation

@Shirym-min
Copy link
Contributor Author

スクリーンショット 2026-02-04 21 27 19 スクリーンショット 2026-02-04 21 29 43

@Shirym-min
Copy link
Contributor Author

いくつかの問題を修正し、新機能を追加しました

修正

  • ライトモードで表示が崩れる問題を修正しました。
  • 言語を変更した際に発生するバグを修正しました。

新機能

  • モバイル対応
  • アニメーションを削除

@Shirym-min
Copy link
Contributor Author

そのほか

  • リモートとローカルの競合を解決しました。

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@src/app/demo/Shirym-min/page.tsx`:
- Around line 6-15: Remove the unused animation and dark-mode bits: delete the
imports useEffect, motion, and useAnimationControls from the top of the file and
remove the controls, isDarkMode, and setIsDarkMode declarations inside the
Shirymmin component; if you intend to add animation or dark-mode later, leave a
small comment or re-introduce useAnimationControls()/useState when used,
otherwise remove these symbols to clear lint warnings (target symbols:
useEffect, motion, useAnimationControls, controls, isDarkMode, setIsDarkMode,
Shirymmin).

@Shirym-min Shirym-min requested a review from rotarymars February 4, 2026 13:01
Copy link
Member

@rotarymars rotarymars left a comment

Choose a reason for hiding this comment

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

言語変換のときのバグも直っていて良い感じだと思います!

@K10-K10
Copy link
Contributor

K10-K10 commented Feb 5, 2026

Uploading Screenshot_20260205-032509.png …
コンテンツタイトルのプログラミング趣味の順序が逆だと思います

@Shirym-min
Copy link
Contributor Author

表示が入れ替わっていた問題を修正しました。

Copy link
Contributor

@hatuna-827 hatuna-827 left a comment

Choose a reason for hiding this comment

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

start review で送信されていると思っていました。遅くなってすみません。

Shirym-min and others added 2 commits February 9, 2026 13:48
Co-authored-by: hatuna-827 <hatuna827yadaka@gmail.com>
Co-authored-by: hatuna-827 <hatuna827yadaka@gmail.com>
@Shirym-min
Copy link
Contributor Author

ありがとうございます
commitしました

@Shirym-min
Copy link
Contributor Author

all done

@rotarymars
Copy link
Member

マージokです

@Shirym-min Shirym-min merged commit a8ff769 into main Feb 9, 2026
16 checks passed
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.

4 participants