Commit Graph
12 Commits
Author SHA1 Message Date
Jeremy Rifkin 14ddad0376 Jr/editor font size setting (#3670)
* Two quick code cleanups while I'm here

* Added default font size user setting

* Better addSelector solution

* Fix and clarification, thanks Ruben

* Updated typing

* Added font scale broadcast
2022-05-18 15:31:53 -04:00
Mats Larsen c199b54440 Enable Prettier for TypeScript frontend (#3524) 2022-04-20 22:39:10 +02:00
Jeremy Rifkin 1fdba5e8c8 Resolve @typescript-eslint/no-unnecessary-condition warnings for settings.ts (#3510)
* Resolved @typescript-eslint/no-unnecessary-condition warnings for settings.ts

* Better handling of .val()
2022-04-14 03:50:14 +02:00
Rubén Rincón Blanco bc401f4ca0 Fixes settings handling in some places (#3400)
* Better handling for theme/colour scheme changes

Fixes #3396

* Fixes settings

* Fixes theme and colour scheme handling

Closes #3396

* Fix settings for embeded

Closes #3397

* Actually, just fallback to 0 if needed

* Lint fix

* Delete Deprecations.xml

* Better TS way
2022-02-24 14:55:54 +01:00
Rubén Rincón Blanco db229b94bc Add strict tsc flag for the frontend ts code (#3356) 2022-02-12 02:41:01 +01:00
Rubén Rincón Blanco c60cd70f7e Move static/themes.js to TypeScript (#3332)
* Rename themes.js to themes.ts

* TSfy themes

* Address PR review
2022-02-07 07:22:33 +01:00
Rubén Rincón Blanco 42c7b2b694 Make eslint work on static ts files (#3304) 2022-02-03 18:04:50 +01:00
Rubén Rincón Blanco 426aa40279 Fix formatOnCompile setting (#3314) 2022-02-02 03:48:50 +01:00
Luca Natilla 4af294d613 Option to create a short link with Ctrl+s silently (#3305) 2022-01-31 21:28:56 -06:00
Rubén Rincón Blanco fe7eb18408 Reimplement more options for Ctrl-S (#3300) 2022-01-31 14:03:38 +01:00
Mats Larsen 593a727445 Add setting for automatically formatting on compilation (#3302)
Adds a new checkbox setting for automatically formatting the code upon compilation request. I added a note in the setting text indicating that it only runs for languages that have a formatter set up.
2022-01-31 14:01:14 +01:00
Rubén Rincón BlancoandMats Larsen f4315c561b Move static/settings.js to TypeScript (#3297)
* Rename settings.js to ts

* Move Settings to TS

* Remove underscore from settings

* Update static/settings.ts

Co-authored-by: Mats Larsen <me@supergrecko.com>

* Update static/settings.ts

Co-authored-by: Mats Larsen <me@supergrecko.com>

* Improve Settings implementation

* Move Settings interfaces to same file

* Update static/settings.ts

Co-authored-by: Mats Larsen <me@supergrecko.com>

Co-authored-by: Mats Larsen <me@supergrecko.com>
2022-01-29 02:00:10 +01:00