Commit graph

1273 commits

Author SHA1 Message Date
Simon Stier 2e3e5feb9b
feat(search): add SMW Ask API as search backend option (#625)
* feat: add SMW Ask API as search backend option
* feat: allow namespace prefix in smw ask query
2023-05-18 13:57:43 -04:00
Simon Stier a7b99d11f0
feat(core): add config var 'wgCitizenTableNowrapClasses' (#621)
* add config var 'wgCitizenTableNowrapClasses'
* refactor: load config via require
2023-05-18 13:53:58 -04:00
alistair3149 d35b1a8eb5
fix(core): 🐛 incorrect max-width value 2023-05-09 17:04:16 -04:00
alistair3149 6c04fee280
feat(core): add basic scriptless responsive table support
This should also fix the issue where table are overflowing out to the toc
2023-05-09 17:03:50 -04:00
github-actions b0b91e55d3 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-05-07 20:29:45 +00:00
alistair3149 5ca0f030bc
fix(core): 🐛 add missing border between thead and tbody 2023-05-07 16:28:38 -04:00
alistair3149 801eb9a13b
fix(core): 🐛 add gap between footer icons under the same li 2023-05-06 18:07:21 -04:00
alistair3149 09ffed668d
fix(core): 🐛 ensure loading indicator is removed when script is loaded 2023-05-06 17:51:41 -04:00
github-actions bedfa3a571 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-05-06 04:31:50 +00:00
alistair3149 838a7f5100
fix(core): 🐛 do not resize image in table
That seems to only happen with the new media format
2023-05-06 00:30:37 -04:00
alistair3149 35821b62ae
feat(core): more saturated base text color 2023-05-05 10:22:32 -04:00
alistair3149 cd93b3d679
feat(core): ignore cargo dynamic table for table wrapper 2023-05-02 01:09:54 -04:00
alistair3149 79daca474a
feat(core): ignore dataTable for table wrapper
It seems that dataTable collide with the wrapper for some reason.
Looking for help on this one if anyone knows.
2023-05-02 00:32:07 -04:00
github-actions 7e20e2d8da ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-05-02 04:03:32 +00:00
alistair3149 c2922f6ba2
feat(core): switch page-container to flex layout 2023-05-02 00:02:25 -04:00
alistair3149 661fbf0b8f
feat(core): do not wrap changelist tables 2023-05-01 23:34:18 -04:00
alistair3149 587cea1ee9
feat(core): check parent container for table nowrap class 2023-05-01 14:50:48 -04:00
alistair3149 3d14f9cf0b
feat(core): do not wrap nested tables 2023-05-01 14:45:08 -04:00
alistair3149 c10dd046c3
refactor(core): ♻️ minor variable name cleanup 2023-05-01 03:08:08 -04:00
github-actions 8d044aea95 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-05-01 06:38:27 +00:00
alistair3149 81affb88f1
feat(core): ignore infobox class for table wrapper 2023-05-01 02:37:32 -04:00
github-actions 8bd678a180 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-05-01 06:24:37 +00:00
alistair3149 d1d49e62d5
feat(core): inherit float classes to table wrapper
So that table would have the correct float style
2023-05-01 02:23:40 -04:00
github-actions ee90992a89 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-05-01 06:06:54 +00:00
alistair3149 b2eaf0a41a
feat(core): add HTML class to disable table wrapper
Adding the class `.citizen-table-nowrap` will stop Citizen from adding wrapper to the table
2023-05-01 02:05:58 -04:00
github-actions 1f5f72ed15 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-04-30 23:55:44 +00:00
alistair3149 e45af9bbbe
feat(core): add scroll affordance to tables 2023-04-30 19:54:31 -04:00
alistair3149 ce9963467d
refactor(core): ♻️ load content scripts using wikipage.content hook 2023-04-30 18:01:53 -04:00
github-actions 1945988d6f ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-04-30 21:02:42 +00:00
alistair3149 8c888a7e1f
feat(core): make tables responsive without breaking table layout
Instead of a CSS solution used previously, switch to a JS solution to wrap tables.
This should ensure the table renders correctly and also scrollable.
This lays the groundwork for making table more user-friendly in the future.
2023-04-30 17:01:29 -04:00
github-actions 3ad4d62eef ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-04-14 17:30:33 +00:00
alistair3149 612382f567
fix(core): 🐛 avoid double spacing between notice and content 2023-04-14 13:29:15 -04:00
alistair3149 aaa82d06ef
feat(search): trigger typeahead update when character is composed
Only trigger an update when the character is fully composed.
Examples include various CJK IMEs

Closes: #608
2023-04-03 12:48:10 -04:00
alistair3149 84246c503d
refactor(search): ♻️ do not pass messages var around 2023-04-03 11:52:38 -04:00
alistair3149 90890de53f
feat(core): add config flag to disable preferences menu 2023-03-27 14:08:38 -04:00
alistair3149 b47f2658c7
fix(core): 🐛 remove redundant override for image height
There is no need for important for image height.
This should also fix the issue where inline height are being overriden.
Fix: #605
2023-03-27 13:48:29 -04:00
alistair3149 015b1e1b9a
fix(core): 🐛 respect config flag for default theme
This should fix the issue where CitizenThemeDefault is not working
2023-03-20 12:21:46 -04:00
alistair3149 ba50defaba
refactor(core): ♻️ make typeahead items more reusuable 2023-03-01 16:31:42 -05:00
alistair3149 68313123e9
feat(core): apply box-sizing: border-box by default 2023-03-01 16:08:07 -05:00
alistair3149 0b7c72ca5e
fix(search): 🐛 align typeahead with input 2023-03-01 15:34:50 -05:00
alistair3149 b8a1d9c224
refactor(search): ♻️ simplify typeahead styles 2023-03-01 15:27:43 -05:00
alistair3149 235a76c2bd
feat(core): add border to Citizen cards 2023-03-01 15:02:34 -05:00
github-actions 9e15415835 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-02-28 21:59:36 +00:00
alistair3149 19ddd61e19
feat(core): clean up print styles 2023-02-28 16:58:35 -05:00
alistair3149 ddb425c4bb
fix(core): 🐛 responsive thumbnail on new media structure 2023-02-22 15:12:06 -05:00
alistair3149 54c8717d45
refactor(core): ♻️ simplify menu header implementation 2023-02-22 14:47:32 -05:00
github-actions db4e6a3867 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-02-17 05:25:36 +00:00
alistair3149 8f4910153a
fix(core): 🐛 incorrect thumbnail center styles 2023-02-17 00:24:34 -05:00
alistair3149 65aff44e1c
Revert "feat(core): do not synthesize font styles through browser"
It is not ready for current usage yet, see #591
2023-02-16 23:30:14 -05:00
alistair3149 83f7fc5db2
feat(core): update font stacks 2023-02-16 13:00:10 -05:00