Commit graph

3310 commits

Author SHA1 Message Date
alistair3149 0c0f4f4ffb
feat(search): strip wikitext link syntax in search 2023-08-25 18:00:55 -07:00
alistair3149 2fa1e4b51e
chore(release): 🚀 2.8.1 2023-08-25 17:37:01 -07:00
alistair3149 2f2dc3328c
feat(search): search template namespace when template syntax {{}} is used 2023-08-25 17:28:39 -07:00
alistair3149 96f6361851
feat(core): use quiet hover color for menu items 2023-08-25 17:03:38 -07:00
alistair3149 d62bdca69c
refactor(core): ♻️ update title class to use the newer standard 2023-08-25 16:52:58 -07:00
H. C. Kruse 661ad61486
ci: add PHPUnit tests (#712)
* ci: WIP add PHP Unit Tests

* ci: 👷 lint code to MediaWiki standards

Check commit and GitHub actions for more details

* ci: Add phpunit tests

---------

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2023-08-25 14:39:37 -07:00
dependabot[bot] 1ee98e9cae
chore(deps): bump tj-actions/changed-files from 37 to 38 (#709)
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-25 14:37:26 -07:00
alistair3149 cb5f4a065b
fix(StructuredDiscussion): 🐛 merge skinStyles into the same RL module
Related: T292245
Closes: #711
2023-08-24 22:22:58 -07:00
github-actions 4b1128b3b7 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-08-25 00:57:30 +00:00
alistair3149 b350660f4c
refactor(core): ♻️ use namespaced title class
Bumped minimum MW requirements to 1.39.4 as it is nessecary.
Related: T166010, T338114
2023-08-24 17:56:42 -07:00
alistair3149 853e9a9190
feat(search): increase description extract character limit to 100 2023-08-24 15:30:03 -07:00
alistair3149 042f2bfbba
feat(search): use square aspect ratio for suggestion thumbnail 2023-08-24 15:23:46 -07:00
alistair3149 1cfe3cdfc8
fix(core): 🐛 catch IntlException for NumberFormatter
This should at least avoid Citizen throwing an exception.
However, it won't address the root cause of the issue.

Closes #474
2023-08-24 14:58:10 -07:00
alistair3149 2c1940c4bb
fix(search): 🐛 search history URL should not force fulltext 2023-08-23 21:26:34 -07:00
alistair3149 590d610363
chore(release): 🚀 2.8.0 2023-08-23 17:44:26 -07:00
alistair3149 f6d3fc95e3
feat(search): add search history to initial state 2023-08-23 17:44:01 -07:00
alistair3149 bd41516190
fix(search): 🐛 do not add empty term to search history 2023-08-22 14:21:06 -07:00
github-actions 2ed6b71165 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-08-22 21:03:44 +00:00
alistair3149 dc9f6f034c
feat(core): tweak more menu spacing 2023-08-22 14:02:50 -07:00
dependabot[bot] d17f39d053
chore(deps-dev): bump stylelint-config-wikimedia from 0.16.0 to 0.16.1 (#708)
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-22 06:40:10 -04:00
dependabot[bot] d0b74ecf83
chore(deps-dev): bump stylelint from 15.10.2 to 15.10.3 (#707)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 15.10.2 to 15.10.3.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/15.10.2...15.10.3)

---
updated-dependencies:
- dependency-name: stylelint
  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-22 06:40:01 -04:00
translatewiki.net 48b75d76dd Localisation updates from https://translatewiki.net. 2023-08-17 13:16:56 +02:00
alistair3149 87886b39a0
fix(core): 🐛 only increase search input font size for mobile 2023-08-14 23:49:01 -04:00
alistair3149 07aa883195
fix(core): 🐛 increase search input font size to 1rem
Closes: #513
2023-08-14 23:48:09 -04:00
dependabot[bot] 6cecb7cc97
chore(deps-dev): bump @commitlint/cli from 17.7.0 to 17.7.1 (#705)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.7.0 to 17.7.1.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.7.1/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  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-12 14:32:47 -04:00
alistair3149 1155b72636
refactor(search): ♻️ use forEach loop for better readability 2023-08-12 14:20:53 -04:00
alistair3149 98984efd25
refactor(search): ♻️ avoid unnessecary const declaration 2023-08-12 14:16:29 -04:00
alistair3149 02662315f8
refactor(search): ♻️ minor cleanup 2023-08-12 14:11:06 -04:00
alistair3149 122819b67e
fix(core): 🐛 bump search input font size
It might fix #513 hopefully
2023-08-11 18:45:04 -04:00
dependabot[bot] 2eb559df66
chore(deps-dev): bump @commitlint/config-conventional (#703)
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 17.6.7 to 17.7.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.7.0/@commitlint/config-conventional)

---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
  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-08-10 02:26:32 -04:00
dependabot[bot] a7c1a94cc5
chore(deps-dev): bump @commitlint/cli from 17.6.7 to 17.7.0 (#702)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.6.7 to 17.7.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.7.0/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  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-08-10 02:24:22 -04:00
alistair3149 c8ba546be8
feat(core): reduce space between section indicator and title 2023-08-07 17:20:40 -04:00
alistair3149 d091f7eb53
chore(release): 🚀 2.7.11 2023-08-07 17:04:09 -04:00
alistair3149 2016e2a30c
refactor(search): ♻️ break down some of the suggestions functions 2023-08-07 17:00:56 -04:00
alistair3149 b015647cc6
fix(search): 🐛 avoid double escape for equal sign 2023-08-07 16:20:36 -04:00
alistair3149 028103799e
fix(search): 🐛 incorrect SMW search result mapping 2023-08-07 16:18:26 -04:00
alistair3149 59ceaf56cf
refactor(search): ♻️ add groundwork needed for search history 2023-08-04 20:02:42 -04:00
alistair3149 81288a76c8
fix(core): 🐛 remove duplicated id for toc label 2023-08-04 17:36:16 -04:00
alistair3149 29d0f4b1ff
fix(core): 🐛 incorrect value for aria-controls 2023-08-04 17:31:11 -04:00
github-actions 70a003d941 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-08-04 21:25:01 +00:00
alistair3149 283aa86888
refactor(search): ♻️ break down updateTypeahead function 2023-08-04 17:24:22 -04:00
alistair3149 c39a4e6796
refactor(search): ♻️ clean up keydown event 2023-08-04 16:33:17 -04:00
alistair3149 c21348d0c7
refactor(search): ♻️ initial state of the elements should be undefined 2023-08-04 16:27:37 -04:00
alistair3149 0aa776b14c
refactor(search): ♻️ clean up composition events 2023-08-04 16:26:19 -04:00
alistair3149 9921a00c17
fix(search): 🐛 ensure that onFocus event are properly fired 2023-08-04 03:37:28 -04:00
alistair3149 4a478eff7a
chore(release): 🚀 2.7.10 2023-08-03 21:20:58 -04:00
alistair3149 0dd3a82c06
fix(search): 🐛 handle multiple redirect key in Action Search Client 2023-08-03 21:20:47 -04:00
alistair3149 0c84c9d27c
chore(release): 🚀 2.7.9 2023-08-03 21:01:54 -04:00
alistair3149 6fb2b1aaf9
fix(search): 🐛 always set label for search clients 2023-08-03 21:01:21 -04:00
alistair3149 b4d19dc72a
chore(release): 🚀 2.7.8 2023-08-03 20:37:35 -04:00