Commit Graph

786 Commits

Author SHA1 Message Date
Joffrey JAFFEUX
9f0798682e
FIX: tweak alignment of select-kit in navigation bar 2017-11-23 10:42:39 +01:00
Joffrey JAFFEUX
b5ed980235
FIX: reflects discourse icons naming scheme s/d-icon-*/d-* 2017-11-21 16:01:15 +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
Kris
4daaa3544b mobile topic adjustments 2017-11-17 16:57:25 -05:00
Kris
fa9efb799c fixing some button issues on mobile posts 2017-11-15 14:52:33 -05:00
Joffrey JAFFEUX
680696fc04
Replaces delete flag modal by a dropdown 2017-11-14 07:55:08 -08:00
Jeff Atwood
d7dbda1503
Merge pull request #5302 from awesomerobot/master
bringing mobile topic statuses to parity with desktop
2017-11-10 13:56:32 -08:00
Kris
9716e3ddf3 bringing mobile topic statuses to parity with desktop 2017-11-10 16:45:06 -05:00
Robin Ward
94764399ae Delete unused files 2017-11-10 16:02:46 -05:00
Régis Hanol
0bb07d395a REFACTOR: composer to use flexbox 2017-11-08 10:39:26 +01:00
Joffrey JAFFEUX
ae1743c61f [WIP] select-box-kit refactoring 2017-10-19 12:51:08 -07:00
Kris
dc2d9f05dc removing scale-color, first pass 2017-10-13 11:57:10 -04:00
Robin Ward
8323e22d0c Rename auto-update-input to more accurate future-date-input 2017-09-25 12:28:00 -04:00
Neil Lalonde
0bcde4b4f4 UX: reduce height of textarea for flags of type "Something Else" on small mobile devices 2017-09-14 15:18:57 -04:00
Robin Ward
87b4615eee FIX: Bookmark icon was not coloured on mobile 2017-09-10 14:14:52 -04:00
Joffrey JAFFEUX
bba26e48a0 FIX: positioning issues with notifications-button 2017-09-10 11:36:57 +02:00
Joffrey JAFFEUX
1d52231f42 FIX: css regression on category-dropdown-button 2017-09-08 21:28:28 +02:00
Joffrey JAFFEUX
cf6fb7622e Replaces all notification-options like dropdowns with select-box 2017-09-08 20:47:39 +02:00
Robin Ward
825452df76 Refactor header CSS for composability 2017-09-06 11:34:10 -04:00
minusfive
fd91e53e68 Cleaned, de-duplicated/DRYed and organized discourse.css (common, mobile and desktop) 2017-09-04 10:56:28 -07:00
minusfive
611d62e4a5 Cleanup, deduplicate, debug user css, separated user-info component css 2017-09-01 06:32:27 -07:00
Joffrey JAFFEUX
56468582ee FIX: visual regressions on title-wrapper 2017-08-31 15:08:09 +02:00
Joffrey JAFFEUX
0957ac9ee2 FIX: minor css tweaks to title-wrapper 2017-08-31 11:16:08 +02:00
Joffrey JAFFEUX
746c5927e1 Replaces remaining {{category-chooser}} by {{category-select-box}}
To achieve replacement, this commit also adds support for:
- clearSelectionLabel which will allows to unselect any chosen category
- select-box inside a modal
- fixes minor css positioning issues

Note: {{category-chooser}} will be removed in the next weeks.
2017-08-30 17:04:17 +02:00
Sam
9a861c1b43 Correct previous commit
Selector was way too wide
2017-08-29 16:51:57 -04:00
Sam
5cdb486332 UX: large topic creation area on mobile
This refines the iOS hack and allows for height 100%
on the composer

