Skip to content

[Feature] permanent link to a code snippet #11828

Closed
@TimerWolf

Description

@TimerWolf
  • Gitea version (or commit ref): 1.12.0-rc1
  • Git version: N/A
  • Operating system: N/A

Description

Hi!

I did try search for this but i could not find it, so i post it here and see if it´s a duplicate request or not.

Like the title says it´s the same feature that's in GitHub, and a very handy as well if you ask me so why not have the same function inside Gitea?

Maybe would be smart to have the "shortcuts" as well "Copy link/Copy permalink/Open new issue" not sure what "View git blame" is or if it is build in Gitea.

But i do have some thoughts about the permalink, the "url" seems to be a direct path to the current file where it is on the website, what happens if the "url" for the Gitea is changed? Would that broke every link that was ever made?

Screenshots

Alt text

Alt text

Alt text

Link

Github documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions