Commit Graph

220 Commits

Author SHA1 Message Date
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
Justin DiRose 10ec8b47a8 FEATURE: Category filtering 2019-11-06 11:27:30 -06:00
Justin DiRose 42ac7bb984 FEATURE: Add category to knowledge explorer topic list 2019-11-04 15:05:32 -06:00
Joffrey JAFFEUX 1c845cd517 REFACTOR: various refactorings/fixes (#2) 2019-11-04 08:49:22 +11:00
Justin DiRose a34e4468c1
REFACTOR: Handle queries in more robust, customizable way
* Create custom query lib file

* Get topic list by category

* Get topic list with both categories and tags

* Count tags and pass back to controller in object

* Filter topic list by param-passed tag list

* FIX: Correctly serialize topic list data

* Filter results by search term (title only

* Debug commit

* Working multi-tag filtering

* FIX: case insensitive search terms

* Begin refactor of front end for new api changes

* REFACTOR: Use model for refreshing data
Instead of just using a route, which introduces full page refreshes, use
the route to pull the data initially, then update it using a model as to
refresh only the relevant parts of the page.

* Working topic load

* FIX: Visual alignment

* Refactor tests to follow new patterns

* Fixes suggested by eviltrout

* FEATURE: Load more topics

* FIX: Paginate records on return to the front end in a better fashion

* FIX: Prevent loadMore while loading more

* Fix pagination of topics to truncate list properly

* Inherit rubocop from discourse

* Make rubocop happynated

* Set list to unordered
2019-10-31 15:09:50 -05:00
Justin DiRose 1257f133e4 FIX: Show knowledge explorer link only when plugin enabled 2019-10-04 11:09:31 -05:00
Justin DiRose 274e0134cc FEATURE: Add hamburger menu link 2019-10-03 13:57:45 -05:00
Justin DiRose 5d0da1fe0a Spec tests & minor refactors 2019-10-02 16:24:40 -05:00
Justin DiRose 1b9ea64f15 DEV: Improve patterns per feedback 2019-09-16 14:40:53 -05:00
Justin DiRose e2b6d2ddb5 FEATURE: View article OP in KE view
Output of topic OP to KE view

UI styles for OP view
2019-09-16 11:40:40 -05:00
Justin DiRose 948d8426ca DEV: Cleanup unused code 2019-09-13 13:56:32 -05:00
Justin DiRose 3af0fcb50b Desktop and mobile styling improvements 2019-09-13 13:43:23 -05:00