Automatic display of the issue title is a bad idea #4321
Replies: 11 comments 9 replies
-
Agreed, things expanding to what is possibly an entire sentence while already in the middle of a sentence is not great either. This makes sense if the issue number is on a line of its own or a list item of its own, but not in the middle of a paragraph. |
Beta Was this translation helpful? Give feedback.
-
This change completely breaks all of our existing task lists, rendering them a jumbled mess of sometimes-redundant words. Issues that are months or years old (long-term tracking kind of stuff over several major versions) get hit especially hard. This is one of the simpler ones: This behavior should be opt-in via new syntax, rather than blanket-enabling it on all existing Markdown content. Our project works very hard not to change anything (new settings, plugin API features, etc.) that will result in different behavior without user action, and I would expect GitHub—a project and business with hundreds or thousands as many users as we have, to be even more careful. Don't get me wrong: This is a very welcome feature when it's appropriate to the context! I love being able to create task lists of just issue/PR numbers and having the status & title filled in automatically. It's just that right now we have no way to opt-out even retroactively in cases where it makes our existing task lists messy or unreadable, let alone the fact that this feels like a new feature that should come with its own semantics distinct from the existing "bare" issue/PR number references. |
Beta Was this translation helpful? Give feedback.
-
I agree. Having feature as an option is nice but please don't force it on every repo. Would it be possible to have an option to turn this on and off? Some repos will suffer greatly depending on their previous workflow. Please consider. |
Beta Was this translation helpful? Give feedback.
-
To provide a counter point, I really like the expansion, even if some of our old issues look a bit odd with it. It's been fantastic for new issues, without needing to re-teach anyone how to reference issues so they get expanded. |
Beta Was this translation helpful? Give feedback.
-
To illustrate another problem (also related to release PRs): I frequently summarize a series of related minor issues in a single bullet point with links to all relevant PRs (e.g., updates to documentation; changes in CI). The previous render (as still seen in the release notes) gives a clean, readable display, which allows me to highlight PRs from external contributors while still making it clear how they fall under the same topic, and emphasizing the topic: The results of the current render: The old render allowed me to intentionally hide the irrelevant details behind a PR number, knowing that readers could hover/click on the PR to see details. I find the new render to be much less readable. |
Beta Was this translation helpful? Give feedback.
-
I'm of two minds on this. In general, it seems like the sentiment is that where there's other text on the line with the issue number, the title shouldn't get unfurled. Maybe there's a more nuanced way to get the same effect? I really like it in some cases, like when I've got older sub-tasks that had PRs added to the bullet point: But then there are cases where I've already gone through and copy/pasted the full issue title, resulting in duplicated text: Maybe there's a way to be smart about when to expand the title and when not to? Like perhaps if the text of the title is already in the bullet point, then replace that text with the unfurled hyperlink and icon. Though dwhswenson's point does seem to be a valid case where that heuristic wouldn't work. I do like the new rendering more than our old style of copy-pasting titles, but this just means all our old task lists need to get de-duped (when this feature rolls out to the general public). Until it does, we'll still need to keep copy-pasting titles, so we don't just have long lists of
for users that aren't opted-in yet. |
Beta Was this translation helpful? Give feedback.
-
I also see title unfurling as a controversial change – I see its usefulness but it also causes quite some issues:
I wonder is title unfurling could be a sidebar option, sort of like in a PR I can choose between side-by-side and unified diffs. That would mean that it's a user option, not a repo setting or some hint inside the Markdown text itself. I would understand though if you didn't want to make it user-configurable. There are already many "IFs" around how a simple |
Beta Was this translation helpful? Give feedback.
-
I agree, kinda related to my issue i guess. It's a broken feature lol. |
Beta Was this translation helpful? Give feedback.
-
I like the fix proposed in the opening of the old isaacs repo isaacs/github#1020
This would give us the best of both worlds - the ability to display meaningful descriptions but also control the chaos created by the current implementation. |
Beta Was this translation helpful? Give feedback.
-
Current expansion is inconsistent - it works in issues but not in milestones. I want to be able to reference issues in the milestone description - they are not expanding at the moment. |
Beta Was this translation helpful? Give feedback.
-
hello? simple frontend team + product manager adjustment no? |
Beta Was this translation helpful? Give feedback.
-
Very recently the markdown render changed, so that any issue reference by its number (ie. #3888) will be automatically augmented with the title in preview / render mode. This is true for issues and PRs.
While I get the sentiment, it has the very negative consequence that I can either choose to not include the title in the raw markdown, or include it and have it rendered twice in the rendered.
This is a problem, for instance, when I am writing the text for a release PR, and I am summarizing all the things that have been solved in that release. Here, I want to include the title, because I want it to be readable outside Github and in raw text as well.
I am writing it like this:
But unfortunately, then it ends up like this:
I think it is important to note that markdown is a format that should be usable in both raw and rendered format, and I think this change acts counterproductive to that.
Beta Was this translation helpful? Give feedback.
All reactions