github-actions
|
dc3ca54d43
|
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
|
2023-12-13 22:10:24 +00:00 |
|
github-actions
|
29a79b15a3
|
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
|
2023-11-06 03:42:30 +00:00 |
|
alistair3149
|
071a58ab74
|
fix(search): 🐛 chip text should not wrap
|
2023-11-05 22:41:42 -05:00 |
|
alistair3149
|
b0f89ba311
|
feat(search): ✨ turn search actions into chips
|
2023-11-03 17:25:30 -04:00 |
|
alistair3149
|
2a2d6e381f
|
fix(search): 🐛 show presult during init
|
2023-09-10 16:38:04 -04:00 |
|
alistair3149
|
68dc715138
|
fix(search): 🐛 search icon clipping
|
2023-09-06 17:41:42 -04:00 |
|
alistair3149
|
e8f33bdf93
|
fix(search): 🐛 make search input selectable
|
2023-09-06 17:34:47 -04:00 |
|
alistair3149
|
6f3d82de04
|
feat(search): ✨ only show edit page action if user has rights
That only works for the main namespace fow now.
|
2023-09-06 17:33:39 -04:00 |
|
alistair3149
|
363144d172
|
refactor(search): ♻️ rearrange mwActionApi URL params
|
2023-08-30 10:32:32 -04:00 |
|
alistair3149
|
31042804df
|
fix(search): 🐛 incorrect thumbnail icon width
|
2023-08-30 10:31:26 -04:00 |
|
alistair3149
|
dc072f4e5b
|
refactor(search): ♻️ make search action into a module
Signed-off-by: alistair3149 <alistair31494322@gmail.com>
|
2023-08-29 20:05:44 -07:00 |
|
alistair3149
|
680d84cfb0
|
refactor(search): ♻️ rename helper text message keys
|
2023-08-29 19:39:13 -07:00 |
|
alistair3149
|
3d31d08021
|
feat(search): ✨ add suggestion to edit page
|
2023-08-29 19:37:17 -07:00 |
|
alistair3149
|
969f4f0d3d
|
feat(search): ✨ various tweaks to typeahead styles
|
2023-08-29 12:32:28 -07:00 |
|
alistair3149
|
2d54cbd930
|
feat(search): ✨ add missing border between placeholder and group
|
2023-08-29 02:25:56 -07:00 |
|
alistair3149
|
9280e7c4a8
|
feat(search): ✨ only add divider between groups
|
2023-08-29 02:23:57 -07:00 |
|
alistair3149
|
1f0a2e5133
|
feat(search): ✨ reorganize DOM structure of the typeahead
|
2023-08-29 01:50:55 -07:00 |
|
alistair3149
|
b33d5bbc87
|
refactor(search): ♻️ rename typeaheadItems to htmlHelper
|
2023-08-28 19:20:44 -07:00 |
|
alistair3149
|
bf0ed2bd55
|
refactor(search): ♻️ use faux element to display search query
|
2023-08-28 18:22:16 -07:00 |
|
alistair3149
|
ff446e61b3
|
refactor(search): ♻️ use option role to select user-selectable items
|
2023-08-27 00:50:10 -07:00 |
|
alistair3149
|
96cf5be48c
|
feat(search): ✨ only add divider between suggestions and footer
|
2023-08-26 16:48:28 -07:00 |
|
alistair3149
|
0c0f4f4ffb
|
feat(search): ✨ strip wikitext link syntax in search
|
2023-08-25 18:00:55 -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
|
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
|
2c1940c4bb
|
fix(search): 🐛 search history URL should not force fulltext
|
2023-08-23 21:26:34 -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 |
|
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
|
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 |
|
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
|
0dd3a82c06
|
fix(search): 🐛 handle multiple redirect key in Action Search Client
|
2023-08-03 21:20:47 -04:00 |
|
alistair3149
|
6fb2b1aaf9
|
fix(search): 🐛 always set label for search clients
|
2023-08-03 21:01:21 -04:00 |
|
alistair3149
|
4b1a39eb1c
|
fix(search): 🐛 avoid double encoding conditions and printouts
|
2023-08-03 20:33:14 -04:00 |
|
alistair3149
|
e24e0e7429
|
docs(search): 📚️ add jsdoc type to typeahead elements
|
2023-08-03 19:30:57 -04:00 |
|
alistair3149
|
fd224071db
|
refactor(search): ♻️ clean up typeahead init and event functions
|
2023-08-03 19:25:41 -04:00 |
|
alistair3149
|
eec5c6fd64
|
feat(search): ✨ reimplement multi search command experiment
Search commands start withs slash and includes: action, rest, ask
|
2023-08-02 22:07:41 -04:00 |
|
alistair3149
|
4241f8522d
|
fix(search): 🐛 exit early if there are no query results
|
2023-08-02 21:28:39 -04:00 |
|
alistair3149
|
17593b8202
|
refactor(search): ♻️ separate search query and client from typeahead.js
|
2023-08-02 20:16:39 -04:00 |
|
alistair3149
|
9862000b11
|
refactor(search): ♻️ clean up search query handling
|
2023-08-02 19:56:09 -04:00 |
|
alistair3149
|
51db19938c
|
feat(search): ✨ reimplement SMW Ask API search
Instead of relying on hardcoded config, you can simply type the
conditions as search query (e.g. `[[Has population::1200]][[:+]]`).
|
2023-08-02 19:02:50 -04:00 |
|
alistair3149
|
431599cb59
|
refactor(search): ♻️ reimplement and clean up search clients
This should make the search clients more readable and easier to expand
|
2023-08-02 18:56:08 -04:00 |
|
alistair3149
|
c2431ebeba
|
refactor(search): ♻️ clean up result fetch functions
Based on Vector implementation
|
2023-07-31 20:59:50 -04:00 |
|
alistair3149
|
ba5bea704e
|
style: 🎨 apply recess order to styles
|
2023-07-27 21:19:27 -04:00 |
|
alistair3149
|
d0b1b8982c
|
refactor(search): ♻️ simplify search box structure
|
2023-07-10 15:13:21 -04:00 |
|
alistair3149
|
88a5d4de9d
|
fix(search): 🐛 abort search request if there are no query
|
2023-07-07 20:44:45 -04:00 |
|
alistair3149
|
4ef5376cab
|
refactor(core): ♻️ clean up various eslint errors
|
2023-07-07 18:00:14 -04:00 |
|
alistair3149
|
608a2be932
|
feat(search): ✨ support all existing gateway in multi search
|
2023-07-07 17:56:01 -04:00 |
|
alistair3149
|
f843f4d1ee
|
fix(search): 🐛 undefined LESS variables
|
2023-07-07 17:26:12 -04:00 |
|
alistair3149
|
6adc0d7eab
|
feat(search): ✨ add experimental multi gateway search
This is experiemental and just a proof of concept for further work.
For now, typing `\/ask` in the search query will trigger SMW Ask search
|
2023-07-07 17:24:34 -04:00 |
|
alistair3149
|
c7e45177cd
|
feat(core): ✨ update menu transition styles and implementation
Same as the previous commit, the transition is now accessible as a CSS variable (transition-menu)
|
2023-07-07 17:02:27 -04:00 |
|
github-actions
|
657c6cf294
|
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
|
2023-06-21 18:31:20 +00:00 |
|
沈澄心
|
89a9957cd4
|
refactor(core): avoid using ES2020+ methods (#669)
Replace ??, ?., and replaceChildren() for better compatibility; hide pref panel in unsupported browsers
* Update mixins.less
* Update Sections.less
* Update TableOfContents.less
* Update interface-edit-section-links.less
* Update mixins.less
* Update Sections.less
* Update TableOfContents.less
* Update interface-edit-section-links.less
* Update sections.js
* Update tableOfContents.js
* Update mwRestApi.js
* Update mwRestApi.js
* Update skins.citizen.preferences.js
* Update mwActionApi.js
* Update typeahead.js
|
2023-06-21 14:30:45 -04:00 |
|
alistair3149
|
434d2688fc
|
refactor(core): ♻️ less specific link underline selector
|
2023-06-15 14:37:07 -04:00 |
|
github-actions
|
97e6714cc4
|
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
|
2023-05-18 17:58:40 +00:00 |
|
Simon Stier
|
2e3e5feb9b
|
feat(search): add SMW Ask API as search backend option (#625)
* feat: add SMW Ask API as search backend option
* feat: allow namespace prefix in smw ask query
|
2023-05-18 13:57:43 -04:00 |
|
github-actions
|
ee90992a89
|
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
|
2023-05-01 06:06:54 +00:00 |
|
alistair3149
|
aaa82d06ef
|
feat(search): ✨ trigger typeahead update when character is composed
Only trigger an update when the character is fully composed.
Examples include various CJK IMEs
Closes: #608
|
2023-04-03 12:48:10 -04:00 |
|
alistair3149
|
84246c503d
|
refactor(search): ♻️ do not pass messages var around
|
2023-04-03 11:52:38 -04:00 |
|
alistair3149
|
ba50defaba
|
refactor(core): ♻️ make typeahead items more reusuable
|
2023-03-01 16:31:42 -05:00 |
|
alistair3149
|
68313123e9
|
feat(core): ✨ apply box-sizing: border-box by default
|
2023-03-01 16:08:07 -05:00 |
|
alistair3149
|
0b7c72ca5e
|
fix(search): 🐛 align typeahead with input
|
2023-03-01 15:34:50 -05:00 |
|
alistair3149
|
b8a1d9c224
|
refactor(search): ♻️ simplify typeahead styles
|
2023-03-01 15:27:43 -05:00 |
|
alistair3149
|
235a76c2bd
|
feat(core): ✨ add border to Citizen cards
|
2023-03-01 15:02:34 -05:00 |
|
github-actions
|
9e15415835
|
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
|
2023-02-28 21:59:36 +00:00 |
|
alistair3149
|
4b8e128e4b
|
feat(search): ✨ add search portals to empty state
|
2023-01-16 18:02:07 -05:00 |
|
alistair3149
|
7416a7f6d1
|
fix(search): 🐛 incorrect max height for search suggestions
|
2023-01-16 17:36:45 -05:00 |
|
alistair3149
|
1e47e95a8d
|
fix(search): 🐛 more robust null check for description
|
2023-01-09 16:24:28 -05:00 |
|
alistair3149
|
242413bf4a
|
fix(search): 🐛 incorrect keyboard navigation on typeahead items
|
2023-01-06 16:03:02 -05:00 |
|
alistair3149
|
60c12706a5
|
feat(search): contain the overscroll of search suggestion
|
2022-12-18 01:09:42 -05:00 |
|
alistair3149
|
2e9dffb7f0
|
fix(search): 🐛 correct URL for MediaSearch
Somehow it has to have the type parameter or it'll just go directly to a page if exists
|
2022-12-17 22:44:36 -05:00 |
|
alistair3149
|
0ca34a5c3f
|
docs(search): 📚️ document functions and objects
|
2022-12-14 11:39:18 -05:00 |
|
alistair3149
|
db79f26a66
|
refactor(search): ♻️ use template literals
|
2022-12-14 11:22:50 -05:00 |
|
alistair3149
|
c2da5c5ade
|
fix(search): 🐛 do not collapse whitespace in label text node
|
2022-12-14 10:40:08 -05:00 |
|
alistair3149
|
203b0b42c3
|
feat(search): ✨ add MediaSearch to typeahead
|
2022-12-14 10:28:45 -05:00 |
|
alistair3149
|
6aa587635d
|
refactor(search): ♻️ clean up clearSuggestion
|
2022-12-14 00:45:43 -05:00 |
|
alistair3149
|
4d1225b96f
|
refactor(search): ♻️ simplify typeahead item styles and classes
|
2022-12-13 23:52:54 -05:00 |
|
github-actions
|
0ef78751a7
|
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
|
2022-12-13 23:26:15 +00:00 |
|
alistair3149
|
074df5272c
|
fix(search): 🐛 incorrect full text search URL
|
2022-12-13 18:25:14 -05:00 |
|
alistair3149
|
cc3e1d41d4
|
fix(search): 🐛 do not shrink thumbnail
|
2022-12-08 13:27:40 -05:00 |
|
alistair3149
|
f81e5b6f1a
|
fix(search): 🐛 null error when rest api is used
|
2022-12-07 18:05:14 -05:00 |
|
alistair3149
|
96ec8e4248
|
fix(search): 🐛 typeahead thumbnails should be center-aligned
|
2022-12-06 14:54:22 -05:00 |
|
alistair3149
|
34804e8258
|
feat(search): ✨ use WMUI icon for placeholder
|
2022-12-06 14:48:18 -05:00 |
|
alistair3149
|
fd0978b73d
|
feat(search): ✨ use background-image instead for typeahead thumbnails
|
2022-12-06 14:27:08 -05:00 |
|
alistair3149
|
284b0d8952
|
feat(search): ✨ add no result state to typeahead
|
2022-12-06 13:52:14 -05:00 |
|
alistair3149
|
a1aeff2e52
|
fix(search): 🐛 restore ID attribute for suggestion items
|
2022-12-06 12:05:34 -05:00 |
|
alistair3149
|
9bf737f720
|
feat(search): ✨ add empty state to typeahead
This is a barebone initial implementation, more work will come to it
|
2022-12-06 12:01:47 -05:00 |
|
alistair3149
|
501286a15d
|
fix(search): 🐛 update selector for fulltexturl
|
2022-12-05 21:13:05 -05:00 |
|
alistair3149
|
e6ca664cc4
|
fix(search): 🐛 enter key should not throw any error
|
2022-12-05 21:10:27 -05:00 |
|