Commit graph

2021 commits

Author SHA1 Message Date
alistair3149 5fb9627ba7
refactor(core): clean up unused LESS variables 2022-05-01 19:09:00 -04:00
alistair3149 709a89d399
perf(core): remove box-shadow transition for thumbnails
It is not nessecary and expensive to run. If it is needed, a pseudo element should be used instead
2022-05-01 18:57:59 -04:00
alistair3149 b39452d3b5
refactor(core): remove unnessecary style overrides for links
* Visited link styles are removed from MW already,
there are no need to use important to override those rules.
* Citizen should not override text-decoration setting if users
want to have underline links.
2022-05-01 18:45:48 -04:00
alistair3149 d5397d4ea4
chore(ci): changed-files should compare to remote 2022-04-30 18:09:27 -04:00
alistair3149 4bacf2fff1
perf(core): remove expensive CSS transitions 2022-04-30 18:04:19 -04:00
alistair3149 c74f1685d6
feat(core): add aria-label for preferences button 2022-04-30 18:01:38 -04:00
alistair3149 ac3ebf56a2 fix(core): incorrect aria-controls ID in section toggle 2022-04-30 17:19:57 -04:00
alistair3149 429b462d3f
chore(ci): more robust linter
* Only run linter if there are changes
* Cancel previous running workflow
* Cache dependencies
2022-04-30 16:58:36 -04:00
alistair3149 76a84d9e00 feat(core): add ARIA support to collaspible sections
* Also renamed toggle to indicator since it is misleading. The whole heading is the toggle itself.
2022-04-30 14:48:09 -04:00
alistair3149 b69ca82650
fix: lower header z-index to 4
The original z-index is way too high (10) and would overlap dialogs.
It should be set to 4 (same as Vector 2022) to ensure compatiblity with OOUI elements.

