RumovZ
c81cf7ffaf
Move Column logic into main rslib
2021-04-09 19:09:48 +02:00
RumovZ
3b23248983
Remove pb SortKind enum and use pb Columns instead
2021-04-09 18:50:30 +02:00
RumovZ
93c6e258aa
Merge SortKind enum into Column enum
2021-04-09 18:03:29 +02:00
RumovZ
e28f2320b8
Unify state columns
...
* Remove duplicate backend columns
* Remove duplicate column routines
* Move columns on frontend from state to model
* Generate available columns from Colum enum
* Add second column label for notes mode
2021-04-08 23:48:24 +02:00
RumovZ
8c499ed5bf
Rename columns for future mode-independent use
2021-04-08 23:43:48 +02:00
RumovZ
3845ccc846
Add card mod column for notes mode
2021-04-08 20:14:10 +02:00
RumovZ
f4081084a9
Add deck column for notes mode
2021-04-08 19:46:06 +02:00
RumovZ
0ff193cd5d
Add enum for column sorting
2021-04-08 11:40:24 +02:00
RumovZ
47eeb5da14
Add enum for column alignment
2021-04-08 11:28:29 +02:00
RumovZ
7ea1dbd4a4
Move BrowserColumn into BrowserColumns message
2021-04-08 10:16:06 +02:00
RumovZ
82b9c9f320
Add column logic on backend
2021-04-06 19:46:12 +02:00
RumovZ
6233a125fc
Add note interval column
2021-03-30 23:44:35 +02:00
RumovZ
ca87a6fc45
Add note due column
2021-03-30 21:39:15 +02:00
RumovZ
9e34c0f80c
Rename browser_rows to browser_table
...
Reflects the addition of column handling.
2021-03-30 12:08:35 +02:00
RumovZ
880e6dc651
Add browser column enum for backend
2021-03-30 11:59:52 +02:00
RumovZ
34d3d24003
Add note lapses column
2021-03-29 16:06:15 +02:00
RumovZ
1eb1747365
Add note reps column
2021-03-29 15:52:02 +02:00
RumovZ
1f79a8766d
squash merge browser refactor
...
Closes #1100
2021-03-29 16:14:54 +10:00
Damien Elmes
d793c30526
switch NoteType to Notetype
...
When used as a variable, we were typically calling it a 'notetype', not
a 'note type'.
2021-03-27 22:03:19 +10:00
Damien Elmes
a90d5aa359
use mixed case for abbreviations in Rust code
...
So, this is fun. Apparently "DeckId" is considered preferable to the
"DeckID" were were using until now, and the latest clippy will start
warning about it. We could of course disable the warning, but probably
better to bite the bullet and switch to the naming that's generally
considered best.
2021-03-27 19:53:33 +10:00
Damien Elmes
5e70b9ff0e
fix warning in latest Rust
2021-03-26 23:06:15 +10:00
Damien Elmes
d7a577e3af
move browser_row method into search service
...
For want of a better place to put it. Also split the node conversion
into a separate file.
2021-03-23 18:55:05 +10:00