* Add a link to presets on the scratch list
* A better approach at this
* whoops
* Bring changes over to `ScratchItemNoOwner`
* Add links to platforms
* Fix imports
* use `preset` for `presetName` rather than finding the preset twice
* Invert the logic for `noLink` (-> `isLink`)
* Fix spacing bug on user pages' scratches, get rid of the platform icon on the platform page
* Fix Vercel deployment
* Hide platform icon on the platform page
* fix ScratchItemPlatformList header alignment
---------
Co-authored-by: Alex Bates <16batesa@gmail.com>
* Organize tests, update settings, backend deps
* Remove project import code from backend
* Remove some frontent project code
* more progress, project cleanup
* more preset work
* .
* upd8z
* Admins can delete scratches & preset migration
* bye, source presets
* fixes & changes
* Preset in admin panel & rename migration
* mypy
* Fix perset viewset & tests
* Change compilers hash files
* test annotations so Windows doesn't run them
* Mark nits
* Preset auto ID field
* scratch as reference (1/?)
* backend fixes to preset (2/3)
* Use preset ID instead of name in frontend
* update frogger preset
* I broke one of the ten commandments of react
* finishing touches (3/3 lol)
* Update serializers.py
- Use Next.js 13 app directory for all routes except projects
- Add Tailwind (resolves#619) and use it for most components
- New footer
- Adjust navbar (logotype, buttons moved to right)
- Improve the styling of the search box
- New /settings/account page
- /credits grabs contributors list for this repo from GitHub's API
- ResolveĀ #634
- New welcome page header with scrolling platform icons
* add projects list
* new project page
* mypy
* allow '.' in github identifiers
* implement project create
* project settings
* disallow anons from being project members
* uploadable project icon
* docker attempt
* fix tests
* add tests
* add description form
* refactor to add useEntity and FieldSet
* move FieldSet out of subdirectory
* use same page for project tabs
* scroll up to UnderlineNav when tab changes
* stylelint
* configure vscode mypy extension
* mypy
* fix mypy and dmypy
dmypy does not support follow_imports=silent. Instead we explicitly
disable most checks for asm_differ and m2c, which
has the same effect
* remove redundant mypy flags
* FieldSet style tweaks
* give UnderlineNav horiz padding
* fix swr mutate of project header
* few tweaks to help docker (#550)
* eth changes
* use POST/DELETE rather than PUT for project members
* add migration
* fix pr creation
* simplify project platform derivation
Co-authored-by: Mark Street <22226349+mkst@users.noreply.github.com>
Co-authored-by: Ethan Roseman <ethteck@gmail.com>
* Backend changes to diff from label rather than 0, also possibly fix#109
* implement diff_label frontend & fix assemble_asm
* Log stack trace if asm-differ fails
* don't return { obj } from api
* slight change in stub func code
* GET /compilers returns arches for compilers
* GET /compilers returns arches for compilers
* keep compiler_ids
* Obtain ido from download script, add comment for permuter api support
* Clean m2c wrapper code, add left pointer style, add test
* fix 3 tests
* list arches from api
* fix cookies in DEBUG
SameSite=None is incompatible with Secure, and this causes some browsers
to ignore the cookie altogether.
* fix test
Regression due to changing API to not return { "user": User } but
rather just the User object itself.
* fix create scratch without glabel
This works around a backend bug
* add label select on scratch creation
* show compilers/presets for current arch only
- fixes#92
- fixes#132
* fix mypy issues
* use react instead of preact
* hold pages in src/pages/
This matches NextJS file structure; the names of files reflect their routing paths.
* migrate to NextJS
* use next-pwa
* statically generate user page
* fix github login
* add loading progress bar
* arch on scratch
* nav redesign
* use .env.local instead of local.env
* fix unset compiler not considering arch
* add discord server to readme
* big styling update
* add footer
* move compiler dir into components
* use lib dir
* fix ts error
* describe deployment
* dont use NEXT_PUBLIC_* in .env
* add storybook
* document storybook
* make AsyncButton loading state pretty
* remove sharp
* custom monaco editor react component
* ci: build frontend
* allow nextjs to build despite ignored typescript errors
* ci
* remove react-loading-skeleton
* oops
* don't request public_repo github scope
* give AsyncButton error popup its arrow back
* try fix monaco problem
* oops
* fix monaco red bg for real this time
Co-authored-by: Ethan Roseman <ethteck@gmail.com>