Closes #447
2022-04-30 13:50:49 -04:00
Lens0021 2787d49a96
fix: find toolbox explicitly (#448)
The last item in the sidebar is not always the toolbox in some wikis, as result, a wrong portlet is displayed.
2022-04-30 02:54:13 -04:00
alistair3149 0f381493f1
feat(skinStyles): tweak CookieWarning styles
* Add a 720px max width to the cookie banner so it does not span the whole page
* Remove border
2022-04-29 14:42:02 -04:00
alistair3149 7800f701c3
feat(skinStyles): update Lingo to grade B 2022-04-29 13:39:40 -04:00
dependabot[bot] 3b5ad2818f
build(deps-dev): bump @commitlint/cli from 16.2.3 to 16.2.4 (#446)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 16.2.3 to 16.2.4.
- [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/v16.2.4/@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>
2022-04-29 02:03:31 -04:00
dependabot[bot] a43516c8e7
build(deps-dev): bump @commitlint/config-conventional (#445)
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 16.2.1 to 16.2.4.
- [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/v16.2.4/@commitlint/config-conventional)

---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
  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-04-29 02:01:29 -04:00
alistair3149 39225d6f36
perf(core): improve rendering performance of drawer menu 2022-04-28 21:54:54 -04:00
alistair3149 87f6e4fa19
feat(core): tweak sitestats style
* Left align the drawer header
* Hide file count when width is smaller than 480px
2022-04-28 21:41:41 -04:00
alistair3149 774731bacf chore(release): 1.14.1 2022-04-28 16:15:36 -04:00
alistair3149 af548969f3 chore: standard-version should also bump skin.json 2022-04-28 16:15:24 -04:00
alistair3149 1a7860ecb8
feat(skinStyles): tweak Popup styles 2022-04-28 15:53:25 -04:00
alistair3149 c23a1d7838
feat: unify modal styles
All modals should follow the same styles
2022-04-28 15:18:41 -04:00
alistair3149 13ed0f07fa
chore: fix incorrect version in skin.json
Somehow standard-release forgot to bump up the version in skin.json
2022-04-28 01:49:07 -04:00
alistair3149 eb9cd37cb7
fix: add missing selector in older MW version
mw-portlet is not available in older MW version, added mw-portal as backup
2022-04-28 01:22:20 -04:00
alistair3149 571704f3a9
feat(core): tweak code block styles
* Add rounded corner
* Update background color
2022-04-27 19:38:12 -04:00
alistair3149 da0174c17e feat(skinStyles): update StructuredDiscussions to grade B
It should also fix all the error that comes with using Citizen with the extension

Closes #438
2022-04-27 18:53:06 -04:00
github-actions 39d28d2f9b ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-04-27 21:07:47 +00:00
alistair3149 5eb212ad53 chore: fix various error messages in GitHub Actions 2022-04-27 17:06:38 -04:00
alistair3149 ae4dc16121
docs: remove references unused SkinStyles grades
Grade C and D SkinStyles are all updated to at least grade B, so there is no need to mention those grades anymore.
2022-04-27 16:58:04 -04:00
alistair3149 840b7b8fa0 chore(release): 1.14.0 2022-04-27 16:49:13 -04:00
alistair3149 d22f562816
fix: uncaught value when no theme value is saved
Users are unable to open the preference panel when there are no theme option saved in localStorage.
It is because prefValue.theme will return null which will stop the script from executing.
Now when prefValue.theme is null, it will default to auto.
2022-04-27 16:44:53 -04:00
alistair3149 37efe85bb7
feat: allow scripts to run when MobileFrontend is active 2022-04-27 16:43:53 -04:00
alistair3149 f0b9879fbd
feat: add skinStyles for collapsible toggles in MobileFrontend 2022-04-27 16:27:12 -04:00
alistair3149 9eeac80bf5
feat: tweak collapsible toggle size 2022-04-27 16:15:23 -04:00
alistair3149 8eaaecf957
feat: do not format body content if MobileFrontend is active (#409)
MobileFrontend formats body content to enable features such as collasible headers.
Citizen should not attempt to format it as it will break features in MF.
2022-04-27 15:58:16 -04:00
alistair3149 7e068dd4b1
refactor: simplify unnessecary selectors 2022-04-27 14:43:02 -04:00
alistair3149 b9b795ff11
refactor: use gap instead of margin-right for spacing 2022-04-27 14:02:10 -04:00
alistair3149 a61635ea8f
feat: tweak edit button styles when both visual and source edit are present 2022-04-27 13:35:03 -04:00
alistair3149 0177a06a22 feat: use wikiText icon for source edit when VE is present
* Use wikitext icon to indicate source edit instead of regular edit icon.
* Visual edit would now use regular edit icon
2022-04-27 13:12:59 -04:00
alistair3149 37beda8e87 feat: show namespace (e.g. Discussion) on page tools 2022-04-27 13:12:59 -04:00
alistair3149 d6415ecde6
docs: update skinStyles grade 2022-04-27 11:33:03 -04:00
alistair3149 77caba9d05 chore: do not proceed if there are no diff 2022-04-26 12:52:32 -04:00
github-actions 84570162b9 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-04-26 16:41:52 +00:00
alistair3149 8f5a50af30
chore: regenerate lock file 2022-04-26 12:40:54 -04:00
github-actions 0a6cf86486 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-04-26 16:25:56 +00:00
alistair3149 01e783187f style: use tabs instead of spaces in package.json 2022-04-26 12:24:39 -04:00
alistair3149 cbc95c36b3 chore(release): 1.13.0 2022-04-26 12:19:45 -04:00
alistair3149 69ef0ed68c
chore: add additional config for standard-release 2022-04-26 12:19:22 -04:00
alistair3149 e71225be1b chore: use standard-version to generate changelog 2022-04-26 12:10:33 -04:00
alistair3149 309ae7cec9
chore: enforce conventional commit at git commit 2022-04-26 12:06:20 -04:00
alistair3149 47e3e5c0ca
build: bump to 1.13.0 2022-04-25 22:33:35 -04:00