Alexander Bentkamp
a01212e3ca
Merge branch 'story'
2023-03-06 12:38:32 +01:00
Alexander Bentkamp
874999ed34
show summary permanently
2023-03-06 10:19:45 +01:00
Alexander Bentkamp
1c7169d34a
show buttons on level completion
2023-03-06 10:17:41 +01:00
Alexander Bentkamp
c35b66a0c6
use hints for initial texts
2023-03-06 10:04:40 +01:00
Alexander Bentkamp
4158283eb3
Merge branch 'main' into story
2023-03-06 09:55:57 +01:00
Alexander Bentkamp
e8b6770bab
display level conclusion
2023-03-06 09:55:39 +01:00
Alexander Bentkamp
2d96279203
make it compile
2023-03-06 09:46:22 +01:00
Alexander Bentkamp
5af93f0a2a
Improve texts
2023-03-03 17:00:05 +01:00
Alexander Bentkamp
a42841ba97
small css issues
2023-03-03 16:48:56 +01:00
Alexander Bentkamp
e6c481a9a4
a few examples of the new feature
2023-03-03 16:36:13 +01:00
Alexander Bentkamp
ff0adf12c8
fix metavariable issue
2023-03-03 16:30:25 +01:00
Alexander Bentkamp
86f3e07b27
fix escaping issue
2023-03-03 15:58:17 +01:00
Alexander Bentkamp
3cbb4774f1
hints with variable names
2023-03-03 15:55:32 +01:00
Alexander Bentkamp
a783e1dffc
Add tabs for lemmas #23
2023-03-02 12:15:34 +01:00
Alexander Bentkamp
7748eefa4a
fix lemma check
...
Fixes #36
2023-03-02 10:25:34 +01:00
Alexander Bentkamp
a44efef7de
add definitions
2023-03-01 17:31:58 +01:00
Alexander Bentkamp
9a97b569b5
unify code for tactics and lemmas
2023-03-01 17:14:01 +01:00
Alexander Bentkamp
676560a0df
revert to use isDefEq for hints
2023-03-01 14:41:29 +01:00
Alexander Bentkamp
bc6c4a57e7
treat simp? and simp! like simp
2023-03-01 11:37:34 +01:00
Alexander Bentkamp
bf7c68d4f9
pass lemma/tactic status to file worker
2023-03-01 11:20:32 +01:00
Alexander Bentkamp
4f93dbf928
disable automatic compilation of lean files
2023-03-01 10:55:03 +01:00
Alexander Bentkamp
a85f40541e
custom unification for hint trigger
2023-03-01 10:38:02 +01:00
Alexander Bentkamp
bc7533d18f
loading icon for loading goals
2023-02-28 14:37:14 +01:00
Alexander Bentkamp
604e6757ec
Import only specific Level file
...
Fixes #35
2023-02-28 13:03:46 +01:00
Alexander Bentkamp
591423b308
make opening namespaces work properly
2023-02-24 16:37:40 +01:00
Alexander Bentkamp
5921de848d
Preload all files in a world #15
2023-02-23 17:11:11 +01:00
Alexander Bentkamp
82af2ded8e
Speed up loading by process queue #15
2023-02-23 10:18:02 +01:00
Alexander Bentkamp
09137c7019
remove set_option tactic.hygienic false
2023-02-22 17:55:46 +01:00
Alexander Bentkamp
404062c015
Use local scope from level file in game
...
Fixes #31
2023-02-22 17:45:08 +01:00
Alexander Bentkamp
49f9ff035f
fix version of lean4 infoview
2023-02-22 15:48:46 +01:00
Alexander Bentkamp
1f0d9aea43
check if tactic doc exists
...
Fixes #34
2023-02-22 15:10:46 +01:00
Alexander Bentkamp
f17246f6d4
check lemma names
2023-02-22 11:44:13 +01:00
Alexander Bentkamp
06f4f4e223
typo
2023-02-22 11:41:26 +01:00
Alexander Bentkamp
02ac370a62
Run -> Execute
2023-02-09 15:48:52 +01:00
Alexander Bentkamp
84ce05a548
more styling
2023-02-09 15:42:10 +01:00
Alexander Bentkamp
116026428f
show lemma and tactic docs
2023-02-09 15:34:37 +01:00
Alexander Bentkamp
891d51829c
rename leftpanel to inventory
2023-02-09 14:26:57 +01:00
Alexander Bentkamp
622aca644e
correct shrinking of command line
2023-02-09 13:54:06 +01:00
Alexander Bentkamp
ca329a933c
make command line look the same on all browsers
2023-02-09 13:43:59 +01:00
Alexander Bentkamp
6e8a47b1a7
lemma inventory
2023-02-09 13:25:52 +01:00
Alexander Bentkamp
c628d0eec4
new tactic display
2023-02-09 13:25:52 +01:00
Alexander Bentkamp
c93f6bfc15
allow "rcases with" tactic
2023-02-09 13:25:52 +01:00
Alexander Bentkamp
e264f11d60
inventory experiment
2023-02-09 13:25:52 +01:00
Alexander Bentkamp
7510b83591
hide command line in "other goals"
...
Fixes #30
2023-02-07 16:03:04 +01:00
Alexander Bentkamp
278aedb20c
more monaco command line
...
fixes #32
2023-02-07 15:39:40 +01:00
Alexander Bentkamp
a3b1011035
monaco command line
2023-02-07 13:25:57 +01:00
Alexander Bentkamp
cd27b2026c
OnlyTactics command #16
2023-02-06 15:31:26 +01:00
Alexander Bentkamp
51f82cf9eb
disabled tactics command #16
2023-02-06 14:59:41 +01:00
Alexander Bentkamp
dd4fe60f7e
update package json
2023-02-06 14:24:30 +01:00
Alexander Bentkamp
a4987f14cf
forbidden tactics error message #16
2023-02-06 12:25:27 +01:00
Alexander Bentkamp
76d1a08948
compute which tactics are available in which level
2023-02-03 17:04:09 +01:00
Alexander Bentkamp
03faa3ffed
fix lean server error
2023-02-03 16:39:47 +01:00
Alexander Bentkamp
85a96579a5
remove tactic set for real
2023-02-03 16:31:56 +01:00
Alexander Bentkamp
d1eee327dd
graph algos
2023-02-03 16:29:16 +01:00
Alexander Bentkamp
3f433507db
remove TacticSet command
...
This is not necessary because there aren't that many tactics
2023-02-03 15:45:49 +01:00
Alexander Bentkamp
41cc23543b
fix command line bug
2023-02-02 09:35:03 +01:00
Alexander Bentkamp
73a44bd057
disable undo button
2023-01-30 15:30:48 +01:00
Alexander Bentkamp
5025fa939b
show line numbers only in editor mode
2023-01-30 15:18:06 +01:00
Alexander Bentkamp
45f88cf5a8
undo button
2023-01-30 15:15:39 +01:00
Alexander Bentkamp
fbdc1afe34
hide command line properly
2023-01-30 13:18:02 +01:00
Alexander Bentkamp
f73dac8353
prettier command line
2023-01-30 12:28:25 +01:00
Alexander Bentkamp
48de58416d
editor mode
2023-01-30 12:00:33 +01:00
Alexander Bentkamp
e2ea6fa85e
resizable panels
2023-01-30 11:19:33 +01:00
Alexander Bentkamp
2774fab98c
replace mui buttons, move them into bar
2023-01-27 17:28:32 +01:00
Alexander Bentkamp
8c83e802e9
center loading icon
2023-01-27 16:39:00 +01:00
Alexander Bentkamp
6d567a696f
add command line #26
2023-01-27 12:14:08 +01:00
Alexander Bentkamp
450f32a56b
disable quickSuggestions
...
Fixes #10
2023-01-26 16:28:08 +01:00
Alexander Bentkamp
221927942f
fix semantic highlighting
...
Fixes #29
2023-01-26 16:19:56 +01:00
Alexander Bentkamp
fdbd962742
set_option tactic.hygienic false
...
Fixes #28
2023-01-26 12:17:26 +01:00
Alexander Bentkamp
f82c310557
check when level is completed
...
fixes #27
2023-01-26 12:06:13 +01:00
Alexander Bentkamp
5578359742
remove old files
2023-01-26 11:33:36 +01:00
Alexander Bentkamp
fda1a0ef08
use our custom unfoldSnaps instead of unfoldCmdSnaps
2023-01-26 11:10:57 +01:00
Alexander Bentkamp
e930bbb8af
show unsolved goals message, but without the goals
2023-01-25 17:25:12 +01:00
Alexander Bentkamp
cda4e5b859
Hide "unsolved goals" messages
2023-01-25 16:36:21 +01:00
Alexander Bentkamp
5bfae3a1c2
show other goals only for more than 1 goal
2023-01-25 16:22:45 +01:00
Alexander Bentkamp
e3c67a06b8
fix error
2023-01-25 16:19:41 +01:00
Alexander Bentkamp
a2c9645144
prettier goal display
2023-01-25 14:57:34 +01:00
Alexander Bentkamp
313e44a16d
split into main goal and other goals
2023-01-25 14:45:07 +01:00
Alexander Bentkamp
3e4a687bd1
prettier goal view
2023-01-25 13:51:00 +01:00
Alexander Bentkamp
ba3b65b7db
use css for svg styling
2023-01-25 13:47:44 +01:00
Alexander Bentkamp
026679e541
fix: kill docker when socket gets closed
2023-01-25 13:20:49 +01:00
Alexander Bentkamp
ab3a0df9af
update lean4web
2023-01-25 11:54:57 +01:00
Alexander Bentkamp
1d2b12eb5f
fix error
2023-01-25 11:32:00 +01:00
Alexander Bentkamp
3d349f9a6b
reintroduce infoProvider.dispose();
...
We need to find another solution to avoid the unsubscribe error
2023-01-25 11:30:26 +01:00
Alexander Bentkamp
6c9ba14fd2
Split assumptions and objects
...
Fixes #9
Fixes #24
2023-01-25 11:29:40 +01:00
Alexander Bentkamp
ca366d4bde
custom interactive goal data types
2023-01-25 11:00:36 +01:00
Alexander Bentkamp
09aae16693
Add loading indicators in infoview
2023-01-25 10:22:03 +01:00
Alexander Bentkamp
59c33d2423
remove custom getDiagnostics
2023-01-25 10:15:29 +01:00
Alexander Bentkamp
126bfa051a
prettier hints
2023-01-25 10:07:22 +01:00
Alexander Bentkamp
f4ac6ef7fb
remove infoprovider.dispose()
...
The issue is that this removes the server notification subscriptions and then we get an error because react executes the cleanup of child components only after cleanup of parent components
2023-01-24 17:17:25 +01:00
Alexander Bentkamp
8c4b995a32
rename message to hint
2023-01-24 16:37:18 +01:00
Alexander Bentkamp
b7cc5aaf57
show hints
2023-01-24 14:09:34 +01:00
Alexander Bentkamp
8175d32a3c
custom getInteractiveGoals RPC
2023-01-24 12:15:47 +01:00
Alexander Bentkamp
1aba4162e4
integrate infoview into react component tree
2023-01-24 11:22:43 +01:00
Alexander Bentkamp
32bacf8b7c
move renderInfoview function
2023-01-24 11:03:02 +01:00
Alexander Bentkamp
45bdc22600
show all messages, independent of cursor position
2023-01-24 10:50:51 +01:00
Alexander Bentkamp
9527bee77e
rename message-panel to introduction-panel
2023-01-24 10:40:10 +01:00
Alexander Bentkamp
f2a31d2baa
fix css
2023-01-24 10:35:52 +01:00
Alexander Bentkamp
44d6560f27
start replacing mui by custom css
2023-01-23 15:59:09 +01:00
Alexander Bentkamp
8e3af92c03
simplify infoview
2023-01-20 16:44:45 +01:00