Skip to content

Some Polishing#63

Merged
creatorcluster merged 6 commits into
creatorcluster:mainfrom
Coder-soft:main
Jul 7, 2026
Merged

Some Polishing#63
creatorcluster merged 6 commits into
creatorcluster:mainfrom
Coder-soft:main

Conversation

@Coder-soft

@Coder-soft Coder-soft commented Jul 7, 2026

Copy link
Copy Markdown

Summary by CodeRabbit

  • New Features

    • Added a new promotional popup in the resources area.
    • Expanded font support for a Minecraft-style typeface across the site.
    • Animation previews now play directly without requiring hover.
  • Bug Fixes

    • Removed the “Hover to Play Videos” preference and related saved setting, simplifying account preferences.
  • Documentation

    • Refreshed the README with a shorter overview, updated links, and a cleaner tools/resources layout.

@vercel

vercel Bot commented Jul 7, 2026

Copy link
Copy Markdown

@Coder-soft is attempting to deploy a commit to the yamura3's projects Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 4078bf5a-8e52-46de-a4cc-cbf4590247a2

📥 Commits

Reviewing files that changed from the base of the PR and between da93e41 and afc7620.

⛔ Files ignored due to path filters (2)
  • public/VERT_Screencast_20260705_160503.gif is excluded by !**/*.gif
  • public/modrinth.svg is excluded by !**/*.svg
📒 Files selected for processing (7)
  • README.md
  • index.html
  • src/components/resources/GreenVoidPopup.tsx
  • src/components/resources/ResourceCard.tsx
  • src/pages/Account.tsx
  • src/pages/ResourcesHub.tsx
  • tailwind.config.ts

📝 Walkthrough

Walkthrough

This PR adds a new GreenVoidPopup dialog component wired into ResourcesHub, removes hover-to-play behavior and its localStorage-backed state/UI from ResourceCard and Account, adds a minecraft font stylesheet link and Tailwind font-family entry, and rewrites README.md into a condensed format.

Changes

Green Void Popup and hover-to-play removal

Layer / File(s) Summary
GreenVoidPopup component and dismissal logic
src/components/resources/GreenVoidPopup.tsx
New default-exported component conditionally opens a dialog based on two localStorage flags and persists dismissal on close.
Wiring GreenVoidPopup into ResourcesHub
src/pages/ResourcesHub.tsx
Imports and renders GreenVoidPopup after MinecraftChangelogPopup.
Remove hover-to-play behavior from ResourceCard
src/components/resources/ResourceCard.tsx
Removes isHovered state, hoverToPlay localStorage init, hover handlers, and the hover-gated animations preview branch.
Remove hover-to-play preference from Account
src/pages/Account.tsx
Removes Switch/IconVideo imports, hoverToPlay state, and the "Hover to Play Videos" toggle UI with its localStorage/toast logic.

Minecraft font and README rewrite

Layer / File(s) Summary
Minecraft font stylesheet and Tailwind config
index.html, tailwind.config.ts
Adds a minecraft-3 font stylesheet link and a corresponding minecraft font-family entry.
README rewrite
README.md
Replaces the prior marketing-style README with a condensed layout covering Tools, Assets, Links, and Tech.

Estimated code review effort: 2 (Simple) | ~12 minutes

Possibly related PRs

Poem

A hop, a skip, hover fades away,
Green Void whispers, "come out and play!"
Minecraft fonts now dress the page,
README trimmed, a lighter stage.
🐇✨ carrots for clean code today!

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@greptile-apps

greptile-apps Bot commented Jul 7, 2026

Copy link
Copy Markdown

Greptile Summary

This PR polishes the resources experience and project metadata. The main changes are:

  • Simplified README content and links.
  • Added a Green Void shader popup with new GIF and Modrinth assets.
  • Removed the hover-to-play preference and always renders animation previews in view.
  • Added a Minecraft font stylesheet and Tailwind font family.

Confidence Score: 5/5

This looks mergeable after small cleanup to the popup sequencing and animation preview preference behavior.

  • The new popup and asset imports follow existing app patterns.
  • The Green Void announcement can be delayed for first-time visitors after they dismiss the prerequisite popup.
  • Animation previews now ignore a previously saved playback opt-out.

src/components/resources/GreenVoidPopup.tsx, src/components/resources/ResourceCard.tsx

Important Files Changed

Filename Overview
src/components/resources/GreenVoidPopup.tsx Adds the Green Void announcement dialog, but its localStorage gate can defer the popup until a later remount.
src/components/resources/ResourceCard.tsx Changes animation cards to render autoplaying previews once in view and removes the hover preference gate.
src/pages/Account.tsx Removes the Hover to Play Videos preference UI and related state.
src/pages/ResourcesHub.tsx Mounts the new Green Void popup alongside the existing Minecraft changelog popup.
index.html Adds the external Minecraft font stylesheet.
tailwind.config.ts Adds the minecraft font family key used by the new popup.

Comments Outside Diff (1)

  1. src/components/resources/ResourceCard.tsx, line 205-218 (link)

    P2 Stored Playback Opt-Out Ignored

    Animation cards now mount an autoplaying muted video as soon as they enter view, even for users who previously saved hoverToPlay=false. Since the Account toggle was removed too, those users lose the only opt-out and can get unexpected motion and video fetches while scrolling the resource grid.

Reviews (1): Last reviewed commit: "Update tool descriptions in README.md" | Re-trigger Greptile

Comment on lines +18 to +20
if (!greenVoidDismissed && mcPlaylistDismissed) {
setOpen(true);
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Prerequisite Dismissal Is Stale

For a first-time ResourcesHub visitor, the Minecraft popup opens while mcPlaylistDismissed is still absent, so this condition keeps Green Void closed. Dismissing the Minecraft popup in the same session updates localStorage, but this effect does not run again, so the new Green Void announcement is skipped until a later remount.

@creatorcluster creatorcluster merged commit 8447899 into creatorcluster:main Jul 7, 2026
1 of 4 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.

2 participants