Discourse Translator Bot
76176eda9d
Update translations ( #21145 )
2023-04-25 17:23:21 +02:00
Discourse Translator Bot
171e8b679d
Update translations ( #20861 )
2023-04-05 09:12:48 +02:00
Discourse Translator Bot
4cf065c480
Update translations ( #20671 )
2023-03-14 15:04:54 +01:00
Discourse Translator Bot
76260a4d79
Update translations ( #20389 )
2023-02-21 17:12:10 +01:00
chapoi
87de3c2319
UX: highlight vars updates ( #20346 )
...
* UX: replace highlight vars in popup menu
* UX: replace highlight vars in autcomplete
* UX: replace highlight vars in menu-panel
* UX: update style guide
* UX: bulk replace highlight vars in various small appearances
2023-02-21 10:15:49 +01:00
David Taylor
7ed4eaabda
DEV: Update styleguide example titles to use angle-bracket naming ( #20375 )
2023-02-20 15:16:18 +00:00
Keegan George
9c29d688e7
FEATURE: Add word count and indicator when exceeded max ( #19367 )
...
**This PR creates a new core reusable component wraps a character counter around any input.**
The component accepts the arguments: `max` (the maximum character limit), `value` (the value of text to be monitored).
It can be used for example, like so:
```hbs
<CharCounter @max="50" @value={{this.charCounterContent}}>
<textarea
placeholder={{i18n "styleguide.sections.char_counter.placeholder"}}
{{on "input" (action (mut this.charCounterContent) value="target.value")}}
class="styleguide--char-counter"></textarea>
</CharCounter>
```
**This PR also:**
1. Applies this component to the chat plugins edit channel's *Edit Description** modal, thereby replacing the simple text area which provided no visual indication when text exceeded the max allowed characters.
2. Adds an example to the `/styleguide` route
2023-02-20 12:06:43 +01:00
Keegan George
6338287e89
UX: Easily toggle badges in admin badge list ( #20225 )
2023-02-09 11:36:27 -08:00
Isaac Janzen
96c1fad2fe
UX: Fix timeline-handle
positioning ( #20217 )
...
Positioning of the timeline handle was slightly off on the glimmer-topic-timeline
# Before
<img width="451" alt="Screenshot 2023-02-08 at 11 30 18 AM" src="https://user-images.githubusercontent.com/50783505/217606919-2f07b69f-4820-4b72-805b-ed28b34c79dc.png ">
# After
<img width="447" alt="Screenshot 2023-02-08 at 11 29 53 AM" src="https://user-images.githubusercontent.com/50783505/217606811-977f52df-6070-4127-80c1-27c97174a9a7.png ">
2023-02-08 12:01:14 -06:00
David Taylor
055310cea4
DEV: Apply syntax_tree formatting to plugins/*
2023-01-07 11:11:37 +00:00
David Taylor
c8e2e37fa7
DEV: Apply prettier to hbs files
2022-12-28 13:11:12 +00:00
Jordan Vidrine
ef62c85a12
FIX: Add REPLACEMENTS icons to styleguide
2022-12-15 09:12:18 -06:00
Discourse Translator Bot
58ffa06d4a
Update translations ( #19340 )
2022-12-06 16:22:23 +01:00
David Taylor
c139767055
DEV: Remove Ember.TEMPLATES
and centralize template resolution rules ( #19220 )
...
In the past, the result of template compilation would be stored directly in `Ember.TEMPLATES`. Following the move to more modern ember-cli-based compilation, templates are now compiled to es6 modules. To handle forward/backwards compatibility during these changes we had logic in `discourse-boot` which would extract templates from the es6 modules and store them into the legacy-style `Ember.TEMPLATES` object.
This commit removes that shim, and updates our resolver to fetch templates directly from es6 modules. This is closer to how 'vanilla' Ember handles template resolution. We still have a lot of discourse-specific logic, but now it is centralised in one location and should be easier to understand and normalize in future.
This commit should not introduce any behaviour change.
2022-11-29 10:24:35 +00:00
Kris
d6ddb337c8
UX: use solid envelope icon for consistency ( #19157 )
2022-11-23 08:46:35 +08:00
Discourse Translator Bot
2eee6fb644
Update translations ( #19150 )
2022-11-22 15:01:19 +01:00
Discourse Translator Bot
33f601c8ad
Update translations ( #19033 )
2022-11-16 11:39:47 +01:00
Discourse Translator Bot
d7844a797f
Update translations ( #18948 )
2022-11-09 00:00:28 +01:00
Discourse Translator Bot
82425b23ee
Update translations ( #18813 )
2022-11-02 15:13:47 +01:00
Discourse Translator Bot
5f02f11acc
Update translations ( #18740 )
2022-10-25 17:00:49 +02:00
Discourse Translator Bot
0af2837b73
Update translations ( #18642 )
2022-10-19 15:19:28 +02:00
Discourse Translator Bot
5dea425ee9
Update translations ( #18381 )
2022-09-27 19:07:56 +02:00
Discourse Translator Bot
d00cd3295e
Update translations ( #18183 )
2022-09-13 16:04:18 +02:00
Discourse Translator Bot
d7ce2d40dd
Update translations ( #18053 )
2022-08-23 17:24:36 +02:00
Penar Musaraj
b930f4886a
UX: Add flat text button styles and use in date/time cancel modal ( #17892 )
...
Also fixes an A11Y issue with the date/time cancel button.
2022-08-15 15:06:03 -04:00
Loïc Guitaut
3eaac56797
DEV: Use proper wording for contexts in specs
2022-08-04 11:05:02 +02:00
Discourse Translator Bot
f06e586c19
Update translations ( #17756 )
2022-08-02 16:54:12 +02:00
Andrei Prigorshnev
023835cdad
DEV: a new d-tooltip
component ( #17513 )
2022-07-28 18:33:20 +04:00
Phil Pirozhkov
493d437e79
Add RSpec 4 compatibility ( #17652 )
...
* Remove outdated option
04078317ba
* Use the non-globally exposed RSpec syntax
https://github.com/rspec/rspec-core/pull/2803
* Use the non-globally exposed RSpec syntax, cont
https://github.com/rspec/rspec-core/pull/2803
* Comply to strict predicate matchers
See:
- https://github.com/rspec/rspec-expectations/pull/1195
- https://github.com/rspec/rspec-expectations/pull/1196
- https://github.com/rspec/rspec-expectations/pull/1277
2022-07-28 10:27:38 +08:00
Jarek Radosz
5538b8442e
DEV: Introduce discourseLater
( #17532 )
...
A wrapper for `later()` from `@ember/runloop`, similar to `discourseDebounce`. It automatically reduces the delay in testing environment.
2022-07-17 00:50:49 +02:00
Peter Wagenet
371bbadb92
No implicit this codemod ( #17235 )
...
* Run no-implicit-this codemod for app templates
* Run tagless-ember-components-codemod for plugins
* Turn on no-implicit-this lint
2022-07-05 19:41:31 +02:00
David Taylor
c011dd7b43
DEV: Remove last few curly-component invocations
2022-07-04 17:25:42 +01:00
Jarek Radosz
624c684d51
DEV: Transpile all plugin js by default ( #17175 )
...
Goodbye `# transpile_js: true`? 🙂
2022-06-21 22:07:10 +02:00
Discourse Translator Bot
7ac485fb9f
FEATURE: Add Croatian language ( #17130 )
...
Co-authored-by: Gerhard Schlager <gerhard.schlager@discourse.org>
2022-06-18 00:18:22 +02:00
Discourse Translator Bot
e0364cf228
Update translations ( #17087 )
2022-06-14 16:57:33 +02:00
Discourse Translator Bot
41fa278c00
Update translations ( #16958 )
2022-05-31 16:14:37 +02:00
Discourse Translator Bot
d303466c30
Update translations ( #16902 )
2022-05-24 16:03:04 +02:00
Discourse Translator Bot
51e29d3ca8
Update translations ( #16608 )
2022-05-03 15:30:59 +02:00
Discourse Translator Bot
adfa4ebed8
Update translations ( #16566 )
2022-04-27 14:42:11 +02:00
Andrei Prigorshnev
c9b2374299
DEV: make API of future-date-input more customizable and aligned with the API of time-shortcut-picker ( #16502 )
2022-04-27 16:41:15 +04:00
Andrei Prigorshnev
42bb629817
DEV: use the only source for time shortcut options on all date pickers ( #16366 )
2022-04-21 15:49:11 +04:00
Discourse Translator Bot
4ec6af064a
Update translations ( #16505 )
2022-04-19 15:45:09 +02:00
Discourse Translator Bot
a1d7e77967
Update translations ( #16456 )
2022-04-12 21:04:30 +02:00
Jarek Radosz
14778ba52e
DEV: Fix select-kit deprecations ( #15080 )
2022-04-05 19:01:09 +02:00
Penar Musaraj
ddafa42b7e
DEV: Fix styleguide label regression ( #16379 )
...
Introduced in c92e62a271
, it output all
styleguide example labels as CSS custom properties.
2022-04-05 12:16:18 -04:00
Discourse Translator Bot
fe689115d4
Update translations ( #16378 )
2022-04-05 15:28:19 +02:00
Jarek Radosz
99b2cfe26e
DEV: Disallow Ember
global usage ( #16147 )
...
…and sprinkle `// eslint-disable-next-line no-undef` throughout the code where is unavoidable for now
2022-03-09 17:54:07 +01:00
Jarek Radosz
6e7cdc5bc3
DEV: Use Ember imports in the styleguide code ( #16123 )
2022-03-07 21:38:09 +01:00
David Taylor
c9dab6fd08
DEV: Automatically require 'rails_helper' in all specs ( #16077 )
...
It's very easy to forget to add `require 'rails_helper'` at the top of every core/plugin spec file, and omissions can cause some very confusing/sporadic errors.
By setting this flag in `.rspec`, we can remove the need for `require 'rails_helper'` entirely.
2022-03-01 17:50:50 +00:00
Jordan Vidrine
c92e62a271
UX: Styleguide changes & color variable additions ( #15984 )
2022-02-17 14:39:29 -06:00