Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to name custom widgets to represent their content … #69

Closed
fooness opened this issue Oct 28, 2020 · 6 comments
Closed

Possibility to name custom widgets to represent their content … #69

fooness opened this issue Oct 28, 2020 · 6 comments

Comments

@fooness
Copy link

fooness commented Oct 28, 2020

I wonder if there’s any plans to add a rename option to custom widgets added via either scalar or the /addwidget command. Currently, all custom widgets are simply titled “Custom Widget” and as of now this cannot be changed as far as I know?

Tried search for “title custom widget” and “name custom widget” and did not find anything, sorry if this is a duplicate even though …

@fooness
Copy link
Author

fooness commented Nov 7, 2020

Would “MSC2765: Widget avatars” matrix-org/matrix-spec-proposals#2765 allow for this feature?

@turt2live
Copy link
Member

Widgets can already change their name but there's no UI for it in Element. MSC2765 doesn't deal with the name at all - only the avatar, which is also not accessible in Element's UI.

@fooness
Copy link
Author

fooness commented Nov 10, 2020

Widgets can already change their name but there's no UI for it in Element. MSC2765 doesn't deal with the name at all - only the avatar, which is also not accessible in Element's UI.

How would widgets change their name?

@turt2live
Copy link
Member

Err, set their name. Sorry.

@vintprox
Copy link

There is a workaround I found. It involves editing room state.

  1. Type /devtools in desired channel.
  2. Go to Explore room state.
  3. Go to im.vector.modular.widgets.
  4. Pick your customwidget_*.
  5. Replace "Custom" in the name with what you need.

Hopefully, it solves your concern about the custom widget name.

It would be neat if we could change its icon too, but Matrix Widget API doesn't reflect it, so it's purely on client now to show a stock icon for m.custom type.

@t3chguy t3chguy transferred this issue from element-hq/element-web Apr 4, 2023
@Half-Shot
Copy link
Member

You can set the names of widgets in the new UI:

image

image

Setting a custom avatar / widget "type" is not supported however.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants