GithubHelp home page GithubHelp logo

`sort-conversations-by-update-time`rewrite labels url, making it difficult to get the original one to copy and add in a message about refined-github HOT 3 OPEN

Porkepix avatar Porkepix commented on June 2, 2024
`sort-conversations-by-update-time`rewrite labels url, making it difficult to get the original one to copy and add in a message

from refined-github.

Comments (3)

fregante avatar fregante commented on June 2, 2024

It'd be great to use real URLs when posting here, so that I understand what you're talking about, like this:

ajax Temporary label to collect Ajax issues

New feature, neat!

I felt the need to disable Refined GitHub before just to get that exact clean URL, I suppose now there's a real drawback to not using it.

Unfortunately there's no easy way to both have sort-conversations-by-update-time enabled and get that clean URL. We can somewhat fake it in some cases, but I'm generally against the idea of showing the wrong content for the same URL (e.g. if I send https://github.com/refined-github/refined-github/issues to someone and they don't see the same issues I see)

A compromise here would be to clean the URL in the comment fields before sending it, similarly to how we do it with prevent-link-loss — but even that sounds like so much trouble for a rare operation with relatively little improvement.

from refined-github.

fregante avatar fregante commented on June 2, 2024

If you can track down the feedback form for this feature, maybe we can just ask them to support ?q= links too

from refined-github.

Porkepix avatar Porkepix commented on June 2, 2024

I felt the need to disable Refined GitHub before just to get that exact clean URL, I suppose now there's a real drawback to not using it.

Actually, only untoggling that exact feature is enough to let the url untouched.

Unfortunately there's no easy way to both have sort-conversations-by-update-time enabled and get that clean URL. We can somewhat fake it in some cases, but I'm generally against the idea of showing the wrong content for the same URL (e.g. if I send [https://github.com/refined-github/refined-github/issues](https://github.com/refined-github/refined-github/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) to someone and they don't see the same issues I see)

I'm not sure I understood that last sentence.

A compromise here would be to clean the URL in the comment fields before sending it, similarly to how we do it with prevent-link-loss — but even that sounds like so much trouble for a rare operation with relatively little improvement.

Same, what do you mean? Especially the urls aren't the same endpoints, so you can't get the url with queries information: with the feature toggled you get a https://github.com/org.repo/issues/ endpoint while without and to show it in comments you need to use https://github.com/org/repo/labels/ endpoint.

If you can track down the feedback form for this feature, maybe we can just ask them to support ?q= links too

I'm not sure what feedback form we're talking about here (don't even know if we can report GitHub issues for things they break, like upload error messages…). But I'd have guessed a repo such as this one would have privileged contacts with their team, though!

EDIT: And what about some kind of "copy URL to this label" button beside it, at least in places it wouldn't be an annoyance, such as https://github.com/refined-github/refined-github/labels ?

EDIT2: I wasn't even sure I remembered correctly about seeing these labels inside messages, and looking for the information wasn't easy, because people asked for this feature for quite some time and found quite a couple of workarounds to get it. Official support seems to have been released without much of an announcement, but you can find https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls#labels found from github/docs#18704 and github/docs#18537

from refined-github.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.