Joffrey JAFFEUX
3381a0a42a
UX: reworks dashboard problems section to be in line with new style
2018-06-12 12:47:03 +02:00
Joffrey JAFFEUX
174d392e5a
DEV: adds prettier ( #5956 )
...
Run `prettier --write "app/assets/stylesheets/**/*.scss" "plugins/**/*.scss"` after making sure you installed it with `yarn`
It's recommended to configure your editor to run prettier on file save.
2018-06-08 11:49:31 +02:00
Arpit Jalan
46fc57222f
FEATURE: improve handling of site setting secrets
2018-06-04 21:31:34 +05:30
Joffrey JAFFEUX
597095f56f
UX: adds visual feedback when hovering info
2018-05-29 13:31:57 +02:00
Joffrey JAFFEUX
87edde3113
UX: improves dashboard UI for RTL locales
2018-05-29 10:22:31 +02:00
Joffrey JAFFEUX
478ccb6698
UX: lower no-change trend emphasis in charts
2018-05-28 13:55:25 +02:00
Joffrey JAFFEUX
e67ac93e6c
UX: makes table report trend icons as charts
...
This commit will also reverse icon orientation if higher_is_better = false
2018-05-25 12:09:30 +02:00
Kris
15f7d06108
User metric badge alignment fix
2018-05-23 18:46:25 -04:00
Kris
b519beb314
Turning admin dashboard user counts into badges
2018-05-23 16:55:57 -04:00
Kris
d19d491d65
Styling dashboard user tables
2018-05-22 15:33:06 -04:00
Joffrey JAFFEUX
508b65b76a
UX: refactoring/refining tables of new dashboard
2018-05-22 16:47:23 +02:00
Kris
c1f13ce6a6
adding icons, updating style
2018-05-17 17:03:56 -04:00
Joffrey JAFFEUX
af548c23c4
new dashboard quality pass (code, tests and UI)
2018-05-17 22:44:33 +02:00
Kris
7ab7696c94
fine-tuning dashboard alignment
2018-05-17 11:41:58 -04:00
Sam
560a16d864
correct resizing in firefox
2018-05-17 14:47:10 +10:00
Barry van Oudtshoorn
b6322a35f2
Fix super-wide tables in Firefox
...
In Firefox (tested in Fx61), the "activity metrics" and related tables can become stupendously wide. Adding a `max-width` resolves this issue.
2018-05-17 14:41:39 +10:00
Sam
0b14e6b556
Resizing dashboard should not break graphs
2018-05-17 10:26:30 +10:00
Kris
98f8f74f37
dashboard column alignment
2018-05-16 17:18:13 -04:00
Kris
91af7cf46c
dashboard alignment fix
2018-05-16 16:04:22 -04:00
Kris
827ba2d3cf
styling misc section of dashboard
2018-05-16 15:49:02 -04:00
Kris
4b0bf35cd7
dashboard style updates
2018-05-16 15:07:35 -04:00
Joffrey JAFFEUX
9554d9c56a
UX: tooltips and improvements to new dashboard
...
- tooltips
- revert chart title UI
- reduce period chooser font-size
- localize dates of data points
- fix a bug where multiple reports were loaded at the same time
- fix a bug where % was not showing anymore
- remove spacing at the top
- remove loadingTitle feature (Loading...%report name%) incompatible with new hijack design
2018-05-16 16:45:21 +02:00
Régis Hanol
489e7f220d
UX: show a message when more than 30 site settings matches the current filter
...
UX: show the counts when displaying only overridden settings
UX: show 30+ count when more than 30 site settings matches the current filter
2018-05-16 15:37:40 +02:00
Kris
7dc192a081
improving column alignment
2018-05-16 00:23:02 -04:00
Kris
85425348c5
reducing margin
2018-05-15 22:32:19 -04:00
Kris
58eb45a560
Improving version section of dashboard
2018-05-15 20:19:31 -04:00
Joffrey JAFFEUX
9947c38e1c
UX: support for multiple datasets in one chart
2018-05-15 20:12:03 +02:00
Sam
193b6d5651
UX: improve new dashboard
...
- top referred topics
- limit search logs to 8 results
2018-05-15 15:08:36 +10:00
Joffrey JAFFEUX
ba0cec2091
UX: minor fixes to new dashboard UI
...
- adds a link to search log
- display a text if log search queries is disabled
- adds link to trust level and user types
- adds a description for eeach report when browsing a report directly
2018-05-14 14:23:51 +02:00
Sam
5f54b005a1
UX: remove ? from new dashboard
...
Link to actual report
2018-05-14 11:33:36 +10:00
Kris
b10c684459
border/alignment fix
2018-05-11 10:23:31 -04:00
Kris
941b309616
dashboard style adjustments
2018-05-09 21:33:53 -04:00
Joffrey JAFFEUX
980972182f
dashboard next: caching, mobile support and new charts
2018-05-03 15:41:41 +02:00
Kris
0163798c0e
Define primary table borders in one place
2018-04-30 20:45:49 -04:00
Joffrey JAFFEUX
9fabf2543b
dashboard next: activity metrics and new contributors
...
This commit also introduces a better grouping of data points.
2018-04-26 14:49:41 +02:00
Joffrey JAFFEUX
0e414d0890
dashboard next: trending search report
...
This commit also improves how data is loaded sync and async
2018-04-19 18:19:21 +02:00
Joffrey JAFFEUX
01c061d20d
dashboard next: perf and UI tweaks
...
* cache CORE reports
* adds backups/uploads section
* few css tweaks
2018-04-18 21:30:41 +02:00
Joffrey JAFFEUX
2b8307c6c3
dashboard next: minor improvements
...
* rename route to dashboard-next
* better scaling of charts for large data sets
* adjust trend position to avoid overlap
* makes sure silenced/suspended is made on real users
* correctly format data when only one data point
* minor refactoring
2018-04-17 11:01:06 +02:00
Joffrey JAFFEUX
cfe88a67e1
dashboard next: minor quality improvements
...
* locale for title
* minimum chart/table while loading
* sort users by type
* more spacing in the UI
* minor refactoring
2018-04-16 16:01:29 +02:00
Joffrey JAFFEUX
06b6c805d5
dashboard next: adds report for user types
2018-04-16 13:03:43 +02:00
Joffrey JAFFEUX
035d92d2e1
dashboard next: minor tweaks
...
* help texts
* renaming of components to dashboard-*
* use number formatter
* adjust trend position
2018-04-16 12:00:49 +02:00
Joffrey JAFFEUX
0e15a575f4
EXPERIMENTAL: new dashboard UI
...
This is the first iteration of an effort towards making a very good dashboard.
Until we feel confident this is good, this dashboard will only be accessible through /admin/dashboard_next
2018-04-16 10:42:06 +02:00
Guo Xiang Tan
2ddcdf8704
UX: Add an icon to indicate if a plugin is official.
...
https://meta.discourse.org/t/improving-admin-plugins/84585
2018-04-06 10:54:58 +08:00
Gerhard Schlager
35efdb39b3
FEATURE: Show the current reply count of the flagged post
2018-04-05 14:03:02 +02:00
Neil Lalonde
ced7e9a691
FEATURE: control which web crawlers can access using a whitelist or blacklist
2018-03-22 15:41:02 -04:00
Sam
39e679d3cb
FEATURE: allow themes to live in private git repos
...
This feature allows themes sourced from git to live on private
servers, it automatically generates key pairs.
2018-03-09 16:14:38 +11:00
OsamaSayegh
282f53f0cd
FEATURE: Theme settings (2) ( #5611 )
...
Allows theme authors to specify custom theme settings for the theme.
Centralizes the theme/site settings into a single construct
2018-03-04 19:04:23 -05:00
Guo Xiang Tan
104df3126b
UX: Incorrect width for webhook events. Take 2.
2018-02-27 10:34:46 +08:00
Neil Lalonde
8f27456acb
UX: Move 'show words' checkbox close to the words in the Watched Words UI
2018-02-26 16:35:52 -05:00
Joffrey JAFFEUX
ac701696b3
FEATURE: replaces tag-chooser/tag-group-chooser with select-kit component
...
These component were also the last using select2. As a consequence select2 is removed from Discourse in this commit.
2018-02-26 11:42:57 +01:00
Kris
677e126fbf
UX: Implementing a box-shadow system, cleaning up existing shadows
2018-02-20 12:18:20 -05:00
Kris
5de78a719b
Fixing emoji admin page column
2018-02-15 15:07:26 -05:00
Kris
e85458e1b9
Removing old bootstrap columns
2018-02-14 12:27:34 -05:00
Joffrey JAFFEUX
c48761c628
s/select-box-kit/select-kit
...
Definitely remove legacy naming.
2018-02-05 18:25:39 +01:00
Robin Ward
8ff4104555
Many enhancements to the flagging / suspending interface.
2018-02-01 17:13:02 -05:00
Bruno Perel
6750ff6873
(S)CSS cleanup: 0px => O and removal of duplicated properties ( #5526 )
2018-01-25 09:53:36 -05:00
Arpit Jalan
79eb9d7086
FEATURE: show header search results on search log term details page
2018-01-17 12:47:16 +05:30
Kris
0c01e0b2fe
UX: Implementing a z-index system ( #5507 )
2018-01-16 19:05:12 -05:00
Robin Ward
1080748444
Extensibility point for claiming flagged posts
2018-01-15 13:11:11 -05:00
Kris
674013129a
UX: Type system rebuild ( #5492 )
2018-01-12 17:27:38 -05:00
Kris
e667434bb3
UX: Cleaning up a few admin styles
2017-12-21 17:13:06 -05:00
Kris
bb2c8b605e
UX: Reducing number of different fonts used in Admin
2017-12-19 13:10:38 -05:00
Kris
edd7cb4f0d
UX: Replacing some PX font definitions with EM based units
2017-12-08 17:10:49 -05:00
Robin Ward
aeebcef7e2
FIX: Don't show the email from the suspension on the user profile
2017-12-07 13:27:02 -05:00
Robin Ward
4ae1bbaeba
FIX: Only show the full suspension reason on the admin side
2017-12-07 13:27:02 -05: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
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
Kris
3f8d0c5c94
FIX: Increasing overridden label contrast in settings
2017-11-30 10:13:09 -05:00
Neil Lalonde
39d7745dc5
UX: show staged users' email addresses to staff without requiring a button press
2017-11-24 16:11:34 -05:00
Neil Lalonde
510a2a1e0f
remove ancient unused css
2017-11-24 15:42:50 -05: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
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
Robin Ward
0a9daba627
FIX: Support for long suspension emails
2017-11-20 12:45:46 -05:00
Arpit Jalan
ee1f68438e
UX: sort search logs results by unique searches
2017-11-15 12:58:40 +05:30
Arpit Jalan
3831663fea
FEATURE: search logs page ( #5313 )
2017-11-15 11:13:50 +11:00
Joffrey JAFFEUX
680696fc04
Replaces delete flag modal by a dropdown
2017-11-14 07:55:08 -08:00
Robin Ward
94764399ae
Delete unused files
2017-11-10 16:02:46 -05:00
Joffrey JAFFEUX
0da529010a
FEATURE: support for multi-combo-box
2017-11-09 10:57:53 -08:00
Robin Ward
3093074398
UX: Include the flagged person's username on the flagged post
2017-11-09 13:18:33 -05:00
Robin Ward
6e2853da53
UX: Make flagged topics details button more clear
2017-11-09 13:03:35 -05:00
Joffrey JAFFEUX
9c5ad4648f
FIX: improves icon alignment
...
the mobile icon has a higher height than other icons, given we want a total 30px height and we apply a 5px top and bottom padding, the icon can be at most 20px height
2017-10-31 23:14:14 -07:00
Robin Ward
528eac5a07
UX: Various admin class and structure improvements for styling
2017-10-30 14:50:43 -04:00
OsamaSayegh
55095bc44e
FEATURE: Use ACE for badge queries ( #5269 )
...
* FEATURE: Use ACE for badge queries
* Forgot disabled
* When disabled, cursor should be `not-allowed`
* Tests + prefix custom attribute with `data-`
2017-10-30 18:07:49 +11:00
Robin Ward
dfdf12c92f
UX: Don't hardcore height for margins below a title
2017-10-23 16:08:43 -04:00
Robin Ward
20e7c0307a
UX: Buttons needn't have a block
style in this modal
2017-10-20 13:55:42 -04: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
ba5635f3fc
UX: break-all
looks a bit weird. Removing for now.
2017-10-11 11:32:53 -04:00
Robin Ward
56793d6853
FIX: Better flagging CSS on mobile
2017-10-02 15:14:07 -04:00
Robin Ward
b0eab6756d
UX: Weird alignment issue on flags
2017-09-25 16:29:48 -04:00
Robin Ward
7eeb5188bf
FIX: Broken word wrapping on flags page
2017-09-25 16:22:40 -04:00
Robin Ward
d1ebc62065
The ability to display errors on flagging actions.
2017-09-25 12:28:01 -04:00
Robin Ward
09ed2ed749
Add Suspend User to flags page
2017-09-25 12:28:00 -04:00
Robin Ward
079f108ceb
UX: Improve interface for flagging with many flaggers
2017-09-25 12:28:00 -04:00
Robin Ward
6bce3004d9
UX: Nicer selection of suspend duration
2017-09-25 12:28:00 -04:00
Robin Ward
2a56cf8bb6
Tests + Refactoring for Suspension Modal
2017-09-25 12:26:06 -04:00
Robin Ward
6e48884274
Extract out common "cancel" link functionality from modals
2017-09-25 12:25:15 -04:00
Robin Ward
4020409bbf
Add support for suspension message
2017-09-25 12:25:14 -04:00
Robin Ward
d7c37d9369
Add front end service for staff controls
2017-09-25 12:25:14 -04:00
Robin Ward
cc1a461254
Convert flags admin to flexbox
2017-09-25 12:25:14 -04:00
Robin Ward
40eba8cd93
FEATURE: View flags grouped by topic
2017-09-25 12:25:14 -04:00
minusfive
5fd4970602
Cleanup nav-stacked .active state styles, remove unnecessary nesting
2017-08-30 09:14:56 -07: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
minusfive
38eef177d4
Cleanup & debug .nav-stacked styles
2017-08-23 13:58:41 -07:00
Sam
2f0c6c99e0
FIX: ip lookup not working
...
Also add a powered by line so it is clear this makes an external service call
2017-08-21 14:18:49 -04:00
Robin Ward
6dfa3625df
REFACTOR: Replace fa-*
in SCSS with d-icon-*
2017-07-27 15:09:30 -04:00
Neil Lalonde
24cb950432
FEATURE: Watched Words: when posts contain words, do one of flag, require approval, censor, or block
2017-07-26 11:01:09 -04:00
Robin Ward
5dd56a41d9
Merge branch 'master' into master
2017-07-24 12:01:48 -04:00
Robin Ward
29d529020b
UX: Allow site settings to display as textareas if they like
2017-07-17 16:38:26 -04:00
awesomerobot
c29b7aa65d
initial pass at color simplification
2017-07-14 21:43:35 -04:00
Robin Ward
f6222ff225
FIX: Populate the Email Digest preview with the current username
2017-06-28 15:38:57 -04:00
Sam
607998af33
FEATURE: dropdown to filter staff action logs
2017-05-30 11:25:42 -04:00
Neil Lalonde
75c3e7b63c
css tweaks to admin user page on mobile
2017-05-29 14:13:33 -04:00
Neil Lalonde
f8584e28d7
UX: improved layout of flag handling UI on mobile
2017-05-24 15:52:29 -04:00
Sam
2e13c2453b
FIX: maximize css editor not working
2017-05-10 15:47:11 -04:00
Sam
04b5516bf2
improve upload functionality
2017-05-10 15:47:11 -04:00
Sam
bc0b9af576
FEATURE: support uploads for themes
...
This allows themes to bundle various assets
2017-05-10 15:47:11 -04:00
Rafael dos Santos Silva
e922623da8
FIX: User Admin screen on mobile style was off
2017-04-20 23:18:01 -03:00
Sam
7eabb90b71
FEATURE: added error messages for bad theme CSS / JS
2017-04-19 16:46:46 -04:00
Sam
c5ee448713
FEATURE: Only show overridden option for theme css
...
also fixes bad styling of mobile glyph
2017-04-19 15:24:00 -04:00
Sam
c76d780675
FEATURE: show a paintbrush for color schemes
2017-04-19 11:06:21 -04:00
Sam
0a67d859d5
correct watcher so it handles color scheme changes correctly
2017-04-18 16:48:15 -04:00
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
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
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
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
Guo Xiang Tan
31acd311e5
FEATURE: Allow group owners to edit group name and avatar flair.
2016-12-05 14:27:46 +08:00
Guo Xiang Tan
943e605add
REFACTOR: Project's convention is to use dash for classes.
2016-11-29 15:22:24 +08: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
Erick Guan
48fb0558d8
UX: Add headers for webhook events
2016-09-19 12:07:55 +08:00
Erick Guan
00d5facf36
FEATURE: prompts new webhook events
2016-09-19 12:07:17 +08:00
Erick Guan
9ce61b4586
FEATURE: Webhooks.
2016-09-05 18:44:00 +08:00
Neil Lalonde
2251104e32
FEATURE: avatar flair can be font awesome icons
2016-08-26 17:15:37 -04:00
Neil Lalonde
fb7409f982
FIX: avatar flair position on mobile
2016-08-18 11:18:18 -04:00
Neil Lalonde
36f0bd36f4
remove hard-coded avatar url
2016-08-17 16:57:31 -04:00
Neil Lalonde
d079f69b7b
FEATURE: add flair to avatars using new settings in the groups admin UI
2016-08-17 15:13:15 -04:00
Régis Hanol
fc9cfd698d
UX: admin flags needed some ❤️
2016-06-22 16:32:50 +02:00
Neil Lalonde
f3f6c2f98f
FEATURE: tag groups
2016-06-06 14:18:48 -04:00
William Herry
1883fa205c
fix setting page input and select width inconsist issue ( #4216 )
2016-05-09 08:37:51 +02:00
Régis Hanol
56adc01081
fix last-seen date position in digest preview
2016-04-21 21:00:28 +02:00
Régis Hanol
fd93fff39b
update pikaday.js to latest and replace date inputs with pikadays
2016-04-15 17:58:32 +02:00
Sam
a1d65ae8f6
UX: show topic title in email logs
2016-04-15 10:38:02 +10:00
Arpit Jalan
b2b7342d53
UX: Mobile specific style for Admin IP Lookup box
2016-03-04 22:33:47 +05:30
Régis Hanol
cc695605b7
fix textarea styling in incoming email details modal
2016-02-10 22:43:00 +01:00
Régis Hanol
91bb38626c
FEATURE: new incoming email details modal
2016-02-10 22:00:27 +01:00