Adrià Vilanova Martínez | 09f35be | 2021-09-06 19:50:09 +0200 | [diff] [blame] | 1 | // This file defines the sections of the options page, in which section each |
| 2 | // option appears in, whether the "experimental" label should appear next to the |
| 3 | // option label, and whether each option should use custom HTML. |
| 4 | { |
| 5 | sections: [ |
| 6 | { |
Adrià Vilanova Martínez | 41afccc | 2021-10-16 00:08:50 +0200 | [diff] [blame] | 7 | name: 'featuredoptions', |
Adrià Vilanova Martínez | 09f35be | 2021-09-06 19:50:09 +0200 | [diff] [blame] | 8 | options: [ |
| 9 | {codename: 'list'}, |
| 10 | {codename: 'thread'}, |
| 11 | {codename: 'threadall'}, |
Adrià Vilanova Martínez | 09f35be | 2021-09-06 19:50:09 +0200 | [diff] [blame] | 12 | {codename: 'ccdarktheme'}, |
avm99963 | 6c1869e | 2021-08-09 13:24:10 +0200 | [diff] [blame] | 13 | {codename: 'threadlistavatars'}, |
Adrià Vilanova Martínez | 41afccc | 2021-10-16 00:08:50 +0200 | [diff] [blame] | 14 | {codename: 'history'}, |
| 15 | {codename: 'batchlock'}, |
Adrià Vilanova Martínez | 2a99c24 | 2021-09-07 12:44:16 +0200 | [diff] [blame] | 16 | {codename: 'autorefreshlist'}, |
Adrià Vilanova Martínez | 09f35be | 2021-09-06 19:50:09 +0200 | [diff] [blame] | 17 | ], |
| 18 | }, |
| 19 | { |
Adrià Vilanova Martínez | 41afccc | 2021-10-16 00:08:50 +0200 | [diff] [blame] | 20 | name: null, |
Adrià Vilanova Martínez | 09f35be | 2021-09-06 19:50:09 +0200 | [diff] [blame] | 21 | options: [ |
| 22 | {codename: 'profileindicator'}, |
| 23 | {codename: 'profileindicatoralt'}, |
| 24 | ], |
| 25 | footerHTML: '<div class="option"><a id="profileIndicatorMoreInfo" target="_blank" rel="noreferrer noopener" data-i18n="profileindicator_moreinfo"></a></div>', |
| 26 | }, |
Adrià Vilanova Martínez | 41afccc | 2021-10-16 00:08:50 +0200 | [diff] [blame] | 27 | { |
| 28 | name: 'minorenhancements', |
| 29 | options: [ |
| 30 | {codename: 'fixedtoolbar'}, |
| 31 | {codename: 'redirect'}, |
| 32 | {codename: 'loaddrafts', experimental: true}, |
| 33 | {codename: 'increasecontrast'}, |
| 34 | {codename: 'stickysidebarheaders'}, |
| 35 | {codename: 'ccforcehidedrawer'}, |
| 36 | {codename: 'ccdragndropfix', customHTML: '<div id="dragndrop-wrapper" class="option" hidden><input type="checkbox" id="ccdragndropfix"> <label for="ccdragndropfix" data-i18n="ccdragndropfix"></label></div>'}, |
| 37 | {codename: 'enhancedannouncementsdot'}, |
| 38 | {codename: 'repositionexpandthread', experimental: true}, |
Adrià Vilanova Martínez | 9d27c21 | 2021-12-05 13:54:10 +0100 | [diff] [blame] | 39 | {codename: 'imagemaxheight'}, |
Adrià Vilanova Martínez | 41afccc | 2021-10-16 00:08:50 +0200 | [diff] [blame] | 40 | ], |
| 41 | }, |
Adrià Vilanova Martínez | 09f35be | 2021-09-06 19:50:09 +0200 | [diff] [blame] | 42 | ], |
| 43 | } |