Commit Graph

74 Commits

Author SHA1 Message Date
Justin DiRose e3be3fbb77
FEATURE: Add clear button to search bar
Previously you had to clear the search results out by deleting them.
This introduces a friendlier way to clear the search UX, especially if
you didn't find what you're looking for.
2020-10-06 12:08:28 -05:00
Justin DiRose 30aa6230c5
DEV: Add args to plugin outlet 2020-10-05 15:16:14 -05:00
Justin DiRose 0e1c7c7216
FEATURE: Add onebox metadata (#10)
Currently linking directly to Knowledge Explorer topics shows a generic onebox, which isn't super helpful in some cases.

This commit mimics how the theme creator plugin handles adding metadata to special occurrences. However, to get this to work, how the plugin handles showing topic contents needed to be refactored. Instead of hitting the existing topic route, the plugin implements its own version of this, including adding restrictions for topics that are not in a selected Knowledge Explorer category or tag.
2020-10-01 09:32:28 -05:00
jjaffeux 2c12f977ca REFACTOR: removes superfluous argument 2020-09-23 14:46:02 +02:00
jjaffeux 2a2e36bbe2 REFACTORING: replacing itself by itself is unecessary 2020-09-23 14:45:15 +02:00
jjaffeux 3ed54c273a DEV: linting 2020-09-22 17:12:39 +02:00
Joffrey JAFFEUX 8a5b3201b9
DEV: apply coding standards (#9) 2020-09-04 13:22:46 +02:00
Justin DiRose 2f59883fb6
FIX: Safari didn't like pointer-events without a block parent element 2020-08-05 15:51:00 -05:00
Justin DiRose 2ce61139e3
FIX: Don't allow pointer events on link children 2020-08-05 13:57:26 -05:00
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
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 a2a80ede6d
DEV: Prettier fixes 2020-06-25 15:06:21 -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 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
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
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
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 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
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