Penar Musaraj
a736ff5f69
DEV: Clean up some styles ( #14374 )
2021-09-20 09:52:03 -04:00
Penar Musaraj
954f8f8e7e
UX: Fix alignment for admin controls on mobile ( #14312 )
2021-09-13 13:43:43 -04:00
Penar Musaraj
24e71acf3f
UX: Normalize sizing for inputs, buttons, dropdowns ( #14226 )
...
See PR for details
2021-09-09 11:01:56 -04:00
Jordan Vidrine
385535f421
UX: Hide email columns when `Hide Emails` is selected ( #13502 )
...
* UX: Scroll user list container when emails are present
2021-06-23 12:42:16 -05:00
Kris
2fb1eaa868
UX: more consistent mobile spacing ( #13297 )
2021-06-07 13:22:28 -04:00
Ahmed Gagan
2308a58113
DEV: Added support for custom site setting 'emoji_list' ( #12414 )
...
Example usage:
```
best_emojis:
type: emoji_list
default: laughing|open_mouth|cry|angry|hugs
client: true
```
2021-04-07 15:32:05 +02:00
Roman Rizzi
ea8b5c18db
UX: Text customization for different languages. ( #11729 )
...
Admins can now edit translations in different languages without having to change their locale. We display a warning when there's a fallback language set.
2021-01-18 14:53:45 -03:00
Penar Musaraj
5f846531a5
DEV: Cleanup variables/mixins SCSS imports ( #11618 )
...
Prepends variables.scss and mixins.scss globally for all assets. With
one notable exception, theme fields, which will be addressed in a
separate PR.
2021-01-05 14:05:34 -05:00
Joe
eecff3d15b
DEV: Ensures mobile RTL stylesheets are loaded ( #11360 )
...
This PR only makes CSS changes that have no visual impact, but they fix an issue in the compiler that causes some stylesheets not to load on mobile RTL.
Full context here
https://meta.discourse.org/t/user-card-will-not-open-on-the-mobile/171268/6?u=johani
2020-11-26 21:03:25 +08:00
Penar Musaraj
6f5d8cad51
UX: Move category editing/creation to its own page ( #10973 )
...
* Move new/edit category modals to its own page
* Fix JS tests
* Minor fixes to new-category UI
* Add mobile toggle
* Use global pretender endpoint so plugins can benefit too
* Alignment fix
* Minor review fixes
* Styling refactor
* Move some SCSS out of the modal
2020-10-23 12:49:02 -04:00
Penar Musaraj
dbdb5b9a47
DEV: Use border-box sizing for admin controls
...
Fixes floating issues in admin site settings on screen widths between
768 and 880 pixels. This also cleans up spacing on mobile.
2020-09-17 11:49:41 -04:00
Penar Musaraj
c937afc75e
FEATURE: automatic dark mode ( #10341 )
...
A first step to adding automatic dark mode color scheme switching. Adds a new SCSS file at `color_definitions.scss` that serves to output all SCSS color variables as CSS custom properties. And replaces all SCSS color variables with the new CSS custom properties throughout the stylesheets.
This is an alpha feature at this point, can only be enabled via console using the `default_dark_mode_color_scheme_id` site setting.
2020-08-03 22:57:10 -04:00
Penar Musaraj
2d880b42a3
UX: Add simple-list setting type ( #9970 )
2020-06-04 10:44:54 -04:00
Joffrey JAFFEUX
0996c3b7b3
FEATURE: allows multiple custom emoji groups ( #9308 )
...
Note: DBHelper would fail with a sql syntax error on columns like "group".
Co-authored-by: Jarek Radosz <jradosz@gmail.com>
2020-03-30 20:16:10 +02:00
Penar Musaraj
68328d2d64
DEV: Replace save-button partial with a component ( #9066 )
2020-03-10 09:37:54 -04:00
Joffrey JAFFEUX
902d0e1e3a
DEV: enforces no-invalid-interactive linting rule ( #8907 )
2020-02-11 15:55:16 +01:00
Kris
b066a4128d
Adding a text-overflow: ellipsis; mixin and related cleanup
2019-11-06 14:00:29 -05:00
Kris
9e9d57d7ee
General admin style cleanup
2019-10-04 13:25:54 -04:00
Joe
fd4557a9ef
UX: Mobile editor style fixes ( #7878 )
2019-07-11 09:57:53 -04:00
Kris
df85d4593e
UX: Unify admin intro styles for badges/customize, improve mobile
2019-04-09 20:32:24 -04:00
Joffrey JAFFEUX
e986e96227
DEV: removes old dashboard ( #7295 )
2019-04-01 12:39:49 +02:00
Robin Ward
8c98c18c2b
FIX: Remove old flagging scss, fix more linting
2019-03-28 13:48:35 -04:00
Robin Ward
b58867b6e9
FEATURE: New 'Reviewable' model to make reviewable items generic
...
Includes support for flags, reviewable users and queued posts, with REST API
backwards compatibility.
Co-Authored-By: romanrizzi <romanalejandro@gmail.com>
Co-Authored-By: jjaffeux <j.jaffeux@gmail.com>
2019-03-28 12:45:10 -04:00
Guo Xiang Tan
100ad15e18
Make prettier happy.
2019-03-21 17:25:05 +08:00
Tim Lange
d16a0db4e1
UX: Enabled sorting for more columns in admin user list ( #7208 )
2019-03-21 17:16:58 +08:00
Gerhard Schlager
3fd04df781
FEATURE: Locale support for seeded categories and topics ( #7110 )
2019-03-18 21:09:13 +01:00
venarius
95dc52e15e
FIX: Changed warning css class
2019-03-11 12:56:15 -04:00
venarius
dc4541a95c
FIX: Text content search warning if more than 50 results
2019-03-11 12:56:15 -04:00
Kris
ef9b249cd2
UX: More consistent table header styles, removing duplicate styles
2019-02-26 21:40:17 -05:00
Penar Musaraj
cafe637407
UX: List popular themes and components in admin panel ( #6997 )
...
Reorganizes theme create/upload flows into one install flow
Adds quick list of popular themes/components with one-click installation
2019-02-20 14:58:31 -05:00
Kris
62adc2eb98
User admin page button height fix
2019-01-22 14:00:38 -05:00
Penar Musaraj
ba5e17a7a9
FIX: IE11 layout glitches
...
IE11 requires a unit on the third parameter (flex-basis) of the flex property
2019-01-21 13:40:55 -05:00
Joffrey JAFFEUX
b95165b838
FEATURE: adds a new chart report to track pageviews ( #6913 )
2019-01-21 15:17:04 +01:00
Kris
3c987132cb
Prevent placeholder text from being cut-off
2019-01-17 14:39:28 -05:00
Joffrey JAFFEUX
608abd4c08
FIX: uses `flex: 1 0 0;` instead of `flex: 1;` for better browser compat ( #6826 )
2018-12-28 20:21:32 +01:00
Kris
593cd831e1
Wrap long lists of admin tabs on large screens
2018-11-26 14:51:45 -05:00
Maja Komel
ae9eddb002
FIX: don't allow adding a value containing vertical bar char to the secret list
2018-11-05 12:14:56 +01:00
Maja Komel
27e732a58d
FEATURE: allow multiple secrets for Discourse SSO provider
...
This splits off the logic between SSO keys used incoming vs outgoing, it allows to far better restrict who is allowed to log in using a site.
This allows for better auditing of the SSO provider feature
2018-10-15 16:03:53 +11:00
Joe
8d6ccde402
UX: removes bottom margins from inputs in admin controls
2018-09-20 00:32:41 +08:00
Joe
8fb50a7e8b
UX: last-seen input alignment fix
2018-09-19 21:20:04 +08:00
Joe
e844fa5370
UX: general cleanup of inputs, buttons and select elements - part 1
2018-09-19 20:37:04 +08:00
Kris
2b7e50cab8
Prevent fade-out from overlapping button in admin nav
2018-09-10 11:25:41 -04:00
Joffrey JAFFEUX
7f2f3b8b22
FIX: improves reports resilience ( #6239 )
...
This commit makes most of the reports now lazy loaded, and making them benefits from graceful failures.
2018-08-06 16:57:40 -04:00
Kris
84d822959a
Reducing some specificity, color fix
2018-08-03 17:44:22 -04:00
Joffrey JAFFEUX
066010db7d
FEATURE: introduces list/compact_list components
2018-08-03 16:41:37 -04:00
Joffrey JAFFEUX
1a78e12f4e
FEATURE: part 2 of dashboard improvements
...
- moderation tab
- sorting/pagination
- improved third party reports support
- trending charts
- better perf
- many fixes
- refactoring
- new reports
Co-Authored-By: Simon Cossar <scossar@users.noreply.github.com>
2018-07-19 14:33:11 -04:00
Kris
c2cfb6ebae
mobile admin cleanup
2018-07-13 01:43:40 -04:00
Kris
b79fedd540
Streamlining some breakpoint mixins
2018-07-12 16:39:16 -04:00
Joe
b5d29f7d88
FIX: responsive admin adjustments
2018-07-05 14:32:27 +08:00
Joe
2bfe700bd6
FEATURE: responsive admin pages
2018-07-03 11:14:53 +08:00
Joffrey JAFFEUX
fed86225c8
FEATURE: differentiate total and total for period on admin table report
2018-06-21 22:46:53 +02:00
Joffrey JAFFEUX
a41057aa6e
FEATURE: display report total value when showing report
2018-06-21 18:17:22 +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
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
Kris
98f8f74f37
dashboard column alignment
2018-05-16 17:18:13 -04:00
Kris
4b0bf35cd7
dashboard style updates
2018-05-16 15:07:35 -04: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
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
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
Neil Lalonde
ced7e9a691
FEATURE: control which web crawlers can access using a whitelist or blacklist
2018-03-22 15:41:02 -04: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
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
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
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
Joffrey JAFFEUX
0da529010a
FEATURE: support for multi-combo-box
2017-11-09 10:57:53 -08: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
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