Any chance pre-filled topic via URL will eventually support tags?

AI-generated summary

This discussion addresses the request to add support for tags parameters in URLs used to pre-fill new topics. Initially, codinghorror noted that tags were part of a plugin and out of scope for version 1.3, though burke emphasized the utility of including &tags=foo,bar,baz. After burke requested the feature from techAPJ, the developer added it to his task list. Mingqian_Ye1 later inquired about the status, noting the complexity of implementing it manually due to the tagging plugin’s architecture. codinghorror clarified that tags were integrated into the core in version 1.6, simplifying the integration. Following a timeline inquiry from Mingqian_Ye1, techAPJ committed to completing the work the following week. The feature was successfully implemented, as techAPJ announced that the URL pre-fill now supports multiple tags, providing an example URL and a link to the commit. burke expressed gratitude for the update.

Continuing the discussion from Compose a new pre-filled topic via URL:

Creating topics via URL is awesome! Just what the doctor ordered… but, we’d really like to be able to include &tags=foo,bar,baz in the URL. I realize that having tags in a plugin probably makes the solution more complicated.

Is this on anyone’s radar?

Thanks!

1 лайк

Not sure, you’d need to ask @techapj and he can add it to his list.

2 лайка

Heya @techAPJ,

How much :beers: will it take to add a tags param to the awesome pre-filled topic via URL feature? :smiley:

2 лайка

Added on my :pencil: :wink:

2 лайка

Any luck on this feature? Is this feature still in the very end of the backlog?:persevere:
I tried to do it myself by mimicking FEATURE: support category/subcategory name in new-topic route by arpitjalan · Pull Request #3434 · discourse/discourse · GitHub but failed.
It seems requires a decent understanding of the tagging plugin in order to implement this feature.

1 лайк

Possible, tags was pulled into core in 1.6 so it will be much more closely integrated.

4 лайка

Is there a timeline for this feature?
Just want to know a rough timeframe for this and I can plan my development accordingly.

I will try to get it done next week.

2 лайка

That’s so great! :laughing:
Really appreciate it!

Composing a new (pre-filled) topic via URL now supports (multiple) tags! :sunny:

Example:

https://meta.discourse.org/new-topic?title=topic%20title&body=topic%20body&category=support/wordpress&tags=sso,wordpress


https://github.com/discourse/discourse/commit/1e289d1443f72dcff57600b428c948be132d9c20

8 лайков

:thumbsup: Thank you, @techAPJ!

2 лайка