Commit graph

369 commits

Author SHA1 Message Date
alistair3149 4353855b88
build: bump to 1.8.2 2023-08-31 15:37:43 -04:00
alistair3149 f82b5555f6
refactor: remove unused method 2023-08-31 15:36:20 -04:00
alistair3149 ca4df6d884
refactor: remove console log 2023-08-31 15:35:44 -04:00
alistair3149 5a2735121f
feat: use wikipage.content hook to init scripts 2023-08-31 15:35:22 -04:00
dependabot[bot] f7570ad8a3
build(deps-dev): bump stylelint-config-wikimedia from 0.16.0 to 0.16.1 (#98)
Bumps [stylelint-config-wikimedia](https://github.com/wikimedia/stylelint-config-wikimedia) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/wikimedia/stylelint-config-wikimedia/releases)
- [Changelog](https://github.com/wikimedia/stylelint-config-wikimedia/blob/main/CHANGELOG.md)
- [Commits](https://github.com/wikimedia/stylelint-config-wikimedia/commits)

---
updated-dependencies:
- dependency-name: stylelint-config-wikimedia
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-23 23:52:15 -07:00
dependabot[bot] 044b89fbdf
build(deps): bump tj-actions/changed-files from 37 to 38 (#99)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37 to 38.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v37...v38)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-23 23:52:05 -07:00
alistair3149 973081d369
build: bump to 1.8.1 2023-07-30 18:08:51 -04:00
alistair3149 576918d32e
refactor: simplify header buttons implementation 2023-07-28 17:46:58 -04:00
alistair3149 420754d185
refactor: use one event listener for all tabs
TIL about event delegation
2023-07-28 17:18:15 -04:00
alistair3149 7c95e570a8
fix: aria-hidden return string instead of boolean 2023-07-28 03:27:42 -04:00
alistair3149 f6435de56a
refactor: check for active panel at update height function instead 2023-07-28 02:47:59 -04:00
alistair3149 54166529cb
fix: only resize section when it is the active panel 2023-07-28 02:43:26 -04:00
dependabot[bot] 819b55a93d
build(deps-dev): bump stylelint-config-wikimedia from 0.15.0 to 0.16.0 (#97)
Bumps [stylelint-config-wikimedia](https://github.com/wikimedia/stylelint-config-wikimedia) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/wikimedia/stylelint-config-wikimedia/releases)
- [Changelog](https://github.com/wikimedia/stylelint-config-wikimedia/blob/main/CHANGELOG.md)
- [Commits](https://github.com/wikimedia/stylelint-config-wikimedia/compare/v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: stylelint-config-wikimedia
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-17 15:43:19 -04:00
github-actions a7660375fc ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-07-12 02:07:37 +00:00
H. C. Kruse 7f75899995
feat: add support for nested tabbers in Codex (#95)
* refactor: Apply some code cleanup

* feat: WIP dynamic nested tabber in codex

* feat: Make deeply nested tabbers work

* doc: fix comment position

---------

Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
2023-07-11 22:06:57 -04:00
translatewiki.net da7d95c0ae Localisation updates from https://translatewiki.net. 2023-07-06 13:16:34 +02:00
alistair3149 ae6a28ce96
build: bump to 1.8.0 2023-07-05 23:11:35 -04:00
alistair3149 a3212b6c2b
feat: wrap tab content in <p> if there are no HTML elements 2023-07-05 23:07:57 -04:00
alistair3149 c06f0e7e74
refactor: rename TabberNeueEnableLegacyMode to TabberNeueUseCodex 2023-07-05 23:00:32 -04:00
alistair3149 857f6f1f9f
feat: allow nested Tabber to be shown in VE preview 2023-07-05 22:57:05 -04:00
alistair3149 a29e3a22c0
feat: reinitialize Tabber after VE edit part 2 2023-07-05 22:10:58 -04:00
github-actions dcfc693834 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-07-06 02:10:01 +00:00
alistair3149 090327222e
Merge branch 'main' of github.com:StarCitizenTools/mediawiki-extensions-TabberNeue 2023-07-05 22:09:51 -04:00
alistair3149 cbf6ca0c1f
feat: reinitalize Tabber after VE edit 2023-07-05 22:09:39 -04:00
github-actions 7a42d9f055 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-07-06 01:48:00 +00:00
alistair3149 8278e66548
refactor: update Parsoid implementation
Note that it is not enabled, still a WIP
2023-07-05 21:47:50 -04:00
alistair3149 a4e59057bf
feat: add Vue component for tab content 2023-07-05 20:00:59 -04:00
alistair3149 5f856a1a73
fix: override default MW list styles 2023-07-05 18:33:04 -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 e3a82e603b
refactor: deprecate 2023-07-05 18:14:52 -04:00
alistair3149 0fbfefcb87
fix: avoid using noscript as it is disallowed by VE 2023-07-05 18:03:00 -04:00
alistair3149 f8e3b758b2
fix: fix var scope in VE scripts 2023-07-05 17:51:24 -04:00
github-actions dcc4bc1f97 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-07-05 21:43:37 +00:00
alistair3149 49d4e8ec29
refactor: various eslint cleanups 2023-07-05 17:43:41 -04:00
alistair3149 d026a1835d
doc: add $wgTabberNeueEnableLegacyMode to README 2023-07-05 17:31:05 -04:00
github-actions 597f976e7e ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-07-05 21:28:55 +00: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
dependabot[bot] 75ce280665
build(deps): bump tj-actions/changed-files from 36 to 37 (#94)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 36 to 37.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v36...v37)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 23:36:36 -04:00
dependabot[bot] 5fbc5d688a
build(deps): bump tj-actions/changed-files from 35 to 36 (#93)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 35 to 36.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v35...v36)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-22 17:21:26 -04:00
dependabot[bot] 0d3d1e1090
build(deps-dev): bump eslint-config-wikimedia from 0.24.0 to 0.25.1 (#92)
Bumps [eslint-config-wikimedia](https://github.com/wikimedia/eslint-config-wikimedia) from 0.24.0 to 0.25.1.
- [Release notes](https://github.com/wikimedia/eslint-config-wikimedia/releases)
- [Changelog](https://github.com/wikimedia/eslint-config-wikimedia/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wikimedia/eslint-config-wikimedia/compare/v0.24.0...v0.25.1)

---
updated-dependencies:
- dependency-name: eslint-config-wikimedia
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-22 17:21:17 -04:00
dependabot[bot] 147653fa23
build(deps-dev): bump grunt-banana-checker from 0.10.0 to 0.11.0 (#90)
Bumps [grunt-banana-checker](https://github.com/wikimedia/banana-checker) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/wikimedia/banana-checker/releases)
- [Changelog](https://github.com/wikimedia/banana-checker/blob/master/History.md)
- [Commits](https://github.com/wikimedia/banana-checker/commits)

---
updated-dependencies:
- dependency-name: grunt-banana-checker
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 12:47:58 -04:00
dependabot[bot] 0c60f28c1c
build(deps-dev): bump stylelint-config-wikimedia from 0.14.0 to 0.15.0 (#91)
Bumps [stylelint-config-wikimedia](https://github.com/wikimedia/stylelint-config-wikimedia) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/wikimedia/stylelint-config-wikimedia/releases)
- [Changelog](https://github.com/wikimedia/stylelint-config-wikimedia/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wikimedia/stylelint-config-wikimedia/compare/v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: stylelint-config-wikimedia
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 12:47:51 -04:00
dependabot[bot] 9a4438f153
build(deps-dev): update mediawiki/mediawiki-phan-config requirement (#87)
Updates the requirements on [mediawiki/mediawiki-phan-config](https://github.com/wikimedia/mediawiki-tools-phan) to permit the latest version.
- [Release notes](https://github.com/wikimedia/mediawiki-tools-phan/releases)
- [Changelog](https://github.com/wikimedia/mediawiki-tools-phan/blob/master/HISTORY.md)
- [Commits](https://github.com/wikimedia/mediawiki-tools-phan/compare/0.12.0...0.12.1)

---
updated-dependencies:
- dependency-name: mediawiki/mediawiki-phan-config
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-18 12:48:26 -04:00
Zoran Dori 3f59d1e039
docs: update minimum MW version (#86)
Update minimal version of MediaWiki, as per update which is done in extension.json.
2023-04-17 23:41:46 -04:00
dependabot[bot] b7a90f9ad3
build(deps-dev): bump stylelint-config-wikimedia from 0.13.1 to 0.14.0 (#83)
Bumps [stylelint-config-wikimedia](https://github.com/wikimedia/stylelint-config-wikimedia) from 0.13.1 to 0.14.0.
- [Release notes](https://github.com/wikimedia/stylelint-config-wikimedia/releases)
- [Changelog](https://github.com/wikimedia/stylelint-config-wikimedia/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wikimedia/stylelint-config-wikimedia/compare/v0.13.1...v0.14.0)

---
updated-dependencies:
- dependency-name: stylelint-config-wikimedia
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 23:40:23 -04:00
dependabot[bot] 6a8ee33109
build(deps-dev): update mediawiki/mediawiki-codesniffer requirement (#84)
Updates the requirements on [mediawiki/mediawiki-codesniffer](https://github.com/wikimedia/mediawiki-tools-codesniffer) to permit the latest version.
- [Release notes](https://github.com/wikimedia/mediawiki-tools-codesniffer/releases)
- [Changelog](https://github.com/wikimedia/mediawiki-tools-codesniffer/blob/master/HISTORY.md)
- [Commits](https://github.com/wikimedia/mediawiki-tools-codesniffer/compare/v40.0.1...v41.0.0)

---
updated-dependencies:
- dependency-name: mediawiki/mediawiki-codesniffer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 23:39:53 -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
github-actions b5329229c9 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-02-16 19:11:17 +00:00
alistair3149 874738db2a
feat: add langauge converter support
This should allow MW apply langauge conversion to tab title
2023-02-16 14:10:46 -05:00