Justin DiRose
aac4af9d96
DEV: Fix deprecated object creation methods ( #13 )
...
This commit makes sure we're using the up to date methods to create Ember classes and objects.
2020-10-27 11:31:09 -05:00
Discourse CI
cf7adc61d4
DEV: Update CI workflows
2020-10-14 16:27:49 +00:00
Justin DiRose
7959355159
FIX: Query name collision with multiple filters ( #12 )
...
If using more than two tags to filter, we'd run into an SQL alias
collision on a few joins. Resolved by ensuring unique names are used across the query.
2020-10-14 09:27:19 -05:00
Justin DiRose
22c2387b76
FIX: Topics not always properly shown ( #11 )
...
There was a bug with the logic in how we were checking for matching tags
and categories in KE settings. If only tags were set, topics would not
show.
2020-10-13 10:32:22 -05:00
Discourse CI
500ccf9656
DEV: Update CI workflows
2020-10-12 08:16:49 +00:00
Discourse CI
09d541a431
DEV: Update CI workflows
2020-10-09 19:03:15 +00:00
Discourse CI
77b6a69b99
DEV: Update CI workflows
2020-10-09 16:15:07 +00:00
Discourse CI
d30d3a8a0a
DEV: Update CI workflows
2020-10-09 15:09:46 +00:00
Justin DiRose
bfc812ca9c
DEV: Linting
2020-10-06 12:36:08 -05:00
Justin DiRose
e6e302782b
DEV: Add new plugin outlet
2020-10-06 12:13:31 -05:00
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
abb9047d29
FIX: Ignore canonical URL on /docs
...
When trying to onebox topics, the canonical URL overrides the generated
OpenGraph tags, causing a less than ideal onebox for a linked KE
article.
This commit uses the existing options for the `crawlable_meta_data`
method to generate the `og:ignore_canonical` tag.
1504fe7231/app/helpers/application_helper.rb (L267-L269)
2020-10-06 11:22:18 -05:00
Justin DiRose
310f2f142c
FIX: Handle encoding on onebox excerpt
...
Oneboxes were breaking with bad encoding using the out of the box
excerpt on the topic. Mimicked core behaviors instead.
2020-10-05 16:17:38 -05:00
Justin DiRose
30aa6230c5
DEV: Add args to plugin outlet
2020-10-05 15:16:14 -05:00
Justin DiRose
7849f8943c
FIX: 406 Error on Reload
...
Logic was not properly checking if there was a topic selected or not. As a result, the template for onebox data was still being loaded, causing an error. Also changed the order around TopicView to avoid unwanted effects.
2020-10-01 13:24:28 -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
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