Commit Graph

749 Commits

Author SHA1 Message Date
Joffrey JAFFEUX
cf6fb7622e Replaces all notification-options like dropdowns with select-box 2017-09-08 20:47:39 +02:00
Robin Ward
afc075d93b UX: Convert bookmark icon from CSS to a proper icon using our helper 2017-09-07 11:41:19 -04:00
Robin Ward
8e88bf019f Add span to various labels so they can be targetted 2017-09-07 11:10:11 -04:00
Robin Ward
825452df76 Refactor header CSS for composability 2017-09-06 11:34:10 -04:00
Joffrey JAFFEUX
ccf5005feb FEATURE: uses select-box for topic-notifications-button component
- Introduces ComponentConnector to use a component inside a widget
- Use css to set size of components instead of properties
- Smarted positionning
- Style tweaks
2017-09-06 16:58:00 +02:00
Robin Ward
be1cce503c FIX: Don't bind events in defaultState 2017-09-04 11:48:36 -04:00
Arpit Jalan
3b7128102c FIX: disable follow in topic summary links
https://meta.discourse.org/t/links-in-popular-links-appear-without-nofollow/68974
2017-09-04 16:21:12 +05:30
Robin Ward
dffb1fc4ee FEATURE: Use Glimmer compiler for widget templates
Widgets can now specify a template which is precompiled using Glimmer's
AST and then converted into our virtual dom code.

Example:

