H. C. Kruse
a1139e7797
fix(Tables): Check if element.parentNode
is null ( #681 )
...
Happened on the recent changes table. While the added line in TableNowrapClasses also fixes this, I've left it in as a safeguard.
2023-07-03 08:48:15 -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
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
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
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