Commit Graph

9 Commits

Author SHA1 Message Date
43652ccaa9 Use fuzzysort to filter languages 2024-12-09 12:37:05 +01:00
ecea69f6bb Place scrollbar for Language selector and Note selector within the list instead of scrolling the whole "screen" 2024-12-09 12:37:05 +01:00
c645b0bac8 Avoid zoom in on input focus, in the webapp on mobile devices
Set LanguageSelector's input font-size to 16px on mobile devices.

Add SASS mixins "webapp" and "webapp-mobile" to write specific CSS for those clients.
2024-01-11 21:05:15 +01:00
54e390eeec Set text color for language selector's input in dark mode
(in Electron it has a good default since the native UI gets it's theme set, but this does not happen in a browser where the user selects the dark theme)
2024-01-11 21:05:15 +01:00
bb511b868b Add support for more languages (#69)
* Contain language selection dialog in an element that can be scrolled, and automatically scroll it if needed when navigating the list with arrow keys

* Add support for more languages:

Clojure, Erlang, Golang, Lezer, Ruby, Shell, YAML

* Move prettier auto format settings for languages into Language() class

* Remove invalid import

* Fix bug that could cause auto formatting to fail for the last block.
Add tests for language auto detection and formatting.

* Fix broken tests

* Fix language auto detection on Safari Webkit which was broken

* Remove unnecessary wait time
2023-12-26 00:27:43 +01:00
13afe62e11 Add global SASS include for all Vue components 2023-12-10 22:58:33 +01:00
d59d8fd7e7 Pixel push: Increase box shadow for language selector in dark mode 2023-03-03 15:54:55 +01:00
c3918c32c5 Don't use conflicting name "select" for language change event
#windows-build
2023-01-16 21:52:45 +01:00
8214bf1bbb Add ability to change language using a language selector dialog 2023-01-16 21:30:30 +01:00