Commit graph

431 commits

Author SHA1 Message Date
chixvv1 d70049f67b
fix: one pixel offset on tab panels (#47) 2022-08-13 18:38:49 -04:00
dependabot[bot] 2446821f1a
build(deps-dev): bump grunt-banana-checker from 0.9.0 to 0.10.0 (#37)
Bumps [grunt-banana-checker](https://github.com/wikimedia/banana-checker) from 0.9.0 to 0.10.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/compare/v0.9.0...v0.10.0)

---
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>
2022-08-01 11:26:36 -04:00
dependabot[bot] a90f944a22
build(deps-dev): bump stylelint-config-wikimedia from 0.13.0 to 0.13.1 (#42)
Bumps [stylelint-config-wikimedia](https://github.com/wikimedia/stylelint-config-wikimedia) from 0.13.0 to 0.13.1.
- [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.0...v0.13.1)

---
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>
2022-08-01 11:26:27 -04:00
dependabot[bot] 337d0362a4
build(deps): bump tj-actions/changed-files from 23.1 to 24 (#40)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 23.1 to 24.
- [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/v23.1...v24)

---
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>
2022-08-01 11:26:18 -04:00
alistair3149 0e69defa31
fix: allow composer/installers in ci 2022-08-01 11:25:21 -04:00
translatewiki.net 57ed13877c Localisation updates from https://translatewiki.net. 2022-08-01 13:12:33 +02:00
alistair3149 6a40de7b37
feat: do not set title attribute for tab panel
This should prevent tooltip from showing up when hovering over the tab panel container. Title doesn't really do much accessibility wise since ARIA attributes are already set
2022-07-06 03:07:17 -04:00
dependabot[bot] 1d26cfd9ef
build(deps): bump styfle/cancel-workflow-action from 0.9.1 to 0.10.0 (#33)
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases)
- [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.9.1...0.10.0)

---
updated-dependencies:
- dependency-name: styfle/cancel-workflow-action
  dependency-type: direct:production
  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>
2022-06-29 17:31:10 -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 380d52e24c
fix: more accurate selector for duplicated MF images 2022-06-29 17:14:55 -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
dependabot[bot] bba0f8bb65
build(deps): bump tj-actions/changed-files from 22 to 23.1 (#32)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 22 to 23.1.
- [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/v22...v23.1)

---
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>
2022-06-25 15:38:58 -04:00
alistair3149 6b530290a4
build: bump to 1.7.1 2022-06-18 20:02:46 -04:00
alistair3149 7762a0e9f4
fix: panel should adjust to content height 2022-06-18 20:02:26 -04:00
translatewiki.net 2ee397c829 Localisation updates from https://translatewiki.net. 2022-06-16 13:13:39 +02:00
alistair3149 8ab7b8330d
fix: tab panel going out of bound 2022-06-16 00:36:05 -04:00
translatewiki.net b1fa077f46 Localisation updates from https://translatewiki.net. 2022-06-13 13:13:10 +02:00
translatewiki.net 9debebe3eb Localisation updates from https://translatewiki.net. 2022-06-09 13:11:51 +02:00
alistair3149 04d0b84d4b
build: bump to 1.7.0 2022-06-05 15:19:30 -04:00
ArdWar 52baab566b
feat: allow for identical tab header (#28) 2022-06-05 15:16:48 -04:00
github-actions 05cfd51669 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-06-05 19:14:03 +00:00
ArdWar 9535181261
perf: revert back to recursiveTagParse() (#27)
* fix unnecessary whitespace trim on tab content

* use recursiveTagParse() to lessen unstrip size
2022-06-05 15:13:24 -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
dependabot[bot] 45dc6fa00d
build(deps): bump tj-actions/changed-files from 21 to 22 (#26)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 21 to 22.
- [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/v21...v22)

---
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>
2022-05-31 19:56:05 -04:00
alistair3149 043e47e2c9
build: bump to 1.6.1 2022-05-31 03:22:20 -04:00
auburnsummer e54a313de4
fix: run script after document is ready (#25)
* Wait until document ready before main

* More robust ready state handling

Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
2022-05-31 03:21:17 -04:00
dependabot[bot] 13c55e9403
build(deps): bump tj-actions/changed-files from 20 to 21 (#24)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 20 to 21.
- [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/v20...v21)

---
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>
2022-05-26 13:50:20 -04:00
GenerationFallout f610d66385
feat: update French translation (#23)
Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
2022-05-18 14:30:04 -04:00
dependabot[bot] 880f9b734f
build(deps): bump tj-actions/changed-files from 19 to 20 (#22)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 19 to 20.
- [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/v19...v20)

---
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>
2022-05-16 13:58:54 -04:00
dependabot[bot] bc81eb1af2
build(deps-dev): update php-parallel-lint/php-console-highlighter requirement (#18)
Updates the requirements on [php-parallel-lint/php-console-highlighter](https://github.com/php-parallel-lint/PHP-Console-Highlighter) to permit the latest version.
- [Release notes](https://github.com/php-parallel-lint/PHP-Console-Highlighter/releases)
- [Changelog](https://github.com/php-parallel-lint/PHP-Console-Highlighter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/php-parallel-lint/PHP-Console-Highlighter/compare/v0.5...v1.0.0)

---
updated-dependencies:
- dependency-name: php-parallel-lint/php-console-highlighter
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-13 18:03:08 -04:00
dependabot[bot] f8f35ffe4d
build(deps-dev): bump eslint-config-wikimedia from 0.20.0 to 0.22.1 (#21)
Bumps [eslint-config-wikimedia](https://github.com/wikimedia/eslint-config-wikimedia) from 0.20.0 to 0.22.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.20.0...v0.22.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>
2022-05-13 18:03:00 -04:00
dependabot[bot] 86fb3d2bd0
build(deps-dev): update mediawiki/mediawiki-codesniffer requirement (#19)
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/v36.0.0...v39.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>
2022-05-13 18:02:53 -04:00
dependabot[bot] 4c1ff5e12b
build(deps-dev): bump stylelint-config-wikimedia from 0.11.1 to 0.13.0 (#20)
Bumps [stylelint-config-wikimedia](https://github.com/wikimedia/stylelint-config-wikimedia) from 0.11.1 to 0.13.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.11.1...v0.13.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>
2022-05-13 18:01:34 -04:00
dependabot[bot] 71e39779b0
build(deps-dev): update mediawiki/mediawiki-phan-config requirement (#17)
Updates the requirements on [mediawiki/mediawiki-phan-config](https://github.com/wikimedia/mediawiki-phan-config) to permit the latest version.
- [Release notes](https://github.com/wikimedia/mediawiki-phan-config/releases)
- [Changelog](https://github.com/wikimedia/mediawiki-phan-config/blob/master/HISTORY.md)
- [Commits](https://github.com/wikimedia/mediawiki-phan-config/compare/0.10.6...0.11.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>
2022-05-13 18:01:22 -04:00
dependabot[bot] 604643f08b
build(deps-dev): update php-parallel-lint/php-parallel-lint requirement (#16)
Updates the requirements on [php-parallel-lint/php-parallel-lint](https://github.com/JakubOnderka/PHP-Parallel-Lint) to permit the latest version.
- [Release notes](https://github.com/JakubOnderka/PHP-Parallel-Lint/releases)
- [Commits](https://github.com/JakubOnderka/PHP-Parallel-Lint/commits)

---
updated-dependencies:
- dependency-name: php-parallel-lint/php-parallel-lint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-13 18:01:11 -04:00
alistair3149 0617ae5d53
chore: set up dependabot 2022-05-13 17:59:07 -04:00
alistair3149 7b63c853bf
build: bump to 1.6.0 2022-05-06 17:56:08 -04:00
alistair3149 1f4436843f
feat: improve loading behavior before module is added
* Add skeleton screen to avoid layout shift
* Hide other sections before the module is loaded to avoid layout shift
* Add noscript message
* Header container is now saved in parser instead of being generated.
If you have any issues with the script, try clearing out the parser cache
or do an empty edit.
2022-05-06 17:53:52 -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 b9eda4c4e7
fix: incorrect aria attribute label 2022-04-30 17:14:44 -04:00
alistair3149 dea326423c
chore(ci): more robust linter
* Only run linter if there are changes
* Cancel previous running workflow
* Cache dependencies
2022-04-30 17:01:25 -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 5a5e9eecaf
refactor: clean up Javascript according to ESLint 2022-04-22 20:00:32 -04:00
alistair3149 87c0a1b3f4
ci: re-enable Wikimedia ES5 Eslint config 2022-04-22 20:00:03 -04:00
alistair3149 853bbfed5c
refactor: remove unused comment 2022-04-22 19:59:20 -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