Robin Ward
fd7bb8e656
FIX: Scope the cn to the subfolder
2018-06-28 11:03:36 -04:00
Guo Xiang Tan
657c8a013a
UX: Don't display an empty participants section.
2018-06-22 10:16:43 +08:00
Guo Xiang Tan
4c6a0a4046
UX: Don't display participants count if it is zero.
...
This can happen for megatopics where we don't send
down the payload for participants count.
2018-06-22 08:32:20 +08:00
Guo Xiang Tan
c5cc582549
FIX: Participants may not be in topic maps's attributes.
2018-06-21 10:23:55 +08:00
Robin Ward
5290138e84
Support for a decorator within the user name
2018-06-20 15:26:37 -04:00
Robin Ward
02cb944fee
FIX: Linting error
2018-06-20 13:44:03 -04:00
Robin Ward
e7fbcf4ba4
UX: Refactor topic metadata's many floats into flexbox ( #6018 )
2018-06-20 13:06:20 -04:00
Joffrey JAFFEUX
8126b603e4
fix prettier
2018-06-20 18:26:43 +02:00
Robin Ward
bb11375590
FIX: Don't add undefined as a class name
2018-06-20 10:37:24 -04:00
Guo Xiang Tan
9c925a66ff
PERF: Don't display days ago on timeline for megatopics.
...
Analysis using `pg_stat_statements` showed this query
to be eating up a significant portion of CPU.
2018-06-20 16:25:54 +08:00
Kris
b637b57e4f
FIX: Alignment of user dropdown menu icons
2018-06-19 15:38:06 -04:00
Joffrey JAFFEUX
03a7d532cf
DEV: introduces prettier for es6 files
2018-06-15 17:03:24 +02:00
kleinfreund
4ce1d230c7
Prefer throwing a new Error object instead of just a string expression
2018-06-12 12:56:22 +10:00
Arpit Jalan
704cca3de2
FIX: add proper search context for personal messages
2018-05-30 14:47:46 +05:30
Kris
c5dbfe1886
liked icon should use d-icon
2018-05-24 11:08:13 -04:00
Régis Hanol
232ed64865
UX: Add category & tags in mobile topic timeline
2018-05-23 23:05:34 +02:00
Guo Xiang Tan
c720bf32c3
UX: Add proper titles to topic navigation links in hamburger menu.
...
https://meta.discourse.org/t/what-is-the-difference-between-latest-and-new/47809/9?u=tgxworld
2018-05-10 09:29:02 +08:00
Guo Xiang Tan
5e45b682a2
Fix JS tests take 2.
2018-05-07 18:34:45 +08:00
Guo Xiang Tan
0042d94f76
Fix broken JS specs.
2018-05-07 18:21:48 +08:00
Guo Xiang Tan
4f4c576311
FIX: Retrigger search scoped to a topic if topic changes.
...
https://meta.discourse.org/t/highlight-the-search-results/10322/12?u=tgxworld
2018-05-07 17:18:30 +08:00
Guo Xiang Tan
5a57a454fe
Revert "FIX: Only show topic timer to staff"
...
This reverts commit e3e6fd6ea0 .
2018-05-07 15:59:16 +08:00
Guo Xiang Tan
32147d4ff9
FIX: Search term scoped to topic should be highlighted in widget dom era.
...
https://meta.discourse.org/t/highlight-the-search-results/10322/4?u=tgxworld
2018-05-07 15:17:34 +08:00
Sam
319ea27389
improve comment
2018-04-30 18:42:23 +10:00
Sam
2f0b3afa05
clean up drag on iOS handling, we need it bound earlier
2018-04-30 16:43:56 +10:00
Sam
33f15e0015
improve prev hack
2018-04-30 16:20:41 +10:00
Sam
6be2108291
FIX: dragging of timeline was flaky on iOS
2018-04-30 16:12:12 +10:00
Sam
458b9c3a62
FEATURE: suppress duplicate username/names containing .
...
- Adds official API to disable suppression if needed
2018-04-27 11:41:16 +10:00
Joffrey JAFFEUX
59d4123316
PERFORMANCE: disables jquery animations during testing
2018-04-24 18:29:26 +02:00
Kris
dfc37400f4
Use d-icon classes
2018-04-24 11:08:37 -04:00
Kris
b449c47bdd
Like button on own posts is filled gray
2018-04-24 11:03:24 -04:00
Kris
f812f5cd1c
UX: Use empty heart for unliked state
2018-04-23 12:41:41 -04:00
Jeff Wong
99138b171a
Fix: trigger group card on a post's primary group click
2018-04-17 10:34:52 -07:00
Kris
a4b8813a02
FIX: Header nav should be tabbable and have focus state
2018-04-13 12:53:04 -04:00
Guo Xiang Tan
ffb7ec2543
Fix the build.
2018-04-10 09:50:00 +08:00
Guo Xiang Tan
d9d86577ff
FIX: Staff users are not affected by enable_group_directory site setting.
2018-04-10 09:22:01 +08:00
Arpit Jalan
54819d72c9
UX: show users who liked the post when expanding post actions
2018-04-03 08:24:09 +05:30
Arpit Jalan
9df7fd4f30
FIX: discourse-solved plugin controls (buttons) should be in first place
2018-03-31 07:42:54 +05:30
Arpit Jalan
4760f0e7a9
UX: better like button
...
Co-authored-by: jjaffeux <j.jaffeux@gmail.com>
2018-03-30 22:45:51 +05:30
Arpit Jalan
fe17ee6924
UX: own post likes glyph margin was off
2018-03-30 10:10:55 +05:30
Arpit Jalan
a55b458e56
UX: show heart glyph on your own likes count
2018-03-30 09:06:57 +05:30
Arpit Jalan
9bf87f3665
UX: remove word "likes" from first post
2018-03-30 02:45:32 +05:30
Arpit Jalan
ef07045aca
fix the build
2018-03-30 02:09:48 +05:30
Arpit Jalan
6bef0428cc
UX: remove the word 'likes' from the like counters on posts within topic
2018-03-30 01:46:00 +05:30
Robin Ward
e4a5b0c39a
Merge pull request #5715 from jjaffeux/remove-title-user-notifications
...
FIX: remove unneeded and uninformative title on user notifications list
2018-03-29 09:23:09 -04:00
Joffrey JAFFEUX
466f09bbc4
FIX: remove uneeded and uninformative title on user notifications list
2018-03-28 17:05:42 +02:00
Guo Xiang Tan
8bc5da57b0
No need to default aria-label to label.
2018-03-28 09:11:50 +08:00
Guo Xiang Tan
08d68e846c
UX: Don't default title to label text for buttons.
2018-03-28 09:03:35 +08:00
Kris
803b53f2e3
Adding space before URL click-counter for improved copy & paste-ability ( #5698 )
2018-03-22 21:27:08 -04:00
Gerhard Schlager
243ee565dc
Reset widget decorators after each test
2018-03-12 14:22:50 +01:00
Robin Ward
ee9be65b2c
FIX: Show names when available
2018-02-22 20:06:53 -05:00
Arpit Jalan
d170c8fccc
Revert 'Accessibility: focus management in topics'
...
reverts:
- 3df0626aa5
- 3212cdda78
- 59b7760e2e
- bfc1301823
2018-02-22 10:32:37 +05:30
Kane York
3212cdda78
UX: Use focus as the first selector for J/K navigation
2018-02-22 11:55:36 +08:00
Robin Ward
3faeb4f093
Calculate the heights when we need them
2018-02-15 14:33:20 -05:00
Kris
5ab44833ab
UX: Make mobile timeline extra short in landscape
2018-02-14 23:27:06 -05:00
Robin Ward
d962d6072e
FIX: Don't auto select ALL topics, only keyboard chosen ones
2018-02-12 13:54:37 -05:00
Robin Ward
7b7f94d7df
FIX: Using cmd-f to search in a topic wasn't restricting to that topic
2018-02-12 13:09:56 -05:00
Robin Ward
0156ae486d
Apply extra classes to header avatar
2018-02-01 16:59:10 -05:00
Robin Ward
64ba876ff4
FIX: Don't show "Grant Badge" if badges are disabled
2018-02-01 11:33:48 -05:00
Arpit Jalan
ff0376a80b
rename 'enable_private_messages' to 'enable_personal_messages'
2018-02-01 13:25:29 +05:30
Simon Cossar
4662cc428f
Fix RTL topic-admin-menu-position ( #5497 )
2018-01-29 18:14:36 +11:00
Robin Ward
6b04967e2f
FEATURE: Staff members can lock posts
...
Locking a post prevents it from being edited. This is useful if the user
has posted something which has been edited out, and the staff members don't
want them to be able to edit it back in again.
2018-01-26 14:01:30 -05:00
Kyle Zhao
afaf9fd54c
FIX: mods should be able to grant badges in post wrench ( #5522 )
2018-01-25 13:52:05 +11:00
Kyle Zhao
83c549bd31
FEATURE: grant badges in post admin wrench ( #5498 )
...
* FEATURE: grant badges in post admin wrench
* only grant manually grantable badges
* extract GrantBadgeController mixin
2018-01-22 14:10:53 +11:00
Robin Ward
5b820ebb62
Allow plugins to extend the post title
2018-01-19 15:30:50 -05:00
Robin Ward
645c32758a
Extensibility points for poster name
2018-01-19 12:52:46 -05:00
Robin Ward
a34010e49a
Add some extensibility to posts rendering
2018-01-19 10:22:40 -05:00
Arpit Jalan
d24c35012d
FIX: jump to original post when expanded posts are collasped
2018-01-19 18:01:54 +05:30
Arpit Jalan
73dea4e7eb
Merge branch 'embedded-posts'
2018-01-19 12:54:34 +05:30
Jeff Atwood
7ed41fae2b
Merge pull request #5493 from notriddle/home_logo_h1
...
Change the text-only home logo to an H1
2018-01-18 16:14:36 -08:00
ckeboss
beee69e566
Update tense and change actions around.
2018-01-18 11:05:25 -08:00
ckeboss
1738a85bdc
Update post-menu.js.es6
...
The bookmark ID's were not very clear and not using the same names as the classes. This addresses that.
2018-01-18 10:53:05 -08:00
Kris
2e12c2c352
UX: button styling
2018-01-16 16:06:04 -05:00
Kris
dc5b0e05e2
UX: Styling embedded post collapse button
2018-01-16 15:48:47 -05:00
Arpit Jalan
6fff16a999
FEATURE: add collapse button
2018-01-16 01:07:48 +05:30
Michael Howell
66d5b9f74c
Change the text-only home logo to an H1
...
Fixes https://meta.discourse.org/t/77892
2018-01-12 23:34:31 +00:00
Robin Ward
3ed9cbc040
UX: Put the HR in the correct place
2018-01-09 17:48:52 -05:00
Robin Ward
685fc637d5
Improve some user menu code and make the logout button optional
2018-01-08 16:56:56 -05:00
Robin Ward
df163cbf61
Add a deleted-post class to the deleted post action
2018-01-03 13:56:47 -05:00
Robin Ward
dbd2d29abe
Allow the deleted post indicator on a post to be extended.
2018-01-03 13:34:26 -05:00
Robin Ward
0eba867c8c
Allow menu classes to be targetable by name
2018-01-02 17:01:44 -05:00
Robin Ward
6cffbb4ea4
FIX: Don't show moderation history option to TL4
2017-12-26 17:13:29 -05:00
Guo Xiang Tan
87c334c063
Fix randomly failing JS acceptance tests.
2017-12-20 11:04:47 +08:00
Régis Hanol
1b4483c942
FEATURE: Added 'select +below' and 'select +all replies' options to selecting posts
2017-12-13 22:12:06 +01:00
Robin Ward
3cf4886d3e
UX: Add a class name to target the embedded post controls
2017-12-07 15:01:34 -05:00
Régis Hanol
c08d53f2dd
keyValueStore isn't available in test
2017-12-06 23:28:28 +01:00
Régis Hanol
ea50f823cb
FIX: logging in after an anon ❤️ does not count the ❤️
2017-12-06 21:58:05 +01:00
Robin Ward
410994b7f5
FEATURE: Show a button to Staff for "Moderation History" on posts/topics
...
When clicked, it pops up a modal showing a history of moderation actions
taken on the post or topic.
2017-12-05 15:20:20 -05:00
Robin Ward
e80caab247
FIX: Reply to tab was not using the username formatter
2017-12-03 15:49:21 -05:00
Arpit Jalan
496cd3b4df
Merge pull request #5385 from techAPJ/search-logs-improvements
...
FEATURE: support search click through tracking for user, category and tags
2017-12-01 12:08:38 +05:30
Arpit Jalan
e3925278e2
FEATURE: support search click through tracking for user, category and tags
...
https://meta.discourse.org/t/search-logs-page/73281/11?u=techapj
This commit adds following features:
- support for tracking click through to user, tag and category
- new filter for search type (header, full page)
This commit also removes "most viewed topic" field from search logs page because we are now tracking multiple click through entities, so topic is not a special entity anymore. This also improves query perf. The query now takes `20.5ms` to runs, as opposed to `655.9ms` previously.
2017-12-01 12:04:55 +05:30
Sam
05f5df69b1
UX: Add tooltips for messages and notifications in header
2017-11-30 12:56:54 +11:00
Guo Xiang Tan
8491c5fba5
UX: Replace heuristic solution for extracting root domain.
2017-11-29 16:26:46 +08:00
Robin Ward
36d46df8dc
New setting to show the reply title on the post menu on mobile
2017-11-27 13:21:53 -05:00
Régis Hanol
8a7cbeef00
UX: hide 'dismiss' in notifications dropdown when there are no unread notifications
2017-11-22 15:56:01 +01:00
Joffrey JAFFEUX
f210e1660d
uses correct path for component connector
2017-11-21 16:00:49 +01:00
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