Commit Graph

81 Commits

Author SHA1 Message Date
Justin DiRose e51cde30b2
FIX: Future-proof selection of elements 2020-08-05 12:08:28 -05:00
Justin DiRose 80745b81c9
FIX: Improve topic link click handling
The way we were handling clicks were not always passing topic ids to the
model. This should improve the flow and make it more consistent.
2020-08-05 12:02:09 -05:00
Justin DiRose 13ab415fb0
DEV: Add plugin outlets 2020-08-04 15:17:12 -05:00
Justin DiRose 006a2eb418
FIX: Ensure list model is loaded
This fixes an edge case, such as when browsing directly into a topic in the
Knowledge Explorer view, where when you click the back button and the list
model is not generated.
2020-08-04 15:00:32 -05:00
Penar Musaraj 6f78ea2bb2
DEV: Use CSS custom properties for colors in SCSS
Prepares the plugin for an upcoming change in core while maintaining
backwards compatiblity.
2020-08-03 21:27:43 -04:00
Ioannis Tsagkatakis 04cc06de87
Add Greek Translations (#8) 2020-07-27 13:39:54 -05:00
Justin DiRose 699d057b94
FIX: Links were not clickable after load more
The event listener function was running on the incorrect lifecycle hook.
Should've been didRender.

This commit also fixes a small bug where in some cases the screen would
not scroll all the way to the top.
2020-07-27 11:22:28 -05:00
Justin DiRose 35d234a85a
FIX: Initializer needed to account for disabled plugin 2020-07-21 22:11:57 -05:00
Justin DiRose 3ec3a82dbf
FEATURE: Add keyboard shortcut to access docs 2020-07-21 22:04:41 -05:00
Justin DiRose 14861e3321
FEATURE: Move route to /docs
After further discussion about the route, we landed on /docs as a better
choice. This commit makes that change.
2020-07-14 10:07:18 -05:00
Justin DiRose 25ca793555
FEATURE: Move to '/e'
'/knowledge-explorer' was proving a bit too verbose, so we're changing
it to '/e'. The former route should redirect to the new one.
2020-07-13 10:23:21 -05:00
Justin DiRose 8d1c1fee3e
FIX: Empty solved filter was inescapable
When no solved topics were found in knowledge explorer, it would render an inescapable No Topics Found message. Well now there's a proper door.
2020-07-09 11:12:40 -05:00
Justin DiRose 6c1e565381
Prettier 2020-07-09 10:25:37 -05:00
Justin DiRose 7f44dfc84a
UX: Move solved filter behind plugin setting
On sites where solved is used but solved topics are not included in the knowledge explorer, having the filter caused issues.
2020-07-09 10:22:41 -05:00
Justin DiRose 757047d923
UX: Use tag list for tags setting 2020-07-03 12:07:25 -05:00
Justin DiRose a2a80ede6d
DEV: Prettier fixes 2020-06-25 15:06:21 -05:00
Justin DiRose 9cd93e57d6
PERF: Use DB to ennumerate full results count 2020-06-16 15:51:15 -05:00
Justin DiRose 90f8bdf945
PERF: Use DB for topic enumeration tasks (#7)
Use SQL statements versus loading topics into memory to allow handling of large datasets.
2020-06-16 13:20:08 -05:00
Justin DiRose 6eb3c7574d
FEATURE: Filter by solved 2020-06-15 14:16:57 -05:00
Justin DiRose 895fd41f39
FEATURE: Swap to raw for topic list (#6)
In order to get access to other topic list status icons (i.e. solved), we must use raw templates.
2020-06-12 12:55:10 -05:00
Justin DiRose caa15f3567
FIX: Do not return restricted tags without access 2020-06-10 16:30:30 -05:00
Justin DiRose 411a0b5dc6 DEV: Improve how topic status icons are handled 2020-05-28 09:58:47 -05:00
Justin DiRose 1850e3746a
FEATURE: Display if a topic is closed or unlisted 2020-05-13 10:04:12 -05:00
Joshua Rosenfeld 207ee6f0f7
Add plugin URL 2020-05-12 16:13:51 -04:00
Joffrey JAFFEUX 0ed0c246ba
FIX: allows share-link to be used on knowledge topic (#5) 2020-04-03 13:04:13 -05:00
Vinoth Kannan cd3b58358e FIX: convert topic & post models to ember object. 2020-03-03 10:34:20 +05:30
Vinoth Kannan 09da5dd7bb UX: search input losing focus on text change event.
It causes issue while selecting the chinese (unicode) language words from autocomplete in windows 10.
2020-02-11 11:21:00 +05:30
Sam Saffron 80da6a5620 FEATURE: search entire knowledge base body as well as title
Previously search was only searching through the title of topics

This introduces full text search.

It also means we get automatic stemming which gives far better results.
2020-02-07 11:53:13 +11:00
Justin DiRose 73931cfaab FIX: Increase search debounce time
Needs more time to tolerate other language keyboards to process and
translate typing to unicode characters
2020-02-06 10:54:01 -06:00
Justin DiRose 2084327a2f FIX: Stop displaying empty topics message on empty search term
When no topics found with a search term and the search term was cleared,
the no topics error would show. This commit fixes that behavior by
putting the error inside the loading component.
2020-02-06 09:41:29 -06:00
Sam Saffron cf0d3d62c1 DEV: add class to distinguish hamburger link
Previously we only had a widget-link which was not enough
2020-01-28 18:18:02 +11:00
Sam Saffron 1480c88529 DEV: update rubocop rules 2020-01-28 18:17:14 +11:00
Joffrey JAFFEUX 36bf06f623 FIX: uses post widget to display topic post to allow decorateCooked (#4) 2019-11-27 09:27:07 +11:00
Justin DiRose 1c2233878f UX: Fix topic overflow on mobile 2019-11-18 15:48:49 -06:00
Justin DiRose ed709f8da1 FIX: Show correct text when no search results found 2019-11-18 12:05:25 -06:00
Justin DiRose 043e6447b0 UX: i18n text for topic list column headers 2019-11-18 11:10:05 -06:00
Justin DiRose 1dd582e1b1 FEATURE: Sorting per column on topic list 2019-11-18 11:03:49 -06:00
Sam Saffron 312cbf883e FIX: if search yields no results don't hide search box
This made it very hard to recover from a search yielding no results.
2019-11-18 16:15:01 +11:00
Sam Saffron f8832f209c FIX: Core changed internals and now topics is not implicit
Be explicit about the name of the table we are using, multiple tables may
have the category_id column
2019-11-14 13:15:00 +11:00
Sam Saffron a2fff39e6c FIX: reloading a page with a KB was not loading the topic 2019-11-14 11:49:18 +11:00
Justin DiRose 18c45a7a2b UX: Add message when no topics found in KE view 2019-11-13 15:52:33 -06:00
Justin DiRose 698218c37b DEV: Replace deprecated API calls 2019-11-13 14:39:48 -06:00
Kris 5e756f57da FEATURE: Collapsable filters on mobile 2019-11-08 16:07:44 -05:00
Justin DiRose 43bc28a198 Revert "FEATURE: Display oneboxed content in knowledge explorer topic view"
This reverts commit 89ef7c8133.
2019-11-08 12:50:07 -06:00
Justin DiRose 89ef7c8133 FEATURE: Display oneboxed content in knowledge explorer topic view 2019-11-08 11:42:07 -06:00
Justin DiRose a6ac97e69f FIX: Stop loading more if initial topic list less than limit
In cases where the initial topic list is less than 30 and the viewport
is short enough to scroll, an additional set of topics would load. This
commit prevents a load more link from being generated in those
instances.
2019-11-08 10:46:41 -06:00
Kris 1a089ad23c UX: Prevent topic content from overflowing horizontally 2019-11-08 11:38:48 -05:00
Justin DiRose e510bef114
UX: Make cursor a pointer over topic link 2019-11-07 16:51:15 -06:00
Kris 5389d58872 UX: Improving styles for narrow viewports, some general styling (#3) 2019-11-07 13:47:15 -06:00
Justin DiRose f31b01ec91
FIX: Spacing between category name and count 2019-11-06 11:57:42 -06:00