Продолжение обсуждения из 3.1.0.beta2: Исправления безопасности, новые области API и многое другое :
Это отлично! Спасибо! Но у меня вопрос: можно ли изменить слаг канала после его создания? Я понимаю, что в графическом интерфейсе такой настройки нет, но хочу узнать, есть ли какая-то команда в консоли, которая может это сделать, и/или является ли такое действие слишком рискованным, и лучше ли создать новый канал.
mcwumbly
(Dave McClure)
26.Январь.2023 21:36:35
2
В разработке находится нечто, что должно появиться в ветке tests-passed в ближайшем будущем:
main ← feature/allow-edit-channel-slug
merged 03:18AM - 30 Jan 23 UTC
This commit introduces the ability to edit the channel
slug from the About tab … for the chat channel when the user
is admin. Similar to the create channel modal functionality
introduced in 641e94fc3c15c12217e2463a2dc393638ddeb534, if
the slug is left empty then we autogenerate a slug based
on the channel name, and if the user just changes the slug
manually we use that instead.
We do not do any link remapping or anything else of the
sort, when the category slug is changed that does not happen
either.
<img width="300" alt="image" src="https://user-images.githubusercontent.com/920448/213975619-6263e29a-5b90-4c1e-86c2-ab3aaff21bf0.png">
<img width="326" alt="image" src="https://user-images.githubusercontent.com/920448/215375404-f5194dce-030a-48fa-9bd1-2b61d1eed409.png">
<img width="331" alt="image" src="https://user-images.githubusercontent.com/920448/215375478-fe9fd78d-662d-4461-8dab-40de83eeb253.png">