1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-19 20:12:52 +02:00
Commit Graph

593 Commits

Author SHA1 Message Date
GitHub Actions
f058b046d6 [ci] Sync fonts.json 2023-07-06 08:55:28 +00:00
GitHub Actions
e1e1189429 [ci] Sync fonts.json 2023-07-05 10:16:30 +00:00
Fini Jastrow
df6ab2c942 Allow searching for pasted icon
[why]
There are cases that I find myself into sometimes when I have the glyph
with me but not its name or codepoint. It would be nice to be able to
search for the codepoint and/or name of a glyph by literally putting it
into the search box of the cheat-sheet.
There are several reasons to know the name of the glyph, to use it in a
webpage, to look for alternatives when they get removed, etc.

[how]
Convert high codepoint-chars to codepoint text.

Fixes: #1307

Authored-by: ad-chaos
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-25 10:16:24 +02:00
Ryan L McIntyre
748ded8f52 Updates backers section 2023-06-22 02:07:29 -07:00
Fini Jastrow
fa0d3c7e98 cheat-sheet: Show no icons by default
[why]
The additional hints in the bottom are hard to notice if we flood users
with all available items first.
Usually users want to search the icons and not browse, so showing them
all per default seems better.

[how]
Just do not change the search term from "" to something else, so the
search comes up empty on an empty search.

If people search for a blank the previous mechanics to show all icons is
triggered instead. A message to hint for this is added to the empty
search result.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-09 07:55:19 +02:00
Fadi Hania
1df198249a Update search page style
- Fix having multiple vertical scrollbars
 - Update icons lazy loading accordingly
2023-06-09 07:55:19 +02:00
GitHub Actions
cd2e548e98 [ci] Regenerate contributors 2023-06-08 13:27:04 +00:00
Fini Jastrow
8d89dba767 Release note: Add missing item
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-05 12:49:07 +02:00
GitHub Actions
eb389f9b4a [ci] Regenerate contributors 2023-06-05 10:20:13 +00:00
Fini Jastrow
f6b9feecab Update stuff for v3.0.2
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-05 11:40:23 +02:00
Finii
64b0fdf6a4 [ci] Update webfonts 2023-06-04 20:45:40 +00:00
Finii
cfd060cc02 [ci] Regenerate CSS files 2023-06-04 20:45:37 +00:00
GitHub Actions
deaf6ab71b [ci] Regenerate contributors 2023-06-02 11:44:12 +00:00
GitHub Actions
72a98785b1 [ci] Regenerate contributors 2023-06-02 11:31:56 +00:00
GitHub Actions
9f76d9b444 [ci] Regenerate contributors 2023-06-02 09:56:02 +00:00
GitHub Actions
9c43af367c [ci] Regenerate contributors 2023-06-02 06:05:41 +00:00
GitHub Actions
a1703a5495 [ci] Regenerate contributors 2023-06-01 06:13:30 +00:00
Fini Jastrow
8c3d893a60 Some cheat-cheat tweaks
[why]
* We want to have the autocreated cheat-sheet file here 100% and not
  only approximate, so create the file anew via generate-css.sh and
  commit it here.

* "No results found" is kind of a lie, we have a result and the result
  is that there are no hits while searching :-> Call me pedantic.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-30 19:48:05 +02:00
GitHub Actions
021c5fd59e [ci] Regenerate contributors 2023-05-30 17:26:13 +00:00
Fini Jastrow
3d817cfa49 Merge PR #1252 2023-05-30 19:19:19 +02:00
rszyma
270a604d09 cheat-sheet: don't show nfc icons on empty search 2023-05-30 19:13:12 +02:00
rszyma
5d1ccc69ab cheat-sheet: add more negative boost for old icons 2023-05-30 19:13:12 +02:00
rszyma
2360483964 cheat-sheet: boost the part after last - 2023-05-30 19:13:12 +02:00
rszyma
d2503caa4a cheat-sheet: fix negative boost for removed icons 2023-05-30 19:13:12 +02:00
Fini Jastrow
b068b08653 cheat-sheet: Sort the results
[why]
Often it is easier to find what one wants if the search result is
sorted.

[how]
Do a full result sort.
* Sort by id (class name)
* Put removed icons last

We do not need the boost function anymore, so that pre-sorting is
removed.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-30 19:13:12 +02:00
Fini Jastrow
b42a1b82e6 cheat-sheet: Allow incomplete searches
[why]
Sometimes one does not know what the exact search term is.
For example if you want to find a 'homefolder' but the name is
'homedirectory' it is impossible to find.

[how]
Allow prefix search, in this case at least 'home' will find both
variants.
I do believe a full substring search would be even better, but that is
not supported by minisearch.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-30 19:13:12 +02:00
Fini Jastrow
c06a149c9c cheat_sheet: Sort removed icons last
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-30 19:13:12 +02:00
rszyma
156981d8f2 fix: cheatsheet page performance 2023-05-30 19:13:12 +02:00
GitHub Actions
cec9c1e6e2 [ci] Regenerate contributors 2023-05-27 13:35:42 +00:00
rszyma
2d96b7f5e0 Remove gitter-sidecar
[why]
Disfunctional

