-
-
Notifications
You must be signed in to change notification settings - Fork 0
Release v0.4.0 #174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release v0.4.0 #174
Conversation
Merge pull request #98 from DevLoversTeam/develop
…d cart rehydrate price contract
…ation to products.ts
…nor as safe integer in cart rehydrate
fix: prevent DB blowups in pricing (USD mirror + product_prices) and enforce PRICE_CONFIG_ERROR, stabilize product pricing validation, multi-currency storage, an…
(SP: 1) [Database] Optimize Neon usage to reduce CU-hours
• Quiz performance: - Eliminate N+1 queries in getQuizQuestions by batch-loading answers - Optimize submitQuizAttempt with inArray-based batch verification - Reduce quiz page load from 21 queries to 2 - Add seed to randomizeQuizQuestions for stable randomization - Handle empty answers array and validate answer–question matching • Points system refactor (ledger-only): - Migrate to ledger-based points model (point_transactions as source of truth) - Remove users.points column and db.transaction() usage (neon-http compatible) - Store full attempt score in quiz_attempts.pointsEarned - Award only delta vs previous best attempt - Compute total points via SUM(point_transactions.points) - Optimize previous best lookup using MAX(pointsEarned) • Quiz content & seeding: - Add seed scripts for HTML, CSS, Git, JavaScript, TypeScript quizzes - Introduce advanced and fundamentals quiz trackse • UI & logic fixes: - Add pointsAwarded prop to QuizResult - Show "+N points added" or "no points (result not improved)" - Fix Dashboard to rely on ledger total • Leaderboard & DB performance: - Update leaderboard queries to LEFT JOIN + GROUP BY + SUM - Add index for point_transactions (user_id) - Apply drizzle migrations and snapshots Benefits: - Faster quiz loads and lower DB pressure - Neon-compatible (no transactions)
…ory ledger, idempotency, and orphan cleanup
…v vars are missing (SP: 1) [Backend] Add Vitest coverage for Orders IDOR access control (/api/shop/orders/[id])
…pected 4xx error logs; remove cart console.error
…ONFIG vs PRICE_DATA errors
…s INVALID_SIGNATURE) and validate end-to-end payment flow
…erification and persist mismatch diagnostics (pspStatusReason/pspMetadata)
…DATE…RETURNING (set status=PAID)
…mpotency for failed/refunded
…ipe webhook (idempotent) + add coverage tests
- Add translations for login/signup pages (uk/en/pl) - Implement dashboard i18n with stats and activity - Add contacts page translations
(SP: 0.5) [Frontend] Logo icons svg
(SP: 2) [Frontend] Q&A UI refresh
(SP: 1) [Frontend] Fix UI Q&A spacing, accordion borders, and button backgrounds
fix(qa): fixed api query
- Add Privacy Policy translations (uk/en/pl) - Add Terms & Conditions translations (uk/en/pl) - Create /privacy and /terms pages with proper i18n routing - Add legal pages navigation links - Ensure GDPR compliance across all language versions
feat(i18n): add privacy policy and terms translations
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 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. Comment |
✅ Deploy Preview for devlovers ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for develop-devlovers ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Release v0.4.0 - Auth, i18n & Platform Maturity
This release represents a major step toward a production-ready platform.
Highlights
This release focuses on stability, security, and long-term maintainability.