Commit Graph

1248 Commits

Author SHA1 Message Date
Sam
8ffb918824 FIX: add more consistent gutter to ace editor
old css hack had issues when line number was higher than 10
2017-04-18 15:43:22 -04:00
Sam
5e3a0846f7 FEATURE: allow themes to share color schemes 2017-04-17 15:56:24 -04:00
Sam
873a07a625 trigger a stylesheed update 2017-04-14 13:36:49 -04:00
Sam
e61be7af13 FIX: improve dark theme styling in header for tags 2017-04-13 10:39:36 -04:00
Sam
a3e8c3cd7b FEATURE: Native theme support
This feature introduces the concept of themes. Themes are an evolution
of site customizations.

Themes introduce two very big conceptual changes:

- A theme may include other "child themes", children can include grand
children and so on.

- A theme may specify a color scheme

The change does away with the idea of "enabled" color schemes.

It also adds a bunch of big niceties like

- You can source a theme from a git repo

- History for themes is much improved

- You can only have a single enabled theme. Themes can be selected by
    users, if you opt for it.

On a technical level this change comes with a whole bunch of goodies

- All CSS is now compiled using a custom pipeline that uses libsass
    see /lib/stylesheet

- There is a single pipeline for css compilation (in the past we used
    one for customizations and another one for the rest of the app

- The stylesheet pipeline is now divorced of sprockets, there is no
   reliance on sprockets for CSS bundling

- CSS is generated with source maps everywhere (including themes) this
    makes debugging much easier

- Our "live reloader" is smarter and avoid a flash of unstyled content
   we run a file watcher in "puma" in dev so you no longer need to run
   rake autospec to watch for CSS changes
2017-04-12 10:53:49 -04:00
Neil Lalonde
e5a50a3c98 FIX: rtl locale support for category box style 2017-04-11 15:04:27 -04:00
Robin Ward
40ab2e5667 FEATURE: Let users update their emails before confirming
This allows users who entered a typo or invalid email address when
signing up an opportunity to fix it and resending the confirmation
email to that address.
2017-04-05 16:44:49 -04:00
Guo Xiang Tan
f4758a4c4d FEATURE: Allow admins to schedule a topic to be published in the future. 2017-04-04 11:16:05 +08:00
Guo Xiang Tan
04edbea693 UX: Remove width on .auto-update-input. 2017-03-31 17:13:50 +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
jomaxro
6fb255957c Move watching-first-post to notification-options
Also remove extra classes from scss, made targeting watching-first-post different from all other notification states
2017-03-30 18:37:51 -04:00
jomaxro
495c11e633 Remove watching-first-post from user SCSS
Move to notification-options.scss
2017-03-30 18:33:24 -04:00
Neil Lalonde
8742f5176f FIX: tags and topic links rendered outside of page header 2017-03-29 16:48:53 -04:00
Neil Lalonde
20400cb33f add category colour to left side of box style 2017-03-27 14:40:59 -04:00
Neil Lalonde
899a747e68 FIX: use consistent heading style in the category box styles 2017-03-27 14:11:01 -04:00
Neil Lalonde
6e847bb297 FEATURE: mobile support for row and box category styles 2017-03-27 13:55:39 -04:00
Robin Ward
60975fcc18 Remove the "unread" timeline section 2017-03-27 11:07:27 -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
Robin Ward
cacf48fdb5 Experimental: Try adding a darker color in the timeline for unread 2017-03-23 15:49:47 -04:00
giorgia
b8ee2cabcf add style to make tabs clickable 2017-03-20 15:23:00 +01:00
giorgia
576982484d FEATURE: Make admin user list sortable.
https://meta.discourse.org/t/make-admin-users-list-sortable-suggestion/47649
2017-03-16 09:24:15 +08:00
Anaketa
d7dedc4649 add show/hide to tooltip 2017-03-15 17:23:52 +01:00
Neil Lalonde
5c923fef58 FIX: category logo preview in settings shouldn't render it like a background image 2017-03-14 17:12:09 -04:00
Neil Lalonde
6d7e968e30 FEATURE: box-style rendering of sub-categories 2017-03-13 15:25:52 -04:00
Sam
19ad1e2c2e less opacity for quote button 2017-03-10 14:57:58 -05:00
Guo Xiang Tan
0e41b1181a UX: Display button to add a group when no group has been selected.
https://meta.discourse.org/t/new-button-on-groups/44546
2017-03-10 17:15:49 +08:00
Régis Hanol
00380d84c5 UX: display text & html parts alongside raw email in incoming email modal 2017-03-08 23:15:42 +01:00
Rimian Perkins
95f7b60212 less restrictive to allow plugin outlets
for extra-nav-items
2017-03-06 14:38:57 +11: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
Neil Lalonde
262016604d FEATURE: each category can control how many topics to show on categories page 2017-03-01 15:12:57 -05:00
giorgia
d308638a18 create searchResultUserSerializer, display name next to username in search results 2017-03-01 13:11:01 +01:00
Guo Xiang Tan
758e3e52f7 FIX: Mobile topic timeline broken on Chrome 56.
* See https://developers.google.com/web/updates/2017/01/scrolling-intervention.
  From Chrome 56 onwards, `touchstart` event listeners are treated as passive
  by default which does not call `preventDefault` resulting in the page
  scrolling when topic timeline handle is being dragged.
2017-02-27 11:39:57 +08:00
Robin Ward
41db9e0d94 FIX: Silence CSS errors in Safari 2017-02-17 16:21:35 -05:00
Jeff Atwood
a6dd1a2cd4 onebox last para needs less bottom margin 2017-02-16 15:39:46 -08:00
Jeff Atwood
34223dca4e minor CSS fix for custom user fields on user cards 2017-02-16 01:45:20 -08:00
Jeff Atwood
311b983c59 minor copyedit 2017-02-16 01:31:21 -08: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
Jeff Atwood
77033f4855 simpler twitter onebox CSS that works everywhere 2017-02-08 17:18:53 -08:00
Jeff Atwood
933af0b40e align onebox twitter date 2017-02-08 17:14:11 -08:00
Jeff Atwood
485c36141c onebox right padding should not be asymmetric 2017-02-08 17:11:19 -08:00
Jeff Atwood
fe32c64dd9 FIX: twitter onebox styling was poor on mobile 2017-02-08 17:08:40 -08:00
Arpit Jalan
75f154b177 bump onebox 2017-02-08 12:08:41 +05:30
Arpit Jalan
0c0da86e0c UX: CSS for pdf onebox 2017-02-07 00:04:01 +05:30
Neil Lalonde
c4e10f2a9d FEATURE: redesign the change password page to use javascript and validations 2017-02-03 16:09:24 -05:00
Sam
06570f8e5a UX: less restrictive selector to allow for plugin outlets
Currently plugin outlets in LIs will generate a wrapping SPAN,
this makes an allowence in core for nave extenstions (like solved does)
2017-02-02 12:18:03 -05:00
Guo Xiang Tan
156a00af47 UX: Show edit button on post revision modal as long as user can edit. 2017-01-27 10:49:17 +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
17da0bd11f UX: Display wiki icon on post edits indicator. 2017-01-17 06:33:58 +08:00
Jeff Atwood
56abe065bc tighten header margin on onebox 2017-01-14 22:11:46 -08:00
Ola Christensson
82fab2343f Display tabs with smaller widths for code blocks
The default browser behavior is a tab width of 8 characters. This changes the width to 4 characters.
2017-01-10 10:06:53 +01:00
Guo Xiang Tan
43d950f813 FIX CSS for autocomplete. 2017-01-04 12:37:02 +08:00
Guo Xiang Tan
43671b1fda UX: Display group fullname in mention autocomplete. 2017-01-04 11:40:14 +08:00
Jeff Atwood
4e44845714 de-emphasize onebox URL field with color 2017-01-03 14:08:56 -08:00
Neil Lalonde
9c79bf1865 FIX: .bullet + .topic-header-extra pixel perfect vertical alignment 2017-01-03 14:00:14 -05:00
Arpit Jalan
615fd2eb87 UX: sane max-height for onebox images 2017-01-03 21:06:49 +05:30
Guo Xiang Tan
40deef32e3 UX: Automatic width for fontawesome icons on groups page. 2017-01-03 10:07:59 +08:00
Jeff Atwood
bbb3217f6a add opacity to quote button 2017-01-02 14:17:09 -08:00
Jeff Atwood
5db57abd7f fix onebox header misalignment issue 2017-01-02 02:22:57 -08:00
Jeff Atwood
cd5130258d minor tweaks to mobile progress bar overlay 2017-01-02 02:06:26 -08:00
Guo Xiang Tan
c8553315b4 UX: Add min-width to .select2-container. 2016-12-30 14:38:53 +08:00
Guo Xiang Tan
dbd0fcc86d UX: Add border to .modal-header on mobile. 2016-12-30 13:58:37 +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
Robin Ward
1ffbd9b4f6 UX: Don't show back button on fullscreen timeline 2016-12-28 12:29:24 -05:00
Robin Ward
471bb5ff61 UX: Back button was no longer centred properly. 2016-12-28 12:24:17 -05:00
Robin Ward
7c32b03364 UX: Try "bouncing" the back button in on progress widget 2016-12-28 11:39:08 -05:00
Robin Ward
a297d7598b UX: Better style for back button 2016-12-28 11:22:33 -05:00
Robin Ward
681f246df8 UX: Show post count in jump to post modal 2016-12-22 12:34:42 -05:00
Guo Xiang Tan
6955c39c68 UX: Fix width on avatar flair. 2016-12-22 14:30:49 +08:00
Guo Xiang Tan
a5fead3857 UX: Redesign group page to follow user page. 2016-12-22 13:08:59 +08:00
Robin Ward
1821a0933d FIX: Missing CSS for back button on progress component 2016-12-20 16:01:15 -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
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
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
Guo Xiang Tan
7888a16374 FEATURE: Add membership request to groups page. 2016-12-15 14:39:13 +08:00
Guo Xiang Tan
3666575b46 UX: Improve styling for groups page. 2016-12-15 12:19:13 +08:00
Guo Xiang Tan
b005e1ab58 UX: Left align columns on groups page. 2016-12-15 10:00:37 +08:00
Guo Xiang Tan
4b940dc8bd FEATURE: Add groups page. 2016-12-14 17:27:47 +08:00
Guo Xiang Tan
f4af74b7b3 FIX: Incorrect class. 2016-12-13 15:20:59 +08:00
Guo Xiang Tan
7bfabb029b UX: Move editing group from into an individual tab. 2016-12-13 15:15:20 +08:00
Guo Xiang Tan
6dab7f4463 UX: Keep table styles consistent with topic list. 2016-12-13 13:11:34 +08:00
Guo Xiang Tan
da7009a968 FEATURE: Add request membership button for allowed groups. 2016-12-12 22:48:08 +08:00
Guo Xiang Tan
05f55dbc10 FEATURE: Group logs. 2016-12-12 17:29:54 +08:00
Guo Xiang Tan
c3b04c3054 Fix: Group avatar flair inputs style. 2016-12-12 17:00:30 +08:00
Guo Xiang Tan
be5b5f6bea FEATURE: Public groups. 2016-12-12 17:00:30 +08:00
Sam
861a91d48a correct styling for tracking button on mobile 2016-12-09 12:20:33 +11:00
Sam Saffron
b4cafc5e78 UX: add notification level button to mobile 2016-12-08 17:47:57 +11:00
Guo Xiang Tan
a2da2971af FEATURE: Allow columns on group members page to be sortable. 2016-12-08 10:49:12 +08:00
Guo Xiang Tan
8c7a0b7684 UX: Display group title if it exists. 2016-12-07 10:20:13 +08:00
Rafael dos Santos Silva
46b3c2e9c5 Use CSS animations for post and topic highlights 2016-12-05 20:20:52 -02:00
Neil Lalonde
007408c285 show featured topic links on categories-with-latest page too 2016-12-05 16:29:27 -05:00
Erick Guan
52763f5115
FEATURE: Allow posting a link with topics 2016-12-05 17:20:54 +01:00
Guo Xiang Tan
248c5af556 UX: Restyle group pages a little. 2016-12-05 16:58:04 +08:00
Guo Xiang Tan
adb7fcb6b3 FEATURE: Add bio to group page. 2016-12-05 16:58:04 +08:00
Guo Xiang Tan
e0c28d6fd5 REFACTOR: Stop mixing users page and groups page CSS. 2016-12-05 14:27:47 +08:00
Guo Xiang Tan
31acd311e5 FEATURE: Allow group owners to edit group name and avatar flair. 2016-12-05 14:27:46 +08:00
Sam
bd217bb440 remove ux regression 2016-12-05 12:21:07 +11:00
Sam
33d0a23d84 Merge branch 'fix_whisper' 2016-12-05 10:01:03 +11:00
Jeff Atwood
8bcdb668c6 fix login disclaimer alignment 2016-12-03 04:24:48 -08:00
Jeff Atwood
d4fd493901 Revert "UX: have webkit safari mobile stop with inner shadows"
This reverts commit 9a685c64ee.
2016-12-02 00:46:37 -08:00
Sam
9a685c64ee UX: have webkit safari mobile stop with inner shadows
http://stackoverflow.com/questions/3062968/remove-textarea-inner-shadow-on-mobile-safari-iphone
2016-12-02 17:56:37 +11:00
Sam
2793e7bebc UX: have webkit safari mobile stop with inner shadows
http://stackoverflow.com/questions/3062968/remove-textarea-inner-shadow-on-mobile-safari-iphone
2016-12-02 17:56:01 +11:00
cpradio
309e37f0e6 UX: Remove !important from header .discourse-tag
per https://meta.discourse.org/t/planned-tag-color-issue-when-scrolled-down/53582/4?u=cpradio
2016-11-30 19:08:13 -05:00
Guo Xiang Tan
06d501ad41 Fix incorrect style for avatar flair icon preview. 2016-11-29 15:32:53 +08:00
Guo Xiang Tan
943e605add REFACTOR: Project's convention is to use dash for classes. 2016-11-29 15:22:24 +08:00
Guo Xiang Tan
efe24f7cc6 Fix style for font-awesome avatar flair. 2016-11-29 14:14:44 +08:00
Guo Xiang Tan
0d4f71e90b FIX: Display group avatar flair on user page. 2016-11-29 13:47:45 +08:00
Régis Hanol
0c791e721e UX: better xkcd oneboxes 2016-11-28 15:14:59 +01:00
Sam
add831dbc1 clamp excerpt at 8 lines to avoid cut off 2016-11-28 11:35:32 +11:00
Sam
88a46be051 FEATURE: display text excerpts when scrolling on mobile 2016-11-25 11:35:29 +11:00
Neil Lalonde
6c38053c32 preview digest renders nicely in an iframe 2016-11-24 15:38:22 -05:00
Robin Ward
bb0ab289b9 Migrate deprecated Ember.ListView to regular components.
This is slower for scrolling but it actually feels reasonably fast to
me? If we find it's a problem we can revisit once Ember 2.4 is fully in
place.
2016-11-24 12:59:20 -05:00
Jeff Atwood
44165e97db UX: add ⛷ RADICAL AWESOME 🏂 to quote reply btn 2016-11-17 23:34:43 -08:00
Guo Xiang Tan
a6b86036ca FIX: Workaround box-shadow and box-radius bug on safari. 2016-11-16 18:22:59 +08:00
Jeff Atwood
27b276df5c copyedit on first notification 2016-11-16 02:13:12 -08:00
Guo Xiang Tan
6ad66ee138 FIX: Reduce spread to make it work on Safari. 2016-11-16 16:54:51 +08:00
Guo Xiang Tan
a9680e5a9e UX: Reduce number of words used. 2016-11-16 12:44:22 +08:00
Guo Xiang Tan
0debab47a3 UX: Tweaks for dark theme. 2016-11-16 12:35:29 +08:00
Guo Xiang Tan
1761317b37 UX: Add help text to first notification. 2016-11-16 12:24:33 +08:00
Rafael dos Santos Silva
54061f2580 FIX: Images should have a max-width on crawler view 2016-11-15 18:18:38 -02:00
Guo Xiang Tan
5613c5f81a UX: Add "spotlight" on first notification. 2016-11-15 10:57:16 +08:00
Sam
095767bdb4 tweak position and style of registrations disclaimer 2016-11-15 13:41:43 +11:00
Sam
a07148830e FEATURE: add TOS and Privacy links to sign up 2016-11-15 13:29:54 +11:00
Rafael dos Santos Silva
24227af9e8 Adds some styling for crawler view 2016-11-14 18:32:59 -02:00
Guo Xiang Tan
298b82f59e UX: Tweak position of radar ping. 2016-11-14 08:45:51 +08:00
Rafael dos Santos Silva
150cb6659f FEATURE: Clinking on stats in user summary take you to the respective activity page 2016-11-09 16:38:07 -02:00
Guo Xiang Tan
263a43bcfd UX: Use a gradient instead of a border. 2016-11-09 09:56:36 +08:00
Jeff Atwood
ba4ef3424f minor tweak to ping effect 2016-11-08 03:57:32 -08: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
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
622dc82481 Replace deprecated render(buffer) with a custom buffered renderer 2016-10-25 14:00:21 -04:00
Sam
9457b03da1 UX: make it easier to collapse the timeline from fullscreen 2016-10-20 10:14:53 +11: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
Robin Ward
fb94b4c56d Show the whisper preview in the whisper style 2016-10-17 16:53:24 -04: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
Sam
6031e692f0 Merge pull request #4366 from xfalcox/print
Print Support
2016-10-11 11:47:20 +11:00
Sam
b6d0d4d94d tweaks to full page search 2016-10-11 10:36:27 +11:00
Sam
f6ac914376 Merge pull request #4467 from cpradio/advanced-search-ui
FEATURE: Advanced Search UI
2016-10-11 10:02:35 +11:00
cpradio
4b71fd253b Advanced Search UI
Properly support Categories so it updates the search box correctly

Use category id, as it is more consistent with search results than using the slugs, especially for parent/subcategory

Added Status

Improve AutoComplete so it can receive updates
Added the ability for AutoComplete to receive updates to badge-selector and group-selector

Respect null, which is set via web-hooks

Support both # and category: for category detection.

Only update the searchedTerms if they differ from its current value (this helps the Category Selector receive updates)

Opt in receive updates (#3)

* Make the selectors opt-in for receiving updates

* Opt-in to receive updates

* Fix category detection for search-advanced-options

Fix eslint error

Update user-selector so it can receive updates live too
Make the canReceiveUpdates check validate against 'true'

Converted to use template literals

Refactor the regex involved with this feature
Split apart the init to make it a bit more manageable/testable

Switch the category selector to category-chooser, so it is a dropdown of categories instead of auto-complete

Reduce RegEx to make this happier with unicode languages and reduce some of the complexity
2016-10-04 11:18:01 -04:00
Rafael dos Santos Silva
a0f50ddaa7 Tone down text 2016-09-27 15:43:23 -03:00
Rafael dos Santos Silva
16aad189fb UX: Add text to new messages line 2016-09-27 14:52:03 +08:00
Jeff Atwood
a300e01af3 Merge pull request #4466 from xfalcox/word-wrap-latest-topics
FIX: Add word-wrap for blink browsers on categories latest session
2016-09-27 07:20:27 +02:00
Rafael dos Santos Silva
03ec480c65 Removes UI for print, adds CTRL+P shortcut 2016-09-26 20:46:55 -03:00
Rafael dos Santos Silva
ece10386a1 FIX: Long words on title shouldn't break layout 2016-09-26 19:12:46 -03:00