anki/ts/change-notetype
Matthias Metelka 68092082f2
Change Notetype UI Rework (#1499)
* Enable access to old notetype name

* Set minimum height for ChangeNotetypeDialog

* Add bootstrap icons to change-notetype

* Move alert up and make it collapsible

* Tweak some CSS

- Add variables --sticky-bg and --sticky-border to StickyContainer
- Tweak base.css

* Add translatable string "(Nothing)"

* Rework ChangeNotetype screen

* Initially load option at newIndex and remaining options on focus

Optimization for big notetypes:
Should increase efficiency from O(n²) to O(n). Test on notetype with 500 templates shows significant improvement in load time (~10s down to ~1s).

* Try to satisfy rust test

* Change arrow direction depending on reading direction

+ add 0.5em top padding to main

* Create Alert.svelte

* Introduce CSS variable --pane-bg

* Revert "Initially load option at newIndex and remaining options on focus"

This reverts commit f42beee45c27dba9433d76217fb583b117fb5231.

* Final cleanup

* Refine padding/gutter
2021-11-24 12:09:55 +10:00
..
Alert.svelte Change Notetype UI Rework (#1499) 2021-11-24 12:09:55 +10:00
BUILD.bazel Change Notetype UI Rework (#1499) 2021-11-24 12:09:55 +10:00
change-notetype-base.scss Change Notetype UI Rework (#1499) 2021-11-24 12:09:55 +10:00
change-notetype.html add workaround for protobufjs requiring uppercase package names 2021-07-10 15:24:01 +10:00
ChangeNotetypePage.svelte Change Notetype UI Rework (#1499) 2021-11-24 12:09:55 +10:00
icons.ts Change Notetype UI Rework (#1499) 2021-11-24 12:09:55 +10:00
index.ts Load missing i18n modules (#1494) 2021-11-17 07:28:48 +10:00
lib.test.ts Change Notetype UI Rework (#1499) 2021-11-24 12:09:55 +10:00
lib.ts Change Notetype UI Rework (#1499) 2021-11-24 12:09:55 +10:00
Mapper.svelte Change Notetype UI Rework (#1499) 2021-11-24 12:09:55 +10:00
MapperRow.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
NotetypeSelector.svelte Change Notetype UI Rework (#1499) 2021-11-24 12:09:55 +10:00
SaveButton.svelte Refactor i18n (#1405) 2021-10-07 23:31:49 +10:00
StickyNav.svelte Change Notetype UI Rework (#1499) 2021-11-24 12:09:55 +10:00
tsconfig.json update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00