Commit graph

86 commits

Author SHA1 Message Date
alistair3149 ab8e306fc6 feat: throw exception when duplicated label is found under legacy ID mode 2024-11-16 03:19:11 -05:00
alistair3149 56619bf56f feat: simplify implementation and drop hash usage
Instead of doing JS hashing, just append the tabber count to the end of the ID.
Having the same tab label within the same Tabber breaks in the previous behavior anyways
2024-11-16 03:19:11 -05:00
alistair3149 1b60511ae7
feat: add TabberNeueUseLegacyTabIds config option (#184)
Also fix the issue where disabling TabberNeueEnableAnimation didn't actually work

---------

Co-authored-by: Jayden Bailey <jaydenkieran@gmail.com>
2024-11-10 03:16:11 -05:00
alistair3149 ea1c1e97e0
build: release 2.5.0 (#174) 2024-08-31 20:09:28 -04:00
alistair3149 57d3425792
build: release 2.4.0 (#164) 2024-07-17 13:07:49 -04:00
alistair3149 1d71c288b4
build: release 2.3.0 (#159) 2024-07-03 17:50:05 -04:00
alistair3149 eeb36b9fbc
build: release 2.2.4 (#153) 2024-06-23 16:37:25 -04:00
alistair3149 c33e2c6686
build: release 2.2.3 (#152) 2024-06-23 16:31:21 -04:00
alistair3149 53a1ed7887
build: release 2.2.2 (#140) 2024-06-20 15:04:33 -04:00
alistair3149 272b507c6c
build: release 2.2.1 (#134) 2024-06-06 18:29:13 -04:00
alistair3149 82328dbeca
build: release 2.2.0 (#130) 2024-06-02 14:21:56 -04:00
alistair3149 0904298948
feat: add screen reader text to navigation button 2024-06-02 14:02:34 -04:00
alistair3149 ef75abb854
build: release 2.1.1 (#129) 2024-05-26 22:31:36 -04:00
alistair3149 751c106e45
build: release 2.1.0 (#128)
Note that the changelog is inaccurate because changes weren't tracked properly before.
Currently this changelog includes everything since the extension is forked.
2024-05-25 18:44:35 -04:00
alistair3149 476af1352b
refactor: separate classes into other files 2024-05-25 16:38:57 -04:00
alistair3149 8d410dfb49
refactor: use init module instead of inline style for skeleton screen 2024-05-25 03:02:18 -04:00
alistair3149 c185ce037f
build: bump to 2.0.0 2024-05-25 00:36:43 -04:00
alistair3149 947a47af2e
feat: set animation to true as that bug has been resolved upstream 2024-05-25 00:36:09 -04:00
alistair3149 bb110c6d98
feat: rewrite Javascript implementation
To ensure easier development and maintenance, IE support is dropped to allow
modern Javascript features. The old tabber module is rewritten into newer
standard and using classes to ensure proper scoping.
2024-05-25 00:33:22 -04:00
alistair3149 9f44a9079d
build: bump to 1.9.1 2024-05-23 22:09:48 -04:00
alistair3149 b172b5fab3
build: bump to 1.9.0 2024-04-24 15:14:48 -04:00
alistair3149 7b1c319e24
feat: allow tab name to be parsed
This is an experimental config and can lead to performance issue and unexpected behavior.

Closes: #35
2024-04-24 15:13:08 -04:00
alistair3149 6e67dd2abb
fix: deprecate mobile target
Closes: #120
2024-04-24 14:04:06 -04:00
alistair3149 cfe539df90
fix: incorrect RL class name 2024-02-08 14:28:57 -05:00
alistair3149 64cafa84f8
fix: deprecate old RL class 2024-02-08 01:49:29 -05:00
alistair3149 4353855b88
build: bump to 1.8.2 2023-08-31 15:37:43 -04:00
alistair3149 973081d369
build: bump to 1.8.1 2023-07-30 18:08:51 -04:00
alistair3149 ae6a28ce96
build: bump to 1.8.0 2023-07-05 23:11:35 -04:00
alistair3149 c06f0e7e74
refactor: rename TabberNeueEnableLegacyMode to TabberNeueUseCodex 2023-07-05 23:00:32 -04:00
alistair3149 a4e59057bf
feat: add Vue component for tab content 2023-07-05 20:00:59 -04:00
alistair3149 cd63b6c10f
refactor: remove noscript message
Tabber already shows content without JS, and noscript handling is a bit tricky in MW
2023-07-05 18:32:18 -04:00
alistair3149 89e90af034
feat: add experimental support of Codex
It can be enabled by setting `$wgTabberNeueEnableLegacyMode` to `true`.
It is the first implementation and a WIP with numerous caveats:
- Nested Tabber does not work
- Tabber Transclue does not work
2023-07-05 17:26:33 -04:00
alistair3149 ebb10283dc
feat: bump requirement to > MW 1.39
The later refactor and features planned need 1.39+ to work
2023-03-20 12:16:59 -04:00
alistair3149 f9ecf2ad37
build: bump to 1.7.5 2023-02-16 14:21:05 -05:00
alistair3149 34611f87f0
build: bump to 1.7.4 2022-10-25 17:20:30 -04:00
alistair3149 f9983fb7a0
build: bump to 1.7.3 2022-09-28 09:55:11 -04:00
alistair3149 b1f339e58c
build: bump to 1.7.2 2022-06-29 17:24:25 -04:00
alistair3149 831eeee16c
refactor: use proper extension namespaces 2022-06-29 17:22:14 -04:00
alistair3149 047ba17d1b
fix: hide duplicate images generated by MobileFrontend
When a thumb is placed inside tabber under an article section, MobileFrontend duplicates
the image for some reason. So the hacky way to fix this is to hide the duplicated image.
Since it is an upstream issue, there are not much I can do.

Closes: #2
2022-06-29 17:01:57 -04:00
alistair3149 6b530290a4
build: bump to 1.7.1 2022-06-18 20:02:46 -04:00
alistair3149 04d0b84d4b
build: bump to 1.7.0 2022-06-05 15:19:30 -04:00
alistair3149 122df779e7
feat: add config to toggle Tabber animation and default to false
Add a config to enable/disable Tabber scrolling animation.

It is currently default to false as smooth scrolling is broken on Safari,
as tabs would not scroll at all with it on. It is an upstream browser bug
that is being tracked here: https://bugs.webkit.org/show_bug.cgi?id=238497
2022-06-03 16:46:42 -04:00
alistair3149 043e47e2c9
build: bump to 1.6.1 2022-05-31 03:22:20 -04:00
alistair3149 7b63c853bf
build: bump to 1.6.0 2022-05-06 17:56:08 -04:00
alistair3149 8fdead811e
feat: add tracking categories for pages using Tabber
Pages with tabber/tabbertransclude tag will have a tracking category called Category:Pages using Tabber/TabberTransclude parser tag. To hide the category, put the __HIDDENCAT__ magic word on the category page
2022-05-06 13:09:03 -04:00
alistair3149 e642364b6f
build: bump to 1.5.2 2022-04-23 18:44:42 -04:00
alistair3149 dc3cb203a3
fix: disable Parsoid extension module support
Seems like it is preventing VE to open by somehow breaking Parsoid (restbase error 500) in MW 1.35.5.
Disabling it for now.
2022-04-23 18:41:14 -04:00
alistair3149 5df6a0f772
feat: add link to documentation in VE context item
Also make the text label for tabbertransclude different so that it does not get mixed up with regular tabber
2022-04-22 22:22:44 -04:00
alistair3149 68d52b27a8
build: bump to 1.5.1 2022-04-22 20:01:42 -04:00
alistair3149 d0be57a629
feat: add basic VE support for tabbertransclude tag
* Add basic inspector tool for tabbertransclude
* Add custom icon for Tabber
* Fix an issue where Tabber VE dialog is triggered when selecting mapframe
2022-04-22 19:34:06 -04:00