0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-14 13:58:53 +08:00
discourse/plugins/discourse-gamification
Martin Brennan 79d1c792eb
DEV: Update test module name conventions (#40389)
Currently, most of the JS test modules follow this
convention:

```
module("Integration | Component | topic-dismiss-buttons"
```

Which is a legacy from when ember components etc were
rendered in templates like this:

```
{{d-button title="foo"}}
```

Instead, this commit updates all of them to follow this
PascalCase convention:

```
module("Integration | Component | TopicDismissButtons", function (hooks) {
```

No linting is added to enforce this, we suspect that it's
mostly a result of cargo culting, and people will add new
tests following PascalCase convention.

Also adds an initial AI skill for writing JS tests.
2026-05-29 15:19:55 +10:00
..
admin/assets/javascripts DEV: Consolidate reusable components into ui-kit (#38703) 2026-05-11 18:07:36 -03:00
app DEV: Enable Style/RedundantSelf rubocop rule (#40098) 2026-05-19 19:27:45 +02:00
assets DEV: Allow plugins to register admin-panel-specific CSS (#40345) 2026-05-28 11:03:38 +01:00
config I18N: Update translations (#39576) 2026-04-30 11:50:45 +02:00
db FEATURE: Per-leaderboard scorable weights and category filters (#39062) 2026-04-23 11:23:01 -03:00
jobs FEATURE: Per-leaderboard scorable weights and category filters (#39062) 2026-04-23 11:23:01 -03:00
lib DEV: Allow multiple solutions in solved plugin (#39806) 2026-05-28 07:12:28 -05:00
spec DEV: Allow multiple solutions in solved plugin (#39806) 2026-05-28 07:12:28 -05:00
test/javascripts DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
package.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00
plugin.rb DEV: Allow plugins to register admin-panel-specific CSS (#40345) 2026-05-28 11:03:38 +01:00
README.md
tsconfig.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00

Discourse Gamification Plugin

User Card

Screen Shot 2022-03-18 at 9 33 24 AM

User Metadata

Screen Shot 2022-03-18 at 10 48 25 AM

Directory

Screen Shot 2022-03-18 at 10 48 54 AM