Commit Graph

68 Commits

Author SHA1 Message Date
google-labs-jules[bot]
ea15477b86 feat: Fix TypeScript errors and improve type safety
This commit addresses 275 TypeScript compilation errors and improves type safety, code quality, and maintainability across the frontend codebase.

The following issues have been resolved:
- Standardized `translationId` to `number`
- Fixed missing properties on annotation types
- Resolved `tags` type mismatch
- Corrected `country` type mismatch
- Addressed date vs. string mismatches
- Fixed variable hoisting issues
- Improved server-side type safety
- Added missing null/undefined checks
- Fixed arithmetic operations on non-numbers
- Resolved `RefObject` type issues

Note: I was unable to verify the frontend changes due to local setup issues with the development server. The server would not start, and I was unable to run the Playwright tests.
2025-11-27 17:48:31 +00:00
Damir Mukimov
c940582efe
feat: Add GitHub Actions workflows for frontend CI/CD (#5)
* feat: Add GitHub Actions workflows for frontend CI/CD

- Add lint.yml: TypeScript and ESLint checks
- Add build.yml: Vite application build pipeline
- Add docker-build.yml: Multi-arch container image builds
- Add deploy.yml: Production deployment to Docker Swarm
- Add dependabot.yml: Automated dependency updates

Follows Single Responsibility Principle with focused workflows.
Includes security best practices, caching, and deployment automation.

* fix: Add missing Dockerfile and lint script for CI/CD workflows

- Add Dockerfile for multi-stage Node.js build with production optimizations
- Add lint script to package.json that runs TypeScript type checking
- Enable health check endpoint in Docker container
- Configure proper user permissions and security practices

Fixes docker-build workflow failures and enables complete CI/CD pipeline.

* fix: Enable Corepack for Yarn 4.x compatibility in Docker build

- Enable Corepack in Dockerfile to support packageManager field
- Fix lint script to use TypeScript checking instead of invalid yarn check
- Remove manual yarn installation from Dockerfile since Corepack handles it

* fix: Enable Corepack in CI workflows to resolve Yarn version conflicts

* chore: Update to latest GitHub Actions versions

- Update actions/checkout to v6
- Update actions/setup-node to v6
- Update actions/upload-artifact to v5
- Update Node.js to version 22 (Active LTS)
- Update Docker base images to node:22-alpine

* Fix Corepack/Yarn caching issue in CI workflows

- Remove cache: yarn from setup-node action to prevent yarn usage before corepack enable
- Enable corepack immediately after Node.js setup
- Add manual yarn caching using actions/cache@v4 with proper cache directory path
- This resolves the packageManager field conflict in CI

* Fix BlogEdit.tsx import and component issues

- Fix import path from @/api/blog-api to @/lib/api/blog-api
- Replace TagManager component with simple tag input since BlogEdit uses plain state
- Remove unused handleTagsChange function
- This resolves the build error where blog-api file was not found

* Fix Yarn 4.x deprecated commands in Dockerfile

- Replace --frozen-lockfile with --immutable in builder stage
- Replace --frozen-lockfile --production with --immutable + autoclean in production stage
- This resolves the Yarn 4.9.0 deprecation warnings and build failures

* fix: optimize Dockerfile to use Yarn PnP instead of node-modules

- Use Yarn Plug'n'Play (PnP) for faster installs and smaller image size
- Keep .yarnrc.yml configuration instead of overriding it
- Copy PnP files (.pnp.cjs, .pnp.loader.mjs, .yarn cache) to production stage
- Use yarn workspaces focus --production for production dependencies
- Corepack manages Yarn version while PnP handles dependency resolution

* fix: correct CI/CD workflow issues

- Fix lint.yml to use 'yarn check' instead of 'yarn lint' (ESLint not configured)
- Fix Dockerfile to use 'yarn install --production' for single package repo
- Update workflow name to reflect actual functionality
2025-11-27 06:58:03 +01:00
Damir Mukimov
4a23f496fa
Major frontend development updates
- Enhanced annotation system with improved inline editing
- Updated author components with new card and header designs
- Improved reading view with enhanced line numbering and controls
- Added new blog management features and tag management
- Updated UI components with improved accessibility and styling
- Enhanced search functionality with better filtering
- Added new dashboard features and activity feeds
- Improved translation selector and work comparison tools
- Updated GraphQL integration and API hooks
- Enhanced responsive design and mobile experience
2025-11-27 03:44:09 +01:00
mukimovd
eb59f87f30 Complete author information section with interactive elements and details
Implement AuthorHeader component with detailed information, tabs, and actions.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: bddfbb2b-6d6b-457b-b18c-05792cdaa035
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/464a047c-0c12-4427-8126-e4967fcf89ce.jpg
2025-05-10 22:02:40 +00:00
mukimovd
37eaf09120 Update component implementation document to reflect current project state
Updates the COMPONENT-IMPLEMENTATION-TRACKER.md file to reflect accurate component statuses and file paths.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: bddfbb2b-6d6b-457b-b18c-05792cdaa035
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/471b78ae-f1c4-48c0-b482-9e0163e9a44a.jpg
2025-05-10 21:57:25 +00:00
mukimovd
9bc163b285 Revert tag input and text editor; Adjust work editor form field controls
Reverted tag input and text editor, and added type assertion to `form.control` and disabled text editor if `readOnly` or `isLoading` in `work-editor.tsx`.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: bddfbb2b-6d6b-457b-b18c-05792cdaa035
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/471b78ae-f1c4-48c0-b482-9e0163e9a44a.jpg
2025-05-10 21:54:39 +00:00
mukimovd
47743e62cc Enable users to create and modify literary works with metadata and content
Implements the WorkEditor component with form using React Hook Form and Zod.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: bddfbb2b-6d6b-457b-b18c-05792cdaa035
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/e62d5cbe-5096-47f5-a9d2-160416058752.jpg
2025-05-10 21:53:28 +00:00
mukimovd
5fc570e3f2 Implement improved comment sections and work header display features
Implements CommentThread component with nested replies and updates WorkHeader component with metadata and actions.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: bddfbb2b-6d6b-457b-b18c-05792cdaa035
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/a8471e18-0cc8-4305-a4ab-93c16de251bb.jpg
2025-05-10 21:47:23 +00:00
mukimovd
3b21cb5163 Enhance activity tracking and add author profiles to the literary platform
Implement an activity feed with filters and author cards with detailed information.

Refactor: Implemented Activity Feed with filtering and expandable entries, and AuthorCard with biography, stats, and follow functionality.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: bddfbb2b-6d6b-457b-b18c-05792cdaa035
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/a8471e18-0cc8-4305-a4ab-93c16de251bb.jpg
2025-05-10 21:42:36 +00:00
mukimovd
950077fe11 Improve tag input component by adding badge variant support and refactor
Updates TagInput component to support BadgeVariant types and refactors the ref implementation.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: bddfbb2b-6d6b-457b-b18c-05792cdaa035
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/90b5f3d2-0e18-45bc-a027-dfc7f3a05b12.jpg
2025-05-10 21:22:17 +00:00
mukimovd
b797c83ec6 Improve data presentation and tag input features across the application
Refactors DataTable and TagInput components, and adds @tanstack/react-table dependency.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: bddfbb2b-6d6b-457b-b18c-05792cdaa035
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/90b5f3d2-0e18-45bc-a027-dfc7f3a05b12.jpg
2025-05-10 21:20:36 +00:00
mukimovd
ec099f65b4 Implement specialized UI components and enhance existing elements
Adds Timeline, File Uploader, Comparison Slider, and improves EmptyState and StatCard components with enhanced functionality.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: bddfbb2b-6d6b-457b-b18c-05792cdaa035
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/77273c83-56ee-471a-b5e4-559a358f9a20.jpg
2025-05-10 21:17:57 +00:00
mukimovd
66dd28e128 Implement core text formatting components enhancing content presentation
Adds typography components (Heading, Paragraph, BlockQuote, CodeBlock, Prose) with variants and updates COMPONENT-IMPLEMENTATION-TRACKER.md.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: bddfbb2b-6d6b-457b-b18c-05792cdaa035
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/d046f5ac-7f62-419b-8fdb-893187a139f2.jpg
2025-05-10 21:10:41 +00:00
mukimovd
6b00938084 Build out initial UI components and component implementation tracker
Implement ActivityFeed, DashboardHeader, EmptyState, StatCard, TagInput, DataTable, WorkPreview components and add component implementation tracker.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: bddfbb2b-6d6b-457b-b18c-05792cdaa035
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/90ee7bd9-7d3b-4bfb-93e2-2aa13b83f414.jpg
2025-05-10 21:07:28 +00:00
mukimovd
c25c789d01 Improve blog creation and editing experience for content creators
Removes ComponentTest, refactors BlogCreate to use BlogEditor, and fixes tag selection in TagManager.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: bddfbb2b-6d6b-457b-b18c-05792cdaa035
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/0bdb145c-ca28-40e0-9c67-49f51753727e.jpg
2025-05-09 11:11:52 +00:00
mukimovd
ddb691f371 Enhance blog creation with new editor and allow management of article tags
Integrate RichTextEditor into BlogEditor and implement TagManager component using React Hook Form.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: bddfbb2b-6d6b-457b-b18c-05792cdaa035
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/049c4c65-a4ba-4585-925d-806602cc4568.jpg
2025-05-09 11:09:53 +00:00
mukimovd
276dab9e35 Started building your app
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: bddfbb2b-6d6b-457b-b18c-05792cdaa035
2025-05-09 11:07:43 +00:00
mukimovd
6c437a6777 Add component status tracking and enable component testing in the application
Adds a component status markdown file and a ComponentTest route for tracking and testing 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/4ec20aab-e398-4f99-9e91-c136ad772fda.jpg
2025-05-08 01:00:36 +00:00
mukimovd
d3502eaa00 Add a rich text editor component for creating formatted content
Implements a `RichTextEditor` component with formatting options using React, supporting text styling, lists, links, and image insertion.

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/d1468a00-d93a-40b6-8ef2-3b7ba89b0f76.jpg
2025-05-08 00:56:50 +00:00
mukimovd
92d1419642 Restructure components and add annotation system for enhanced reading
Refactors component structure, implements AnnotationSystem.tsx, and adds new components related to annotations 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/d1468a00-d93a-40b6-8ef2-3b7ba89b0f76.jpg
2025-05-08 00:54:20 +00:00
mukimovd
7859c113fd Plan and analyze missing components for authoring, reading and UI
Adds component analysis reports and implementation plan documents covering missing author and work components, plus core 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/d1468a00-d93a-40b6-8ef2-3b7ba89b0f76.jpg
2025-05-08 00:50:19 +00:00
mukimovd
ba90a6d705 Analyze components and list missing ones for better project structure
Adds a COMPONENT-ANALYSIS.md file that details missing components, reorganization recommendations, and implementation priorities.

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/e4cff092-bb63-4aa1-9f48-6ad9d006cda2.jpg
2025-05-08 00:46:55 +00:00
mukimovd
1c7773583d Plan dashboard features and editorial tools implementation with steps
Adds DASHBOARD-NEXT-STEPS.md and TODO.md files to define dashboard implementation tasks, API endpoints, and UI/UX improvements.

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/7c072142-a097-4bbe-b044-d7c30fc110f1.jpg
2025-05-08 00:41:04 +00:00
mukimovd
104574847b Provide access to key metrics on content, users, and engagement
Expose new /api/stats endpoints for works, users, blog posts, and 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/7c072142-a097-4bbe-b044-d7c30fc110f1.jpg
2025-05-08 00:37:15 +00:00
mukimovd
9c0471a109 Improve the appearance and functionality of alerts and dashboard navigation
Refactors the toast component's styling, updates DashboardLayout link components and exports a standalone toast function in 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/f896073f-d218-43ce-a7c7-a9c09756cf37.jpg
2025-05-08 00:36:17 +00:00
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