Also removes annoying box shadows
2017-08-29 15:45:02 -04:00
Joffrey JAFFEUX
b83c0747d9 FIX: select-box improvments
- more tests for category-select-box
- allows to clear selection
- fix positioning on safari
- focus on click
- do not display uncategorized if not allowed in settings
- fix component state impacting other specs
- better texts
- higher category-select-box on mobile
2017-08-28 14:34:04 +02:00
minusfive
cdcc5d6174 Extracted/DRYed user-stream-item component CSS from user.css into own files
- Renamed 'stream-item' component to 'user-stream-item'
- Replaced generic 'item' class with clearer 'user-stream-item' class
- Retained 'item' class for backward compatibility, marked as 'DEPRECATED'
- Extracted CSS pertaining 'user-stream-item' component to component CSS files
- Removed unnecessary duplication from 'user-stream-item' CSS
- Removed unnecessary nesting from 'user-stream-item' CSS
2017-08-25 08:38:27 -07:00
minusfive
8a06d3d312 Fix + remove unnecessary indentation, dead code, cleanup user.css 2017-08-24 14:46:01 -07:00
Joffrey JAFFEUX
d52048ad34 Revert "Revert "FEATURE: improves select-box to support category selection on new topic""
This reverts commit 1d90f6016a.
2017-08-24 16:04:47 +02:00
Joffrey JAFFEUX
1d90f6016a Revert "FEATURE: improves select-box to support category selection on new topic"
This reverts commit 7b4e302677.
2017-08-23 16:33:03 +02:00
Joffrey JAFFEUX
7b4e302677 FEATURE: improves select-box to support category selection on new topic 2017-08-23 15:08:19 +02:00
Arpit Jalan
51f9c23e48 UX: add a divider line between regular user fields and custom user fields
https://meta.discourse.org/t/differentiate-user-fields-on-signup-form-better/66427/2?u=techapj
2017-08-11 17:46:40 +05:30
Robin Ward
82230a1830 Support forcing badge styles 2017-08-03 14:55:36 -04:00
Robin Ward
6dfa3625df REFACTOR: Replace fa-* in SCSS with d-icon-* 2017-07-27 15:09:30 -04:00
Robin Ward
f2e592c1ab UX: Apply btn-flat class to flat buttons on posts 2017-07-25 12:00:19 -04:00
Robin Ward
5da848088a UX: Refactor composer buttons into flat buttons 2017-07-25 12:00:19 -04:00
Robin Ward
5dd56a41d9 Merge branch 'master' into master 2017-07-24 12:01:48 -04:00
Arpit Jalan
6d09fbde44 UX: use down chevron icon to expand "show more links.." 2017-07-22 00:10:37 +05:30
Joffrey JAFFEUX
2a0dcedb3d fixes regression 2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
6de258d4cf FEATURE: Introduces new emoji-picker 2017-07-19 16:48:23 +02:00
awesomerobot
c29b7aa65d initial pass at color simplification 2017-07-14 21:43:35 -04:00
Robin Ward
34867a6e07 UX: Support for displaying wrench alongside progress bar 2017-06-23 14:39:18 -04:00
Jeff Atwood
8c9e24e9b0 override desktop styles for mobile topic admin 2017-06-23 00:59:53 -07:00
Jeff Atwood
c1c778f1e5 move mobile topic admin button to bottom 2017-06-23 00:36:50 -07:00
Neil Lalonde
a922db6158 FIX: set max width and prevent wrapping on composer submit button on mobile 2017-06-05 12:25:20 -04:00
Neil Lalonde
847d831555 FIX: docking position of topic progress at bottom of topic on mobile 2017-05-29 12:14:45 -04:00
Neil Lalonde
4266828c62 FIX: incorrect margins on buttons in modals on mobile 2017-05-24 11:57:26 -04:00
Neil Lalonde
558a274187 UX: flag custom message description is too close to textarea on mobile 2017-05-19 16:08:28 -04:00
Neil Lalonde
c0c6cb8124 mobile like count css rules being ignored 2017-05-19 11:10:18 -04:00
Neil Lalonde
5e88794a65 remove box-shadows around radio buttons and checkboxes on mobile 2017-05-18 18:04:47 -04:00
Neil Lalonde
fa77bbf04f FIX: mobile modal close button position, mobile layout of radio buttons and checkboxes 2017-05-18 17:08:52 -04:00
Neil Lalonde
3065b7db4c FIX: label positioning on mobile forms 2017-05-18 16:38:35 -04:00
Neil Lalonde
c2579c5916 FIX: layout of buttons and modals on mobile 2017-05-18 16:11:52 -04:00
Jeff Atwood
cfb30bca80 UX: simplify delete gap style 2017-05-05 17:06:13 -07:00
Arpit Jalan
0bdced165a UX: change timestamp button on mobile was hidden behind date selector 2017-05-04 18:47:25 +05:30
Neil Lalonde
2503241ce5 FEATURE: rebuild user preferences page to use tabs 2017-05-02 16:52:18 -04:00
Guo Xiang Tan
5c39c8f24b UX: Improve the way users set timers for TopicStatusUpdate. 2017-04-20 14:25:45 +08:00
jomaxro
d5d5cfc2f4 Mobile CSS for deleted topics is inconsistent
with desktop css - mobile targets a less specific class
2017-03-31 12:48:32 -04:00
Guo Xiang Tan
78d87a79eb UX: Improve .modal-header style on mobile. 2017-03-31 16:47:49 +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
Neil Lalonde
6e847bb297 FEATURE: mobile support for row and box category styles 2017-03-27 13:55:39 -04:00
Neil Lalonde
0083602ddd Revert "FEATURE: mobile support for row and box category styles" 2017-03-25 00:38:56 -04:00
Neil Lalonde
33ed064e59 FEATURE: mobile support for row and box category styles 2017-03-23 16:03:27 -04:00
Vinoth Kannan
d3f07122c4 UX: 'Join Group' button position moved to group header 2017-03-16 08:40:27 +08:00
Anaketa
d7dedc4649 add show/hide to tooltip 2017-03-15 17:23:52 +01:00
Neil Lalonde
d0fbb27f3e FEATURE: new invite acceptance page, where username can be chosen and password can be set 2017-02-15 16:51:57 -05:00
giorgia
8c6d0ecd64 fix replay btn position on mobile and desktop 2017-02-10 17:11:10 +01:00
Neil Lalonde
c4e10f2a9d FEATURE: redesign the change password page to use javascript and validations 2017-02-03 16:09:24 -05: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
17da0bd11f UX: Display wiki icon on post edits indicator. 2017-01-17 06:33:58 +08:00
Jeff Atwood
b58a6804c2 reduce font size on mobile prog expansion 2017-01-03 11:17:12 -08:00
Neil Lalonde
0105a406d4 FIX: spacing and alignment of title, category, tags, and featured links in topic page heading on mobile and desktop 2016-12-29 14:59:30 -05:00
Guo Xiang Tan
a5fead3857 UX: Redesign group page to follow user page. 2016-12-22 13:08:59 +08: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
Robin Ward
4dcb29acbf UX: Show Back button above mobile progress widget 2016-12-19 14:06:19 -05:00
Jeff Atwood
81956cb1d6 Merge pull request #4590 from xfalcox/css-highligth
Use CSS animations for post and topic highlights
2016-12-16 14:22:25 -08:00
Rafael dos Santos Silva
e9fa936389 Uses CSS animation for highlight on mobile too 2016-12-16 19:26:49 -02:00
Guo Xiang Tan
fbd3727c7d UX: Improve group edit style for mobile. 2016-12-13 15:26:28 +08:00
Guo Xiang Tan
05f55dbc10 FEATURE: Group logs. 2016-12-12 17:29:54 +08:00
Arpit Jalan
3d4299151c Merge pull request #4596 from techAPJ/composer
FEATURE: show close button instead of maximize in collapsed composer
2016-12-08 21:31:54 +05:30
Arpit Jalan
d9459d09ed FEATURE: show close button instead of maximize in collapsed composer 2016-12-08 20:11:58 +05:30
Arpit Jalan
4381afac1b Merge pull request #4593 from techAPJ/composer
FEATURE: show the reply title and the reply icon in the minimized editor
2016-12-08 11:40:24 +05:30
Arpit Jalan
312a07e452 FEATURE: show the reply title and the reply icon in the minimized editor 2016-12-08 10:30:31 +05:30
Guo Xiang Tan
7e47fdf8da UX: Fix margins for group name on mobile. 2016-12-08 06:24:32 +08:00
Guo Xiang Tan
bad6dbc891 UX: Use mobile nav for group page. 2016-12-06 17:02:28 +08:00
Guo Xiang Tan
e0c28d6fd5 REFACTOR: Stop mixing users page and groups page CSS. 2016-12-05 14:27:47 +08:00
Jeff Atwood
3c02e49b28 tweak login dialog for narrow mobile phones 2016-12-02 15:29:21 -08:00
Jeff Atwood
a93c59abbf UX: normalize mobile <input> styles w/desktop 2016-12-01 23:53:11 -08:00
Jeff Atwood
ed4fecb152 mobile social btns should not overflow 2016-11-17 17:07:05 -08:00
Jeff Atwood
2f38375c9f UX: narrower social login buttons on mobile 2016-11-17 17:04:19 -08:00
Guo Xiang Tan
a9680e5a9e UX: Reduce number of words used. 2016-11-16 12:44:22 +08:00
Guo Xiang Tan
1761317b37 UX: Add help text to first notification. 2016-11-16 12:24:33 +08:00
Guo Xiang Tan
263a43bcfd UX: Use a gradient instead of a border. 2016-11-09 09:56:36 +08:00
Jeff Atwood
dec4a3386f mobile top/bottom timeline dates bigger targets 2016-11-01 16:31:33 -07:00
cpradio
1e7c69044c FIX: Improve removing advanced filters
Prior:
Entering `test after:5` and then removing the 5 via the search text field would result in the UI not updating

