| 4bdf82b5 | 27-Mar-2018 |
Andreas Gohr <gohr@cosmocode.de> |
first go at styling
This removes a lot of reudundant CSS classes in favor of cascading selectors. Styling isn't done, yet this is just a first step.
Still to do:
* aria labels * styling the toggle
first go at styling
This removes a lot of reudundant CSS classes in favor of cascading selectors. Styling isn't done, yet this is just a first step.
Still to do:
* aria labels * styling the toggle mechanism * RTL styling * making sure everything displays correct when no JS is available * translations may be missing * refactoring the rest of search.less to make use of LESS features
show more ...
|
| 16ece95c | 27-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(search): trigger new event for small search field form
This also renames the event for the search form on the search page.
The scheme for naming events that provide the new Form-class as $data
feat(search): trigger new event for small search field form
This also renames the event for the search form on the search page.
The scheme for naming events that provide the new Form-class as $data is FORM_<formname>_OUTPUT
show more ...
|
| 18856c5d | 26-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
refactor(search): extract simplified SearchState class
Building the new search links is complex and we're going to add another parameter with the new sorting by mtime. Extracting a new class seems l
refactor(search): extract simplified SearchState class
Building the new search links is complex and we're going to add another parameter with the new sorting by mtime. Extracting a new class seems like the cleanest way to handle that increasing complexity.
show more ...
|
| 1b48999c | 26-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
refactor(search): move filtering by time into _ft_page*
This is the more appropriate place for that functionality, because now it happens inside the default function for the respective pagesearch an
refactor(search): move filtering by time into _ft_page*
This is the more appropriate place for that functionality, because now it happens inside the default function for the respective pagesearch and pagelookup events and can be properly handled by plugins.
show more ...
|
| d22b78c8 | 26-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(search): use dedicated url-parameter for search query
This way we do not loose the context of the current page. Further, the new id generated from the query before wasn't really that useful (se
feat(search): use dedicated url-parameter for search query
This way we do not loose the context of the current page. Further, the new id generated from the query before wasn't really that useful (see issue #1124 ). And we can still generate a meaningful link "create a page for your query", if that is considered useful.
Further redirects exist for the old urls, so bookmarked searches etc. should mostly keep working.
show more ...
|
| bbc1da2e | 23-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(search): filter results by lastmod time
This allows filtering of results by the last modified time. It still needs a custom date entry option, highlighting of the currently selected option (if
feat(search): filter results by lastmod time
This allows filtering of results by the last modified time. It still needs a custom date entry option, highlighting of the currently selected option (if any) and a better place where the filtering happens.
show more ...
|
| d09b5b64 | 22-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(search): add config options to adjust default behavior
This adds two new config options:
`search_limit_to_first_ns`: Limit the search to the current X namespaces. When a search is executed fro
feat(search): add config options to adjust default behavior
This adds two new config options:
`search_limit_to_first_ns`: Limit the search to the current X namespaces. When a search is executed from a page within a deeper namespace, the first X namespaces will be added as filter. Possible use case could be with language namespaces to ensure that the default search is initially within the current language.
`search_default_fragment_behaviour`: Option to specify the default fragment search behavior
show more ...
|
| cbcc2fa5 | 22-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(search): add origin page as parameter
There are several use cases in which knowing the page where a search request originated would be useful. This commit adds a `from` parameter which provides
feat(search): add origin page as parameter
There are several use cases in which knowing the page where a search request originated would be useful. This commit adds a `from` parameter which provides that information.
show more ...
|
| 4eab6f7c | 21-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(search): trigger event for each result
Add events around each search result, both for the pagename results and the fullpage results.
The fullpage results are wrapped in a div for better separa
feat(search): trigger event for each result
Add events around each search result, both for the pagename results and the fullpage results.
The fullpage results are wrapped in a div for better separation and styling. ( see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl )
These events are intended to provide plugin authors with the ability to hydrate the search results with more information.
show more ...
|
| bb8ef867 | 20-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(search): add search assistance for simple queries
This add some search assistance to simple, single-word search queries which may be restricted to a single namespace.
Further improvements: * b
feat(search): add search assistance for simple queries
This add some search assistance to simple, single-word search queries which may be restricted to a single namespace.
Further improvements: * better styling * trigger events for other plugins * set namespaces directly from fulltext search results * some more config options
show more ...
|