Commit Graph

168 Commits

Author SHA1 Message Date
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
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
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
Jeff Atwood c8ce3c6dee make composer edu panel close button more visible 2017-08-24 13:49:33 -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
Sam 5c80d4bcdd UX: move close button to bottom and add esc hint. 2017-08-18 15:40:34 -04:00
Robin Ward 5da848088a UX: Refactor composer buttons into flat buttons 2017-07-25 12:00:19 -04:00
awesomerobot c29b7aa65d initial pass at color simplification 2017-07-14 21:43:35 -04: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 bfc52a8e6f FIX: long titles need a max-width in composer when replying on desktop view 2017-01-17 15:14:58 -05:00
Arpit Jalan d9459d09ed FEATURE: show close button instead of maximize in collapsed composer 2016-12-08 20:11:58 +05:30
Erick Guan 52763f5115
FEATURE: Allow posting a link with topics 2016-12-05 17:20:54 +01:00
Sam 3ad1423c53 UX: autofocus the edit reason text field 2016-06-27 16:49:16 +10:00
Robin Ward 431179dd25 FEATURE: Prompt users when they are entering duplicate links 2016-06-07 14:47:22 -04:00
Jeff Atwood 935c9343e4 desktop editor toggle didn't match mobile color 2016-06-07 00:35:13 -07:00
Jeff Atwood 73336db311 use grey for similar topic blurbs 2016-01-04 15:25:30 -08:00
Jeff Atwood e1f90d12f1 formally remove IE9 support 2016-01-02 23:49:52 -08:00
scossar 0fba9443a6 show popup menu over preview window 2015-12-28 13:51:07 -08:00
Robin Ward 5f995323e1 FIX: Hairline should extend the full width when preview is hidden 2015-12-07 12:51:58 -05:00
Arpit Jalan dd8b773059 UX: use pastel blue background for topic education pop-ups 2015-12-04 09:19:55 +05:30
Arpit Jalan 3eb0288adb UX: reviving old topic popup should not have red warning background 2015-11-25 16:31:17 +05:30
Robin Ward 682a3cdfec FIX: Some iPad fixes for the new composer 2015-11-07 18:38:44 -05:00
Robin Ward ca50252f77 UX: Dim the composer buttons like they used to be 2015-11-06 19:10:22 -05:00
Robin Ward 3438194280 FIX: Remove hairline below composer buttons 2015-11-06 15:42:56 -05:00
Robin Ward 47495a5713 FEATURE: Replace composer editor with ember version 2015-11-06 09:49:16 -05:00
Arpit Jalan 3bf6617ff6 UX: lighten background of Suggested Topics pop-up 2015-11-05 17:50:08 +05:30
Jeff Atwood 980c0196a8 FIX: similar topics lacked badge left margin 2015-09-29 02:14:44 -07:00
Jeff Atwood a8d6b5ed6e loosen up composer title spacing 2015-09-25 12:56:53 -07:00
Régis Hanol ef0804fbb0 FIX: only disable the composer grip when the device is touch-only 2015-09-23 16:05:41 +02:00
Rafael dos Santos Silva 45a7e200a8 Fix composer for FF14+
Fix the preview for old versions of Firefox.
2015-09-16 15:13:44 -03:00
Régis Hanol 1689f436d9 UX: replace cancel uploading link with icon + fix color 2015-09-16 17:54:09 +02:00
Sam 24520937aa FEATURE: improve safari editor hack 2015-09-15 13:09:12 +10:00
Guo Xiang Tan 08dccaa874 FIX: Title input validation position. 2015-09-14 00:30:39 +08:00
Jeff Atwood 81ba90fd22 suppress editor toolbar buttons a bit 2015-09-05 22:22:04 -07:00
Robin Ward f5cbaf5609 Have menu panels show up on top of the composer, stop composer at header 2015-09-01 17:34:04 -04:00
Guo Xiang Tan 4d72cb2851 FIX: Title popup tip not positioned correctly. 2015-08-24 18:16:45 +08:00
Jeff Atwood d38c4d5f74 scale-color $lightness must use $secondary for dark themes 2015-08-20 02:42:12 -07:00
Kane York 78dcf30444 FIX: Suggested topics box was bad in dark theme 2015-08-18 14:50:36 -07:00
Jeff Atwood 262e94c48e make all <i> tags grey in .reply-to area 2015-08-07 12:43:29 -07:00
Robin Ward 20a338362f FIX: Allow multiple pagedown editors at once. 2015-07-13 16:36:38 -04:00
Jeff Atwood d818f7a54a more spacing for "your topic is similar to.." results 2015-06-26 01:53:19 -07:00
Robin Ward 6422d5efbd Use the same component for similar topics as search results. 2015-06-24 15:08:22 -04:00
Guo Xiang Tan 565450601f FIX: Tagging plugin was blocking composer status on smaller screens. 2015-06-22 19:56:45 +08:00
awesomerobot f20c28c16b replacing the remnants of the old color variable code 2015-06-14 22:59:49 -04:00
Jeff Atwood d6af1169fc remove extra "posts" text from similar topic panel 2015-05-31 23:31:29 -07:00
Arpit Jalan 3f59cf752d UX: add reply-to glyph in composer 2015-04-04 13:02:55 +05:30
Régis Hanol 5ceb84421e UX: remove live character countdowns from the composer 2015-03-09 17:46:36 +01:00
Kris Aubuchon 29490209e7 fixing missing border on dropdown 2015-02-08 12:01:51 -05:00
Régis Hanol cd2c9edb46 FIX: 🐛 upload on IE9 wasn't working :'(
- FIX: make sure we set a default name to a pasted image only on Chrome (the only browser that supports it)
- FIX: use ".json" extension to uploads endpoints since IE9 doesn't pass the correct header
- FIX: pass the CSRF token in a query parameter since IE9 doesn't pass it in the headers
- FIX: display error messages comming from the server when there is one over the default error message
- FIX: HACK around IE9 security issue when clicking a file input via JavaScript (use a label and set `visibility:hidden` on the input)
- FIX: hide the "cancel" upload on IE9 since it's not supported
- FIX: return "text/plain" content-type when uploading a file for IE9 in order to prevent it from displaying the save dialog
- FIX: check the maximum file size on the server 💥
- update jQuery File Upload Plugin to v. 5.42.2
- update JQuery IFram Transport Plugin to v. 1.8.5
- update jQuery UI Widget to v. 1.11.1
2015-01-28 19:43:20 +01:00
Jeff Atwood 84286fb501 normalize topic post first element top-margins:0 2015-01-12 02:24:06 -08:00
Jeff Atwood fa8493118b remove underline on composer cancel, hide preview 2015-01-06 16:35:57 -08:00
Robin Ward 8ee0f4d1e7 Use javascript to resize the composer properly rather than using the
type of composer being used.
2015-01-06 12:05:11 -05:00
Jeff Atwood 576861505e just use plain CSS3 transition 2014-12-23 03:09:17 -08:00
Kris Aubuchon 3eebc0e589 changing font sizes to ems, so fonts scale a bit more gracefully 2014-12-15 22:12:56 -05:00
Kris Aubuchon 448acc627b adding max-height for embedded video 2014-12-08 15:39:36 -05:00
Kris Aubuchon 00bb72f52d fixing very bizaare Safari 8.0 bug on title input 2014-11-09 19:26:22 -05:00
Jeff Atwood ea681d92a2 increase click area on editor toggle 2014-10-21 23:17:58 -07:00
Jeff Atwood 15b94acd85 width 100% for editor on mobile; no preview
also  remove box-sizing mixin, use native CSS3
2014-10-11 04:30:34 -07:00
Jeff Atwood 27061d5fab move editor spinner css to shared (base) css 2014-10-11 04:08:16 -07:00
Jeff Atwood be43d51536 remove admin-loading in favor of spinner css 2014-10-11 03:46:42 -07:00
Jeff Atwood 6571a9d924 make editor preview cursor default not i-beam 2014-10-10 16:02:14 -07:00
Jeff Atwood 5c0bb56748 remove unnecessary @includes on box-shadow 2014-10-10 15:02:46 -07:00
Robin Ward 334e21a03a Revert "Revert "FEATURE: Can create warnings for users via PM""
This reverts commit 1c7559380c.
2014-09-08 11:11:56 -04:00
Robin Ward 1c7559380c Revert "FEATURE: Can create warnings for users via PM"
This reverts commit b0bfc1f93f.
2014-09-08 10:38:59 -04:00
Robin Ward b0bfc1f93f FEATURE: Can create warnings for users via PM 2014-09-08 10:27:06 -04:00
Kris Aubuchon 2ce291c2ab small fixes for dark themes 2014-08-12 00:11:58 -04:00
Kris Aubuchon 38696e5a30 bettering support for dark ez-themes 2014-08-06 09:31:13 -04:00
Kris Aubuchon 4a1ec20585 adding border to poster expansion, changing media screen to media all, trying new notification style 2014-07-24 12:21:22 -04:00
Régis Hanol b0815e8ace BUGFIX: make sure category selector never gets focus on mobile 2014-07-07 17:35:52 +02:00
Régis Hanol a19f52fc91 BUGFIX: fix borders & rounded corners in the composer 2014-06-30 12:34:40 +02:00
Jeff Atwood d379012dbc centralize shared .cooked and #wmd-preview styles 2014-06-30 02:06:13 -07:00
Robin Ward 2164a25258 Merge pull request #2333 from rhacker/select2
feature: use select2 instead of chosen
2014-05-28 11:42:40 -04:00
Kris Aubuchon ffa33c572c making the color customizer a little nicer with dark themes 2014-05-19 01:17:59 -04:00
Erick Guan 81dda9fc3e Fix c6ef85d517. Align reply area, 10px padding. 2014-05-19 01:15:11 +08:00
nXqd 0b6ebdac8a feature: use select2 instead of chosen 2014-05-14 08:01:08 +00:00
Neil Lalonde ee08bf561f Fix a bunch of color issues 2014-05-06 11:44:28 -04:00
Kris Aubuchon 8ea63006e4 simplifying and segmenting color variables 2014-05-06 01:50:51 -04:00
Kris Aubuchon 2c44f724f4 fixing the composer that I just re-broke 2014-04-21 11:54:57 -04:00
Kris Aubuchon 5fd874b74a desktop composer fix 2014-04-21 09:56:10 -04:00
Kris Aubuchon bffeba5e3b pulling some more styles out of desktop/mobile to common/base 2014-04-20 15:16:06 -04:00
Jeff Atwood c19bbfa78e better use secondary text color a few places 2014-04-03 00:21:51 -07:00
Kris Aubuchon 3846826bb1 fixing blockquotes in composer preview 2014-04-02 22:59:25 -04:00
Vikhyat Korrapati ef99ab59a5 Allow importing Discourse styles in custom stylesheets to modify vars. 2014-04-01 23:04:50 +05:30
Régis Hanol 77a8a4083a Revert "Merge pull request #2125 from vikhyat/css-variables"
This reverts commit b537de3ca5, reversing
changes made to b925827e5b.
2014-04-01 16:24:29 +02:00
Régis Hanol b537de3ca5 Merge pull request #2125 from vikhyat/css-variables
Allow importing Discourse styles in custom stylesheets to modify vars
2014-04-01 15:24:09 +02:00
Vikhyat Korrapati ddd1dfe896 Allow importing Discourse styles in custom stylesheets to modify vars. 2014-04-01 15:25:43 +05:30
Wojciech Zawistowski 297c25ca1f Synced editor scrolling PoC. 2014-03-31 20:57:45 +02:00
Kris Aubuchon 95d98a4266 some basic variable reorganiztion 2014-03-26 21:16:41 -04:00
Neil Lalonde 4d0035e7fd Remove the quote post button from pagedown editor when creating a topic and editing About Me in preferences 2014-03-26 10:45:22 -04:00
Neil Lalonde 0f98c1644a Remove more admin options code since it's gone from composer 2014-03-26 10:19:01 -04:00
riking e0063920b7 Style 'urgent' composer popups differently
The two "bad behavior" composer popups get the 'urgent' class, which colors them red.
2014-03-06 15:35:47 -08:00
Nick Schonning 4f1a517490 Remove units for zero values
Units are ignored for zero values in CSS except for a few edge cases.
2014-03-06 01:14:51 -05:00
Kris Aubuchon 6b050825ff revising color variables appwide, also some adjustments to "topic not found" page 2014-02-23 20:47:44 -05:00
Jeff Atwood 142e39f5f3 we need a bit more top-margin on h1,h2,h3 2014-02-23 00:22:11 -08:00
Kris Aubuchon dd4d1eddd4 loading bg fix, watching/heatmap color fix, welcome sticky bg fix, user popup drop-shadow fix 2014-02-11 21:03:25 -05:00