1,035
edits
(→23-10-01: new section) |
(→23-10-06: new section) |
||
Line 1,052: | Line 1,052: | ||
|Text=[[Tech WG/Ops Diary#23-10-01]] I am ready to deploy v4.2 but I encountered a few issues while following the process mentioned in [[Upgrade_Mastodon]]. I'll update the wiki with the steps I took. | |Text=[[Tech WG/Ops Diary#23-10-01]] I am ready to deploy v4.2 but I encountered a few issues while following the process mentioned in [[Upgrade_Mastodon]]. I'll update the wiki with the steps I took. | ||
|Link=https://discord.com/channels/1049136631065628772/1052452072806686751/1157946171432632383 | |Link=https://discord.com/channels/1049136631065628772/1052452072806686751/1157946171432632383 | ||
}} | |||
== 23-10-06 == | |||
{{Message | |||
|Author=sneakers.the.rat | |||
|Avatar=https://cdn.discordapp.com/avatars/305044217393053697/2970b22bd769d0cd0ee1de79be500e85.png?size=1024 | |||
|Date Sent=23-10-06 21:45:39 | |||
|Channel=technical-wg | |||
|Text=So idle thought, i saw someone whose instance had [[Slugified URLs]] for posts, ( eg. https://neuromatch.social/@Jonny /my-post-title ) | |||
And it looks like it would be pretty easy to do... | |||
- add a `slug` db column in the statuses table | |||
- add a route using `slug` https://github.com/mastodon/mastodon/blob/3262d1f1b62a984343f0f6c67c1d18921daabb0a/config/routes.rb#L130 | |||
- add a field to the status composer component to optionally add a slug, which would need to validate for correct formatting and uniqueness (eg. Show red outline with message when slug is already used, disallow spaces and other non URI chars) | |||
- add API endpoint to check if slug exists | |||
- add button in "share" dropdown to copy slugified link | |||
- optionally: provide an auto-slug option that slugifies the first n unique characters in a post, or parses a leading # header | |||
That would be for adding them as an additional ui thing, rather than changing the representation of the AP objects/etc. ID URL would remain canonical, slug would be useful for sharing, and also if we want to allow posts to behave more like pages (eg. Set custom page CSS for an `Article` type vs the usual `Note` ) for a future rich text editor hack that makes masto both micro and macro blog | |||
[[Mastodon/Hacks]] | |||
|Link=https://discord.com/channels/1049136631065628772/1049184335514828860/1159969748226953216 | |||
}} | }} |