Git Product home page Git Product logo

Comments (6)

gavinmn avatar gavinmn commented on June 5, 2024 3

Hi everyone, thanks for the discussion here! The internal Octicons team has taken a look at the options and what was discussed here, and I think we will be shipping a file-directory-symlink Octicon to address this. Keep an eye out for it in the upcoming Octicons releases and let me know if this helps solve the issues being discussed here.

Image

from octicons.

Finii avatar Finii commented on June 5, 2024 1

Created a icon that mixes file-symlink-file and file-directory to get an adequately looking file-symlink-directory:

image

Left to right: file-symlink-file, newly created file-symlink-directory, file-directory

I could PR that icon, if Octicons is interested.

Edit:

Thank you for your interest in contributing to Octicons! We are currently only accepting submissions from GitHub staff and only include icons that are used in the GitHub UI.

Ok, no problem.
I guess this Issue is moot then. Obviously the answer to the question is: It has been dropped because it is not used/needed by the GitHub UI. Which is a very valid reason 👍 Anyhow, Nerd Font consumers will get the look-alike smuggled in icon I "designed" ;-)

from octicons.

tallys avatar tallys commented on June 5, 2024 1

Hey all, thanks for the comments! We'll take a look at this issue at an upcoming Octicons working session.

from octicons.

Finii avatar Finii commented on June 5, 2024

The codepoints were assigned by Nerd Fonts.
That one icon replaces another is due to the fact that Nerd Fonts reuses the codepoint of dropped icons for newly added icons.

But anyhow, there have been more icons dropped, see the Nerd Fonts packaging logfile (but the be honest Nerd Fonts came from an ancient Octicons version):

Reading mapping file
Found 172 entries
Fetching octicons archive "v18.2.0.tar.gz"


Unpacking octicons archive
Found 574 svgs
Found 308 icons after de-duplicating

Renamed cloud-download -> download
Renamed cloud-upload -> upload
Renamed clippy -> paste
Renamed mail-read -> read
Renamed primitive-dot -> dot-fill
Renamed primitive-square -> square-fill
Renamed settings -> sliders
Renamed dashboard -> meter
Renamed trashcan -> trash
Renamed paintcan -> paintbrush

Missing octoface
Missing keyboard
Missing gist
Missing file-text
Missing file-pdf
Missing jersey
Missing radio-tower
Missing repo-force-push
Missing mail-reply
Missing arrow-small-right
Missing gist-secret
Missing no-newline
Missing arrow-small-up
Missing arrow-small-down
Missing arrow-small-left
Missing file-symlink-directory
Missing circuit-board
Missing watch
Missing text-size
Missing ellipses
Missing plus-small

Found 151 (of 172, missing 21) and new 157

Maybe I missed some renaming of the file-symlink-directory, but obviously I found no equivalent in 18.3.

from octicons.

silverwind avatar silverwind commented on June 5, 2024

We could use such icon for Gitea as well, but we'd need a filled variant. A symlink to a directory currently uses file-submodule, but it's not ideal because that seems to be meant for git submodule directories. GitHub also currently uses the same icon for symlinked directories.

I'm not sure how feasible it is to add this bottom-left-to-center arrow to the filled icon.

image

A regular directory uses file-directory-fill:

image

from octicons.

silverwind avatar silverwind commented on June 5, 2024

I would also like to highlight a related bug on the GitHub UI:

https://github.com/silverwind/symlink-test

image

A symlink to a file should use file-symlink-file, not file-submodule, e.g. like this:

image

The directory symlink visible above should ideally use a new dedicated icon as mentioned, so it's distinguishable from git submodules which use file-submodule.

So in total, there should be 5 octicons:

  • file (exists)
  • directory (exists)
  • symlink to file (exists)
  • symlink to directory (new icon requested)
  • submodule (exists)

from octicons.

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.