See PR #1252
2023-05-27 15:27:38 +02:00
GitHub Actions
288eed5e14 [ci] Regenerate contributors 2023-05-27 06:36:48 +00:00
Fini Jastrow
e10d4a49af Change bullet points to dashes
[why]
After the last bullet point closing the <div> seems problematic and
results in a bit of garbage in the html page.

[how]
Just use the dashes as we historically used instead.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-27 08:27:54 +02:00
Lauren Yim
2016d5b683 Fix changelog formatting
I think the `</div> </details>` at the end of the v3.0.1 release notes was being parsed as part of the last `<li>` item, resulting in `</div> </details>` being escaped. This commit should fix the issue where in the HTML output, the v3.0.1 release `<details>` included the release notes for v3.0.0, v2.3.3, etc.
2023-05-27 08:13:50 +02:00
Fini Jastrow
f6a5fe6e22 Update stuff for v3.0.1
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-13 23:34:55 +02:00
GitHub Actions
ee0ad6e201 [ci] Regenerate contributors 2023-05-10 11:35:57 +00:00
GitHub Actions
c41e6f5376 [ci] Regenerate contributors 2023-05-10 09:56:08 +00:00
Fini Jastrow
514c27812a cheat-sheet: Improve icon-box list
[why]
There are 2.9 rows of icons shown.
This looks rather odd, with the last (3rd) row having their bottoms
removed.

[how]
Show instead 3.1 rows. This gives a visual hint to the user that
scrolling is possible (because the tops of the 4th row are shows), and
looks better with only 3 rows.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-04 12:44:46 +02:00
Fini Jastrow
b5bf856738 Update cheat sheet WITH removed icons (step 2)
This step adds just the stuff generated via script in the master branch.

See pairing commit in the gh-pages branch:
    Date:   Wed May 3 17:54:44 2023 +0200
    generate-css: Create cheat sheet with removed icons

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-04 12:44:46 +02:00
Fini Jastrow
01af9e8ab5 Update cheat sheet WITH removed icons
Update the cheat sheet to v3.0.0 but also show the removed icons of
v2.3.3. That style is .nfold (read: nf-old) and it is just hacked in.
I believe it can be removed later on, with 3.1.0 or something at least.

We also need the old (removed) icons as a font to display them despite
being removed. A small helper script 'archives' just the dropped glyphs
into a new webfont.
The script can be removed afterwards, this is a single run, archiving
the dropped after v2.3.3 icons.

See pairing commit in master branch:
    Date:   Wed May 3 17:54:44 2023 +0200
    generate-css: Create cheat sheet with removed icons

[note]
Also remove unused `nerd-fonts-generated.css`, wich confuses me every
time. It's sufficient to have it in the master branch for people, we do
not use it here.

f
2023-05-04 11:24:19 +02:00
GitHub Actions
c7ac5f7364 [ci] Regenerate contributors 2023-05-03 19:44:35 +00:00
Fini Jastrow
5d8c40d343 Fix typo in release summary
See #1201

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-03 21:43:43 +02:00
GitHub Actions
2aacf59a70 [ci] Regenerate contributors 2023-05-03 07:55:14 +00:00
GitHub Actions
278d2b1fd5 [ci] Regenerate contributors 2023-05-02 14:35:15 +00:00
Fini Jastrow
6d9a7f4561 Use shorter Arch link
Use more concise link for finding Nerd Fonts Arch Linux packages

By @polyzen, see #1183

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-02 16:01:28 +02:00
GitHub Actions
31889ef495 [ci] Sync fonts.json 2023-05-01 13:16:28 +00:00
Fini Jastrow
ee9fe35a9b Update Sankey diagram
[why]
The Octicons got expanded.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-01 15:06:16 +02:00
Fini Jastrow
634e151ca7 cheat-sheet: Add remark that update is still pending
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-01 00:39:44 +02:00
Fini Jastrow
92cbd5fd13 Update information for v3.0.0
Manually, because this changed so much, and some is still not clear how
to handle.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-01 00:30:42 +02:00
GitHub Actions
627f8a2b42 [ci] Sync fonts.json 2023-04-27 16:59:47 +00:00
Fini Jastrow
7d265161f0 Make Symbols-Only webfonts available stand alone
[why]
When people want to use the Symbols-Only webfont that we use for the
website directly (without hosting the css/woff files themselves) they
probably need a stub to access our css.

I have no clue what consequences this has for our traffic, and probably
we need to remove this if problems come up.

Origin of this is a request via gitter:

Mikle-Bond (Michael)
  Hello! I have a request about webfont. Can you make the
  nerd-fonts-generated{,.min}.css files available via
  https://www.nerdfonts.com/assets/css/ ? So that users could
  reference them directly and have SymbolsOnly variant of the
  font with classes names.

  I have found this [not linked here] message from a month ago,
  [in fact 2 years and 1 month] and my request could help that
  person too. They were having problem, as nerd-fonts-generated.css
  is only available via githubusercontent.com at the moment, and
  it doesn't point correctly to the font file. But it does so for
  nerdfonts.com website, after it gets bundled into combo.css.

[how]
Make nerd-fonts-generated.min.css availabe directly as
https://www.nerdfonts.com/assets/css/webfont.css.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-23 10:26:03 +02:00