transcreation-frontend / src /pages /TutorialTasks.tsx

Commit History

Update src/pages/TutorialTasks.tsx with working version
14ab027

Tristan Yu commited on

Restore image upload functionality for Week 2 tutorial tasks
f4b51b9

Tristan Yu commited on

Add natural line break support to TutorialTasks Week 2+
cceb7e7

Tristan Yu commited on

Week 2 tutorial task: double image size to 50%, add navigation persistence, 50/50 layout
6c9b965

Tristan Yu commited on

Week 2 tutorial task: side-by-side layout with 1/4 image size, text on right
0090241

Tristan Yu commited on

Fix TypeScript error in TutorialTasks: add missing imageUrl and imageAlt properties to setEditForm calls
02f1559

Tristan Yu commited on

Apply improved loading screen to TutorialTasks page
c4c7e4c

Tristan Yu commited on

Set fixed height for all images to ensure consistent UI
736dd3e

Tristan Yu commited on

Fix image sizing for all images and remove gap between image and edge
f3438ea

Tristan Yu commited on

Reduce image size by 20% to 80% width as default size
d4c2ac1

Tristan Yu commited on

Restore image size, fix grid wrapping, equal 50/50 layout, and remove intrusive loading screen
cfc6cc2

Tristan Yu commited on

Fix image grid width to fit content and enable natural line breaks in source text
bb6ed2c

Tristan Yu commited on

Implement side-by-side layout with smaller images and add brief debugging
78be52f

Tristan Yu commited on

Fix brief display with localStorage and implement actual image display with data URLs
a88955b

Tristan Yu commited on

Remove placeholder task creation and add week navigation persistence
1618c6e

Tristan Yu commited on

Add response structure debugging to identify backend response format
a7aa2d6

Tristan Yu commited on

Add detailed field value logging to debug data persistence
8b748e4

Tristan Yu commited on

Add enhanced debugging to see backend response data
02bb816

Tristan Yu commited on

Fix brief saving, image display, and remove intrusive loading
dac8479

Tristan Yu commited on

New approach: save brief in first task, simplify image upload
dd0e507

Tristan Yu commited on

Fix translation brief endpoint and add debugging for image saving
2104f8a

Tristan Yu commited on

Remove all popup notifications and fix image upload
b6d1550

Tristan Yu commited on

Fix image upload: save task after uploading image
7e04d27

Tristan Yu commited on

Add debugging and test placeholders for image display
14a9290

Tristan Yu commited on

Simplify image display: use placeholder divs instead of actual images
db7f953

Tristan Yu commited on

Add comprehensive debugging for image display issues
e6e2eb5

Tristan Yu commited on

Add debugging for image upload and display issues
7a4d303

Tristan Yu commited on

Fix 404 errors: remove separate brief endpoint calls
7beeec1

Tristan Yu commited on

Fix image display: use canvas-generated data URL and better fallback
c27b65e

Tristan Yu commited on

Fix image upload: use placeholder URL and add better error handling
e9c3e64

Tristan Yu commited on

Add debugging for translation brief and image display issues
2ab9afd

Tristan Yu commited on

Fix tutorial task issues: save button, image upload, translation brief - add debugging
0759bb6

Tristan Yu commited on

Add local image upload functionality for Week 2+ - preserve Week 1 completely
fc5c4cc

Tristan Yu commited on

Add image support to tutorial tasks - user-friendly layout with text and images
03294ba

Tristan Yu commited on

Keep input field visible after submission - allow multiple submissions
8473af7

Tristan Yu commited on

Fix API calls to use api service for TutorialTasks - restore Week 1 submissions
eec598e

Tristan Yu commited on

Fix TypeScript errors for image support in Week 2 tutorial tasks
eaf86e0

Tristan Yu commited on

Add image support to Week 2 tutorial tasks - update model, seed data, and frontend display
4bad287

Tristan Yu commited on

Remove excessive debugging to prevent rate limiting and server crashes
4226b77

Tristan Yu commited on

Fix submission form visibility - only check current user's submissions
78fe271

Tristan Yu commited on

Fix submission matching - extract _id from sourceTextId object
a93ccce

Tristan Yu commited on

Revert: Keep all submissions visible when switching users
d2b0305

Tristan Yu commited on

Fix user switching issue - clear submissions when switching users
42ed6e1

Tristan Yu commited on

Add detailed ID logging to diagnose submission matching issue
d867760

Tristan Yu commited on

Add detailed logging to diagnose submission grouping issue
debb9c7

Tristan Yu commited on

Add debugging to user submissions fetching to diagnose input field issue
ef3ac2f

Tristan Yu commited on

Add user switching detection and manual refresh functions
5e283d5

Tristan Yu commited on

Add debugging to submission function to identify the issue
6c2dbab

Tristan Yu commited on

Remove success alerts - keep submission function simple
36e5a1f

Tristan Yu commited on

Add success message for submission creation
de870cf

Tristan Yu commited on