Commit Graph

1079 Commits

Author SHA1 Message Date
Vinoth Kannan 84ce1acfef FEATURE: Allow staffs to tag PMs 2018-02-21 20:11:46 +05:30
Kris ce97bdb472 Flag badge too wide in header panels 2018-02-20 17:31:02 -05:00
Kris 677e126fbf UX: Implementing a box-shadow system, cleaning up existing shadows 2018-02-20 12:18:20 -05:00
Kris a2327b4897 login button alignment fix 2018-02-16 17:13:10 -05:00
Kris 35a49a240a UX: Improving header scalability for large font themes 2018-02-16 15:58:10 -05:00
Kris 67526907cd Tags should wrap on mobile topic-list 2018-02-15 15:15:42 -05:00
Rafael dos Santos Silva 218c8e8623
Merge pull request from discourse/new-gfycat-onebox
New gfycat onebox
2018-02-14 19:03:28 -02:00
Kris dffdff91a6 Fix avatar flair alignment on mobile user profiles 2018-02-14 13:39:30 -05:00
Neil Lalonde 22f0b0096d FEATURE: show avatar flair on user profile page 2018-02-13 17:13:38 -05:00
Joffrey JAFFEUX 6bfc25d895
FEATURE: new {{mini-tag-chooser}} replaces {{tag-chooser}} in composer 2018-02-13 17:23:12 +01:00
Kris 5f8f691e2b FIX: Border issue with group inputs on high resolution displays 2018-02-12 21:09:40 -05:00
Kris 32116654ec removing duplicate topic-map desktop/mobile styles 2018-02-12 15:20:14 -05:00
Kris 44f39ddc86 prevent post-link clicks from being squished by long strings 2018-02-12 11:52:42 -05:00
Rafael dos Santos Silva 4644757785 FEATURE: Style new gfycat onebox 2018-02-12 13:39:52 -02:00
Joffrey JAFFEUX 3d5c4580bd
FIX: makes sure we add ellipsis to action-title 2018-02-12 16:27:24 +01:00
Kris 88a992014b Default modals were too wide 2018-02-09 15:45:34 -05:00
Kris 1e51be923c UX: Improving post-link alignment 2018-02-09 12:43:15 -05:00
Kris 69bccb9e32 UX: Better alignment of small topic statuses 2018-02-08 17:04:29 -05:00
Kris e17e6d2880 Removing unneeded width 2018-02-08 14:10:04 -05:00
Joffrey JAFFEUX cdded801c5
FIX: correctly shows link to post number when editing 2018-02-06 22:17:27 +01:00
Kris 900f37e5a9 UX: Allow history modal to scale down on smaller screens 2018-02-06 15:02:51 -05:00
Kris e7b732ad95 FIX: Desktop/mobile heatmap colors should be the same 2018-02-05 21:36:35 -05:00
Neil Lalonde 648a11a6a1 FIX: size of tags input field of tag group 2018-02-05 15:05:43 -05:00
Kris ad8c2c08a4 fixing link alignment in titles 2018-02-05 10:42:37 -05:00
Kris 86bf6babf8 FIX: Prevent long composer overlapping controls 2018-02-02 22:31:55 -05:00
Kris cf623e65e0 tag alignment fix 2018-02-02 21:29:51 -05:00
Kris 9e690bf238
UX: Cleaning up category badge alignment () 2018-02-02 19:03:25 -05:00
Joffrey JAFFEUX 42399261ba
adds margin to avatar in composer-action-title 2018-02-01 18:41:11 +01:00
Joffrey JAFFEUX 9923829402
FEATURE: Menu toggle for different reply modes
Allow users to access different reply modes from the composer.

Actions introduced:

- reply_as_new_topic
- reply_as_private_message
- reply_to_topic
- reply_as_whisper/not
2018-02-01 16:42:56 +01:00
Kris add641cbbc
UX: Input and search cleanup ()
* Cleaning up input sizes

