You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Need of fixing trending sort crash and dark mode UI #23
The issue occurs because aggregation expressions were being passed directly into Mongoose .sort(), which only supports field-based sorting.
Additionally, some text on the Ask Question page had low visibility in dark mode.
Proposed Fix
Replace invalid $expr sort usage with valid field-based sorting
Improve subtitle/readability styling in dark mode
Minor UI polish for better user experience
Tested
Questions page loads correctly
Trending filter no longer crashes
Dark mode subtitle visibility improved
Authentication and question flow still work properly
Hi @Ashmita1206, I would like to work on this issue.
I have already identified the root cause and tested a fix locally.
Could you please assign this issue to me?
Hi @Ashmita1206 I would like to work on this issue under GSSoC'26. I’ve reviewed the issue and identified that the trending sort logic and dark mode styling both need fixes. I plan to:
resolve the invalid sorting behavior safely
improve dark mode readability/contrast
ensure the existing question flow remains stable
I’ll test the changes locally before submitting a PR.
Can you please assign this issue to me if possible.
Thank you!
Activity
vd77-1 commentedon May 21, 2026
Hi @Ashmita1206, I would like to work on this issue.
I have already identified the root cause and tested a fix locally.
Could you please assign this issue to me?
[-]Fix trending sort crash and improve dark mode UI[/-][+]Need of fixing trending sort crash and dark mode UI[/+]Surbhi10052007 commentedon May 22, 2026
Hi @maintainer
I would like to work on this bug under GSSoC'26.
I plan to:
Please assign this issue to me
Thank you!
Akshat-Neeraj commentedon May 26, 2026
Hi @Ashmita1206 I would like to work on this issue under GSSoC'26. I’ve reviewed the issue and identified that the trending sort logic and dark mode styling both need fixes. I plan to:
I’ll test the changes locally before submitting a PR.
Can you please assign this issue to me if possible.
Thank you!