Commit Graph

46 Commits

Author SHA1 Message Date
rektdeckard
363e86fada fix(a11y): use buttons for grid items 2024-12-05 00:55:13 -07:00
rektdeckard
697c6c836c feat(app): add copy unicode button 2024-02-01 03:24:22 -07:00
Tobias Fried
6a27ced40e Merge pull request #262 from Allen-1998/fix/layout
fix: homepage icon grid layout
2023-09-18 22:35:24 -06:00
allen
c774c8047a fix: gird template columns width 2023-09-19 12:08:10 +08:00
rektdeckard
358ad08165 feat(app): add option to download raw svg 2023-08-21 00:50:46 -06:00
allen
582a9e2fd5 fix: margin 2023-05-06 17:42:27 +08:00
allen
07e27cb0f9 fix: homepage icon grid layout 2023-05-06 16:25:37 +08:00
rektdeckard
e87c0da9da chore(app): og trick and selection fix 2023-03-23 16:57:45 -06:00
rektdeckard
1e95c69d43 feat(app): all the rest of the things 2023-03-22 23:38:25 -06:00
rektdeckard
bdc1996a07 feat(app): massive ui updates all over the place 2023-03-21 19:49:03 -06:00
rektdeckard
94e66c3893 feat(app): more homepage style updates 2023-03-13 12:21:55 -06:00
rektdeckard
85af26fd1c feat(app): various updates for v2.0.0 2023-03-08 01:08:32 -07:00
rektdeckard
d379cea5bc feat(app): banner, style tweaks 2023-03-08 01:07:01 -07:00
rektdeckard
345acafb45 feat(app): major refactorings and details footer updates 2023-03-08 01:07:01 -07:00
rektdeckard
eba876b3ea feat(app): new details footer appearance 2023-03-08 01:07:01 -07:00
rektdeckard
5e7f85ffdc feat(app): tabbed sticky details panel 2023-03-08 01:07:01 -07:00
rektdeckard
a885931831 app: Mobile grid improvements 2021-06-20 19:53:53 -04:00
rektdeckard
b8eac52689 App: browser compat updates 2021-05-30 23:31:26 -04:00
rektdeckard
d0c4891480 IconGrid: potentially stupid-big loadtime gains
By adding 'content-visibility: auto;' we were able to see an 8x
improvement on rendering time and a 25x improvement on paint times for
first load. We may need to do some work to bring similar gains to
non-Chrome useragents.
2020-11-05 16:47:13 -05:00
rektdeckard
783f5077fb Notice: prevent whitespace wrap 2020-10-12 22:48:44 -04:00
rektdeckard
87f5aacf7d EmptyState: match padding to IconGrid 2020-10-09 11:28:34 -04:00
rektdeckard
2487b47c65 IconGrid: add TagCloud on empty search 2020-10-07 16:00:27 -04:00
rektdeckard
3a97005b72 App: make images unselectable and undraggable 2020-10-05 02:32:50 -04:00
rektdeckard
50b603b525 InfoPanel: massive overhaul to support mobile size and PNG download
This patch reworks the mobile breakpoint to allow whitespace wrapping of
code snippets and does away with horizontal scroll. Overall, the
usability and intuitiveness is much better, though readability of the
code itself takes a hit.

In addition, we added the ability to download an icon as a PNG thanks to
the svg2png-converter library. PNGs adopt the current preview weight and
color, and are sized at 256x256.
2020-10-04 23:15:51 -04:00
rektdeckard
bc8c00df3d IconGrid: stop icon preview from bounding on panel open 2020-10-04 16:13:00 -04:00
rektdeckard
2870f20ddf Header+Footer: further implement new spec 2020-10-04 01:30:15 -04:00
rektdeckard
fc685bae84 Warn: properly ellide error message text 2020-09-28 03:30:32 -04:00
rektdeckard
9f3ec2d9d6 IconGrid: handle text overflow on empty search 2020-09-27 22:16:47 -04:00
rektdeckard
3fdc7bb87a InfoPanel: indicate lack of support for duotone weight in JS lib
While phosphor-icons uses an icon font implementation, we won't be able
to provide the duotone weight in that library. We now indicate lack of
support by disabling the code snippet and copy button.
2020-09-27 13:47:49 -04:00
rektdeckard
55bab04497 SearchInput+IconGrid: scroll to top of grid on search change
When the debounced search query changes, scroll to the top of the grid
if the query is not the empty string. This has the same smooth behavior
as the scroll buttons, which is not currently available on WebKit.
2020-09-26 00:41:48 -04:00
rektdeckard
3c0ab1a051 IconGrid: improve empty-state rendering and animation
When search returns no results, the empty-list state now adopts the
current color theme and animates in. The IconGrid also takes up a
minimum of 80vh vertical space, whether the list is populated or empty.
2020-09-13 15:45:14 -04:00
rektdeckard
e1c4a72026 IconGrid: add overflow scroll on mobile breakpoint 2020-08-18 14:15:36 -04:00
rektdeckard
1d2bacd899 InfoPanel: make snippets keyboard-navigable and autoselected
Code snippets can now be navigated to be keyboard. Additionally,
focusing this way or by single-clicking will select the entire snippet
contents by default, then after a 50ms delay, allow for normal text
selection. This is a better experience for copying, especially on
mobile.
2020-08-17 13:06:05 -04:00
rektdeckard
192eb5b8eb InfoPanel: add breakpoints that simplify panel on mobile 2020-08-17 02:53:18 -04:00
rektdeckard
8faf7be451 IconGrid: switch to fill-style icon buttons 2020-08-17 02:19:55 -04:00
rektdeckard
37d80d4b9d IconGrid: extract some inline styles 2020-08-15 20:02:55 -04:00
rektdeckard
ae4d6bedd2 IconGrid: revise grid item hover/active state styles 2020-08-07 14:43:33 -04:00
rektdeckard
0af7c55ed7 IconGrid: fix padding 2020-08-03 22:25:05 -04:00
rektdeckard
6b868aa59b IconGrid: adjust grid item and info panel hover/active states
This is now in compliance with the spec, using a single color with
opacity to render open/hovered/active GridItems and InfoPanels. We also
properly show background on open GridItems.
2020-08-03 18:22:41 -04:00
Tobias Fried
d1f22a3dbc ErrorBoundary: add error boundary to IconGrid 2020-07-31 20:01:25 -04:00
rektdeckard
6941250d10 IconGrid: massive refactor including component extraction
This patch extracts InfoPanel from IconGridItem, adds style tweaks to
match the spec, and in general reduces prop-drilling by tapping into
recoil state for most config, and making use of IconContext to style
member icons where appropriate :)
2020-07-29 12:27:50 -04:00
rektdeckard
ecb51191d8 Massive interactivity updates to all components 2020-07-24 14:40:07 -04:00
rektdeckard
19d9b8c7d2 Scaffold out UI components 2020-07-21 23:07:52 -04:00
Tobias Fried
016e6d987b Experiment with virtualization and Framer Motion 2020-07-19 17:51:35 -04:00
Tobias Fried
e1dfe6aed1 IconGrid: experiment with various list virtualization libraries 2020-07-17 13:24:00 -04:00
Tobias Fried
3a9cf5dc99 Initial commit 2020-07-14 17:41:45 -04:00