* alignment

* more alignment adjustments
2018-01-31 11:44:51 -05:00
Maja Komel 018cb7f36b add a custom user onebox ()
* add custom user onebox

* add specs
2018-01-30 11:03:08 +01:00
Neil Lalonde d37477b1ef FIX: show label beside confirm user fields, and fix spacing around them 2018-01-29 16:39:41 -05:00
Kris 2eef9b3295 UX: Adding a sticky footer to the post history modal, removing bootstrap columns 2018-01-29 15:15:50 -05:00
Neil Lalonde fcc86d5be3 FIX: time read on users directory was not rendering correctly on mobile 2018-01-29 13:31:18 -05:00
Simon Cossar 4662cc428f Fix RTL topic-admin-menu-position () 2018-01-29 18:14:36 +11:00
Kris ee155bd4f2 Removing duplicate modal styling 2018-01-26 14:54:15 -05: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
Bruno Perel 6750ff6873 (S)CSS cleanup: 0px => O and removal of duplicated properties () 2018-01-25 09:53:36 -05:00
Kris a2f78fd778 FIX: alignment for box/bullet tag styles 2018-01-24 10:37:24 -05:00
Joffrey JAFFEUX 3a290ee625
FEATURE: replaces category/tag dropdowns by select-kit 2018-01-24 11:48:20 +01:00
Kris cb9524c365 UX: Additional protections to prevent tag nesting exploits in posts 2018-01-23 10:34:37 -05:00
Kris c8f9e7a9c5 FIX: tag alignment 2018-01-22 21:36:07 -05:00
Kris 99cabd071a UX: Very long tag names should truncate 2018-01-22 17:14:40 -05:00
Kris a9e0c6a685 FIX: Flags notification badge becomes too narrow when menu is open 2018-01-22 14:02:07 -05:00
Sam ce815276d0 Small and big should be limited via rem so it works large font mode 2018-01-22 14:22:30 +11:00
Arpit Jalan 73dea4e7eb Merge branch 'embedded-posts' 2018-01-19 12:54:34 +05:30
Arpit Jalan 104859af47 FIX: prevent <big> nesting abuse 2018-01-19 12:42:30 +05:30
Kris f108bc3715 FIX: Box badges on 404 page not displaying correctly 2018-01-17 13:42:39 -05:00
Robin Ward 8d454156b3 Rename css class to something that makes more sense 2018-01-17 11:38:43 -05:00
Kris 0c01e0b2fe
UX: Implementing a z-index system () 2018-01-16 19:05:12 -05:00
Kris 2f8a8dbb21 UX: Modal; Moving cancel further away from confirm 2018-01-16 17:49:04 -05:00
Kris dc5b0e05e2 UX: Styling embedded post collapse button 2018-01-16 15:48:47 -05:00
Kris 4128f36f52 UX: Tag alignment and size in topic titles 2018-01-15 22:56:37 -05:00
Kris fe907aaf74 UX: increasing contrast on composer elements 2018-01-15 13:37:29 -05:00
Joffrey JAFFEUX ec2ce8f763
FEATURE: replace period-chooser by a select-kit component 2018-01-15 11:55:16 +01:00
Kris 674013129a
UX: Type system rebuild () 2018-01-12 17:27:38 -05:00
Kris c1cb6053b7 UX: Adding a little space after oneboxes 2018-01-09 13:00:32 -05:00
Kris 73912ebc12 UX: Adjusting color on composer box-shadow 2018-01-02 21:29:16 -05:00
Maja Komel 2a32536645 grey out disabled badges in admin overview ()
* gray out disabled badges in admin overview

* fix style
2017-12-27 16:57:21 +11:00
Kris fc2f948a39 UX: user menu-panel icons too large 2017-12-21 16:31:45 -05:00
Kris dea3e84f18 UX: Reducing number of font-sizes used in common 2017-12-21 12:59:19 -05:00
Kris 7b0f3f4e34 FIX: only staff highlight main post, not embedded replies 2017-12-20 21:26:24 -05:00
Kris 2d9d43ed1a UX: Removing px font defintions and replacing with em 2017-12-18 15:49:11 -05:00
Joffrey JAFFEUX 133d97402a
FIX: prevents global input width to impact input inside emoji picker filter 2017-12-18 10:48:33 +01:00
Kris 065c155f81 UX: Increasing line-height for headlines in all post content 2017-12-15 11:29:15 -05:00
Kris 1be32bf4cf FIX: text indent on twitter oneboxes 2017-12-12 11:17:09 -05:00
Kris 55c019f776 UX: Cleaning up staff counters on user profiles 2017-12-12 10:40:16 -05:00
Kris 920571ae07 UX: Making button on advanced search page match input height 2017-12-11 17:15:08 -05:00
Kris 60cd28d5b9
UX: Cleaning up user profiles on mobile 2017-12-11 15:40:04 -05:00
Kris edd7cb4f0d UX: Replacing some PX font definitions with EM based units 2017-12-08 17:10:49 -05:00
Kris 3e4f02a180 UX: Removing staff highlight from .name so it only applies to .user-title 2017-12-07 16:10:54 -05:00
Kris ef0d9d631c
UX: New style for staff highlight
Moved highlight to cooked content, also highlighting primary name (with shield) and title (if applicable). 

