commit
a8161615ce
@ -1,5 +1,6 @@
|
|||||||
- Added `Image Size` setting for the catalog.
|
- Added `Image Size` setting for the catalog.
|
||||||
- Added a keybind to cycle through index sort types, `Ctrl+x` by default.
|
- Added a keybind to cycle through index sort types, `Ctrl+x` by default.
|
||||||
|
- Added keybindings for index modes, `Ctrl+{1,2,3}` by default.
|
||||||
|
|
||||||
### 3.17.1 - *2014-02-10*
|
### 3.17.1 - *2014-02-10*
|
||||||
|
|
||||||
|
|||||||
@ -188,6 +188,9 @@ Config =
|
|||||||
'Next page': ['Right', 'Jump to the next page.']
|
'Next page': ['Right', 'Jump to the next page.']
|
||||||
'Previous page': ['Left', 'Jump to the previous page.']
|
'Previous page': ['Left', 'Jump to the previous page.']
|
||||||
'Search form': ['Ctrl+Alt+s', 'Focus the search field on the board index.']
|
'Search form': ['Ctrl+Alt+s', 'Focus the search field on the board index.']
|
||||||
|
'Paged mode': ['Ctrl+1', 'Sets the index mode to paged.']
|
||||||
|
'All pages mode': ['Ctrl+2', 'Sets the index mode to all threads.']
|
||||||
|
'Catalog mode': ['Ctrl+3', 'Sets the index mode to catalog.']
|
||||||
'Cycle sort type': ['Ctrl+x', 'Cycle through index sort types.']
|
'Cycle sort type': ['Ctrl+x', 'Cycle through index sort types.']
|
||||||
# Thread Navigation
|
# Thread Navigation
|
||||||
'Next thread': ['Down', 'See next thread.']
|
'Next thread': ['Down', 'See next thread.']
|
||||||
|
|||||||
@ -186,6 +186,9 @@ Index =
|
|||||||
val: isPinned: thread.isPinned
|
val: isPinned: thread.isPinned
|
||||||
Index.sort()
|
Index.sort()
|
||||||
Index.buildIndex()
|
Index.buildIndex()
|
||||||
|
setIndexMode: (mode) ->
|
||||||
|
Index.selectMode.value = mode
|
||||||
|
$.event 'change', null, Index.selectMode
|
||||||
cycleSortType: ->
|
cycleSortType: ->
|
||||||
types = [Index.selectSort.options...].filter (option) -> !option.disabled
|
types = [Index.selectSort.options...].filter (option) -> !option.disabled
|
||||||
for type, i in types
|
for type, i in types
|
||||||
|
|||||||
@ -88,6 +88,15 @@ Keybinds =
|
|||||||
$('.prev button', Index.pagelist).click()
|
$('.prev button', Index.pagelist).click()
|
||||||
when Conf['Search form']
|
when Conf['Search form']
|
||||||
Index.searchInput.focus()
|
Index.searchInput.focus()
|
||||||
|
when Conf['Paged mode']
|
||||||
|
return unless g.VIEW is 'index' and Conf['Index Mode'] isnt 'paged'
|
||||||
|
Index.setIndexMode 'paged'
|
||||||
|
when Conf['All pages mode']
|
||||||
|
return unless g.VIEW is 'index' and Conf['Index Mode'] isnt 'all pages'
|
||||||
|
Index.setIndexMode 'all pages'
|
||||||
|
when Conf['Catalog mode']
|
||||||
|
return unless g.VIEW is 'index' and Conf['Index Mode'] isnt 'catalog'
|
||||||
|
Index.setIndexMode 'catalog'
|
||||||
when Conf['Cycle sort type']
|
when Conf['Cycle sort type']
|
||||||
Index.cycleSortType()
|
Index.cycleSortType()
|
||||||
# Thread Navigation
|
# Thread Navigation
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user