Skip to content

Add editor#214

Merged
msaroufim merged 35 commits intomainfrom
addeditor
Mar 6, 2026
Merged

Add editor#214
msaroufim merged 35 commits intomainfrom
addeditor

Conversation

@yangw-dev
Copy link
Collaborator

@yangw-dev yangw-dev commented Mar 4, 2026

Add Code Editor (Beta) In-browser code editor for kernel submissions as an alternative to CLI.
currently hide from leaderboard page, can access with

https://www.gpumode.com/home?tab=rankings&editor

Features

  • Code Editor - Python syntax highlighting, file upload support
  • Live Output - Real-time job status with 15-min polling timeout
  • Resizable Layout - Draggable editor/output split (mobile touch supported)
  • Quick Submit - GPU type & mode selection with one-click submit

UI Changes

  • "Submit via CLI" and "Code Editor (Beta)" buttons always visible in leaderboard header

next step

  • add default code implementation for leaderboard
  • improve history feature

testing

introduce fake backend async work for local development using USE_MOCK_SUBMISSION=true
this mimic the backend to update db for test, benchmark and leaderboard stage, it also can mimic
failure at each stage

rendering

  • the sidepanel can be expand and shirnk within the view screen
  • the editor and output logs can be expand and shrink within the view screen
  • in small screen and mobile mode, the description is rendered vertically align with outout and editor

big screen

image

mobile

image

@yangw-dev yangw-dev changed the title Addeditor Add editor Mar 6, 2026
@yangw-dev yangw-dev requested a review from msaroufim March 6, 2026 03:37
@yangw-dev yangw-dev marked this pull request as ready for review March 6, 2026 15:41
@msaroufim msaroufim merged commit 1ef3a91 into main Mar 6, 2026
1 check passed
@msaroufim
Copy link
Member

Doesn't seem to be working

Screenshot 2026-03-06 at 9 14 43 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants