Skip to content

feat: server basic imp#204

Draft
lastsunday wants to merge 32 commits intodevfrom
feature/server_basic_impl
Draft

feat: server basic imp#204
lastsunday wants to merge 32 commits intodevfrom
feature/server_basic_impl

Conversation

@lastsunday
Copy link
Copy Markdown
Owner

No description provided.

- Add sync API endpoints for file import and git sync
- Add file parser for job and company Excel import
- Add git client for pulling data from repositories
- Add company and job entity definitions
- Add admin sync page for data import and sync operations
- Add job CRUD API endpoints (search, get, create, update)
- Add company CRUD API endpoints (search, get, create, update)
- Add frontend API for job and company management
- Add admin pages for job and company management with search, create, edit, view details
- Fix FileReader async issue in import data
- Add source_refresh_datetime parsing for company import
- Add first scan date column to job list UI
- Implement incremental update logic for job import:
  - Only update records when update_datetime is newer
  - Preserve earliest create_datetime (first scan time)
  - Support isFullCompanyName field smart merge
- Sync job files across date range instead of single day
- Fix missing sync config module in framework
- Add missing migration files
- Increase request body limit to 100MB and timeout to 300s
- Add required dependencies (calamine, reqwest, xid, serde)
- Add statistics API endpoints for job and company data
- Implement 10 statistics endpoints: scan-time, salary, location, platform,
  degree, year for jobs; insurance, industry, status, source-update for companies
- Add echarts-for-react for data visualization
- Add year filter for scan-time and source-update statistics
- Refine location data to show only city name
- Merge degree categories into 7 groups: bachelor, associate, high school,
  master, doctor, unlimited, other
- Fix navigation link for dashboard
- Add LocationMap component with MapLibre GL and OpenStreetMap tiles
- Add map view toggle (table view / map view) for both jobs and companies
- Add left sidebar with paginated list in map view
- Add click-to-locate feature: click marker to view detail drawer
- Add popup on marker click showing job/company info
- Add auto-fit bounds to show all markers in view
- Add longitude/latitude fields to job and company edit forms
- Add degree requirement and work year columns to job list table
- Add page size selector (20/50/100/200/500 per page)
- Add clustering for markers when zoomed out
… scroll

- Add mouseenter/mouseleave events to show/hide popup on unclustered points
- Add overflow-y:auto to cluster popup for scrollable content with sticky close button
- Add type prop to LocationMap for job/company specific popup content
- Add coordinate conversion (WGS84 to GCJ02) for Chinese map tiles
- Add i18n context and translations (zh/en)
- Add language switcher to login and admin pages
- Localize all UI text in admin pages (dashboard, jobs, companies, sync)
- Add version-based file header validation (FILE_HEADER arrays)
- Support file version exceeding system max version with warning
- Add validation version display in import result modal
- Add import result display with ring progress chart
- Add missing fields field list with color coding
- Add i18n support for sync page texts
- Add cost_time tracking for import operations
- Add ImportResult fields: valid_result, lack_columns, valid_columns,
  actual_version, warnings, cost_time
- Replace Context-based i18n with i18next
- Add locale JSON files for en and zh
- Update type definitions
- Update all route files to use namespace:key format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant