Commit graph

370 commits

Author SHA1 Message Date
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
alistair3149 365777eae3
feat: improve noscript support
1. Allow other tabs to be shown
2. Put noscript message in warning box
2023-02-16 14:02:04 -05:00
translatewiki.net 021c410682 Localisation updates from https://translatewiki.net. 2023-02-06 13:12:04 +01:00
dependabot[bot] 3a96b18827
build(deps): bump tj-actions/changed-files from 34 to 35 (#77)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 34 to 35.
- [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/v34...v35)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-18 19:30:55 -05:00
dependabot[bot] c344a2b4da
build(deps-dev): bump eslint-config-wikimedia from 0.23.0 to 0.24.0 (#79)
Bumps [eslint-config-wikimedia](https://github.com/wikimedia/eslint-config-wikimedia) from 0.23.0 to 0.24.0.
- [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.23.0...v0.24.0)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-18 19:30:45 -05:00
translatewiki.net 4e46f9e0dc Localisation updates from https://translatewiki.net. 2023-01-12 13:11:48 +01:00
alistair3149 7f04013085
fix(ci): fix incorrect directory in CI (#75) 2022-12-05 14:56:43 -05:00
NekoCharm 18f278e1ad
fix: use data-title for tab panel (#74) 2022-12-05 00:26:49 -05:00
translatewiki.net 4cbaf99c69 Localisation updates from https://translatewiki.net. 2022-11-24 13:09:51 +01:00
dependabot[bot] bc3d7d04f1
build(deps-dev): update mediawiki/mediawiki-codesniffer requirement (#71)
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/v39.0.0...v40.0.1)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-10 02:42:00 -05:00
translatewiki.net f940f4cc09 Localisation updates from https://translatewiki.net. 2022-11-07 13:20:08 +01:00
github-actions 37fbbf0d28 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-11-02 23:56:38 +00:00
alistair3149 7b61ca663e
feat(core): use data-title instead of title attribute for tab panel
Title attribute produces a tooltip over the whole tab panel.
That is not ideal and the a11y need is already fulfilled by aria-label.
2022-11-02 19:55:46 -04:00
translatewiki.net 1ad8c8460f Localisation updates from https://translatewiki.net. 2022-10-31 13:19:15 +01:00
dependabot[bot] 6cc84fd555
build(deps): bump tj-actions/changed-files from 32 to 34 (#70)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 32 to 34.
- [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/v32...v34)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 14:33:02 -04:00
alistair3149 34611f87f0
build: bump to 1.7.4 2022-10-25 17:20:30 -04:00
alistair3149 e124e8170a
feat: do not animate indicator when scrolling 2022-10-23 18:06:52 -04:00
alistair3149 ce35fb8908
refactor: reduce variable scope 2022-10-23 17:33:39 -04:00
alistair3149 656f3967f9
refactor: use aria attribute instead of class to select panels 2022-10-23 17:11:18 -04:00
alistair3149 9349bc334e
refactor: use aria attribute instead of class to select tabs 2022-10-23 17:07:19 -04:00
alistair3149 1cb5cfb6c7
fix: indicator should not expand header height 2022-10-22 16:38:46 -04:00
alistair3149 852256a75d
fix: typo in variable 2022-10-21 23:10:38 -04:00
alistair3149 57257cd1ba
refactor: simpler indicator update
False alert, no need to use IntersectionObserver so yeahhh
2022-10-21 23:07:56 -04:00
alistair3149 62cb545642
fix: indicator should be visible for nested tabs
This commit also drops support for IE. The script will be rewritten in ES6 and bumping MW requirement
2022-10-21 22:43:14 -04:00
alistair3149 f1e0df2112
feat: separate indicator from active tab
This will allow us to animate the indicator separately.
Which will be needed to make the indicator scroll with the panel.
2022-10-21 18:01:48 -04:00
github-actions 096ef941ce ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-10-21 19:55:17 +00:00
alistair3149 cb1dbb239f
chore: ci cleanup 2022-10-21 15:54:44 -04:00
alistair3149 1ff78cd0b2
feat: add scroll snap to section
This is required for anchor links to scroll to the correct tab.
However this might re-trigger the bug mentioned in #47 and #38,
need some alternative to fix those.
2022-10-21 15:54:24 -04:00
dependabot[bot] 767ac2ee28
build(deps): bump styfle/cancel-workflow-action from 0.10.1 to 0.11.0 (#67)
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.10.1 to 0.11.0.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases)
- [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.10.1...0.11.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-13 23:27:55 -04:00
dependabot[bot] 77ff19d09f
build(deps-dev): update mediawiki/mediawiki-phan-config requirement (#66)
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.11.1...0.12.0)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-07 22:50:51 -04:00
dependabot[bot] 5217b356d8
build(deps): bump tj-actions/changed-files from 31 to 32 (#65)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 31 to 32.
- [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/v31...v32)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-06 08:59:14 -04:00
dependabot[bot] 72dbdf820c
build(deps): bump styfle/cancel-workflow-action from 0.10.0 to 0.10.1 (#64)
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases)
- [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.10.0...0.10.1)

---
updated-dependencies:
- dependency-name: styfle/cancel-workflow-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 13:21:55 -04:00
alex4401 787fede532
fix: jumping to a tabber when no hash specified (#63)
Sorry for this oversight on my end.
2022-09-29 02:13:56 -04:00
alistair3149 f9983fb7a0
build: bump to 1.7.3 2022-09-28 09:55:11 -04:00
alex4401 5b4f9adc15
feat: scroll target hash tabber into view (#62)
This might not happen automatically to a simple race condition: browser may try to look up the anchor before the extension initialises.
2022-09-28 09:53:14 -04:00
dependabot[bot] 8c5ab665d4
build(deps): bump tj-actions/changed-files from 25 to 31 (#60)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 25 to 31.
- [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/v25...v31)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-28 09:51:46 -04:00
dependabot[bot] 05cc991b2c
build(deps-dev): bump stylelint-config-idiomatic-order (#61)
Bumps [stylelint-config-idiomatic-order](https://github.com/ream88/stylelint-config-idiomatic-order) from 8.1.0 to 9.0.0.
- [Release notes](https://github.com/ream88/stylelint-config-idiomatic-order/releases)
- [Commits](https://github.com/ream88/stylelint-config-idiomatic-order/commits)

---
updated-dependencies:
- dependency-name: stylelint-config-idiomatic-order
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-28 09:51:37 -04:00
dependabot[bot] 1f2a3382e0
build(deps-dev): bump eslint-config-wikimedia from 0.22.1 to 0.23.0 (#43)
Bumps [eslint-config-wikimedia](https://github.com/wikimedia/eslint-config-wikimedia) from 0.22.1 to 0.23.0.
- [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.22.1...v0.23.0)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-13 18:39:54 -04:00
dependabot[bot] 9f0af65c4c
build(deps): bump tj-actions/changed-files from 24 to 25 (#45)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 24 to 25.
- [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/v24...v25)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-13 18:39:45 -04:00
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