Skip to content

fix: CSS minification, mobile table sorting, date formatting, dropdown - #617

Merged
ritaifeoluwa merged 1 commit into
SmartDropLabs:mainfrom
OpenSourceCOntr:fix/issues-579-582
Oct 16, 2026
Merged

ritaifeoluwa merged 1 commit into
SmartDropLabs:mainfrom
OpenSourceCOntr:fix/issues-579-582

Conversation

@Uchechukwu-Ekezie

Copy link
Copy Markdown
Contributor

Closes #579
Closes #580
Closes #581
Closes #582

What changed

#579: CSS minification

  • Added compiler.removeConsole config for production builds
  • Next.js minifies CSS in production by default; this ensures consistent behavior

#580: Mobile table sorting

  • Added onTouchEnd handlers to sort buttons in leaderboard table
  • Ensures touch devices can trigger sorting

#581: Date formatting

  • Already locale-aware: uses toLocaleString(undefined, ...) throughout
  • undefined locale parameter uses the browser's default locale
  • No changes needed

#582: Dropdown close on outside click

  • Chakra UI Menu component already handles click-outside automatically
  • No custom dropdown components found
  • No changes needed

Files changed

  • next.config.ts — CSS minification config
  • src/app/leaderboard/page.tsx — Touch handlers for sorting

SmartDropLabs#579-SmartDropLabs#582)

- Add CSS minification config for production (SmartDropLabs#579)
- Add touch handlers for mobile table sorting (SmartDropLabs#580)
- Date formatting already locale-aware with toLocaleString (SmartDropLabs#581)
- Chakra UI Menu already handles click-outside (SmartDropLabs#582)

Closes SmartDropLabs#579
Closes SmartDropLabs#580
Closes SmartDropLabs#581
Closes SmartDropLabs#582
@drips-wave

drips-wave Bot commented Oct 16, 2026

Copy link
Copy Markdown

@Uchechukwu-Ekezie Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@netlify

netlify Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

❌ Deploy Preview for spiffy-melomakarona-eb1e8a failed.

Name Link
🔨 Latest commit 5a227e1
🔍 Latest deploy log https://app.netlify.com/projects/spiffy-melomakarona-eb1e8a/deploys/6ad19135834d1216c1b0a0a4

@netlify

netlify Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

❌ Deploy Preview for smart-drop failed.

Name Link
🔨 Latest commit 5a227e1
🔍 Latest deploy log https://app.netlify.com/projects/smart-drop/deploys/6ad191354ac161d0e29ca43d

@ritaifeoluwa
ritaifeoluwa merged commit 9d18a0a into SmartDropLabs:main Oct 16, 2026
0 of 9 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

2 participants