Commit Graph

16 Commits

Author SHA1 Message Date
Mark Street
ac06780e6d Holiday Frogs ❤️🍀🎃🦃🎅 (#1766)
* Holiday Frogs ❤️🍀🎃🦃🎅

* Rework to make it easier to inject a different Frog
2025-12-10 09:03:35 +00:00
Bruno Macabeus
135f4b6036 Replace classnames with clsx (#1479)
* Replace `classnames` with `clsx`

* fix python code formatting
2025-03-04 11:54:52 -06:00
Ethan Roseman
4ef64cbebc Run Biome formatter (#1392)
* Run formatter

* Part 2
2024-12-11 01:03:56 +09:00
Ethan Roseman
f1e6763603 Update frontend & backend deps and remove several tsc errors (#1119)
* Update frontend & backend deps and remove several tsc errors

* css & remove sharp

* more issues fixed

* fix login page

* more changes

* remove svg thing

* smalls

* more

* Fix tsc error
2024-03-21 14:23:50 +09:00
Ethan Roseman
139ac9ff73 Stop relying on GitHub's API so much (#956)
* Move some github details into model

* Nevermind - just don't rely on the API at all lol

* comment

* tidying

* remove unneeded mock

* remove the 'small' profile
2024-02-09 21:50:40 +09:00
Alex Bates
4cf3e416e5 Use Next.js 13 app directory & Tailwind CSS (#626)
- 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
2023-01-03 12:41:05 +00:00
Alex Bates
04a5a32c07 Upgrade to Next.js 13 (#618)
Resolves #610.
2022-12-19 23:11:57 +09:00
Alex Bates
2e96373ac7 Projects list, creation, settings pages (#542)
* 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>
2022-10-07 20:12:18 +09:00
Alex Bates
b46b318d38 #539 again (#541)
* Revert "Revert "Frontend performance/accessiblity tweaks (#539)" (#540)"

This reverts commit 01a6ad58d5.

* don't use swc
* make useCompilation error detecting more resilient
* add browserslist
* supply sizes prop to UserAvatar Image
* be less specific about error type
2022-09-19 14:42:59 +01:00
Ethan Roseman
01a6ad58d5 Revert "Frontend performance/accessiblity tweaks (#539)" (#540)
This reverts commit be2bb90c01.
2022-09-17 16:13:43 -04:00
Alex Bates
be2bb90c01 Frontend performance/accessiblity tweaks (#539)
* update eslint for next.config.js

* add webpack-bundle-analyzer

* use next/future/image

* improve text contrast in various places

* render scratch page on server

* fix username color on user page

* add title to commit hash

* fix apple-touch-icon

* remove user-scalable=no

* oops
2022-09-17 15:15:03 -04:00
Alex Bates
e012b47a01 Mobile fixes & new scratch toolbar (#520)
* new mobile nav

* desktop nav

* nav style tweaks

* fix new page

* use standard nav on scratch page

* prepare scratch layout for #266

* add fixme to defaultsize

* redesign ScratchToolbar

* add more links to nav menu

* don't display online marker on yourself

* disable user-scaling on scratch page

* fix small width overflow on index page

* disable scrolling on scratch page

* try fix codemirror teleportation bug

* fix #519

* patch over diff_flags type issue

* remove padding-right from loginstate

* responsive scratch layout

* fix warning

* remove progress bar

Was causing overflow-x issues

* use floating scrollbar on macos

* fix editor overflow
2022-09-13 23:57:05 +09:00
ConorB
b026a2ef10 Implement colorful frog avatars for anonymous users (#517) 2022-09-03 19:21:38 +09:00
Ethan Roseman
8ea10ca286 CodeMirror & PresetSelect fix (#413)
* yarn upgrade

* update eslint no-multiple-empty-lines rule

* update Next.js & React

Resolves #358.

* use CodeMirror in scratch editor

* use codemirror on new page

* move extensions out of CodeMirror component

* grow scratch codemirror

* fix state bug

* initial theming

* fix scratch page SSR

* fix credits page rendering

* max width for AsyncButton error popup

* word wrap

* bye monaco

* cleanup

* style scrollbars everywhere

* tab stuff

* updates

* more

* update codemirror theme

* new react, backend deps, preset on scratch, bugfixes

* improve monospace areas

* store preset name on scratch

* stylelint

* mypy

* mypy 2

* monospace

* fix monospace

* add padding to editor

* fix saving

* fix selection colours

* Highlight assembly line on source selected line change (#416)

Co-authored-by: Alex Bates <hi@imalex.xyz>

* mypy & black

* font stuff

* remove courier new

* make diff style consistent with editor

* fix codemirror exception when editing eof

* attempt to reduce layout thrashing

* /new: store presetName in localStorage

* use react-window for diff

* link diff column scroll position

* hide double scrollbar

* increase overscan

* pointer-events:none on diff header

* fix diff header thing

* make diff columns non-draggable

* dont shrink tabs

* add draggable bar between diff columns

* remove log

* fix 2-col mode

* fix diff align

* DiffCell support cell=undefined

* drag better

* style .cm-search

* eth style changes

* reduce rerenders when dragging diff bar

Co-authored-by: Alex Bates <hi@imalex.xyz>
Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
Co-authored-by: Alex Bates <alex@nanaian.town>
2022-03-31 22:22:39 +09:00
Alex Bates
d4b19e5417 only show online marker if user is actually online 2022-02-20 19:45:37 +00:00
Alex Bates
68ef7621ed Add 'is online' markers (#384)
* add user is_online

* use UserAvatar

* black

* add 'Online' tooltip to marker
2022-02-21 02:47:12 +09:00