Commit Graph

11 Commits

Author SHA1 Message Date
mukimovd
9d24f47e68 Serve demo content from a separate JSON file for easier data management
Implements JsonStorage class to load and manage sample data from sampleData.json, replacing MemStorage.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cbacfb18-842a-4116-a907-18c0105ad8ec
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/3575e342-a373-4351-a35e-5c684b14fd0f.jpg
2025-05-08 00:05:04 +00:00
mukimovd
5431f751fa Serve sample data from a dedicated JSON file instead of memory
Refactors `MemStorage` to read initial data from `data/sampleData.json` and creates `Translation` entries directly.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cbacfb18-842a-4116-a907-18c0105ad8ec
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/eb989528-3752-4578-8a9b-855b9310e0d3.jpg
2025-05-08 00:02:50 +00:00
mukimovd
f9db5f9a74 Show available translations to allow users to select a secondary language
Adds translation options to SimpleWorkReading and seed translations in storage.ts.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cbacfb18-842a-4116-a907-18c0105ad8ec
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/14db3b3e-24d2-4071-aaf1-9c1dcb22c2d7.jpg
2025-05-07 23:58:09 +00:00
mukimovd
9bd6071451 Populate database with richer user profiles and expanded literary data
Seeds the database with user roles, author bios, and translation descriptions.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cbacfb18-842a-4116-a907-18c0105ad8ec
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/3006cc85-785c-44b7-b08e-1a53835d9139.jpg
2025-05-01 23:46:57 +00:00
mukimovd
7b8519f768 Ensure blog posts and tags are correctly linked when the site initially loads
Refactors MemStorage to directly create BlogPost objects and explicitly manage tag relationships for proper initial data loading.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cbacfb18-842a-4116-a907-18c0105ad8ec
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/fd5143c4-e876-4e0a-b046-bf6a49323077.jpg
2025-05-01 03:54:50 +00:00
mukimovd
1e4ca9b72e Improve the platform by adding more helpful internal logging messages
Adds console.log statements to improve debugging and track data flow in storage.ts.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cbacfb18-842a-4116-a907-18c0105ad8ec
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/fd5143c4-e876-4e0a-b046-bf6a49323077.jpg
2025-05-01 03:52:01 +00:00
mukimovd
a6d53a2e93 Show blog post comments and tags when users view blog post pages
Adds logging for blog post comments and tags in server/routes.ts and sets workId, translationId, and lineNumber to null in a comment in server/storage.ts.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cbacfb18-842a-4116-a907-18c0105ad8ec
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/e488806c-29f3-4e0d-845a-fc3319b866d8.jpg
2025-05-01 03:48:41 +00:00
mukimovd
3cb048ea9e Enable discussions on various content types and enhance user engagement
Refactors comment storage to support generic entities using entityType and entityId fields in storage.ts and schema.ts.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cbacfb18-842a-4116-a907-18c0105ad8ec
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/079d6656-1153-4bbe-8f09-2e865c68b583.jpg
2025-05-01 03:46:09 +00:00
mukimovd
bfbc4c336e Add comments and tags to blog posts and display user info on comments
Implements blog post commenting and tagging functionality, and retrieves user information for displaying comments.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cbacfb18-842a-4116-a907-18c0105ad8ec
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/ecd8ef89-4efc-4907-bb4c-b74a23ed7e4a.jpg
2025-05-01 03:43:32 +00:00
mukimovd
78d07df844 Enhance blog posts with author info, comments, likes, and tags
Improves blog post API endpoints to fetch author details, comment/like counts, and tags using storage methods.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cbacfb18-842a-4116-a907-18c0105ad8ec
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/809eda1d-d63f-4926-be8e-d300221b59bf.jpg
2025-05-01 03:40:07 +00:00
mukimovd
024e5d0ef5 Introduce the core functionality and basic structure of the platform
Sets up the project with initial files, components, routes, and UI elements.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cbacfb18-842a-4116-a907-18c0105ad8ec
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/affc56b0-365e-4ece-9cba-9e70bbbf0893.jpg
2025-05-01 03:05:33 +00:00