Régis Hanol f23bdbceeb
DEV: Modernize signature preferences component (#101)
This updates the signature preferences connector to use modern Ember patterns and the new plugin API.

Changes:
- Convert to Glimmer component with `@service` injection
- Replace classic `<Input>` with native `<input>` and `{{on}}` modifier
- Use new `api.addSaveableCustomFields("profile")` API instead of `modifyClass save()` override
- Remove dead `@showUploadModal` argument from `DEditor`
- Add CSS to hide preview panel and match bio editor width

The `modifyClass` pattern for saving `custom_fields` was broken because `saveAttrNames` is now a getter that returns a fresh array on each call, so pushing to it in `save()` had no effect. The new `addSaveableCustomFields` API uses value transformers to properly add "`custom_fields`" to the save attributes.

cf. https://github.com/discourse/discourse/pull/36757
2025-12-23 18:03:14 +01:00
2025-05-07 15:18:09 +02:00
2022-06-11 14:38:30 +02:00
2024-10-14 13:54:57 +02:00
2024-01-16 17:48:38 +01:00
2024-01-16 17:48:38 +01:00
2022-04-06 12:19:24 +02:00
2025-10-09 13:40:02 +01:00
2025-10-09 13:40:02 +01:00
2025-03-17 11:03:44 +00:00
2021-09-28 14:30:27 +02:00

Discourse Signatures

https://meta.discourse.org/t/discourse-signatures/42263

Felling nostalgic of old VBulletin days? Wanna spam and flame like it's 2000?

signature

Install Discourse Signatures!

Installation

Proceed with a normal installation of a plugin.

After Installation

You need to enable the plugins options for all users on Settings -> Plugins:

enable_plugin

And each user need to enable and select a signature on his/her profile:

image

and thats it!

Advanced Mode

You can now enable advanced mode on the plugin settings and use a full blow post editor to create your signature! With text, multiple images, etc.

About

This is a work in progress! Feel free to use and ask questions here, or on Discourse Meta.

TODO

  • Figure out a way so the user doesn't have to refresh te browser to change the see signatures options
  • Cache the cooked signatures
Description
A Discourse Plugin to show user signatures below posts
Readme MIT 757 KiB
Languages
Ruby 62.5%
JavaScript 35.4%
SCSS 2.1%