Commit graph

233 commits

Author SHA1 Message Date
alistair3149 ead527c6ec
Fixed undefined var 2020-01-01 16:43:08 -05:00
alistair3149 658084bb0d
Add option to choose description source for search suggestion 2020-01-01 16:38:10 -05:00
alistair3149 bf647fe054
Dark search suggestion hotfix 2020-01-01 14:33:33 -05:00
alistair3149 435f2fceb0
Search suggestion placeholder dark styles 2020-01-01 14:27:54 -05:00
Hannes f90b653385
Add search string to no result card 2020-01-01 02:27:48 +01:00
alistair3149 5508e51eb1
Supress stylelint error 2019-12-31 14:09:02 -05:00
alistair3149 bed74883e5
Add gradient for the loading animation 2019-12-31 14:06:45 -05:00
alistair3149 fdd8b16160
Disable OOUI loading 2019-12-31 13:55:01 -05:00
alistair3149 12f6a69d09
Added missing doc 2019-12-31 13:46:11 -05:00
alistair3149 6f3a161433
Skeleton placeholder for search suggestion 2019-12-31 13:43:38 -05:00
alistair3149 2257e64671
Attempt to fix the eslint error 2019-12-31 13:25:54 -05:00
alistair3149 540613bba1
Changed suggestion placeholder 2019-12-31 13:12:49 -05:00
Hannes dce4f9e328
Fix undef var 2019-12-31 12:44:24 +01:00
Hannes 3aa733f96d
Refactor typeahead
- Instead of inserting/removing script elements use the actual mw.Api object
- Add localization to loading and no result messages

Needs design pass:
- Display a loading indicator upon typing in the input field
- Display a no results indicator if no results could be found
2019-12-31 12:42:39 +01:00
alistair3149 40f5439b8d
Removed unused var 2019-12-30 23:31:39 -05:00
alistair3149 ffcc3ceab4
Decouple mw config from scripts 2019-12-30 23:29:10 -05:00
alistair3149 ec99af3143
Move getconfig out of api request 2019-12-30 19:45:24 -05:00
Hannes e1b0132cb8
Fix .active Element sometimes being null 2019-12-30 15:53:22 +01:00
alistair3149 51e4ec3922
Removed persepctive as it breaks position fixed on Chrome 2019-12-28 12:44:53 -05:00
alistair3149 75d16f8f1c
Oops should be negative instead 2019-12-28 12:35:39 -05:00
Hannes 5d0f211290
Use @header-height - @margin-side 2019-12-28 18:07:50 +01:00
Hannes 691e9900ad
Remove padding, add top offset 2019-12-28 18:06:12 +01:00
Hannes 987fb23125
Make mw-sidebar-sitename flexible
This removes the need to overwrite the 'top' property in the global css.
2019-12-28 10:40:50 +01:00
Hannes 2c39eafe6b
Move datatables into lecacy.shared 2019-12-27 15:19:47 +01:00
Hannes 5e7b6ba880
Fix darkmode color for active a elements in main menu 2019-12-27 14:52:30 +01:00
Hannes cedd3c9e0a
Add Data Tables darkmode 2019-12-26 22:58:42 +01:00
Hannes beccd56b3c
WIP Add darkmode definitions to recent changes
The added mw.* files wont load, so the definitions are in darkmode.less for now..
2019-12-26 22:46:59 +01:00
Hannes 4429026ead
Lint + Fix .less files 2019-12-26 11:22:05 +01:00
Hannes 5386e000b5
Fix eslint complaining about js files 2019-12-26 10:40:43 +01:00
alistair3149 72afb6928e
Attempt to supress some ESlint error #2 2019-12-26 03:29:18 -05:00
alistair3149 0d6959b50b
Attempt to supress some ESlint error 2019-12-26 03:25:56 -05:00
Hannes c1174c0ee5
Made code MW compliant 2019-12-26 00:24:31 +01:00
Hannes 6b3b4980dd
Remove jQuery
Refactored header.js
- Removed global vars
- Removed jQuery

'Should' behave the same like the old version. Some testing needed.
2019-12-26 00:23:38 +01:00
alistair3149 67ca36e631 Changed h1 h2 line height 2019-12-23 18:44:04 -05:00
alistair3149 dc7453ec7c Moved contact button to global config, fixed php quote styles 2019-12-20 15:19:17 -05:00
alistair3149 0e286b7dbd Fix legend dark mode color 2019-12-20 14:56:04 -05:00
alistair3149 364bd55b55 Dropped TTF and EOT support 2019-12-20 13:12:31 -05:00
alistair3149 f73a50f065 Oops missed a semi colon 2019-12-16 15:05:29 -05:00
alistair3149 0ba57f9114 Tweaked autosuggest position 2019-12-16 15:03:57 -05:00
alistair3149 94d026552a Fixed search icon 2019-12-16 14:52:04 -05:00
alistair3149 45c1e0dfab Added styles for the search button 2019-12-16 14:36:18 -05:00
alistair3149 229c8540bb Switched search button from text to icon 2019-12-16 14:10:44 -05:00
alistair3149 06d399ec3f Increased the number of search result from 6 to 10 2019-12-13 23:31:48 -05:00
alistair3149 ca72018b49 Fixed search button height 2019-12-13 17:40:40 -05:00
alistair3149 462562c447 Add support for using description for search result 2019-12-13 01:21:16 -05:00
alistair3149 9d7d0ec5d0 Update to manifest 2 2019-12-12 21:25:37 -05:00
alistair3149 525c25f922 Fixed ToC styles 2019-12-12 17:21:18 -05:00
alistair3149 d1b06df7d0 Enable Description2 for testing 2019-12-12 17:11:14 -05:00
alistair3149 71c23103c1 Better search UI on mobile #3 2019-12-12 13:37:26 -05:00
alistair3149 6941f6131e Better search UI on mobile #2 2019-12-12 12:52:52 -05:00