Skip to content

Update deps, improve perf/A11y/SEO and resolve errors#54

Merged
overtrue merged 5 commits intorustfs:mainfrom
nakrovati:refactor/update-deps-and-improve-perf
Apr 4, 2026
Merged

Update deps, improve perf/A11y/SEO and resolve errors#54
overtrue merged 5 commits intorustfs:mainfrom
nakrovati:refactor/update-deps-and-improve-perf

Conversation

@nakrovati
Copy link
Copy Markdown
Contributor

  1. Update deps
  2. Remove @heroicons/react - it's not being used
  3. Lazy-load images and reduce the resolution of avatars
  4. Improve a11y/SEO
  5. Resolve TailwindCSS and Eslint errors

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 3, 2026

@nakrovati is attempting to deploy a commit to the overtrue's projects Team on Vercel.

A member of the Team first needs to authorize it.

@nakrovati nakrovati force-pushed the refactor/update-deps-and-improve-perf branch from 58c571d to 359c726 Compare April 3, 2026 21:32
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 58c571d93d

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

export default function LinkTwitter({ className, size = 'size-4' }: { className?: string | string[], size?: string }) {
return (
<Link className={cn('inline-block text-muted-foreground hover:text-primary', className)} href="https://x.com/rustfsofficial">
<Link className={cn('inline-block text-muted-foreground hover:text-primary', className)} href="https://x.com/rustfsofficial" aria-label="RustFS Twitter" target="_blank">
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 Badge Add rel safeguards for new external tab link

This link now uses target="_blank" but does not set rel="noopener noreferrer", which allows the external page to access window.opener and potentially navigate the original tab. Because this change explicitly introduced opening x.com in a new tab, the missing rel is a newly introduced security regression for users clicking the Twitter link.

Useful? React with 👍 / 👎.

<div
className={cn(
"absolute inset-0 mx-auto aspect-[1/1] w-full max-w-[600px]",
"absolute inset-0 mx-auto aspect-squarwe w-full max-w-[600px]",
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 Badge Use a valid Tailwind aspect class for globe wrapper

The class name aspect-squarwe is not a valid Tailwind utility, so the container no longer gets an aspect-ratio rule. This removes the square constraint that previously ensured consistent globe sizing and can lead to stretched or unstable canvas dimensions depending on parent layout. Replacing it with aspect-square (or the previous aspect-[1/1]) restores intended rendering.

Useful? React with 👍 / 👎.

@overtrue overtrue merged commit 933a8ea into rustfs:main Apr 4, 2026
1 check failed
@nakrovati nakrovati deleted the refactor/update-deps-and-improve-perf branch April 4, 2026 11:54
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