Skip to content

Conversation

@TobiTenno
Copy link
Member

@TobiTenno TobiTenno commented Sep 4, 2025

Warframe Drop Data Site Pull Request


What I did:
hide the scrollbar


Why I did it:
cause it's uggo


Fixes issue (include link):
the scrollbar was uggo


Mockups, screenshots, evidence:


Was this an issue fix or a suggestion fulfillment?

Summary by CodeRabbit

  • Style

    • Hid vertical scrollbars in content sections while preserving scroll behavior, providing a cleaner appearance across supported browsers.
  • Chores

    • Upgraded development tooling and linting packages, removed an obsolete dependency, and raised Node/NPM engine requirements.
    • Refreshed internal metadata timestamps; no impact on user-facing functionality.

@coderabbitai
Copy link

coderabbitai bot commented Sep 4, 2025

Walkthrough

Updated a timestamp in data/info.json, upgraded multiple devDependencies and engine constraints (and removed node-fetch) in package.json, and added scrollbar-width: none to .content in site/styles/common.css.

Changes

Cohort / File(s) Summary
Metadata update
data/info.json
Updated the timestamp value (ts) from 1756225321669 to 1756960595666; other fields (including hash and modified) unchanged.
Dev dependency & engines updates
package.json
Bumped many devDependencies (Babel packages, @commitlint/*, cheerio, eslint-plugin-import, lint-staged, etc.), removed node-fetch from devDependencies, and raised engines constraints (node to >=22.19.0, npm to >=10.9.3). No public API or scripts changed.
CSS tweak
site/styles/common.css
Added scrollbar-width: none to the .content selector to hide the scrollbar while preserving vertical scrolling (overflow-y: scroll).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

I nudged the clock with gentle paws,
Trimmed dev deps, removed a fetch's claws.
A quiet pane where scrollbars hide,
Yet pages glide on silent tide.
Thump-thump—small hops, a tidy stride. 🐇✨

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch scrollbar-width

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@TobiTenno TobiTenno enabled auto-merge (squash) September 4, 2025 04:40
Copy link

@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

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between f386945 and 4f14f02.

📒 Files selected for processing (3)
  • data/info.json (1 hunks)
  • package.json (1 hunks)
  • site/styles/common.css (1 hunks)
🔇 Additional comments (1)
data/info.json (1)

1-1: Confirm timestamp semantics to avoid noisy diffs.

Hash unchanged but timestamp advanced. If timestamp drives “Last updated” UI without content change, that’s fine; otherwise consider updating only when data changes to reduce churn.

Copy link

@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: 0

🧹 Nitpick comments (1)
package.json (1)

39-40: Relax engines to a realistic LTS floor; 22.19.0 is likely unnecessarily high.

Pinning to Node ≥22.19.0 will exclude contributors/CI on Node 20 LTS without providing clear benefit. Given your toolchain, suggest using Node ≥20.17 (meets lint-staged v16.x) and a less specific npm floor. If you need “stable fetch” from core, require Node ≥21 explicitly; otherwise Node 20 LTS is sufficient (native fetch is stable from Node 21, and earlier 18.x had it before stabilization). (github.com, devclass.com)

Apply:

   "engines": {
-    "node": ">=22.19.0",
-    "npm": ">=10.9.3"
+    "node": ">=20.17.0",
+    "npm": ">=10"
   }

Confirm your CI/workflows actually run Node ≥20.17 before merging (see script above).

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 4f14f02 and cb88bc4.

📒 Files selected for processing (1)
  • package.json (1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: TobiTenno
PR: WFCD/warframe-drop-data#91
File: site/styles/common.css:34-35
Timestamp: 2025-09-04T05:24:13.137Z
Learning: TobiTenno prefers simple CSS solutions over cross-browser compatibility and explicitly dislikes supporting IE. They are okay with Firefox-specific CSS properties like `scrollbar-width: none;` even if it doesn't work in Chromium-based browsers.
🔇 Additional comments (1)
package.json (1)

20-27: The above script will list and inspect all CI workflow files, Dockerfiles, and the project’s Node version manager file to confirm that Node ≥20 is enforced across all relevant configs.

@TobiTenno TobiTenno merged commit b58efae into main Sep 4, 2025
2 checks passed
@TobiTenno TobiTenno deleted the scrollbar-width branch September 4, 2025 10:01
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