Commit Graph

681 Commits

Author SHA1 Message Date
Arne Keller
72c1823763 Step definition tooltips
see #5
2021-06-29 16:27:25 +02:00
Arne Keller
5a79fc64de Another type assumption parser test 2021-06-29 14:52:06 +02:00
Moritz Dieing
602f6e04c4 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-06-29 12:41:55 +02:00
Moritz Dieing
8463a26f97 Reduce upper bar height 2021-06-29 12:41:48 +02:00
uogau
fea2b7035a Removed unnecessary information in error
changed spacing in error message
"Term" instead of "Input"
2021-06-29 12:25:35 +02:00
uogau
3477bff512 Fixed off by one error for english error message 2021-06-29 12:07:19 +02:00
Moritz Dieing
99c0e8332d Update InfoDialog and HelpDialog 2021-06-22 15:29:18 +02:00
Arne Keller
41479483f2 Highlight variables on hover
see issue #5
2021-06-22 09:44:03 +02:00
Arne Keller
74c21773d4 Only use hover classes when using Mathjax 2021-06-21 11:12:02 +02:00
Arne Keller
916f73927d Highlighting of types on hover
See issue #5
2021-06-21 10:53:03 +02:00
Arne Keller
5763c6b4ee Handly empty type assumptions 2021-06-18 15:22:24 +02:00
Arne Keller
87fd783025 Tweak syntax and display of type assumptions 2021-06-18 15:16:07 +02:00
Moritz Dieing
02f2216265 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-06-18 13:34:34 +02:00
Moritz Dieing
9ad8831ff2 Exchange TypeAssumption-Dialog with Textfield 2021-06-18 13:34:26 +02:00
uogau
08c3322fbb Small fix for last Commit 2021-06-18 13:28:50 +02:00
uogau
3a443d848a Error messages now show where the error is 2021-06-18 13:24:51 +02:00
Arne Keller
ce881354a0 Test quantified type assumptions 2021-06-17 09:00:30 +02:00
Arne Keller
b55c63acc0 Implement quantified variables in type assumptions
see issue #1
2021-06-17 08:48:46 +02:00
Moritz Dieing
9df9e657e1 Restructure upper bar 2021-06-16 15:37:35 +02:00
Arne Keller
94c70ea864 Link to the repository 2021-03-31 15:01:01 +02:00
Johanna Stuber
c1f14764c6 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-14 13:03:07 +01:00
Johanna Stuber
7ba30b4ef5 add sentence to error view 2021-03-14 13:02:34 +01:00
ucrhh
29caff2ead fix bug with unification translation 2021-03-14 11:53:10 +01:00
Johanna Stuber
276353a41f todos 2021-03-14 10:52:04 +01:00
Moritz Dieing
3f935bf29b Update Slideshow 2021-03-14 00:55:40 +01:00
Arne Keller
780d632d8a Codestyle 2021-03-13 15:34:59 +01:00
Moritz Dieing
9aa4ae9e56 IT for error view 2021-03-13 14:56:48 +01:00
Moritz Dieing
3110aa8bc0 tokentype english translation 2021-03-13 14:47:20 +01:00
ucrhh
3dd79320be make example buttons refresh on locale change 2021-03-13 12:26:23 +01:00
Arne Keller
dc60c58011 Add unit tests for new changes
- failed let in sub-tree (both cases)
- empty type assumptions of let
- constraint line breaking
- DoS protection
2021-03-12 20:23:45 +01:00
Moritz Dieing
f95ff0721a Simple ITs for Info- and HelpDialog 2021-03-12 15:55:32 +01:00
Arne Keller
caeb2fca84 Limit scope of close shortcut in type assumptions 2021-03-12 11:22:37 +01:00
Arne Keller
002f402691 Integration tests: run asserts last 2021-03-12 11:07:26 +01:00
Johanna Stuber
ebd6abb461 optimize texts 2021-03-11 16:44:09 +01:00
Johanna Stuber
648594bca3 add hr to footer, optimize styling 2021-03-11 16:22:20 +01:00
ucrhh
5197f9be93 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-11 15:11:39 +01:00
ucrhh
f409e1e060 some styling 2021-03-11 15:11:22 +01:00
Arne Keller
6b84aa5402 New example button in help dialog 2021-03-11 15:07:38 +01:00
ucrhh
0c2836a27f Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-11 14:55:36 +01:00
ucrhh
73376c0667 make LaTeX code usable in normal environment 2021-03-11 14:55:21 +01:00
Arne Keller
0e468b5611 New example button text 2021-03-11 14:44:25 +01:00
Arne Keller
d8b547177a Display expected tokens on ParseError 2021-03-11 14:30:48 +01:00
uogau
9767002ad1 Merge remote-tracking branch 'origin/master' 2021-03-11 13:34:59 +01:00
uogau
53243f7f43 Added hint to type assumptions 2021-03-11 13:34:41 +01:00
Arne Keller
098be7a75e Encode input correctly 2021-03-11 13:29:33 +01:00
uogau
26caed074d Type and LetTerm are now abstract classes again 2021-03-11 13:11:33 +01:00
Moritz Dieing
4e56c69833 Update Drawer in HelpDialog 2021-03-11 10:36:00 +01:00
Arne Keller
3c0347492a Consistent latex export 2021-03-11 08:32:19 +01:00
ucrhh
1ee86c5c32 fix checkstyle 2021-03-11 00:41:08 +01:00
ucrhh
1d53bdfe75 first implementation of unification export 2021-03-11 00:37:36 +01:00
ucrhh
d6a99cc869 make shortcut look in help dialog consistent 2021-03-10 23:29:40 +01:00
Moritz Dieing
9ee9025d92 Remove unused import 2021-03-10 20:47:45 +01:00
Moritz Dieing
d1eccc7ec5 Fix mistake 2021-03-10 20:46:13 +01:00
Moritz Dieing
1f1db955d3 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-10 20:41:50 +01:00
Moritz Dieing
2d6b33190c Handle empty type assumptions 2021-03-10 20:41:40 +01:00
Johanna Stuber
15359675ed Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-10 19:39:04 +01:00
Johanna Stuber
47aa006655 highlight new constraints in unification 2021-03-10 19:38:51 +01:00
Arne Keller
ce01676a42 Convert frontend scripts to TypeScript 2021-03-10 18:39:41 +01:00
Arne Keller
a43dad53a6 Optimize frontend calls 2021-03-10 18:04:32 +01:00
Arne Keller
5a1aaa8408 Fix NPE in TypeInferenceView 2021-03-10 17:09:20 +01:00
Arne Keller
3a0ee669d4 Cleanup 2021-03-10 16:49:35 +01:00
Arne Keller
7396fc2158 Result javadocs 2021-03-10 16:20:25 +01:00
Arne Keller
4c0eb78300 Limit memory usage of LatexCreatorType 2021-03-10 16:07:52 +01:00
uogau
ee1847358d TypeAssumptions close button now only works when type assumptions are correct 2021-03-10 14:58:33 +01:00
Arne Keller
86496440ed WIP: convert drawer to normal element 2021-03-10 10:40:21 +01:00
uogau
232a5e21af Fixed some SonarLint complaints in Model 2021-03-09 23:00:08 +01:00
Arne Keller
5c49e03ba0 Focus input automatically 2021-03-09 14:34:15 +01:00
Arne Keller
a4224f4263 Codestyle TypeAssumptionParser 2021-03-09 14:32:27 +01:00
Arne Keller
9c8897d436 Re-focus input bar on syntax error 2021-03-08 20:47:39 +01:00
Arne Keller
cd5213a929 Code style misc. classes 2021-03-08 20:38:26 +01:00
Arne Keller
081e3e188b Fix touch interaction with proof tree 2021-03-08 12:42:32 +01:00
Arne Keller
1b642e84f9 Code style in util and parser 2021-03-08 11:40:05 +01:00
Arne Keller
8d6782793e URL-encode spaces in share link 2021-03-08 11:04:30 +01:00
Arne Keller
3f07a6d234 Fuzzing setup + documentation 2021-03-08 10:53:59 +01:00
uogau
edd7d89e9c fixed checkstyle 2021-03-08 01:39:19 +01:00
uogau
dc4aaeda0a set share dialog text fields to read only 2021-03-08 01:36:43 +01:00
Johanna Stuber
77e565426a Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-07 22:20:38 +01:00
Johanna Stuber
5b86874e0c new line after each 10 constraints 2021-03-07 22:20:18 +01:00
Arne Keller
ac932a6e0c Fix page title not updating 2021-03-07 21:31:50 +01:00
Arne Keller
c5d146a137 Move styling into CSS 2021-03-07 20:24:57 +01:00
Moritz Dieing
815b1f0bd9 Fix pipeline 2021-03-07 17:20:08 +01:00
Moritz Dieing
92c694b847 Improved type assumptions 2021-03-07 17:09:19 +01:00
Moritz Dieing
8f8b9e967d Use client value for the algorithm 2021-03-07 14:17:21 +01:00
Johanna Stuber
7a28facd83 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-07 13:44:19 +01:00
Johanna Stuber
69ab9b6050 code style in view, typos in translation_de 2021-03-07 13:44:07 +01:00
Moritz Dieing
5c11d160d1 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-07 13:03:43 +01:00
Moritz Dieing
e06041bfcb Autoselect for ShareDialog 2021-03-07 13:03:35 +01:00
ucrhh
b635a9c5c6 make control panel on startpage fixed in position 2021-03-07 13:02:09 +01:00
ucrhh
43d1a80242 fix some warnings 2021-03-07 11:51:46 +01:00
ucrhh
85bf7df675 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-07 11:19:04 +01:00
ucrhh
cd20ce023e refresh unification error message on localeChange 2021-03-07 11:18:52 +01:00
Arne Keller
aeecea7577 Resolve TODO in LatexCreator 2021-03-07 11:15:37 +01:00
Arne Keller
7b3f412dd8 Move help style to CSS 2021-03-07 11:15:37 +01:00
ucrhh
05885a4e6e remove old todos 2021-03-07 10:33:34 +01:00
Johanna Stuber
907f766166 merge 2021-03-06 22:19:22 +01:00
Johanna Stuber
40a04d4646 add inference view features paragraph in help dialogue 2021-03-06 22:14:23 +01:00
Arne Keller
de8b2c0fe3 Set pattern attribute of field, show error border 2021-03-06 21:46:53 +01:00
Arne Keller
251d7a3fc2 Attach character + position to some errors 2021-03-06 20:39:10 +01:00
Johanna Stuber
b03d33a91c add typiclacInfo 2021-03-06 18:56:35 +01:00
Arne Keller
a176d299ce Only accept ASCII characters in type assumption name 2021-03-06 13:44:02 +01:00
ucrhh
c7c313650c fix bug where error texts would not change on localeChangeEvent 2021-03-05 22:18:23 +01:00
ucrhh
b7e519151c fix typo 2021-03-05 22:09:24 +01:00
ucrhh
06e6135a3b change error notification to error page 2021-03-05 22:05:24 +01:00
ucrhh
db14a72783 fix typos 2021-03-05 21:04:38 +01:00
ucrhh
098a358a0d Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-05 20:42:49 +01:00
ucrhh
e658060fd1 fix that examples are now visualized on click 2021-03-05 20:42:26 +01:00
Johanna Stuber
4c00af9007 fix exportLatexWithAssumptions test (failed due to icons that are now buttons) 2021-03-05 18:16:23 +01:00
Moritz Dieing
3fd5de7611 Better hover for buttons 2021-03-05 17:44:37 +01:00
Moritz Dieing
ca2b3ac934 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-05 17:11:23 +01:00
Moritz Dieing
d3abb4f10c Add title attribute to buttons 2021-03-05 17:11:14 +01:00
Johanna Stuber
a4f3b38a10 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-05 16:56:45 +01:00
Johanna Stuber
c2de56a29a add amsmath to needed packages 2021-03-05 16:56:23 +01:00
ucrhh
f1df0fee45 merge 2021-03-05 16:21:04 +01:00
ucrhh
26d10ce0cb add shortcut panel 2021-03-05 16:16:38 +01:00
Arne Keller
a442f5caf5 Fix checkstyle issue 2021-03-05 15:51:01 +01:00
Arne Keller
a6856d1252 Fancy key shortcut characters 2021-03-05 15:47:27 +01:00
ucrhh
e724aedebd add shortcuts demo 2021-03-05 14:21:50 +01:00
ucrhh
efe4e5f243 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-05 13:55:45 +01:00
ucrhh
24f898d64a move buttons to accordion sumamry 2021-03-05 13:55:31 +01:00
uogau
92d0e77bb6 added close buttons to dialog 2021-03-05 13:26:22 +01:00
ucrhh
a7e8a24d77 make examples latex code compatible with normal LaTeX 2021-03-05 12:51:56 +01:00
ucrhh
b728ced2af Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-05 12:48:56 +01:00
ucrhh
5285aa067e fix that link changes when entering empty term 2021-03-05 12:48:29 +01:00
Moritz Dieing
a7eaf394ec Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-05 12:44:29 +01:00
Moritz Dieing
7a80ccb577 Smaller copy button with notification 2021-03-05 12:44:17 +01:00
ucrhh
d4a6acbc07 navigate to startpage when empty term is entered 2021-03-05 12:36:47 +01:00
ucrhh
7a689d12a9 improved texts 2021-03-05 12:08:29 +01:00
Arne Keller
50a5662837 Set title in presenter 2021-03-05 10:45:53 +01:00
Arne Keller
37b3be5066 Fix history issues 2021-03-05 10:29:54 +01:00
Arne Keller
6ebe1a7450 Fix keyboard navigation in upper bar
As a bonus, it is now more obvious that the icons are buttons too
2021-03-05 09:08:54 +01:00
Arne Keller
37f5b64518 Fix scope of key shortcuts 2021-03-04 23:16:08 +01:00
Johanna Stuber
709c061059 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-04 19:19:06 +01:00
Johanna Stuber
22adbfe1c6 highlight 'highlighted' 2021-03-04 19:17:55 +01:00
Johanna Stuber
3acdc46bef remove superfluous unification step 2021-03-04 19:06:53 +01:00
Moritz Dieing
6fdfb45b47 Preserve language on refresh 2021-03-04 19:04:45 +01:00
Arne Keller
6cea905dc4 Use aligned instead of align* 2021-03-04 12:10:15 +01:00
ucrhh
5f35f57151 examples load instantly when clicked 2021-03-04 11:28:51 +01:00
Arne Keller
cde13db5b1 Replace every backslash after user finished typing 2021-03-03 21:43:38 +01:00
Moritz Dieing
19a2921cbc Add screenshots 2021-03-03 19:56:05 +01:00
Moritz Dieing
592ace9882 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-03 19:53:53 +01:00
Moritz Dieing
b1fb1d8ef5 Better type in type assumptions 2021-03-03 19:53:39 +01:00
Arne Keller
e61c34c8da WIP unification change highlighter 2021-03-03 14:57:23 +01:00
ucrhh
0154e2ddf9 remove '-' from tab name when given term is empty 2021-03-01 12:32:36 +01:00
ucrhh
b282064f72 make typeAssumption delete button not focusable using tab 2021-03-01 11:21:05 +01:00
Johanna Stuber
dda2f4747b kleinere Änderungen nach 2. Tester 2021-02-28 16:09:09 +01:00
Johanna Stuber
b2aae87b55 typos, kleine Änderungen nach Testerrückmeldung 2021-02-28 12:44:25 +01:00
Robin
0cda05d847 put disabling logic into refreshElements() 2021-02-28 11:32:50 +01:00
Robin
7271c22029 ControlPanel Buttons are now disabled when they have no function 2021-02-28 11:17:16 +01:00
Johanna Stuber
bd5f0eeefa Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-27 23:02:03 +01:00
Johanna Stuber
c2475d4983 Szenario mit Permlaink IT 2021-02-27 23:01:53 +01:00