Joffrey JAFFEUX
b76154ec36
minor refactoring of component-connector
2017-11-21 15:48:56 +01:00
Joffrey JAFFEUX
39f3dbd945
Introduces select-kit
...
* renames `select-box-kit` into `select-kit`
* introduces `single-select` and `multi-select` as base components
* introduces {{search-advanced-category-chooser}} as a better component for selecting category in advanced search
* improves events handling in select-kit
* recreates color selection inputs using {{multi-select}} and a custom {{selected-color}} component
* replaces category-selector by a component using select-kit and based on multi-select
* improves positioning of wrapper
* removes the need for offscreen, and instead use `select-kit-header` as a base focus point for all select-kit based components
* introduces a formal plugin api for select-kit based components
* introduces a formal pattern for loading and updating select-kit based components:
```
computeValue()
computeContent()
mutateValue()
```
2017-11-21 11:53:09 +01:00
Robin Ward
c53ed61bd3
UX: There were many places where username formatters were not applied
2017-11-20 15:03:13 -05:00
OsamaSayegh
4c4410225e
UX: cap likes 2 ( #5237 )
2017-11-15 11:28:54 +11:00
Robin Ward
32be3f98c9
UX: Widget options to disable FAQ and About
2017-11-10 10:54:15 -05:00
Neil Lalonde
3940e95227
better way to show dismiss link based on notifications widget state
2017-11-08 11:20:39 -05:00
Neil Lalonde
7134b11673
better tooltip on the dismiss link
2017-11-08 10:45:41 -05:00
Neil Lalonde
234f0262b8
UX: use down chevron button instead of "show more" text to link to full list of notifications
2017-11-07 13:48:55 -05:00
Neil Lalonde
814502f7bb
FEATURE: add a Dismiss link to user menu that dismisses all notifications
2017-11-07 10:41:21 -05:00
Robin Ward
0a69f2bc77
REFACTOR: Remove many Discourse.Category.list() calls
2017-11-01 15:25:35 -04:00
Robin Ward
d955af5960
FEATURE: Allow widgets to call _super() when reopened
2017-10-30 16:14:39 -04:00
Robin Ward
a0dd75ba88
FEATURE: New API to create a custom formatter for displaying usernames
...
This is not exhaustive right now, but a good start and we can add to
it over time.
2017-10-30 13:27:08 -04:00
Robin Ward
fbd5f1e411
REFACTOR: Rename store:main to service:store so we can inject it
2017-10-27 13:59:45 -04:00
Vinoth Kannan
0a7035e5d3
REFACTOR: searchData constant included in search-menu widget
2017-10-27 10:29:55 -04:00
Arpit Jalan
33f0d80ed5
UX: better title on search page
2017-10-27 09:13:04 +05:30
Robin Ward
48314d04f7
FIX: Groups were not being displayed in the map of private messages
2017-10-23 13:14:16 -04:00
Arpit Jalan
dbfd43c854
UX: show title in search results
2017-10-22 18:12:06 +05:30
Robin Ward
e9159e49f3
FEATURE: Site Setting to determine whether flags defaults to topics
2017-10-20 12:37:20 -04:00
Guo Xiang Tan
25c25ae423
FEATURE: Allow user to leave a PM.
2017-10-19 12:32:55 +08:00
Robin Ward
c2a8b95e83
FIX: Don't show the up arrow to jump to posts in different topics
2017-10-13 11:56:44 -04:00
Robin Ward
494ad1e9de
Convert quote controls to use d-icon
2017-10-06 15:42:24 -04:00
Robin Ward
f4decf9193
The quote-other-topic class has been removed
2017-10-06 15:16:06 -04:00
Robin Ward
5822c64bdc
FIX: If you can manage a post you can wiki it
2017-10-05 17:47:52 -04:00
Robin Ward
2ae06e6fd0
More customization for menu items
2017-10-05 17:00:23 -04:00
Robin Ward
0c84352386
Add support for transformations
2017-10-05 16:24:58 -04:00
Robin Ward
7df73c94a0
Add a hook to decorate extra buttons
2017-10-05 14:35:06 -04:00
Robin Ward
cf4e6e2f5b
FIX: deletePost action was incorrect called delete
2017-10-04 16:12:18 -04:00
Robin Ward
4aa30cba2e
Extensibility for Post manage menu
2017-10-04 15:53:06 -04:00
Robin Ward
6d0bf287b5
Allow more extensibility for the post menu buttons
2017-10-04 15:53:06 -04:00
Robin Ward
abdb334823
UX: Allow for customization of the heart icon
2017-10-04 11:07:59 -04:00
Robin Ward
cc4a102b26
UX: Allow customization on header dropdown sizes
2017-10-03 15:24:18 -04:00
Robin Ward
c72ceb1f2d
An option to not display categories in the hamburger
...
This is mostly useful if your site has very few categories.
2017-10-03 14:39:56 -04:00
OsamaSayegh
79f3d299a1
Don't allow category definition topics to be converted to PMs ( #5216 )
2017-10-02 10:04:58 +02:00
Robin Ward
c1f174f554
FIX: Okay, try going back to the old way. Too many exceptions.
2017-09-29 10:19:35 -04:00
Robin Ward
0caf6a0f7d
Support for HTML values in widget hbs templates
2017-09-29 09:56:14 -04:00
Robin Ward
df81d109e5
The ability to attach attrs when embedding widgets
2017-09-28 16:08:43 -04:00
Neil Lalonde
c7aa354ee8
UX: round instead of ceil for time gaps
2017-09-28 14:11:37 -04:00
Robin Ward
7df349afd6
Allow reopened widgets to use hbs templates
2017-09-28 11:13:30 -04:00
Robin Ward
132cbac600
Split out header contents for easier customization
2017-09-28 10:46:07 -04:00
Robin Ward
451340d058
UX: Round up dates
2017-09-26 10:13:34 -04:00
Robin Ward
9e17fd8907
FIX: Support for menu glyphs that are optional
2017-09-26 09:50:43 -04:00
Robin Ward
e4e27a4b83
New API for replacing an icon
2017-09-15 13:54:47 -04:00
Robin Ward
ad77634854
FIX: More CSS regressions with notifications in non-english
2017-09-15 13:24:43 -04:00
Robin Ward
38064c5776
FIX: Broken notifications in non-english locales
2017-09-14 14:26:31 -04:00
Robin Ward
8c2d6118ff
Remove some of the last few fa-icon helpers
2017-09-14 11:20:36 -04:00
Robin Ward
b2ffaf93a3
Use icon helpers for notification dropdown
2017-09-14 11:20:36 -04:00
Robin Ward
c097fbbdff
FIX: Don't append .no-results if there's nothing to display
2017-09-12 11:19:17 -04:00
Robin Ward
bc613e1df5
Adjust nesting of search divs
2017-09-12 11:14:13 -04:00
Régis Hanol
85ef3696de
UX: show date of last edit on wiki topics
2017-09-12 15:37:47 +02:00
Joffrey JAFFEUX
950b9e9eaf
FIX: keeps as much as possible the same api for select-box components
2017-09-09 20:29:07 +02:00
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