Commit Graph

32 Commits

Author SHA1 Message Date
jbrw c38dc7c216
FIX: Hide navigation elements when printing a Docs topic (#65) 2021-10-22 16:59:14 -04:00
Jordan Vidrine d8c48e6218
FEATURE: Add filter + alpha & numeric sort to categories and tags in docs sidebar (#62)
* UX: Docs sidebar changes

Co-authored-by: Jarek Radosz <jradosz@gmail.com>
Co-authored-by: Penar Musaraj <pmusaraj@gmail.com>
2021-10-19 10:04:36 -05:00
Penar Musaraj 8754aaf061
DEV: SCSS cleanup 2021-06-23 23:01:54 -04:00
Penar Musaraj b985ebad4c
DEV: Remove SCSS color vars fallbacks (#49) 2021-05-12 16:17:44 -04:00
discoursebot f75c9d5e32
DEV: Update CI workflows, fix linting issues (#32)
Included:

* DEV: Update CI workflows
* DEV: Update the plugin URL
* DEV: Update Gemfile.lock
* DEV: Remove an old rubocop artifact
* DEV: Add .prettierrc
* DEV: Clean up .gitignore
* DEV: Add license
* DEV: Update package.json
* DEV: Fix template issues
* DEV: Re-format code
* DEV: Use `@action`
* DEV: `inject as controller`
* DEV: Use `@computed`
* DEV: Avoid naming collision and extra indirection
* DEV: Use `discourse-common/utils/decorators`
* DEV: Use `role="button"`

Co-authored-by: Jarek Radosz <jradosz@gmail.com>
Co-authored-by: jjaffeux <j.jaffeux@gmail.com>
2021-04-27 20:49:34 +02:00
Penar Musaraj c7376c243d
UX: Fix two small mobile styling issues (#36) 2021-02-24 11:40:32 -05:00
Justin DiRose 399fbec04f
FIX: Back button out of alignment (#31)
Core made buttons to use flexbox recently, which changed the behavior of
the go back button on Docs topics. The local justify-content declaration
overrides the core declaration causing problems.
2021-02-01 09:53:38 -06:00
Justin DiRose f32aebdba0
FEATURE: Rename from Knowledge Explorer to Docs (#27)
After internal discussion, the team decided to rename this plugin to `discourse-docs`. No substantial changes made here aside from a settings migration.
2021-01-18 10:38:09 -06:00
Justin DiRose bfc812ca9c
DEV: Linting 2020-10-06 12:36:08 -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 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 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 a2a80ede6d
DEV: Prettier fixes 2020-06-25 15:06:21 -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
Joffrey JAFFEUX 0ed0c246ba
FIX: allows share-link to be used on knowledge topic (#5) 2020-04-03 13:04:13 -05:00
Justin DiRose 1c2233878f UX: Fix topic overflow on mobile 2019-11-18 15:48:49 -06:00
Justin DiRose 1dd582e1b1 FEATURE: Sorting per column on topic list 2019-11-18 11:03:49 -06:00
Kris 5e756f57da FEATURE: Collapsable filters on mobile 2019-11-08 16:07:44 -05: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 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 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 3af0fcb50b Desktop and mobile styling improvements 2019-09-13 13:43:23 -05:00
Justin DiRose 9eb97cbb55 Clicking on tag adds/removes tag in query params 2019-07-21 11:41:04 -05:00
Justin DiRose 46820c070f Basic styling, set up query params 2019-07-14 16:31:29 -05:00
Justin DiRose 0a39e3adcc FEATURE: Simple topic list display of KE items 2019-07-02 10:01:28 -05:00