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 | { |
| 7 | name: null, |
| 8 | options: [ |
| 9 | {codename: 'list'}, |
| 10 | {codename: 'thread'}, |
| 11 | {codename: 'threadall'}, |
| 12 | ], |
| 13 | }, |
| 14 | { |
| 15 | name: 'enhancements', |
| 16 | options: [ |
| 17 | {codename: 'fixedtoolbar'}, |
| 18 | {codename: 'redirect'}, |
| 19 | {codename: 'history'}, |
| 20 | {codename: 'loaddrafts', experimental: true}, |
| 21 | {codename: 'increasecontrast'}, |
| 22 | {codename: 'stickysidebarheaders'}, |
| 23 | {codename: 'ccdarktheme'}, |
| 24 | {codename: 'ccforcehidedrawer'}, |
| 25 | {codename: 'ccdragndropfix', customHTML: '<div id="dragndrop-wrapper" class="option" hidden><input type="checkbox" id="ccdragndropfix"> <label for="ccdragndropfix" data-i18n="ccdragndropfix"></label></div>'}, |
| 26 | {codename: 'batchlock'}, |
| 27 | {codename: 'enhancedannouncementsdot'}, |
| 28 | {codename: 'repositionexpandthread', experimental: true}, |
avm99963 | 6c1869e | 2021-08-09 13:24:10 +0200 | [diff] [blame] | 29 | {codename: 'threadlistavatars'}, |
Adrià Vilanova Martínez | 2a99c24 | 2021-09-07 12:44:16 +0200 | [diff] [blame] | 30 | {codename: 'autorefreshlist'}, |
Adrià Vilanova Martínez | 09f35be | 2021-09-06 19:50:09 +0200 | [diff] [blame] | 31 | ], |
| 32 | }, |
| 33 | { |
| 34 | name: 'profileindicator_header', |
| 35 | options: [ |
| 36 | {codename: 'profileindicator'}, |
| 37 | {codename: 'profileindicatoralt'}, |
| 38 | ], |
| 39 | footerHTML: '<div class="option"><a id="profileIndicatorMoreInfo" target="_blank" rel="noreferrer noopener" data-i18n="profileindicator_moreinfo"></a></div>', |
| 40 | }, |
| 41 | ], |
| 42 | } |