```javascript
createWidget('post-link-arrow', {
  template: hbs`
    {{#if attrs.above}}
      <a class="post-info arrow" title={{i18n "topic.jump_reply_up"}}>
        {{fa-icon "arrow-up"}}
      </a>
    {{else}}
      <a class="post-info arrow" title={{i18n "topic.jump_reply_down"}}>
        {{fa-icon "arrow-down"}}
      </a>
    {{/if}}
  `,

  click() {
    DiscourseURL.routeTo(this.attrs.shareUrl);
  }
});
```
2017-09-01 09:28:16 -04:00
Robin Ward
ef0f346eec Add custom style for header buttons 2017-08-31 12:10:54 -04:00
Robin Ward
3aed047b7e UX: Add another div to aid in styling via flexbox 2017-08-30 13:43:56 -04:00
Joshua Rosenfeld
e3e6fd6ea0 FIX: Only show topic timer to staff 2017-08-28 23:49:30 -04:00
Sam
41e7bdff38 FIX: don't refresh notifications in a tight loop 2017-08-28 16:52:00 -04:00
Robin Ward
b93f491035 Add option for button type under posts 2017-08-26 00:00:52 -04:00
Robin Ward
27b10a709b Revert "FIX: Un-revert the btn class added to the topic post menu"
This reverts commit aa07d23caa.
2017-08-25 23:50:00 -04:00
Robin Ward
aa07d23caa FIX: Un-revert the btn class added to the topic post menu 2017-08-25 17:08:34 -04:00
Robin Ward
7f16323ba4 REVERT: btn class looked ugly, let's revert for now 2017-08-25 16:06:56 -04:00
Robin Ward
075cc1a8bb FIX: some button classes 2017-08-25 13:44:28 -04:00
Robin Ward
493fd707f8 UX: Add missing btn class to flat-button 2017-08-25 13:16:18 -04:00
Robin Ward
4e9c4f0768 Add option to collapse buttons in post menu 2017-08-25 13:11:53 -04:00
Robin Ward
324b02a830 Add option to move the poster name in with the avatar 2017-08-25 13:11:53 -04:00
Neil Lalonde
2c56f8df7c FEATURE: show tags in search results 2017-08-25 11:52:59 -04:00
Robin Ward
950c9e50ac Add wrapper div to aid in styling 2017-08-23 14:47:09 -04:00
Robin Ward
605653a369 Add classes to small action buttons 2017-08-22 14:49:14 -04:00
Robin Ward
cbe17be40e Remove unused small action component 2017-08-22 14:39:57 -04:00
Robin Ward
7e8766cee8 UX: Move buttons into the nav section of the topic map 2017-08-22 14:20:18 -04:00
Guo Xiang Tan
93fe76fc02 Make eslint happy. 2017-08-21 21:56:22 +09:00
Sam
9246bc3400 support up button from first result 2017-08-17 13:32:30 -04:00
Sam
889b99552a FEATURE: allow ctrl+shift+s to open search 2017-08-17 12:57:08 -04:00
Sam
dc4d5677eb FEATURE: use a when search result is focused to add to composer 2017-08-17 12:39:43 -04:00
Sam
304379d436 FEATURE: up/down arrow will highlight search result
Then you can use enter to visit result.
2017-08-16 14:14:55 -04:00
Régis Hanol
e958500735 extract 'timeline-controls' and 'timeline-footer-controls' widgets 2017-08-05 01:22:01 +02:00
Robin Ward
edc7fae0b0 FIX: The ellipsis should be a flat-button 2017-08-02 17:30:40 -04:00
Robin Ward
53e78edbef Silence ESLint 2017-08-01 17:26:49 -04:00
Robin Ward
8dd7c0c984 UX: Convert buttons to d-button 2017-08-01 17:24:06 -04:00
Robin Ward
75d10a4098 UX: Add consistent classes to buttons 2017-08-01 17:24:06 -04:00
Robin Ward
307311fdb1 Add class to admin wrench button 2017-07-28 16:38:10 -04:00
Robin Ward
15fa514791 Add classes to notification dropdown buttons 2017-07-28 16:35:14 -04:00
Robin Ward
ff4e295c4f FIX: Notifications dropdown had incorrect spacing 2017-07-27 19:22:19 -04:00
Robin Ward
5b590b9637 REFACTOR: Replace some fa-* uses with helpers 2017-07-27 14:55:41 -04:00
Robin Ward
e87125b63c FEATURE: Plugins can overwrite and add support for new icons 2017-07-26 13:21:17 -04:00
Robin Ward
f2e592c1ab UX: Apply btn-flat class to flat buttons on posts 2017-07-25 12:00:19 -04:00
Guo Xiang Tan
6593f0355f FIX: Exclude www in topic map links.
https://meta.discourse.org/t/topic-popular-links-panel-domain-extraction-doesnt-handle-country-tlds/60156/38?u=tgxworld
2017-07-24 10:14:33 +09:00
Guo Xiang Tan
887c3b66f5 Revert "UX: Don't try to figure out root domain."
This reverts commit 7690cc6ca5.
2017-07-24 09:40:57 +09:00
Arpit Jalan
9727977fef Fix the build. 2017-07-22 00:34:39 +05:30
Arpit Jalan
6d09fbde44 UX: use down chevron icon to expand "show more links.." 2017-07-22 00:10:37 +05:30
Sam
0791d740a6 FIX: only highlight exact word matches in results
- also fixes phrase highlighting
2017-07-20 12:26:46 -04:00
Robin Ward
cdb3706025 Track clicks on topics in search results 2017-07-17 15:42:32 -04:00
Robin Ward
dcdd5baf54 FIX: Only show search if there are more total posts than the chunk size 2017-07-10 13:46:50 -04:00
Sam
45c3ad5f91 FIX: stop highlighting single l which is used for sorting 2017-07-03 15:45:15 -04:00
Robin Ward
10358811a1 UX: Don't hide the reply button by default 2017-06-26 17:35:28 -04:00
Robin Ward
4f27259e27 UX: Make the edit wiki button more prominent 2017-06-26 14:34:59 -04:00
Robin Ward
34867a6e07 UX: Support for displaying wrench alongside progress bar 2017-06-23 14:39:18 -04:00
Guo Xiang Tan
cbedc1a2ca FIX: Notification backdrop does not display when user menu has been toggled.
https://meta.discourse.org/t/first-pm-spotlight-does-not-work-with-welcome-message-delay/64927/16?u=tgxworld
2017-06-23 11:35:06 +09:00
Robin Ward
1a02f5154f FIX: Dirty keys should become to a widget, not global 2017-06-21 14:27:08 -04:00
Robin Ward
cc525b1a8d Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
Robin Ward
8ae445766f Upgrade Ember to 2.13 2017-06-15 10:12:07 -04:00
Guo Xiang Tan
684b05f510 FIX: Strip zero-width characters from search terms. 2017-06-07 18:19:47 +09:00
Robin Ward
02ab2706df FIX: Timeline was wrong sometimes on iPad 2017-06-05 15:23:37 -04:00
Robin Ward
79763a6b97 FIX: If a topic is really long, show the timeline 2017-06-05 13:11:25 -04:00
Robin Ward
76aa651ad4 FIX: Posts weren't cloaking properly 2017-05-30 15:34:00 -04:00
Guo Xiang Tan
e4d557cdb9 Partially revert 92118dd1d1. 2017-05-17 21:42:31 +08:00
Guo Xiang Tan
92118dd1d1 FIX: Use observer to rerender widget instead. 2017-05-17 10:29:50 +08:00
Robin Ward
5d494cf158 FIX: Broken back button on account URLs 2017-05-16 17:21:52 -04:00
Sam
68df8f4427 FIX: only trigger notification level change if it actually changes
avoids double ajax call every time notification level changes
2017-05-16 16:52:39 -04:00
Sam
be8dd403df FEATURE: use fancy title in notifications 2017-05-15 15:38:30 -04:00
Robin Ward
92d63b59a7 FIX: Videos were missing from expanded quotes 2017-05-11 16:54:32 -04:00
Robin Ward
f3c535b945 PERF: Dirty checking was broken and re-rendering too often 2017-05-11 16:22:15 -04:00
Jeff Atwood
cfb30bca80 UX: simplify delete gap style 2017-05-05 17:06:13 -07:00
Sam
8ee2a500bc FEATURE: add hamburger extensibility 2017-04-18 15:18:03 -04:00
Neil Lalonde
07d596ea05 FIX: handle expanding quotes from deleted posts by rendering a trash icon 2017-04-12 16:48:47 -04:00
Guo Xiang Tan
5cb64810cd FIX: Changing notification level in topic footer buttons was not updating timeline. 2017-04-12 14:54:03 +08:00
Robin Ward
616e1dcd16 FIX: Topic Timeline was impossible to close if you used the back button 2017-04-07 14:37:05 -04:00
Guo Xiang Tan
7690cc6ca5 UX: Don't try to figure out root domain. 2017-03-31 17:24:24 +08:00
Guo Xiang Tan
b6e9871b4b Update Topic#closed client side when closing/opening a topic temporarily. 2017-03-31 15:05:00 +08:00
Guo Xiang Tan
34b7bee568 FEATURE: Allow admin to auto reopen at topic.
* This commit also introduces a `TopicStatusUpdate`
  model to support other forms of deferred topic
  status update in the future.
2017-03-31 11:14:18 +08:00
Robin Ward
45a257815a Convert front end paths from /users/ to /u/ 2017-03-30 10:23:24 -04:00
James Kiesel
47182d3441 Remove stray reference to additionalPanels 2017-03-30 08:16:00 +09:00
Robin Ward
3914f746b8 FIX: Missing semicolon 2017-03-29 13:03:35 -04:00
Robin Ward
b240437b6f Merge pull request #4777 from gdpelican/add-header-panels
Allow plugins to add panels to header more easily
2017-03-29 12:53:08 -04:00
James Kiesel
3b55ceffb3 Use local var for additionalPanels 2017-03-29 08:52:50 +09:00
Robin Ward
60975fcc18 Remove the "unread" timeline section 2017-03-27 11:07:27 -04:00
James Kiesel
c99883cf65 SEMICOLONS ;.; 2017-03-25 21:44:28 +13:00
James Kiesel
a4127a8f71 Add addAdditionalHeader widget to pluginApi 2017-03-25 21:33:55 +13:00
Robin Ward
276d139624 Experimental: Show a blue bar for unread ahead of you 2017-03-24 11:58:50 -07:00
Neil Lalonde
708efad96d FIX: links in hamburger menu on subfolder installs 2017-03-24 10:31:17 -04:00
James Kiesel
9f969b402e More stylistic fixes 2017-03-24 09:56:54 +13:00
James Kiesel
569785c555 Add semicolon 2017-03-24 09:48:51 +13:00
James Kiesel
d073f582eb Allow plugins to add panels to header more easily 2017-03-24 09:19:25 +13:00
Robin Ward
cacf48fdb5 Experimental: Try adding a darker color in the timeline for unread 2017-03-23 15:49:47 -04:00
Robin Ward
d161422002 UX: Be more optimistic about showing topic titles while entering topics 2017-03-23 13:53:49 -04:00
Robin Ward
1cd14ef3aa FIX: Site Settings weirdness with back button 2017-03-21 16:13:19 -04:00
Neil Lalonde
ad8a579c79 UX: banner enabled/disabled posts should be small posts, not full-size posts 2017-03-16 17:31:37 -04:00
Guo Xiang Tan
911d6abfad Merge pull request #4757 from nbianca/change_timestamp_bug
Change timestamp only for admin.
2017-03-15 10:44:19 +08:00
Sam
7378077036 Merge pull request #4749 from cpradio/add-subcategory-class-hamburger-menu
UX: Add subcategory class to hamburger menu items that are subcategories
2017-03-14 17:08:35 -04:00
Bianca Nenciu
8354768d7c Change timestamp only for admin. 2017-03-14 23:07:36 +02:00
cpradio
15f7fff561 UX: Add subcategory class to hamburger menu items that are subcategories
UX: Add data-category-url to make targetting a category li element in the hamburger menu easier
2017-03-13 10:51:41 -04:00
Guo Xiang Tan
6a7773b681 FIX: Category autocomplete breaks when search menu widget rerenders.
https://github.com/discourse/discourse/pull/4717#issuecomment-284914585
2017-03-08 20:13:48 +08:00
Sam
0c03ccb01e FEATURE: allow plugins to transform, the transformed post
This allows plugins to amend posts prior to rendering.
2017-03-07 17:12:31 -05:00
Guo Xiang Tan
60b7453f3f FIX: Do not trigger fullpage search when selecting autocomplete term with enter. 2017-03-07 11:56:40 +08:00
Guo Xiang Tan
f3a7e398ca Merge pull request #4717 from cpradio/autocomplete-search
FEATURE: Autocomplete support on search
2017-03-07 06:40:45 +08:00
Robin Ward
3905778fc0 FIX: Put back the back button fix again. 2017-03-06 12:24:27 -05:00
Neil Lalonde
9c7a02192a FIX: flag action buttons are missing when visiting flags from the hamburger menu 2017-03-04 11:36:58 -05:00
cpradio
3eb51f0d77 FIX: Make it a tad bit harder to accidentally redirect to full page search while autocomplete is open 2017-03-03 22:48:28 -05:00
Sam
3e3fdfc717 FEATURE: plugin can now extend list of classes for topic-post 2017-03-03 16:57:25 -05:00
Sam
31a81d4eee FEATURE: allow for for empty description in list 2017-03-03 16:13:05 -05:00
Guo Xiang Tan
442bef2df9 Merge pull request #4706 from gsambrotta/add-name-search-dropbox
FEATURE: Add user name in search results
2017-03-02 15:22:15 +08:00
Sam
8c8de1c2d4 FEATURE: addUserMenuGlyph extensibility point 2017-03-01 10:32:01 -05:00
cpradio
4c7a21c76e FEATURE: Autocomplete support on advanced search
PERF: Extract autocomplete initialization to a function
PERF: Create a REGEXP_TAGS_REPLACE regex to remove a chained .replace call

FIX: autocomplete positioning

FIX: Collapsing/Expanding Advanced Search doesn't wipe out Advanced Search Terms from search query.

FIX: Populate Category when query/search term is updated

FIX: Using enter to complete autocomplete doesn't automatically send you to full page search
2017-03-01 10:25:49 -05:00
giorgia
d308638a18 create searchResultUserSerializer, display name next to username in search results 2017-03-01 13:11:01 +01:00
Sam
f918951d42 FEATURE: clean up tags extensibility
centralizes all logic for topic tag rendering and provides API for extension
2017-02-28 17:08:43 -05:00
Robin Ward
e863d66e33 FIX: Back button was broken after clicking flags in hamburger 2017-02-28 13:53:48 -05:00
Guo Xiang Tan
54577db8a4 Don't assign variable when not required to do so. 2017-02-28 14:14:57 +08:00
Neil Lalonde
cfedbad0e9 FIX: hamburger shouldn't show subcategories if show_subcategory_list is enabled on the parent 2017-02-27 15:34:07 -05:00
Guo Xiang Tan
ac37bd3dbc FIX: Search menu results does not refresh when search context is changed. 2017-02-27 12:23:41 +08:00
Neil Lalonde
c00ffabac3 search scope checkbox is default checked for your messages too 2017-02-22 17:45:12 -05:00
Neil Lalonde
a702330ccd FEATURE: make show_subcategory_list a per-category setting 2017-02-22 11:42:36 -05:00
Neil Lalonde
1dda998a4e FEATURE: search should default scope to current category or user 2017-02-20 17:02:02 -05:00
Sam
1b6a801d35 forgot import 2017-02-17 16:17:44 -05:00
Sam
7d8a11f636 Add header-topic-info:after-tags extension point 2017-02-17 15:59:52 -05:00
Robin Ward
9d4405d602 Don't add an empty class to the list elements in the hamburger 2017-02-13 11:28:10 -05:00
Sam
675cb1c715 FEATURE: allow registrations of custom small action icons via plugins 2017-02-10 12:55:21 -05:00
Jeff Atwood
7c9f8cb245 attempt to manually revert PR https://github.com/discourse/discourse/pull/4600
I hate that PR with the fire of a thousand suns
2017-02-07 17:15:12 -08:00
Guo Xiang Tan
7a243e859e FIX: Search menu widget breaks when context type is null. 2017-02-03 09:38:51 +08:00
Rafael dos Santos Silva
c34520d384 FIX: eslint was broken 2017-02-02 01:12:49 -02:00
Robin Ward
cef8a0af34 Merge pull request #4657 from gdpelican/reopen-widget
Add reopenWidget method
2017-02-01 13:18:55 -05:00
Robin Ward
d4bbdcd7d6 Raise an error if a widget doesn't have a key but uses state 2017-01-30 12:02:55 -05:00
Neil Lalonde
396526621b FIX: reply buttons and tooltips untranslated in all languages 2017-01-26 16:45:40 -05:00
Régis Hanol
810176be5b Merge branch 'master' into master 2017-01-26 10:56:25 +01:00
Guo Xiang Tan
0a25df67bc Revert "FIX: Incorrect parameter being passed to component."
This reverts commit d354a6f7a4.
2017-01-25 13:12:24 +08:00
Guo Xiang Tan
d354a6f7a4 FIX: Incorrect parameter being passed to component. 2017-01-25 13:09:08 +08:00
Neil Lalonde
ff508ed75f UX: red notification of flags or pending approvals opens hamburger menu instead of linking to flags page 2017-01-23 14:34:06 -05:00
Guo Xiang Tan
32846aad2a FIX: Toggling post's wiki status should not create a new version. 2017-01-20 15:42:33 +08:00
Neil Lalonde
61d4c1203e FEATURE: group avatar flair shows on topic participants list, and participant avatars can have custom styles 2017-01-18 11:38:00 -05:00
Guo Xiang Tan
fc52624aac Fix undefined attrs. 2017-01-17 16:31:57 +08:00
Guo Xiang Tan
ee58c4cd94 FIX: Don't close search menu on link clicked when context is enabled. 2017-01-17 12:35:48 +08:00
Guo Xiang Tan
de6ca4f736 FIX: Pressing enter when searchContext is enabled should just trigger a search. 2017-01-17 11:01:33 +08:00
Guo Xiang Tan
c76ee788a7 Merge pull request #4656 from tgxworld/dont_display_an_extra_button_for_wiki_post
UX: Display wiki icon on post edits indicator.
2017-01-17 06:34:43 +08:00
Guo Xiang Tan
17da0bd11f UX: Display wiki icon on post edits indicator. 2017-01-17 06:33:58 +08:00
Neil Lalonde
60a9030d25 UX: don't show search and hamburger menus to anon visitors on login-required sites 2017-01-16 16:33:14 -05:00
James Kiesel
1d8882a1dd oops semicolons 2017-01-17 08:20:57 +13:00
James Kiesel
513f570936 Add reopenWidget method 2017-01-17 00:39:23 +13:00
Guo Xiang Tan
0f574f641e UX: Truncate topic link title/URL on desktop to prevent overflow. 2017-01-12 12:24:39 +08:00
Robin Ward
1bf912f3ac FIX: Back button was not working in long topics with many deleted 2017-01-03 13:17:11 -05:00
Guo Xiang Tan
7d307d6f29 Fix incorrect site setting. 2016-12-29 14:03:47 +08:00
Robin Ward
a297d7598b UX: Better style for back button 2016-12-28 11:22:33 -05:00
Robin Ward
5111611749 UX: Add a down arrow to the back button on the timeline 2016-12-27 17:21:27 -05:00
Robin Ward
ee0c41b53a FIX: We can show the back button near the bottom 2016-12-27 10:21:30 -05:00
Robin Ward
46f2a11a80 UX: Don't dock back button while dragging 2016-12-22 12:48:02 -05:00
Guo Xiang Tan
6955c39c68 UX: Fix width on avatar flair. 2016-12-22 14:30:49 +08:00
Guo Xiang Tan
8551d821a0 FEATURE: Add site setting to disable group directory. 2016-12-22 14:14:22 +08:00
Robin Ward
e85904b98f FIX: Clamp last read position to height of the widget 2016-12-21 14:24:15 -05:00
Robin Ward
1cbe355c5b FIX: Timeline back button was docking too aggressively 2016-12-20 13:32:54 -05:00
Robin Ward
f0f5fbf132 FIX: Never show the last read marker within 1 post of the last 2016-12-20 13:22:22 -05:00
Guo Xiang Tan
c15bf62b43 FIX: Display empty message when no groups can be shown. 2016-12-20 14:47:39 +08:00
Robin Ward
8757ae3b92 FIX: The docked back button didn't work so well on iPad / short topics 2016-12-19 17:16:42 -05:00
Robin Ward
4dcb29acbf UX: Show Back button above mobile progress widget 2016-12-19 14:06:19 -05:00
Robin Ward
36449aa2f2 UX: Docking back button on topic timeline 2016-12-19 13:33:55 -05:00
Robin Ward
e03d5e2140 Reapply Ember 2.10 for good this time!
This reverts commit ddd299f4aa.
2016-12-19 11:19:10 -05:00
Robin Ward
ddd299f4aa Revert "Revert "Revert Ember 2.10+ for a short while""
This reverts commit 76bbc481cb.
2016-12-16 10:29:30 -05:00
Robin Ward
76bbc481cb Revert "Revert Ember 2.10+ for a short while"
This reverts commit 21682fd60b.
2016-12-16 09:52:29 -05:00
Robin Ward
21682fd60b Revert Ember 2.10+ for a short while 2016-12-15 16:43:38 -05:00
Robin Ward
d0ddceb4e4 UX: Try improving the back button on the timeline 2016-12-15 14:24:58 -05:00
Robin Ward
40c944cb36 FIX: Was showing two rows for the title always 2016-12-15 10:47:43 -05:00
Robin Ward
28699e66d8 Revert "REVERT: Ember 2.10 -- it's not building properly"
This reverts commit 600541c623.
2016-12-15 10:28:15 -05:00
Guo Xiang Tan
4b940dc8bd FEATURE: Add groups page. 2016-12-14 17:27:47 +08:00
Neil Lalonde
66151b416f FIX: home logo href doesn't respect subfolder 2016-12-13 16:30:21 -05:00
Juha Leinonen
817f4cd0fc FEATURE: Split Reply-button into 'Reply Post' and 'Reply Topic' 2016-12-13 14:54:45 +02:00
Robin Ward
600541c623 REVERT: Ember 2.10 -- it's not building properly 2016-12-12 16:19:05 -05:00
Robin Ward
9a7998a930 Various fixes for Ember 2.10 2016-12-12 14:44:29 -05:00
Robin Ward
a808bcb0b8 Upgrade to Ember 2.10 2016-12-12 14:44:29 -05:00
Robin Ward
765e5e9186 Upgrade to Ember 2.9 2016-12-12 14:44:29 -05:00
Robin Ward
f07443b488 Migrate Discourse Polls to use vdom instead of embedded ember 2016-12-09 10:42:56 -05:00
Robin Ward
f6f03ac009 FIX: Double clicking full name was broken too 2016-12-08 11:10:10 -05:00
Sam Saffron
b4cafc5e78 UX: add notification level button to mobile 2016-12-08 17:47:57 +11:00
Robin Ward
e3a12995c8 FIX: Fake closure actions were not working (replaced in 2.10) 2016-12-07 14:32:33 -05:00
Erick Guan
52763f5115
FEATURE: Allow posting a link with topics 2016-12-05 17:20:54 +01:00
Guo Xiang Tan
0d4f71e90b FIX: Display group avatar flair on user page. 2016-11-29 13:47:45 +08:00
Régis Hanol
6768c7fc0b Merge pull request #4563 from vinkas0/vinkas/flatten
Added flatten func for applyDecorators
2016-11-28 10:19:22 +01:00
Robin Ward
d8a69e6bb2 FIX: Use the register within the poll plugin 2016-11-25 11:58:06 -05:00
Sam
ed16589b12 correct off by 1 2016-11-25 13:18:56 +11:00
Sam
88a46be051 FEATURE: display text excerpts when scrolling on mobile 2016-11-25 11:35:29 +11:00
Robin Ward
66f68e8faf FIX: correctly bind this when sending a widget action 2016-11-24 10:59:15 -05:00
Robin Ward
b8c88dbfe0 Update docs for connector 2016-11-23 16:44:57 -05:00
Robin Ward
9030e40041 FIX: Container appending was broken in Ember 2.4 2016-11-23 14:58:10 -05:00
Robin Ward
c5687100b0 Add the ability to connect a component to a Discourse widget 2016-11-23 14:27:47 -05:00
Guo Xiang Tan
6397d935ce Merge pull request #4560 from tgxworld/optional_title_for_emoji_widget
Make title attribute on emoji widget optional.
2016-11-21 06:17:44 +01:00
Vinoth Kannan
c90376653b Update hamburger-menu.js.es6 2016-11-19 23:49:31 +05:30
Guo Xiang Tan
c86588469f UX: Bump limit for "view older notification" link. 2016-11-19 08:17:42 +08:00
Guo Xiang Tan
3f54730c2d Make title attribute on emoji widget optional. 2016-11-18 12:36:48 +08:00
Guo Xiang Tan
7af75bf3a4 Fix JS test. 2016-11-18 10:43:39 +08:00
Guo Xiang Tan
12b175db59 Store skipSearchContext in state for plugins to extend. 2016-11-18 09:32:39 +08:00
Guo Xiang Tan
a6b86036ca FIX: Workaround box-shadow and box-radius bug on safari. 2016-11-16 18:22:59 +08:00
Guo Xiang Tan
1761317b37 UX: Add help text to first notification. 2016-11-16 12:24:33 +08:00
Guo Xiang Tan
10068f86b6 FIX: Notification ring backdrop might get triggered more than once. 2016-11-16 11:37:13 +08:00
Guo Xiang Tan
64b5c81843 FIX: Add alt and title attribute to emoji widget. 2016-11-16 10:48:20 +08:00
Robin Ward
740eec3d15 FIX: Use the view's container if available 2016-11-15 15:13:39 -05:00
Guo Xiang Tan
68f9c7142f FIX: Display first notification spotlight only once each page load. 2016-11-15 14:42:35 +08:00
Guo Xiang Tan
5613c5f81a UX: Add "spotlight" on first notification. 2016-11-15 10:57:16 +08:00
Robin Ward
1d784f5758 Allow Ember 2.4 to connect views to widgets 2016-11-09 13:58:24 -05:00
Robin Ward
151597bf0f Update code so Ember 2.3 can have more tests passing 2016-11-08 13:40:35 -05:00
Guo Xiang Tan
a8b7599d4a FEATURE: Add a radial ping when user's first notification has not been read. 2016-11-08 16:23:12 +08:00
Robin Ward
70fb2431a1 Migrate this.container to getOwner(this) 2016-11-07 15:21:31 -05:00
Robin Ward
bc2c6b0918 FIX: Allow arrays of links for decorators 2016-11-07 12:11:52 -05:00
Robin Ward
beac81d0ee Support both _actions and actions for delegating 2016-11-03 11:52:30 -04:00
Sam
920264349d UX: title links to first post on expanded timeline 2016-11-02 15:12:13 +11:00
Sam
584dc63d13 UX: align timeline to the right in mobile and add jump to button 2016-10-31 12:40:40 +11:00
Robin Ward
a319cfe77a Final set of backwards compatible fixes for Ember 1.13 2016-10-28 15:51:39 -04:00
Robin Ward
7953a53cc5 Replace findProperty and filterProperty with findBy and filterBy 2016-10-26 15:45:06 -04:00
Guo Xiang Tan
adfd9733c6 FIX: Advanced search should retain search term. 2016-10-25 11:47:11 +08:00
Sam
1bf0b2a5f4 FEATURE: show timeline component when expanding post progress
- Show fullscreen timeline with title of topic in mobile
- Go to post # kb shortcut now unconditionally uses a modal
- Always show wrench on topics (was missing if progress bar was showing)
- Be smarter about rendering timeline even if composer is open (provided there is room)
2016-10-19 14:29:58 +11:00
Guo Xiang Tan
1606ed01f9 FIX: Don't mix camelCase into query params. 2016-10-13 14:43:47 +08:00
Guo Xiang Tan
2095b034ad FIX: Make links work with subfolder installs. 2016-10-13 13:21:07 +08:00
Guo Xiang Tan
994a03b3e3 FIX: Advanced search link doesn't work with subfolder installs. 2016-10-13 12:00:02 +08:00
cpradio
1d27610ffc FEATURE: search menu options opens full page search 2016-10-11 19:59:37 -04:00
cpradio
6bf0bc3408 FEATURE: search menu options opens full page search 2016-10-11 18:52:31 -04:00
Robin Ward
be1d74d207 Split out common functions into discourse-common module 2016-09-22 09:52:19 -04:00
Neil Lalonde
28f857c530 FIX: primary group name class missing from poster name 2016-09-16 15:09:35 -04:00
Neil Lalonde
a74781fbbc fix jslint error 2016-09-15 16:50:23 -04:00
Neil Lalonde
e3e15182df FEATURE: avatar flair on user cards 2016-09-15 16:15:18 -04:00
Neil Lalonde
2251104e32 FEATURE: avatar flair can be font awesome icons 2016-08-26 17:15:37 -04:00
Vinoth Kannan
f373e3ac8d braces added for if condition 2016-08-26 22:38:34 +05:30
Vinoth Kannan
fc95764f60 Update search-menu.js.es6 2016-08-24 15:25:51 +05:30
Robin Ward
9f4ef6eeb6 Add a decorator for the footer links in the hamburger 2016-08-22 13:21:41 -04:00
Neil Lalonde
2654060c14 sanitize flair style 2016-08-17 15:13:15 -04:00
Neil Lalonde
d079f69b7b FEATURE: add flair to avatars using new settings in the groups admin UI 2016-08-17 15:13:15 -04:00
Robin Ward
86c970bac0 FIX: Read FAQ wasn't working with a URL on the same site 2016-08-12 13:47:19 -04:00
Robin Ward
705ab88173 Add a widget setting for the user's avatar size 2016-08-12 11:09:36 -04:00
Robin Ward
cd371fa20e FIX: When faq_url is custom, track the FAQ clicks 2016-08-11 13:43:42 -04:00
Robin Ward
8321bdab4e FIX: If you go to full page search, stop loading 2016-08-09 16:11:14 -04:00
Robin Ward
db3ae803c5 UX: Let the user know the search is too short in the header menu 2016-08-09 16:05:58 -04:00
Robin Ward
3db020f95e FIX: Display anonymous counts nicely on badges 2016-08-08 12:24:30 -04:00
Robin Ward
2d7b036b9a UX: Display nicer looking numbers for unread in categories 2016-08-02 15:16:07 -04:00
Robin Ward
87b52e4cea FIX: Support emoji in "Popular Links" 2016-07-20 16:46:19 -04:00
Sam Saffron
3dcd6edb46 FEATURE: stage post in stream on edit 2016-07-14 22:20:43 +10:00
Sam Saffron
86b3de510b UX: staged posts show up with opacity 0.4 till on server 2016-07-12 17:03:42 +10:00
Robin Ward
b8125b3512 REFACTOR: Remove Discourse.Ajax 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
e619af3eee UX: Select text in input when toggling search menu. 2016-07-08 14:17:02 +08:00
Robin Ward
1eb64151f6 User interface for watching first post 2016-07-07 11:21:50 -04:00
Guo Xiang Tan
323efcab71
Fix eslint. 2016-07-07 18:46:15 +08:00
Guo Xiang Tan
6684e4ab87
UX: Don't show more notifications message when there is none. 2016-07-07 17:42:18 +08:00
James Kiesel
5c1e18ecc8 Add keydown hook for widgets (#4308) 2016-07-05 11:25:08 -04:00
Guo Xiang Tan
7e076d63ba
Fix failing tests. 2016-07-05 12:17:29 +08:00
Sam
bd46bc62ff FEATURE: show like button to anon 2016-07-05 12:11:48 +10:00
Guo Xiang Tan
5ba12840e0 Merge pull request #4285 from tgxworld/fix_polls_not_cooked
FIX: Incorrect model for embedded post widget.
2016-06-27 13:31:03 +08:00
Guo Xiang Tan
63b8797667
FIX: Incorrect model for embedded post widget. 2016-06-27 13:15:26 +08:00
Régis Hanol
74e93d2260 FIX: Reply As New Topic from all 3 different places 2016-06-26 14:20:22 +02:00
Sam
3701a8ada2 FIX: missing in action wrench on short topics 2016-06-22 10:56:23 +10:00
Guo Xiang Tan
0ed4d3d313 FIX: Topic admin menu item not positioned properly on short topics. (#4284) 2016-06-21 10:40:00 -04:00
Régis Hanol
9c5a727aa2 FIX: reply as new link wasn't working sometimes 2016-06-20 12:09:04 +02:00
Sam
8866169879 FEATURE: can invite/revoke groups on private messages 2016-06-20 16:29:27 +10:00
cpradio
145ee10f40 FIX: Correct the topic notification keyboard shortcuts 2016-06-17 14:44:08 -04:00
Arpit Jalan
19f4fe2ada FIX: category search was failing for anon 2016-06-17 10:12:31 +05:30
Jeff Atwood
78818551ef remove primary blue from gutter reply button 2016-06-16 16:07:39 -07:00
Jeff Atwood
5b6357ec4b missed a file somehow? 2016-06-16 15:52:44 -07:00
Jeff Atwood
98d95cd7ee UX: switch to glyph for exit anon 2016-06-16 15:23:07 -07:00
Robin Ward
4cd19ee26e FIX: Avoid weird formatting for decloaked posts 2016-06-14 17:14:20 -04:00
Robin Ward
af4391bbda UX: Don't show right arrow in quotes 2016-06-14 16:38:34 -04:00
Régis Hanol
9588583244 'Reply as new topic' link in the share dialog 2016-06-14 20:01:21 +02:00
Robin Ward
3d3ce56f52 UX: Never show the back button if it's the last post 2016-06-14 12:02:24 -04:00
Jeff Atwood
176d9e4863 UX: use link icon for linked posts ;) FINAL DECISION 2016-06-10 22:50:49 -07:00
Jeff Atwood
d1c5949922 switch to dual-way arrow for links 2016-06-10 16:09:10 -07:00
Robin Ward
a77f5a75a1 FIX: Scroll jumping in some dimensions of browser 2016-06-10 14:14:25 -04:00
Guo Xiang Tan
a496574e93
Make eslint happy. 2016-06-10 11:40:21 +08:00
Sam
30e4b17de8 UX: strip outgoing links from bottom of post.
Only show incoming
2016-06-10 13:14:03 +10:00
Robin Ward
468af7f0d7 FIX: Search was clearing data when you closed it 2016-06-08 14:35:36 -04:00
Robin Ward
e621e33321 UX: Apply no-text to buttons without labels and content 2016-06-08 11:14:36 -04:00
Régis Hanol
da4789253c show more wasn't counting links properly 2016-06-08 16:13:29 +02:00
Régis Hanol
2605c87ed9 FIX: post link arrow position with long title 2016-06-08 12:12:40 +02:00
Régis Hanol
1ec25ba2a7 less code 2016-06-08 11:57:33 +02:00
Régis Hanol
ec7443b021 prefer incoming over outgoing links 2016-06-08 11:34:36 +02:00
Sam
2e0a87a2ff correct linting error 2016-06-08 17:01:30 +10:00
Sam
6d10812b26 FEATURE: auto expand incoming/outgoing links 2016-06-08 16:49:01 +10:00
Sam
0e2d918b3b correct blankish username not treated correctly in post stream 2016-06-08 15:42:18 +10:00
Sam
b2f26eaa60 correct test case and add condition 2016-06-08 14:57:13 +10:00
Sam
4bf3fa5356 FEATURE: allow admins to prioritize full name vs username in the UI
Use the site setting prioritize_username_in_ux to switch between prioritizing
the full name vs username
2016-06-08 14:29:24 +10:00
Robin Ward
b624c5cc94 FIX: Never show the "Back" button when close to the bottom of the timeline 2016-06-07 11:19:09 -04:00
Jeff Atwood
bfc8b3362b UX: remove text from right gutter reply button 2016-06-06 14:40:27 -07:00
cpradio
4a0ac2c339 FIX: Show eye-slash icon when able to mark a topic as Unlisted, and eye icon when able to mark it Listed 2016-06-05 07:03:24 -04:00
Robin Ward
3ac4a40208
FIX: Wrench should take into account the custom header height 2016-06-03 17:30:40 -04:00
Robin Ward
ee6cd3e4c4
FIX: On mobile the highlight was being cut off 2016-06-03 16:54:54 -04:00
Robin Ward
43e7890dcf
FIX: Add more descriptive text for expanding links 2016-06-02 13:07:47 -04:00
Robin Ward
04bea0c9d6
FIX: More last read position fixes 2016-06-01 17:52:57 -04:00
Robin Ward
e24fe0246a
Have the topic progress and timeline use the same appEvent 2016-06-01 15:53:13 -04:00
Robin Ward
158a0daf32
FIX: New posts should update the last post date 2016-06-01 13:44:40 -04:00
Robin Ward
3d49a83d7a
FIX: Scrollbar wouldn't reach the bottom if you scrolled too fast 2016-06-01 13:10:33 -04:00
Robin Ward
09e991b3c3
FIX: Bad HTML escaping in widget 2016-05-31 17:08:05 -04:00
Robin Ward
27b499f4dd
UX: Move the timeline up higher on the page 2016-05-31 16:30:45 -04:00
Robin Ward
2d47f144f5
Deduplicate some code for the notifications drop down 2016-05-31 15:57:40 -04:00
Robin Ward
447c16800b
UX: Add tooltip text for the timeline notifications button 2016-05-31 15:23:22 -04:00
Robin Ward
8c6274ba88
FIX: Try to be a little smarter about which way topic menus open 2016-05-31 15:13:57 -04:00
Robin Ward
6eb87e6f62
FIX: Couldn't reach the bottom of the scrollbar 2016-05-31 11:16:38 -04:00
Robin Ward
b37e14fc62
Remove snapping from scrollbar (people hate it) 2016-05-31 10:52:00 -04:00
Robin Ward
5fc47e6942
FIX: Much less jankiness on the scroller 2016-05-31 10:52:00 -04:00
Jeff Atwood
97c1bb9159
add proper title to right gutter reply button 2016-05-31 10:51:59 -04:00
Robin Ward
06a5df63d3
UX: Have the timeline dock slightly below where the buttons would go 2016-05-31 10:51:58 -04:00
Robin Ward
6067de0e8f
FIX: Don't hide the button at the top, only the bottom 2016-05-31 10:51:57 -04:00
Robin Ward
bebc907243
FIX: Use visibility: hidden to hide the buttons to avoid scrolling 2016-05-31 10:51:56 -04:00
Robin Ward
7a66127a01
UX: Hide reply controls when at the bottom of a topic 2016-05-31 10:51:56 -04:00
Robin Ward
0b8a3ff5da
FIX: Better handling of position when near the top or bottom 2016-05-31 10:51:56 -04:00
Robin Ward
a3907e1fbb
UX: Allow the timeline to scroll mid post 2016-05-31 10:51:55 -04:00
Robin Ward
9ec56775de
UX: Move buttons to the bottom of the timeline 2016-05-31 10:51:54 -04:00
Robin Ward
6200d61f0a
UX: Move wrench down, support longer reply button names 2016-05-31 10:51:54 -04:00
Robin Ward
9e1021dfa3
WIP: Add notifications button to timeline 2016-05-31 10:51:53 -04:00
Robin Ward
1e3e4a95fd
FIX: Timeline has to dock at the top too for long titles + banners 2016-05-31 10:51:53 -04:00
Robin Ward
288b407bd1
UX: Also use timeline date format on the bottom of the timeline 2016-05-31 10:51:52 -04:00
Robin Ward
e5ad297ef0
UX: Make the timeline dates the same format 2016-05-31 10:51:52 -04:00
Jeff Atwood
1de8b0ab90
remove icon on timeline back button
it's cleaner looking this way.. omit needless, uh, ICONS!
2016-05-31 10:51:51 -04:00
Robin Ward
b9f82641b0
UX: Hide all timeline controls when fewer than 3 posts 2016-05-31 10:51:51 -04:00
Robin Ward
0e3b275684
UX: Add title text on back button on timeline 2016-05-31 10:51:50 -04:00
Robin Ward
3c30fa628b
FIX: "Go Back" wasn't displaying properly most of the time 2016-05-31 10:51:50 -04:00
Robin Ward
3cebba5b1f
UX: Add "ago" to the bottom of the timeline when relative 2016-05-31 10:51:49 -04:00
Robin Ward
d8d1c7013e
UX: Suppress date on on timeline for previous years 2016-05-31 10:51:49 -04:00
Jeff Atwood
b3e7c78be5
UX: always use short reply counts (no word) 2016-05-31 10:51:49 -04:00
Robin Ward
1ed2723986
FIX: More incorrect scrollbar positions on the timeline 2016-05-31 10:51:48 -04:00
Robin Ward
dd036b73bf
UX: Change the timeline date formatting 2016-05-31 10:51:48 -04:00
Robin Ward
ee01c275fb
FIX: Anonymous timeline bug 2016-05-31 10:51:47 -04:00
Robin Ward
1643ff0f3c
FEATURE: Move topic admin button into timeline
Also includes converting the topic admin menu to the widget framework.
2016-05-31 10:51:46 -04:00
Robin Ward
c0e4d0f6f2
UX: Move post links above topic map on OP 2016-05-31 10:51:46 -04:00
Robin Ward
6aef2b0a59
FIX: First post wasn't rendering timeline 2016-05-31 10:51:46 -04:00
Robin Ward
4963d4d624
UX: Don't animate timeline when first entering a topic 2016-05-31 10:51:45 -04:00
Robin Ward
c046b003db
FIX: More iPad fixes for the timeline 2016-05-31 10:51:45 -04:00
Robin Ward
8a047e2708
FIX: Fix timeline dragging on iOS. Temporary fix for bottom of page 2016-05-31 10:51:45 -04:00
Robin Ward
fc4dc76f42
FIX: Progress was broken on mobile 2016-05-31 10:51:44 -04:00
Robin Ward
a8251b3036
UX: Suppress "replies" when there are many replies in the timeline 2016-05-31 10:51:44 -04:00
Robin Ward
5901faa643
UX: Use relative age instead of "Now" 2016-05-31 10:51:43 -04:00
Robin Ward
1c49c57494
UX: Change the date formatting for timeline start + scroller 2016-05-31 10:51:42 -04:00
Robin Ward
a8ed7e9ceb
FIX: Don't show timeline when less than 3 posts 2016-05-31 10:51:42 -04:00
Robin Ward
fa2bffd618
FIX: Dock the timeline if you scroll down too much 2016-05-31 10:51:41 -04:00
Robin Ward
96b2fb791e
FIX: Make percentage based on highest post number to account for deletions 2016-05-31 10:51:41 -04:00
Robin Ward
178f3b822e
FIX: Don't show "Go Back" at the bottom of the timeline 2016-05-31 10:51:39 -04:00
Robin Ward
559fa36c18
FEATURE: Topic timeline widget 2016-05-31 10:51:39 -04:00
Robin Ward
4a7567b485
UX: Move links from gutter to below posts 2016-05-31 10:51:37 -04:00
Régis Hanol
5a75972b0b SECURITY: 2 XSSs in post gutter and local oneboxes 2016-05-14 00:37:47 +02:00
Sam
398f10bf4f UX: darken timegap 2016-05-13 18:40:44 +10:00
Jeff Atwood
90e1a0bc34 let's try no glyph (fw = fixed width) for time gaps 2016-05-12 02:19:27 -07:00
Robin Ward
47720ba1ca
UX: Clicking a participant in the topic map should just show the card 2016-05-11 15:09:36 -04:00
Robin Ward
e831203897
FIX: Widgets should support links to foreign hosts 2016-05-11 12:02:10 -04:00
Robin Ward
9e3b96c8e4
Support for adding extra links to the hamburger general area 2016-05-10 16:15:38 -04:00
Robin Ward
4875fe1c3e
FIX: Logo links to a different domain were broken 2016-05-10 10:42:16 -04:00
Robin Ward
29b94b5ad3
FIX: If you ctrl+f twice, it should show the browser version 2016-05-09 12:06:14 -04:00
Arpit Jalan
82daf93eb3 Merge pull request #4206 from techAPJ/convert-topic
FEATURE: move a topic from PM to regular topic or vice versa
2016-05-04 01:33:15 +05:30
Arpit Jalan
acfb540952 FEATURE: move a topic from PM to regular topic or vice versa 2016-05-02 21:34:05 +05:30
Robin Ward
cf7b08d034
FIX: Middle clicking on search should open it in a new tab 2016-05-02 11:50:40 -04:00
Sam
a5b0445e02 FIX: never perform searches that bypass validation
we must perform another isValidSearchTerm check when we are about to
perform search cause the call is debounced
2016-05-02 11:53:47 +10:00
Robin Ward
a50edb87ec
FIX: Some notifications were not clearing properly. 2016-04-29 16:42:04 -04:00
Robin Ward
1ac6dd194d
Allow the href setting to be a function. 2016-04-29 13:27:17 -04:00
Robin Ward
04ec679d82
Fixes some deprecations:
- LoadMore as a Mixin for discovery, groups
- Removed Views for discovery, groups
2016-04-28 15:25:45 -04:00
Robin Ward
d89fb6e83e
Better warning message if defaultState is used improperly 2016-04-27 15:06:55 -04:00
Robin Ward
1c90b8dd76
FIX: Search menu would sometimes forget the context 2016-04-27 13:53:51 -04:00