Commit Graph

43 Commits

Author SHA1 Message Date
mukimovd
5fe41c1b1d Implement a simple notification system for important updates and messages
Refactors Toast component to a simpler, functional implementation using useState, useEffect, and createPortal.

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/424807ac-864a-4f04-9919-0e483ee2b3ff.jpg
2025-05-08 00:34:08 +00:00
mukimovd
74939a2c07 Introduce editorial dashboard for managing literary content
Adds dashboard pages for managing blogs and accesses, and refactors the useToast hook.

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/c4c7f30b-90bf-4c82-974e-31ed5fe959b1.jpg
2025-05-08 00:32:26 +00:00
mukimovd
1f9dc81441 Create a central hub for managing content and accessing administrative tools
Implement the dashboard layout and authentication hook with permission checks.

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/7a432344-d046-4d11-943a-89466ae66121.jpg
2025-05-08 00:26:41 +00:00
mukimovd
d67963de51 Add capabilities to store and retrieve user content and analysis data
Implements data access methods for analysis results and annotations in JsonStorage, including get, filter, and create operations.

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/80f57837-9ae3-42b7-8c9f-0582d861d96f.jpg
2025-05-08 00:21:06 +00:00
mukimovd
fc3a941647 Enable analysis and annotation features for literary works on the platform
Implements new API routes in `server/routes.ts` for fetching, creating, and retrieving analysis results and annotations, including user enrichment.

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/15578bf6-749f-46f9-89a4-2849cb59c0ac.jpg
2025-05-08 00:20:04 +00:00
mukimovd
085270ea6f Add methods to retrieve and store analysis results and annotations
Implement new methods in storage.ts to manage analysis results and annotations.

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/88f93614-9963-4c58-9597-c6404ee3b576.jpg
2025-05-08 00:18:18 +00:00
mukimovd
14a42223a8 Add ability to analyze content and create personal reading notes
Implements analysis result and annotation methods with in-memory storage for managing work analysis and user annotations.

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/6727ab9c-0666-4f48-a09c-58761e6a20ea.jpg
2025-05-08 00:16:22 +00:00
mukimovd
07e354075e Populate the platform with sample literary data and analysis features
Adds sample author data, text content, analysis results and annotation entities to JSON storage.

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/32264298-034a-445f-8b51-86b6180c466c.jpg
2025-05-08 00:13:10 +00:00
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
8b07e241dd Add visual representation clarifying the absence of a second language option
Include screenshot demonstrating current lack of UI/UX for second language selection.

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/e1bfcf42-5e67-4a79-a796-fd7cdeda2f0a.jpg
2025-05-07 23:56:20 +00:00
mukimovd
ccd24ed024 Improve the way users filter content on author profile pages for better results
Sets default "all" values for the filter selects on the AuthorProfile component.

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/c4c9ed1a-33f0-46ef-92eb-ae1545d4531d.jpg
2025-05-07 23:51:32 +00:00
mukimovd
fe7ce0bca1 Refine the look and feel of the homepage call to action section
Updates the background and text colors, and button styles in Home.tsx using Tailwind CSS.

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/be264e36-0f0b-466e-85b6-5d251af4aa37.jpg
2025-05-07 23:49:18 +00:00
mukimovd
218c8ff1c1 Keep author sorting options visible while authors are loading on the page
Wrap Tabs component in a div to maintain its width in Authors.tsx during 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/94b44ce2-af2e-4b59-bb9d-f8907a9baca2.jpg
2025-05-02 00:25:00 +00:00
mukimovd
3a93337390 Enhance the authors section with detailed profiles and advanced filters
Refactors AuthorProfile and Authors pages, adding filtering, sorting, and enhanced UI elements using React, Next.js, and Tailwind CSS.

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/bb94b475-7ab4-497f-a614-222c81e2c48e.jpg
2025-05-02 00:21:03 +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
1156b1b171 Enhance text reading experience with new display and analysis features
Implements dark mode, font size adjustment, linguistic analysis tab, and enhanced view modes in SimpleWorkReading.tsx.

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/f2be0b84-7f59-4eb8-b9d0-aa5e90b8b093.jpg
2025-05-01 23:34:44 +00:00
mukimovd
a67e7fc530 Implement a simpler interface for reading and interacting with literary works
Replaces NewWorkReading with SimpleWorkReading, offering an enhanced user experience for reading works and translations.

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/1f76b9e3-7e1d-40a8-9d9d-b6b05841a7de.jpg
2025-05-01 23:11:55 +00:00
mukimovd
7acaa3c393 Improve how the text is displayed and managed on the reading page
Refactors page navigation and enhances data processing in `NewWorkReading.tsx` to prevent re-renders and ensure type safety.

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/7a2b685c-be08-4ee5-b1e9-5d3d68ea9c89.jpg
2025-05-01 23:09:14 +00:00
mukimovd
1d35cf4e58 Revamp reading experience with enhanced text views and AI analysis
Replaces WorkReading page with NewWorkReading page, adds Anthropic AI SDK, and implements new UI components.

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/4e478433-0dfc-490c-b4d2-644c52972301.jpg
2025-05-01 23:06:21 +00:00
mukimovd
5b2f2869ae Provide a user-friendly page to find literary works and authors quickly
Implements a new `/search` page with search bar and filters, using `react-query` to fetch and display results for works and authors.

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/e42e7a4c-9018-4b11-b9fe-49652fbf9978.jpg
2025-05-01 22:58:05 +00:00
mukimovd
ddbaba72db Improve the visual theme of the homepage to align with overall design
Updates Tailwind CSS classes in Home.tsx to use semantic primary/accent colors.

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/d8e7470c-93eb-4390-9042-6b3562a59bc2.jpg
2025-05-01 22:50:34 +00:00
mukimovd
0f2384b05b Enable users to change the website's appearance based on the four seasons
Implements seasonal themes using CSS variables, a SeasonProvider, and a SeasonSelector component, storing user preferences in local storage.

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/5cf2d5fa-a53c-49bf-9d66-cc5f8c3a3659.jpg
2025-05-01 22:46:36 +00:00
mukimovd
427ac70c27 Enhance the navigation header appearance using Tailwind CSS theme
Removes custom theme styles and applies Tailwind CSS theme classes to NavHeader.

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/a5b1f5ac-8eda-45e5-b094-ec4681f669ee.jpg
2025-05-01 22:38:48 +00:00
mukimovd
1ea6cec608 Implement a central theme to ensure a consistent look and feel across site
Adds theme file and applies it to the navigation header and home page.

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/3d8b969a-14be-44e3-8741-9c8bb93efcb4.jpg
2025-05-01 22:33:50 +00:00
mukimovd
4fb9ba3751 Refine the site's color scheme to align with the established design principles
Updates the CSS variables and NavHeader component to use a darker color palette.

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/7b06014c-8839-481c-adbf-6d13eb92fa3a.jpg
2025-05-01 22:28:00 +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
987af7c0e7 Add a dedicated blog section to share articles and engage with readers
Implements blog listing, detail, and creation pages with necessary components and types.

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/10041482-d9af-42cb-9c5d-d331b0904c5e.jpg
2025-05-01 03:37:15 +00:00
mukimovd
64fd506bdc Add blog feature for sharing articles and engaging with literary content
Implements BlogList, BlogDetail, and BlogCreate components with corresponding types and API integrations.

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/ef0e7cfe-4f63-478f-9d08-4bb22d0da15e.jpg
2025-05-01 03:34:53 +00:00
mukimovd
73c88cc6aa Improve language selection and reading experience for translated works
Enhance the language selection UI and reading view to support multiple translations using i18n features.

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/32087fef-c332-4acc-a7da-d0e55b5b0716.jpg
2025-05-01 03:26:26 +00:00
mukimovd
fc244419be Improve how literary works are displayed and add annotation support
Refactors EnhancedReadingView to handle optional tags, updates apiRequest to return a generic type, and introduces the Annotation type.

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/87f6d858-e481-4210-ae2d-1b5aa7299a3e.jpg
2025-05-01 03:21:57 +00:00
mukimovd
04619aa3cb Enhance reading experience with annotations, controls, and mobile support
Refactors WorkReading page to use EnhancedReadingView with annotation system, reading controls, translation selection, and mobile-friendly UI.

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/26a2d04a-2208-438a-9cf2-8cd6f3d3fc29.jpg
2025-05-01 03:19:09 +00:00
mukimovd
83af0535b1 Enable users to create and curate collections of literary works
Adds a CreateCollection page and updates AuthorChip to handle undefined authors.

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/731c56eb-65e0-4371-be89-8dc1c601d077.jpg
2025-05-01 03:12:48 +00:00
mukimovd
41b9e8f404 Improve the display of publication year filtering options for easier navigation
Updates SelectItem values in FilterSidebar.tsx and adds associated images.

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/ee47ec97-39c8-48a2-b93a-f5600b5ba30f.jpg
2025-05-01 03:08:23 +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
mukimovd
8a1fd1701f Initial checkpoint
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cbacfb18-842a-4116-a907-18c0105ad8ec
2025-05-01 02:38:33 +00:00
mukimovd
6db396307d Initial commit 2025-05-01 02:38:33 +00:00