Commit Graph

77 Commits

Author SHA1 Message Date
cpradio ddacda0388 Update based on review comments
Found a few javascript errors when visiting the search page with ?expanded=true and no query.
2016-10-17 00:02:58 -04:00
cpradio 1e7c69044c FIX: Improve removing advanced filters
Prior:
Entering `test after:5` and then removing the 5 via the search text field would result in the UI not updating

After:
UI updates after half a second

Removing it from the UI, removes it from the search field immediately.

Change the regex to detect filter words. This now matches what happens in search.rb, which gives a lot more flexibility (such as iterating over multiple `in:` terms)

Return [] when searchTerm is empty

Move .trim() to this.set('searchTerm', searchTerm) so it doesn't run twice (which was very obvious when watching the search term field)

More refactoring to make this a bit less complex

Update code based on review comments

FEATURE: Add common `in:` options
2016-10-14 19:04:10 -04:00
Guo Xiang Tan ae0db10e2d Fix full page search tests. 2016-10-13 15:03:58 +08:00
cpradio ff74bd7e28 FIX: comment out tests for UI elements removed from HTML markup 2016-10-11 17:50:16 -04:00
cpradio ca4130f30d FIX: Use @username instead of user:username 2016-10-11 17:41:04 -04:00
cpradio a7507dad63 Add Acceptance Tests (which found an error)
Tests for populating category and tags

Added acceptance tests for populating the Username and Category through the Advanced Search UI (will work on the other fields later)

Give the combo-box elements ids
Add acceptance tests for the rest of the advanced search UI (except for Tags, tags are evil)
2016-10-08 09:09:37 -04:00
Régis Hanol 87f6aadb7e FIX: topic discovery tests 2016-08-24 22:53:43 +02:00
Régis Hanol 4d6028ea2d UX: new 'category_page_style' site setting 2016-08-22 23:01:43 +02:00
Robin Ward b2134aa173 Refactor full page search for style, remove lookups 2016-08-09 14:49:46 -04:00
Robin Ward d8808aa9ab Add back acceptance tests for full page search 2016-08-09 14:49:46 -04:00
Robin Ward 3d62e5dd98 SECURITY: XSS issue on Admin users list 2016-08-05 12:01:16 -04:00
Robin Ward 857d54162b Redirect to Summary when viewing yourself 2016-08-02 13:21:24 -04:00
Robin Ward efc6408b1d FIX: Regression with escaping on badge page 2016-07-28 15:57:06 -04:00
Robin Ward cf5b756b1a SECURITY: Cross-Site Scripting in Category and Group Settings 2016-07-28 11:57:59 -04:00
Robin Ward 2f8ab8cd30 SECURITY: XSS in "Account Suspended" Messages and Badge Descriptions 2016-07-28 11:38:12 -04:00
Guo Xiang Tan 36ddb1787e FEATURE: Add toggle topic visibility button in popup menu. 2016-07-28 16:57:04 +08:00
Robin Ward 7ff5b228cd REFACTOR: Raw Handlebars ported to ES6 2016-07-11 12:57:05 -04:00
Robin Ward a546395397 REFACTOR: Migrate markdown functionality in ES6 2016-07-11 12:57:05 -04:00
Guo Xiang Tan 1a6624960d
FIX: Failing test. 2016-06-20 12:50:22 +08:00
Guo Xiang Tan a891125b92
Add tests from discourse-tagging. 2016-06-20 11:25:05 +08:00
Arpit Jalan c9689d4dad fix the build 2016-06-02 18:51:43 +05:30
Robin Ward 0fcfc6bed9
Add acceptance tests for all mobile templates 2016-05-05 12:49:12 -04:00
Robin Ward 514c3976f0
PERF: Migrate header to discourse widgets 2016-04-25 10:48:04 -04:00
Robin Ward f6c460c207 Add tests for groups pages, DRY html into a component 2016-04-11 13:17:34 -04:00
Robin Ward 27c793a990 UX: Show badges as cards on the badges index and show page 2016-03-25 15:33:06 -04:00
Robin Ward e51259ee7b FIX: Broken test 2016-03-24 13:50:45 -04:00
Robin Ward db15772ab1 UX: Make user info rendering more consistent 2016-03-24 13:49:35 -04:00
Robin Ward d1e85bdd8b FEATURE: Use virtual dom framework for faster post rendering 2016-02-11 11:00:40 -05:00
Guo Xiang Tan c0feea4629 Add tests for category hashtag. 2016-02-04 15:52:40 +08:00
Sam 33df5372f6 comment out some tests for now 2015-12-20 17:49:35 +11:00
Sam d20f6e0cb0 fix test and comment out js test for now 2015-12-20 17:34:15 +11:00
Robin Ward de88be2fbc Support for "Only show overridden" in site text customization 2015-11-30 15:25:08 -05:00
Robin Ward 5e93140f85 FEATURE: Can override any translation via an admin interface 2015-11-27 11:35:19 -05:00
Robin Ward 4aab904ff6 FIX: Test in phantom environment with different selection defaults 2015-11-18 13:35:36 -05:00
Robin Ward 84a50a1260 FIX: Keyboard handling regression 2015-11-18 12:35:17 -05:00
Robin Ward 47495a5713 FEATURE: Replace composer editor with ember version 2015-11-06 09:49:16 -05:00
Sam Saffron 04856dac10 structure changed ... 2015-11-05 21:21:52 +11:00
Robin Ward 94b60e62a2 FEATURE: New markdown editor re-written in Ember
Note this commit leaves out the biggest occurrence of the editor
which is the post/topic composer.

To avoid major breakage, this replaces it everywhere else it was
used:

* User preferences (About Me)
* Admin Customizations > Text Content
* Category Templates
* Editing Queued Posts

A future commit will replace the main composer with this editor
and will remove the unused pagedown code.
2015-10-19 11:01:20 -04:00
Sam 6fc2300279 fix test 2015-08-30 09:54:13 +10:00
Robin Ward 3ae5a0a2df UX: Merge notifications and user dropdown 2015-08-28 16:11:40 -04:00
Robin Ward d4b987ff32 Migrate search drop down to `menu-panel` component. 2015-08-28 15:44:24 -04:00
Régis Hanol fd3dd3bdeb Merge pull request #3691 from tgxworld/toggle_edits
FIX: Dirty edit can toggle to another edit.
2015-08-27 14:26:51 +02:00
Robin Ward 5457684975 Split `hamburger-menu` out into `menu-panel` 2015-08-26 16:29:10 -04:00
Robin Ward e66f111348 UX: Use dropdown for hamburger on wide screens, full height on smaller 2015-08-26 14:43:08 -04:00
Robin Ward 9760369e4c Clean up clicking outside the hamburger, add test 2015-08-26 14:43:08 -04:00
Robin Ward b5b099d372 FIX: Remove broken test, add descriptions 2015-08-25 17:34:26 -04:00
Robin Ward c5460b7d3f FEATURE: Full height hamburger menu
- Rename `site-map` to `hamburger-menu`
- Includes acceptance tests
2015-08-25 16:48:43 -04:00
Régis Hanol 294669c856 FIX qunit test runner for phantomjs 2.0 2015-08-25 10:42:19 +02:00
Guo Xiang Tan f98eddb675 FIX: Dirty edit can toggle to another edit. 2015-08-24 22:55:56 +08:00
Sam 5658119a36 Merge pull request #3649 from tgxworld/click_reply_should_clear_edit
Click reply should clear edit
2015-08-21 10:36:21 +10:00