**Before**:
![image](https://user-images.githubusercontent.com/1681963/33724323-2269e79e-db3d-11e7-8c93-75b9dc9a1ab7.png)


**After**:
<img width="809" alt="screen shot 2017-12-06 at 3 55 31 pm" src="https://user-images.githubusercontent.com/1681963/33724287-09eb66de-db3d-11e7-8e02-0062ed2b8716.png">
2017-12-07 12:40:39 -05:00
Kris 4af4081c39
UX: Updating the edit post title layout 2017-12-04 15:29:02 -05:00
Kris b55b7c5356 FIX: Removing horizontal scrollbar in category modal 2017-12-04 12:00:34 -05:00
Kris 8eb7518d2a FIX: Disappearing tag input border on hi-res devices/when scaling 2017-12-04 11:35:02 -05:00
Kris f1b5227aa6 FIX: Mobile composer layout for PMs 2017-12-04 11:15:10 -05:00
Kris 13840942b9 UX: Fixing code highlighting color issue in dark themes 2017-12-04 10:28:32 -05:00
Kris c8ad89afd4 UX: Adjustments to composer uploading message 2017-12-01 22:31:40 -05:00
Kris d615a37eba UX: Hiding composer preview reduces width of composer overlay 2017-12-01 22:23:12 -05:00
Kris 29bdf35977 FIX: Composer not properly centered in IE11 2017-12-01 13:58:04 -05:00
Kris af11913314 FIX: Positining of search spinner in tablet-sized viewports 2017-12-01 11:01:03 -05:00
Jeff Atwood 3e42dceaae "reply to which topic" needs wider buttons 2017-11-30 23:25:32 -08:00
Kris 9876f3d0ee FIX: extraneous mobile CSS, flagged badge color in dropdown 2017-11-30 17:29:29 -05:00
Régis Hanol 0d34caff85 UX: show error message when no gravatar is associated 2017-11-29 18:09:44 +01:00
Kris 03eb278034
FIX: Increased composer width to match preview, border width fix () 2017-11-28 21:57:27 -05:00
Sam b3b55e18d1 UX: stop warping tiny onebox images 2017-11-28 12:32:35 +11:00
Kris ada1d6b987
Composer restyle
* composer restyle, some input normalization

* style adjustments: spacing, preview background, colors

* small spacing adjustments, removing default iOS input appearance, fixing merge

* small width adjustment

* fixing mobile link modal for small devices

* FIX: more resilient allowInitiatlValueMutation implementation

* Build scrollMap only on scroll.

* FIX: pick date and time was not reseting state

* FIX: removes auto sizing and touchstart support for now

* Revert "FIX: reflects discourse icons naming scheme s/d-icon-*/d-*"

This reverts commit b5ed980235.

* tweak icon-library generation

* FIX: regression preventing to set number of hours before closing

This commit also adds a full test suite for editing topic timer.

* FIX: makes allowInitialValueMutation more restrictive

* FIX: invite-list expects initial value mutation

* fixing tag input spacing

* minor input cleanup

* bump onebox version

* FIX: avoids test failing at some times of the day

* FIX: various issues when editing category permissions

This commit also adds multiple tests
2017-11-27 15:23:18 -05:00
Arpit Jalan abbb2b28eb bump onebox version 2017-11-25 15:53:18 +05:30
Kris c2da25dd5c
Cleaning up the 404 page () 2017-11-24 12:41:31 -05:00
Joffrey JAFFEUX 9208909b26 tweak icon-library generation 2017-11-23 18:24:26 +01:00
Joffrey JAFFEUX dd5562322b Revert "FIX: reflects discourse icons naming scheme s/d-icon-*/d-*"
This reverts commit b5ed980235.
2017-11-23 18:24:26 +01:00
Joffrey JAFFEUX 9f0798682e
FIX: tweak alignment of select-kit in navigation bar 2017-11-23 10:42:39 +01:00
Sam 2fe131db9f UX: handle super tall images in onebox respectfully.
Tall images got distorted previously
2017-11-23 14:45:46 +11:00
Neil Lalonde 6c86e0c94a FEATURE: remove the featured link by editing the topic 2017-11-22 14:53:35 -05:00
Joffrey JAFFEUX b5ed980235
FIX: reflects discourse icons naming scheme s/d-icon-*/d-* 2017-11-21 16:01:15 +01:00
Arpit Jalan 753a4fc369 UX: make onebox timestamp consistent with header 2017-11-21 16:39:15 +05:30
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
Vinoth Kanan c025fcffa5 UX: Large image placeholder alignment fix 2017-11-15 18:50:16 +05:30
Vinoth Kannan 7b494a65c9 NEW: large image placeholder added in cooked html () 2017-11-15 11:30:47 +01:00
Kris a9fd42f91c fixing category delete modal background color 2017-11-13 17:09:20 -05:00
Sam 8a66446849 FEATURE: add overflow-y auto to Markdown tables 2017-11-13 17:52:15 +11:00
Kris 9716e3ddf3 bringing mobile topic statuses to parity with desktop 2017-11-10 16:45:06 -05:00
Kris a62457bf29 fixing the input color issue on mobile () 2017-11-10 07:03:19 +11:00
Régis Hanol 0bb07d395a REFACTOR: composer to use flexbox 2017-11-08 10:39:26 +01:00
Sam fc7dca58fe UX: oneboxes with avatars now display consistently
Onebox avatar size is reduced to 60px

Also fixes regression with some oneboxes not cooking after post
2017-11-08 11:50:01 +11: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 4e618aa08f UX: Missing element id 2017-11-04 10:15:16 -04:00
Kris acbf265cc1 fixing the "me" color in the directory 2017-11-03 17:07:56 -04:00
Robin Ward e700068b17 UX: Convert Group Posts to Flexbox 2017-11-02 14:47:17 -04:00
Arpit Jalan 6d8976e949 UX: support onebox labels 2017-11-01 15:44:52 +05:30
Sam 9197feefb8 UX: onebox images no longer cause jiggle
This stops pages from "jiggling" while oneboxes download.

see: http://cssmojo.com/aspect-ratio-using-custom-properties-and-calc/
2017-10-31 13:50:58 +11:00
Robin Ward 528eac5a07 UX: Various admin class and structure improvements for styling 2017-10-30 14:50:43 -04:00
Neil Lalonde d9a9ad3edb FIX: rendering of block style tags in search results 2017-10-24 17:55:30 -04:00
Robin Ward edaf5b60dc UX: Remove triple css class 2017-10-24 12:31:20 -04:00
Joffrey JAFFEUX ae1743c61f [WIP] select-box-kit refactoring 2017-10-19 12:51:08 -07:00
Robin Ward 5572d1d5f7 Refactor user summary page to use more components 2017-10-13 16:05:40 -04:00
Kris dc2d9f05dc removing scale-color, first pass 2017-10-13 11:57:10 -04:00
Robin Ward 193244f8c1 Convert quote button to use d-icon 2017-10-06 15:45:43 -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
Guo Xiang Tan b0557c6692 UX: Allow users to remove a remind me topic timer. 2017-10-05 11:50:08 +08:00
Régis Hanol e687a1e8e3 UX: visited style wasn't applied to PM on mobile 2017-09-26 18:13:32 +02:00
Robin Ward 06072b3d99 UX: Pending Posts at the bottom of topics looked wonky 2017-09-26 10:27:24 -04:00
Robin Ward 85eae96a11 UX: Cancel button looked ugly on post warning modal 2017-09-26 09:23:50 -04:00
Robin Ward 8323e22d0c Rename `auto-update-input` to more accurate `future-date-input` 2017-09-25 12:28:00 -04:00
Robin Ward 6e48884274 Extract out common "cancel" link functionality from modals 2017-09-25 12:25:15 -04:00
Robin Ward ad77634854 FIX: More CSS regressions with notifications in non-english 2017-09-15 13:24:43 -04:00
Régis Hanol 8b7089c126 UX: topic links were all grey to anonymous users (regarding of their visited state) 2017-09-15 12:12:39 +02:00
Robin Ward 38064c5776 FIX: Broken notifications in non-english locales 2017-09-14 14:26:31 -04:00
Robin Ward cb8918d034 It's bad practice to have `body` be the parent of everything 2017-09-14 11:24:14 -04:00
Joffrey JAFFEUX b537bf1ba4 FIX: better alignments of categories/tags in .topic-category 2017-09-13 16:24:36 +02:00
Vinoth Kannan 6e9671c2c3 UX: Placeholder images color changed & tootip added 2017-09-13 15:16:38 +05:30
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 e924920bec uses select-box for pinned-button
This commit also moves more logic in dropdown-select-box instead of
duplicating it for notifications-options and pinned-options
2017-09-11 19:14:22 +02:00
Régis Hanol 5a51953c8e UX: '.visited' wasn't applied in categories view and suggested topics 2017-09-11 16:42:51 +02:00
Robin Ward 81e576ae37 FIX: Missing color on queued posts dropdown 2017-09-11 09:47:16 -04:00
Robin Ward 238557883f FIX: queued posts had a red background 2017-09-10 14:26:55 -04: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 a9aa11d7c4 use d-icon names 2017-09-09 01:48:03 +02:00
Joffrey JAFFEUX cf6fb7622e Replaces all notification-options like dropdowns with select-box 2017-09-08 20:47:39 +02:00
Robin Ward f13776e550 UX: Move `.visited` to entire row, not just the link to a topic 2017-09-08 13:54:41 -04:00
Robin Ward f6fb94d31f UX: Flags lost their red color on dropdown 2017-09-07 16:22:31 -04:00
Robin Ward a1957b7723 FIX: Stop moving notifications on large screens 2017-09-06 17:35:35 -04:00
Robin Ward 825452df76 Refactor header CSS for composability 2017-09-06 11:34:10 -04:00
Robin Ward 777f024b8c Clean up weird indentation 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
Vinoth Kannan 0fb7831749 FEATURE: Add placeholders to broken and large image files () 2017-09-01 10:26:13 -04:00