Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize ui/learn #15263

Merged
merged 62 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
e4cc0d8
implement snabbdom skeleton
brollin May 5, 2024
928d360
map view wip
brollin May 5, 2024
614a002
implement map ribbons
brollin May 6, 2024
b7f0d39
implement map what next section
brollin May 6, 2024
b70a599
implement mapSideView
brollin May 6, 2024
bd43dde
implement isStageIdComplete
brollin May 6, 2024
623ee99
simple hash routing logic
brollin May 6, 2024
9f90297
inStage logic fixup
brollin May 6, 2024
4d58a40
run controller/view wip
brollin May 6, 2024
29ce7b0
implement run controller wip
brollin May 6, 2024
531d2a6
fix top level dom hierarchy
brollin May 7, 2024
e31b572
migrate many things away from mithril
brollin May 7, 2024
69565e8
implement level controller
brollin May 7, 2024
47bbede
run view renders
brollin May 8, 2024
bad5a35
fix line breaks and images
brollin May 8, 2024
39fdf26
fix hash linking
brollin May 8, 2024
91b1e2a
banish all traces of mithril
brollin May 8, 2024
7bb4b3f
basic chessground implementation wip
brollin May 8, 2024
ee686c1
update chessground wip
brollin May 8, 2024
0cb1914
Merge remote-tracking branch 'upstream/master' into modernize-learn
brollin May 9, 2024
72d75a4
lock file updates after master merge
brollin May 9, 2024
a7bab09
setup chessground with blueprint
brollin May 9, 2024
20ccf1b
fix click handlers
brollin May 9, 2024
a23bf79
clean up chessground code a little
brollin May 9, 2024
4bf7c93
simplify run controller
brollin May 9, 2024
0334360
implement level controller cg
brollin May 9, 2024
fcfa6de
remove v2 directory
brollin May 9, 2024
32df5af
fix import paths
brollin May 9, 2024
78dba36
implement hashNavigate
brollin May 9, 2024
2f17995
implement storage xhr
brollin May 9, 2024
7e190dd
fix star icon
brollin May 9, 2024
400bf2f
fixups
brollin May 9, 2024
d87b047
chessground tweaks
brollin May 11, 2024
3a9e091
implement scenario controller
brollin May 11, 2024
522c79b
refactor to use withGround pattern
brollin May 11, 2024
103c47f
implement promotion controller and view
brollin May 11, 2024
cbb8fb5
fix promotion overlay
brollin May 11, 2024
d2e1a41
separate sendMove from initialization
brollin May 12, 2024
05f885c
keep side view category id in sync with stage
brollin May 12, 2024
b47d6ae
stage complete ui
brollin May 13, 2024
5d54403
stage starting ui rerender fix
brollin May 16, 2024
c666a59
fix level resume calculation
brollin May 16, 2024
c6e8cac
improve restart flow
brollin May 16, 2024
6d2dd04
reimplement piece wriggle
brollin May 16, 2024
42c51c1
move final ground bits into chessground.ts
brollin May 16, 2024
5ca399b
refactor showCheckmate and setCheck
brollin May 16, 2024
7599fdc
refactor chess controller
brollin May 16, 2024
0b24813
update todos
brollin May 16, 2024
250a97e
fix map side view category clicking
brollin May 16, 2024
5010886
items refactor wip
brollin May 16, 2024
0f5472e
various small fixups
brollin May 17, 2024
f57007b
implement apples as custom svgs wip
brollin May 18, 2024
a2cc379
fix stage id calculation
brollin May 18, 2024
4d5ceb6
wip
brollin May 21, 2024
39e20ca
black pawn background-image approach partial implementation
brollin Jun 1, 2024
6604c3b
custom svgs implementation
brollin Jun 1, 2024
bdf6d34
fix shapes race condition
brollin Jun 11, 2024
f614db0
give attribution for SVG
brollin Jun 11, 2024
aca61bb
manual context menu fix
brollin Jun 11, 2024
ec619e4
Merge branch 'master' into modernize-learn
ornicar Jun 11, 2024
6694cb7
ui/learn apple const svg
ornicar Jun 11, 2024
b2af3e9
use latest chessground
ornicar Jun 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions COPYING.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public/sounds/nes | [Enigmahack](https://github.com/Enigmahack) | AGPLv3+
public/sounds/piano | [Enigmahack](https://github.com/Enigmahack) | AGPLv3+
public/sounds/sfx | [Enigmahack](https://github.com/Enigmahack) | AGPLv3+
public/sounds/lisp | [EdinburghCollective](http://lichess.org/@/EdinburghCollective) | [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
SVG in ui/learn/src/apple.ts | [Sensa](https://www.svgrepo.com/svg/434273/star) | [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/deed.en)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels a bit out of place here, maybe only because it is in a typescript file and not in the public folder. Not sure if there is a better place though?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also it is public domain, so maybe not even needed, but feels nice to do


## Exceptions (non-free)

Expand Down
41 changes: 4 additions & 37 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.