After:
UI updates after half a second

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

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

Return [] when searchTerm is empty

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

More refactoring to make this a bit less complex

Update code based on review comments

FEATURE: Add common `in:` options
2016-10-14 19:04:10 -04:00
Guo Xiang Tan
ef1918662c PERF: Don't render advanced search options when not expanded.
* Debounce options update as well.
2016-10-13 14:46:13 +08:00
cpradio
1e1959a89d FIX: Improve Mobile UI for Advanced Search 2016-10-11 16:28:31 -04:00
Erick Guan
9ce61b4586 FEATURE: Webhooks. 2016-09-05 18:44:00 +08:00
Guo Xiang Tan
72b321b7b4 Revert "UX: Centering Badge notification styles on mobile."
This reverts commit fce902ab1e.
2016-08-08 09:02:46 +08:00
Guo Xiang Tan
fce902ab1e UX: Centering Badge notification styles on mobile. 2016-08-08 07:24:09 +08:00
Sam
9b011cb75d UX: increase mobile line height for readability 2016-08-05 09:22:54 +10:00
Jeff Atwood
138e2071c5 slightly increase mobile post body font size 2016-08-01 16:23:41 -07:00
Robin Ward
5ba8612fa8 UX: Button had wrong margin on iOS 2016-07-26 15:10:14 -04:00
Guo Xiang Tan
57f1bf1ddd UX: Better handle width for fields in sign up form. 2016-07-18 17:28:13 +08:00
Guo Xiang Tan
a604c6393d UX: Add icon to dismiss notifications button. 2016-07-15 12:11:58 +08:00
Sam Saffron
bea06afd3d UX: suppress description excerpt on mobile 2016-07-14 22:38:16 +10:00
Guo Xiang Tan
5c4fdd1207 UX: Remove margins on popup menu on mobile. 2016-07-11 11:01:25 +08:00
Guo Xiang Tan
2b651b20cf
UX: Display message when user has no notifications instead of a blank page. 2016-07-07 18:25:48 +08:00
Guo Xiang Tan
c5a66d4b50
Remove coupling of a composer feature to d editor. 2016-07-04 16:15:36 +08:00
Kris
87a2024d61 fixing link color in profiles (#4278) 2016-06-20 14:22:32 +02:00
Guo Xiang Tan
3d0be0d47c
UX: Display category and tags on full page search in a seperate row. 2016-06-20 12:03:48 +08:00
awesomerobot
92fe4118df updating user profile to match theme/usercard 2016-06-19 14:43:17 -04:00
Neil Lalonde
f3f6c2f98f FEATURE: tag groups 2016-06-06 14:18:48 -04:00
Robin Ward
4a7567b485
UX: Move links from gutter to below posts 2016-05-31 10:51:37 -04:00
Jeff Atwood
b6db022051 de-emphasize notification state text slightly 2016-05-23 03:36:26 -07:00
Arpit Jalan
cde49ba83c UX: change textarea background color based on theme on mobile 2016-05-18 13:41:19 +05:30
Jeff Atwood
d7d8df7d3a UX: remove border under mobile time gap too 2016-05-13 02:45:34 -07:00
Arpit Jalan
2aa04611e5 UX: fix user stream topic status on mobile 2016-04-12 14:27:16 +05:30
Arpit Jalan
78e36c3669 UX: align small action post buttons on mobile 2016-04-12 14:11:03 +05:30
Robin Ward
038a5a0767
UX: Show the selected posts controls at the bottom of mobile topics too 2016-04-08 15:26:24 -04:00
Guo Xiang Tan
a1add415e5 UX: Quote button covered by youtube info header on mobile. 2016-04-05 16:18:07 +08:00
Jeff Atwood
5d13fa1b94 push tracking below topic controls on large mobile 2016-03-30 00:03:54 -07:00
Jeff Atwood
73a0f109e8 correct weird editor borders on mobile 2016-03-29 23:57:44 -07:00
Jeff Atwood
d0bf465989 make drop-down icon glyphs grey 2016-03-29 23:44:19 -07:00
Jeff Atwood
4d5074994c correct mobile badge display 2016-03-29 23:36:54 -07:00
Jeff Atwood
cdf6aa4cb4 adjust time gap alignment on mobile 2016-03-29 23:28:20 -07:00
Jeff Atwood
c53ef51c91 some badge image layout fixes 2016-03-28 11:40:04 -07:00
Jeff Atwood
94f831f7e7 more mobile badge tweaks 2016-03-27 23:39:56 -07:00
Jeff Atwood
f9f84620d1 prevent cancel button wrapping on mobile, try 2 2016-03-27 23:21:26 -07:00
Jeff Atwood
c417697091 remove unnecessary mobile onebox border 2016-03-27 09:47:31 -07:00
Jeff Atwood
0a05c9ee8d remove unnecessary mobile user page padding 2016-03-26 02:11:22 -07:00
Jeff Atwood
1b4b361841 normalize topic map button color on mobile 2016-03-26 01:51:31 -07:00
Jeff Atwood
04f68f6277 make badges work better on mobile 2016-03-26 01:30:20 -07:00
Jeff Atwood
b83861325e tighten submit button spacing on mobile too 2016-03-26 01:18:16 -07:00
Jeff Atwood
4f061ee444 no width on submit-panel helps small phones 2016-03-26 01:16:57 -07:00
Guo Xiang Tan
8a8d931688 UX: Buttons not positioned within form. 2016-03-26 10:25:33 +08:00
Robin Ward
db15772ab1 UX: Make user info rendering more consistent 2016-03-24 13:49:35 -04:00
Robin Ward
e0347b18da UX: Improve icon positioning on mobile 2016-03-23 14:44:34 -04:00
Sam
6bdd5107a6 UX: center align community title text in mobile 2016-03-22 12:44:55 +11:00
Sam
88f38f34cc improve text only header 2016-03-18 15:12:55 +11:00
Sam
37ccfbdb2a Revert "FIX: vertical centering of header, using display: table"
This reverts commit 1b4e0f3300.
2016-03-18 14:29:39 +11:00
Neil Lalonde
1b4e0f3300 FIX: vertical centering of header, using display: table 2016-03-17 17:36:20 -04:00
Robin Ward
84ab7fdcc7 FIX: post admin menu was hidden on mobile 2016-03-14 16:23:58 -04:00
Jeff Atwood
83fda03495 remove modal flag hint, no longer needed 2016-03-01 14:22:36 -08:00
Robin Ward
3d5dfab54e FIX: Jump on mobile when cloaking 2016-03-01 12:48:57 -05:00
Jeff Atwood
a01b2a48d5 FIX: mobile lacked 404 page styles 2016-02-25 00:21:20 -08:00
Robin Ward
026bba1876 Merge branch 'master' into vdom 2016-02-22 15:28:07 -05:00
Jeff Atwood
c9d19c9462 tighten up mobile profile image size 2016-02-22 02:18:34 -08:00
Jeff Atwood
2ab901bec4 adjust bad styling on mobile user page 2016-02-22 02:03:50 -08:00