Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
780 commits
Select commit Hold shift + click to select a range
b6e0985
Merge pull request #320 from hashicorp/flight-icons-1.2.0
Dhaulagiri Oct 19, 2021
d7c7fbd
use flight-icons 1.2.0
Dhaulagiri Oct 19, 2021
9e5b16d
Merge pull request #321 from hashicorp/br-icon-update
Dhaulagiri Oct 19, 2021
98d2fb3
Merge pull request #306 from hashicorp/amy/update-peer-deps
Dhaulagiri Oct 21, 2021
6d8330e
create sync & build github action
Dhaulagiri Oct 19, 2021
4c37ed2
added “bump” step to github workflow for sync icons
didoo Oct 20, 2021
66a2349
update action name
Dhaulagiri Oct 21, 2021
986428d
update docs with reference to new action
Dhaulagiri Oct 21, 2021
6e0f966
clarify whose token we are using
Dhaulagiri Oct 22, 2021
04dd147
Merge pull request #322 from hashicorp/br-icon-action
Dhaulagiri Oct 25, 2021
7b84f59
copied assets from dev-portal branch (so can compare expected vs gene…
didoo Oct 26, 2021
f37892e
added build step for SVG/React icons
didoo Oct 27, 2021
8b83499
re-generated all icons to update the original SVG-React files from de…
didoo Oct 27, 2021
0b116c2
added “aria-hidden” attribute to SVG for better accessibility (when t…
didoo Oct 27, 2021
4c6c195
cleaned up code after call with Bryce Kalow
didoo Oct 27, 2021
6efa723
update types definition for SVG React icons
didoo Oct 27, 2021
a32a36f
added generation of ID for title
didoo Oct 28, 2021
3c0ce19
Update flight-icons/scripts/build-parts/generateBundleSVGReact.ts
didoo Oct 28, 2021
ab76c50
Merge pull request #325 from hashicorp/324-export-react-icons
didoo Oct 29, 2021
21c6014
regenerated icons for SVG/React
didoo Oct 29, 2021
afe57c7
bumped “flight-icons” version to 1.3.0
didoo Oct 29, 2021
d399455
Merge pull request #326 from hashicorp/bump-flight-icons-version
didoo Nov 1, 2021
2f0e32b
added support for the “stretched” prop in the “FlightIcon” Ember addon
didoo Nov 3, 2021
1d35c5d
updated “percy-test” page
didoo Nov 3, 2021
ee305e6
updated documentation
didoo Nov 3, 2021
a0dcab2
fixed hbs linting issue
didoo Nov 4, 2021
7b23c52
fixed + updated + added tests
didoo Nov 4, 2021
59e6d7a
Fixed class name
didoo Nov 4, 2021
46825c0
fixed unit tests + added new test
didoo Nov 4, 2021
f391fa4
fixed bug where the default value of “isInlineBlock” was not true
didoo Nov 4, 2021
c0d3a5a
Merge pull request #328 from hashicorp/327-ember-flight-icon_liquid-size
didoo Nov 5, 2021
dcefdc3
bumped “ember-flight-icons” to 1.2.0
didoo Nov 5, 2021
79cb7aa
Update issue template for
didoo Nov 5, 2021
6ea29fd
Merge pull request #329 from hashicorp/bump-version
didoo Nov 8, 2021
847d12d
Merge pull request #332 from hashicorp/didoo-patch-1
didoo Nov 8, 2021
b5166c0
Update "Icon Request" issue template
didoo Nov 10, 2021
38a393e
Merge pull request #333 from hashicorp/didoo-patch-1
didoo Nov 11, 2021
ecc2105
fixed bug in flight-icon.js
didoo Nov 24, 2021
07d231f
bumped `ember-flight-icon` addon version to 1.2.1
didoo Nov 24, 2021
641d3cd
updated integration tests
didoo Nov 24, 2021
1254c3c
Merge pull request #336 from hashicorp/fix-bug-in-flight-icon-js
didoo Nov 26, 2021
bbd84e2
add “Products” to the list of frames to parse
didoo Dec 7, 2021
504a141
synced icons with latest version in figma file
didoo Dec 7, 2021
28f22fb
regenerated icons in output
didoo Dec 7, 2021
a75b579
bumped version 2.0.0
didoo Dec 7, 2021
ab82918
Merge pull request #341 from hashicorp/add-product-icons
didoo Dec 7, 2021
607766f
bumped dependency for `ember-flight-icons`
didoo Dec 7, 2021
a57678d
updated `ember-flight-icon` package version to 1.2.2
didoo Dec 7, 2021
4150fda
updated `ember-flight-icon` package version to 2.0.0
didoo Dec 7, 2021
e934dda
Merge pull request #342 from hashicorp/bump-ember-flight-icon
didoo Dec 7, 2021
1b204ea
added hcp icon
didoo Dec 8, 2021
896a338
bumped version to 2.0.1
didoo Dec 8, 2021
0abdf09
Merge pull request #345 from hashicorp/add-hcp-icon
didoo Dec 8, 2021
0f81b86
add note on structure-icons mapping
Dhaulagiri Dec 9, 2021
5ac059c
add mapping information to docs site
Dhaulagiri Dec 10, 2021
03d953e
Merge pull request #347 from hashicorp/Dhaulagiri-patch-1
Dhaulagiri Dec 10, 2021
c0464ba
added generation of ZIP file for SVG icons
didoo Dec 16, 2021
62d12a5
improved code organization
didoo Dec 16, 2021
654f617
updated the documentation to mention the ZIP file
didoo Dec 16, 2021
b79499a
test to see where the ZIP file needs to be stored
didoo Dec 16, 2021
edde996
finalized link
didoo Dec 16, 2021
c948c5d
updated target path
didoo Dec 16, 2021
a2f9d9c
Merge pull request #349 from hashicorp/add-zip-file-for-marketing
didoo Dec 17, 2021
2287de3
Fix link
amyrlam Dec 21, 2021
ce18f2b
Merge pull request #352 from hashicorp/amy/doc-tweaks
Dhaulagiri Dec 21, 2021
7cbad10
Streamline template
amyrlam Dec 21, 2021
5ce8484
Tweak further from PR feedback
amyrlam Dec 21, 2021
1502fdf
update design to include keywords and ember/react names
Dhaulagiri Dec 22, 2021
7ede319
remove unused iconHbsCode function
Dhaulagiri Dec 22, 2021
2aad9be
Merge pull request #353 from hashicorp/amy/tweak-pr-template
amyrlam Dec 22, 2021
d6258f9
remove unused updateSelectedItem function
Dhaulagiri Dec 22, 2021
cea968a
Merge pull request #354 from hashicorp/design-refresh
Dhaulagiri Dec 22, 2021
3611b83
Merge pull request #355 from hashicorp/Dhaulagiri-patch-1
Dhaulagiri Dec 22, 2021
6624fba
Bump package, adds "hcp" icon
amyrlam Dec 22, 2021
570c071
Merge pull request #356 from hashicorp/amy/bump-package
Dhaulagiri Dec 22, 2021
e865dc5
search query params
Dhaulagiri Dec 22, 2021
792e6b3
remove dead code
Dhaulagiri Dec 22, 2021
76247d6
yarn add -D ember-concurrency
Dhaulagiri Dec 22, 2021
4035155
use ember-concurrency to handle debouncing
Dhaulagiri Dec 22, 2021
ef4b2d2
bind query param to search input
Dhaulagiri Dec 22, 2021
2a44640
remove unused set
Dhaulagiri Dec 22, 2021
f91c3b6
add MVP empty state
Dhaulagiri Dec 22, 2021
e7890f4
always search, even if there is no query
Dhaulagiri Dec 22, 2021
0781ff9
Add qp test
amyrlam Dec 23, 2021
0018e53
Improve test
amyrlam Dec 23, 2021
4ccd787
Add dependabot for HashiCorp packages
amyrlam Dec 23, 2021
948b773
Merge pull request #359 from hashicorp/amy/dependabot
amyrlam Dec 23, 2021
d521759
add test for no results
Dhaulagiri Dec 23, 2021
a0cd27b
Merge pull request #358 from hashicorp/br-query
Dhaulagiri Jan 3, 2022
b63dc3a
ember new website
Dhaulagiri Dec 23, 2021
d86e435
move ci to correct location
Dhaulagiri Dec 23, 2021
15ebc4c
git mv ember-flight-icons website files to website/
Dhaulagiri Dec 23, 2021
716dbb8
transfer ember-cli-build config
Dhaulagiri Dec 23, 2021
c0b2a38
migrate npm packages from addon to website
Dhaulagiri Dec 23, 2021
4adea9a
git mv ember-flight-icons/tests/dummy/public/assets/ website/public/
Dhaulagiri Dec 23, 2021
c766784
git mv ember-flight-icons/tests/acceptance/ website/tests/
Dhaulagiri Dec 23, 2021
c32f23f
maintain app.css for dummy app
Dhaulagiri Dec 23, 2021
ccecf6b
mpl license
Dhaulagiri Dec 23, 2021
8a5f54a
update title
Dhaulagiri Dec 23, 2021
c69bbea
set working directory for CI
Dhaulagiri Dec 24, 2021
7f51019
remove ember-composable-helpers
Dhaulagiri Dec 24, 2021
75ef69a
address no-html-comments linting issues
Dhaulagiri Dec 24, 2021
c2a7fe2
yarn add -D ember-test-selectors
Dhaulagiri Dec 24, 2021
178e3e8
restore default dummy app template
Dhaulagiri Dec 24, 2021
d9d8c55
add meta information to package.json
Dhaulagiri Dec 24, 2021
d8ad33f
use website for folder scripts write to
Dhaulagiri Dec 24, 2021
411a23e
docs updates
Dhaulagiri Dec 24, 2021
95df7c6
add website to dependabot
Dhaulagiri Jan 3, 2022
fd0cf9a
add percy to website
Dhaulagiri Jan 5, 2022
9cd1c8b
restore percy-test in ember-flight-icons
Dhaulagiri Jan 5, 2022
ca029ea
used inline styles for “percy-test” page
didoo Jan 6, 2022
148392e
prettier fix
didoo Jan 6, 2022
77c0992
use separate token for website snapshots
Dhaulagiri Jan 6, 2022
b9300ce
Merge pull request #361 from hashicorp/br-website
Dhaulagiri Jan 6, 2022
8fc8d60
update year in footer
Dhaulagiri Jan 6, 2022
2301f28
restore embroider tests
Dhaulagiri Jan 6, 2022
8c48c6b
Merge pull request #363 from hashicorp/Dhaulagiri-patch-1
Dhaulagiri Jan 6, 2022
0623a8a
copy prettier config from ember-flight-icons
Dhaulagiri Jan 10, 2022
e9656c4
yarn lint:hbs --fix
Dhaulagiri Jan 10, 2022
50e848b
Merge pull request #368 from hashicorp/br-prettier
Dhaulagiri Jan 10, 2022
d5001ec
Copy polish
amyrlam Jan 8, 2022
1ecbb79
Add language for a11y
amyrlam Jan 8, 2022
bc74f89
Fix links on index
amyrlam Jan 8, 2022
92d8b0d
`yarn run lint:hbs:fix` from rebase
amyrlam Jan 10, 2022
8c8a557
Merge pull request #366 from hashicorp/amy/ember-prism
amyrlam Jan 10, 2022
fa690c4
Merge pull request #364 from hashicorp/br-embroidery
Dhaulagiri Jan 10, 2022
2db66c8
updated assignee
didoo Jan 11, 2022
992c28e
Update CodeBlock syntax
amyrlam Jan 12, 2022
96cdf38
Merge pull request #373 from hashicorp/update-issue-template
didoo Jan 12, 2022
f7a2d7d
Merge pull request #375 from hashicorp/amy/update-ember-prism
amyrlam Jan 12, 2022
f1a899a
Revert "create sync & build github action"
Dhaulagiri Dec 20, 2021
df55376
Merge pull request #377 from hashicorp/revert-322-br-icon-action
Dhaulagiri Jan 13, 2022
d9530e5
Bump follow-redirects from 1.14.6 to 1.14.7 in /website
dependabot[bot] Jan 13, 2022
7e85b54
Bump follow-redirects from 1.14.3 to 1.14.7 in /flight-icons
dependabot[bot] Jan 13, 2022
02513d4
Bump follow-redirects from 1.14.1 to 1.14.7 in /ember-flight-icons
dependabot[bot] Jan 13, 2022
e3766a0
Merge pull request #379 from hashicorp/dependabot/npm_and_yarn/flight…
amyrlam Jan 13, 2022
e8ac494
Merge pull request #378 from hashicorp/dependabot/npm_and_yarn/websit…
amyrlam Jan 13, 2022
2b2dccc
Merge pull request #380 from hashicorp/dependabot/npm_and_yarn/ember-…
amyrlam Jan 13, 2022
43c3823
Bump engine.io from 6.1.0 to 6.1.1 in /website
dependabot[bot] Jan 13, 2022
87dc4b7
Merge pull request #381 from hashicorp/dependabot/npm_and_yarn/websit…
Dhaulagiri Jan 13, 2022
2d3e081
add “animated” frame to config
didoo Jan 14, 2022
a8c01ef
synced icons from figma (vault + codepen)
didoo Jan 14, 2022
d9d4fd4
removed wrong icons from catalog.json
didoo Jan 14, 2022
69fa250
regenerated icons in output
didoo Jan 14, 2022
3f6535a
bumped version 2.0.2
didoo Jan 14, 2022
d176525
re-comitted zip file
didoo Jan 14, 2022
3338e50
synced icons from figma - added “running” + “loading” icons
didoo Jan 14, 2022
cf1671d
Merge pull request #382 from hashicorp/372-update-vault-icon
didoo Jan 17, 2022
137d0c1
Merge branch 'main' into 282-loading-and-run-animated-icons
didoo Jan 17, 2022
6de4b4e
added “cheerio” as dependency
didoo Jan 17, 2022
4a6bab3
generalized the “optimise” function to include also adding custom SVG…
didoo Jan 17, 2022
9028e4b
re-generated icons in output (now they contain the animation)
didoo Jan 17, 2022
daaefc9
bumped version 2.0.3
didoo Jan 17, 2022
cd57d31
Bump @hashicorp/flight-icons from 2.0.1 to 2.0.2 in /website
dependabot[bot] Jan 17, 2022
ee5a27b
Bump @hashicorp/flight-icons from 2.0.1 to 2.0.2 in /ember-flight-icons
dependabot[bot] Jan 17, 2022
56b2379
Merge pull request #384 from hashicorp/dependabot/npm_and_yarn/websit…
didoo Jan 17, 2022
aa87736
Merge pull request #385 from hashicorp/dependabot/npm_and_yarn/ember-…
didoo Jan 17, 2022
e37d1ec
Merge branch 'main' into 282-loading-and-run-animated-icons
didoo Jan 18, 2022
98dba43
updated engineering documentation to better specify how React devs ca…
didoo Jan 21, 2022
c4cd343
Update website/app/templates/engineering.hbs
didoo Jan 21, 2022
0ab36f2
Update website/app/templates/engineering.hbs
didoo Jan 21, 2022
9a1afe9
Update website/app/templates/engineering.hbs
didoo Jan 21, 2022
e9ddd9e
fixed linting
didoo Jan 21, 2022
26aebd1
Bump nanoid from 3.1.25 to 3.2.0 in /ember-flight-icons
dependabot[bot] Jan 22, 2022
ab30819
Bump nanoid from 3.1.30 to 3.2.0 in /website
dependabot[bot] Jan 22, 2022
21a4cb7
Merge pull request #389 from hashicorp/update-docs-for-devs-to-clarif…
didoo Jan 24, 2022
3a800df
updated documentation after feedback
didoo Jan 24, 2022
e9e9fd0
fixed icons/variables names
didoo Jan 24, 2022
1ab6bd6
Merge branch 'main' into 282-loading-and-run-animated-icons
didoo Jan 24, 2022
d17aeab
reverted all changes
didoo Jan 24, 2022
c4c1c35
Update website/app/templates/engineering.hbs
didoo Jan 25, 2022
c3720f8
refactored the ember-flight-icon to have a function returning the cla…
didoo Jan 25, 2022
1dd9402
added CSS animation for “loading” and “running” icons in the “ember-f…
didoo Jan 25, 2022
86cc2e3
added extra wrapper to the icons in the website index page to avoid t…
didoo Jan 25, 2022
ce98474
Revert some changes to the previous commit to reduce noise
didoo Jan 25, 2022
b1a898c
Merge pull request #392 from hashicorp/update-docs-for-react-devs
didoo Jan 25, 2022
859798d
Merge branch 'main' into 282-loading-and-run-animated-icons
didoo Jan 25, 2022
588c533
chore: Update structure mappings to correct missing icons
Jan 27, 2022
69d339e
fixed CSS animation naming
didoo Jan 27, 2022
475a9c1
updated bundles generation for “svg” and “svg-react” to include also …
didoo Jan 27, 2022
9a83404
updated bundle generation for “svg” and “svg/react” to add specific c…
didoo Jan 27, 2022
f839145
updated documentation to include instructions on how to use the anima…
didoo Jan 27, 2022
5d27db1
fix for test
didoo Jan 27, 2022
71be888
change refresh-default to refresh not sync
Jan 28, 2022
0cafc39
Update structure-mappings.json
johncowen Jan 28, 2022
c15fde9
Add some missing logos
Jan 28, 2022
7ae604e
Merge pull request #390 from hashicorp/dependabot/npm_and_yarn/ember-…
Dhaulagiri Feb 1, 2022
3ac24dc
Merge pull request #391 from hashicorp/dependabot/npm_and_yarn/websit…
Dhaulagiri Feb 1, 2022
80b6d27
Bump node-fetch from 2.6.6 to 2.6.7 in /website
dependabot[bot] Feb 1, 2022
65f102d
Merge pull request #394 from hashicorp/dependabot/npm_and_yarn/websit…
Dhaulagiri Feb 1, 2022
7cfe501
Bump node-fetch from 2.6.1 to 2.6.7 in /ember-flight-icons
dependabot[bot] Feb 1, 2022
8280976
Merge pull request #395 from hashicorp/dependabot/npm_and_yarn/ember-…
Dhaulagiri Feb 1, 2022
741f76c
added icons “bulb” + “enterprise” + “wand”
didoo Feb 2, 2022
6915ecf
regenerated output assets
didoo Feb 2, 2022
a89ede8
bumped version 2.0.3
didoo Feb 2, 2022
93bdd53
Merge pull request #396 from hashicorp/339-340-387-new-icons
didoo Feb 2, 2022
7ffc8e7
added slow animation for all users
didoo Feb 2, 2022
80cc446
Merge branch 'main' into 282-loading-and-run-animated-icons
didoo Feb 2, 2022
7a2b3ae
bumped version 2.1.0
didoo Feb 2, 2022
64fd65d
Merge pull request #383 from hashicorp/282-loading-and-run-animated-i…
didoo Feb 2, 2022
79a99b3
triangle, circle > *-fill
Feb 3, 2022
55fa7d4
Bump @hashicorp/flight-icons from 2.0.2 to 2.1.0 in /ember-flight-icons
dependabot[bot] Feb 3, 2022
23a125d
Bump @hashicorp/flight-icons from 2.0.2 to 2.1.0 in /website
dependabot[bot] Feb 3, 2022
a9b702e
Merge pull request #400 from hashicorp/dependabot/npm_and_yarn/websit…
Dhaulagiri Feb 3, 2022
1e9b91a
Merge pull request #399 from hashicorp/dependabot/npm_and_yarn/ember-…
Dhaulagiri Feb 3, 2022
0205fdd
bumped “ember-flight-icon” to 2.0.1
didoo Feb 3, 2022
1996a5c
Merge pull request #401 from hashicorp/bump-ember-flight-icon-version
didoo Feb 3, 2022
221241c
bumped website dependency
didoo Feb 3, 2022
6553827
Merge pull request #402 from hashicorp/bump-website-dependencies
Dhaulagiri Feb 3, 2022
76eebf1
Update structure-mappings.json
Dhaulagiri Feb 3, 2022
832ec5b
Merge pull request #403 from hashicorp/Dhaulagiri-patch-1
Dhaulagiri Feb 3, 2022
5e8fc9a
Bump mout from 1.2.2 to 1.2.3 in /ember-flight-icons
dependabot[bot] Feb 9, 2022
5c6771b
Merge pull request #404 from hashicorp/dependabot/npm_and_yarn/ember-…
Dhaulagiri Feb 10, 2022
5fb7f90
Merge pull request #393 from hashicorp/update-mappings
Dhaulagiri Feb 10, 2022
68cde75
Update icon template
heatherlarsen Feb 10, 2022
952ad81
update ember-flight-icons to ember-source 3.28.8
Dhaulagiri Feb 11, 2022
7dec4d3
npx ember-cli-update 4.1
Dhaulagiri Feb 11, 2022
5092c8c
update ember-flight-icons github ci config to match ember defaults
Dhaulagiri Feb 11, 2022
cd06dca
yarn lint:hbs --fix
Dhaulagiri Feb 11, 2022
758f07f
Merge pull request #406 from hashicorp/heather-icon-template
Dhaulagiri Feb 11, 2022
52296a6
Merge pull request #408 from hashicorp/br-ember-update
Dhaulagiri Feb 11, 2022
f543224
website: npx ember-cli-update 4.1
Dhaulagiri Feb 11, 2022
6072968
Merge pull request #409 from hashicorp/br-website-4.1
Dhaulagiri Feb 11, 2022
f414df5
remove unnused efl github action
Dhaulagiri Feb 11, 2022
9bb39c1
update concurrency
Dhaulagiri Feb 11, 2022
f271126
Bump follow-redirects from 1.14.7 to 1.14.8 in /ember-flight-icons
dependabot[bot] Feb 14, 2022
7a28c9c
Bump follow-redirects from 1.14.7 to 1.14.8 in /flight-icons
dependabot[bot] Feb 14, 2022
8d5d07e
Merge pull request #412 from hashicorp/dependabot/npm_and_yarn/ember-…
Dhaulagiri Feb 14, 2022
9bef524
Merge pull request #413 from hashicorp/dependabot/npm_and_yarn/flight…
Dhaulagiri Feb 14, 2022
93789f3
Bump follow-redirects from 1.14.7 to 1.14.8 in /website
dependabot[bot] Feb 14, 2022
36adf82
Merge pull request #414 from hashicorp/dependabot/npm_and_yarn/websit…
Dhaulagiri Feb 14, 2022
540577b
Merge pull request #410 from hashicorp/br-tests
Dhaulagiri Feb 16, 2022
b72bbe0
add empty readme
Dhaulagiri Feb 18, 2022
2832934
create .gitignore
Dhaulagiri Feb 18, 2022
ef87e96
initial yarn workspace
Dhaulagiri Feb 18, 2022
1931532
added “amazon-ecs” and “amazon-ecs-color” icons
didoo Feb 23, 2022
cdf1b38
added “service” icon
didoo Feb 23, 2022
911373e
extra updates from Figma sync
didoo Feb 23, 2022
9b144bc
regenerated assets in output
didoo Feb 23, 2022
aa3b4ea
bumped version 2.1.1
didoo Feb 23, 2022
768c4ea
updated the dependency of flight-icon in “ember-flight-icon”
didoo Feb 23, 2022
151970a
bumped “ember-flight-icon” version 2.0.2
didoo Feb 23, 2022
55fd942
updated the dependency of flight-icons and ember-flight-icon in “webs…
didoo Feb 23, 2022
0ee8277
Merge pull request #415 from hashicorp/348-amazon-ecs__397-service
didoo Feb 23, 2022
ffc6d81
Bump prismjs from 1.25.0 to 1.27.0 in /website
dependabot[bot] Feb 26, 2022
8774669
Merge pull request #416 from hashicorp/dependabot/npm_and_yarn/websit…
Dhaulagiri Mar 1, 2022
27b09d9
Merge flight into design system monorepo
Dhaulagiri Mar 1, 2022
11b7b29
move yarn install to root
Dhaulagiri Mar 1, 2022
ff56319
move .github
Dhaulagiri Mar 1, 2022
3afebe1
move flight website to flight-website
Dhaulagiri Mar 1, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# These owners will be requested for
# review when someone opens a pull request.
#
# Table CODEOWNERS for now, maybe add back later
#
# * @hashicorp/design-systems
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/icon-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Icon Request
about: Suggest an icon for Flight
title: 'Flight Icon Request: [icon-name]'
labels: enhancement, Icon Request, triage
assignees: cveigt

---

**Outline the use case for the new icon.**
A clear and concise description of the icon you want added.

**If there's a similar existing icon, why isn't it a good fit? Please describe.**
A clear and concise description of what the problem is. Ex. I can't use X icon because [...]

**Describe alternatives you've considered.**
A clear and concise description of any alternatives you've considered.

**Screenshots**
Add screenshots of the icon in context, if possible.

**Figma**
Add links to the relevant Figma files where this icon is used, if possible.

**Additional context**
Add any other relevant context.
19 changes: 19 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm"
directory: "packages/ember-flight-icons/"
versioning-strategy: increase
schedule:
interval: "daily"
allow:
- dependency-name: "@hashicorp/*"
- package-ecosystem: "npm"
directory: "packages/website/"
versioning-strategy: increase
schedule:
interval: "daily"
allow:
- dependency-name: "@hashicorp/*"

21 changes: 21 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## :pushpin: Summary

<!-- If merged, this PR....
This should be a short TL;DR that includes the purpose of the PR.
-->

## :hammer_and_wrench: Detailed Description

<!-- If more details are appropriate, add them here. What code changed, and why? -->

## :camera_flash: Screenshots

<!-- Screenshots always help, especially if this PR will change what renders to the browser -->

## :link: External Links

<!-- Issues, RFC, etc. -->

***

:speech_balloon: Please consider using [conventional comments](https://conventionalcomments.org/) when reviewing this PR.
88 changes: 88 additions & 0 deletions .github/workflows/ci-ember-flight-icons.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: CI - Ember Flight Icons

defaults:
run:
working-directory: packages/ember-flight-icons
on:
push:
branches:
- main
pull_request: {}

env:
NODE_VERSION: '12.x'

concurrency:
group: ci-ember-flight-icons-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
test:
name: "Tests"
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
cache: yarn
cache-dependency-path: yarn.lock
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Lint
run: yarn run lint
- name: Run Tests
run: yarn run test:ember:percy
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}

floating:
name: "Floating Dependencies"
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
cache: yarn
cache-dependency-path: yarn.lock
- name: Install Dependencies
run: yarn install --no-lockfile --non-interactive
- name: Run Tests
run: yarn run test:ember:percy
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}

try-scenarios:
name: ${{ matrix.try-scenario }}
runs-on: ubuntu-latest
needs: 'test'

strategy:
fail-fast: false
matrix:
try-scenario:
- ember-lts-3.24
- ember-lts-3.28
- ember-release
- ember-beta
# - ember-canary
- ember-classic
- embroider-safe
- embroider-optimized

steps:
- uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
cache: yarn
cache-dependency-path: yarn.lock
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Run Tests
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}
51 changes: 51 additions & 0 deletions .github/workflows/ci-website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: CI - Flight Website

defaults:
run:
working-directory: packages/flight-website
on:
push:
branches:
- main
pull_request: {}

concurrency:
group: ci-flight-website-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
lint:
name: "Lint"
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: 12.x
cache: yarn
cache-dependency-path: yarn.lock
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint

test:
name: "Test"
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: 12.x
cache: yarn
cache-dependency-path: yarn.lock
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Run Tests
run: yarn test:ember:percy
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_WEBSITE }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.env
.DS_Store
node_modules/
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# HashiCorp Design System
10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "@hashicorp/design-system",
"private": true,
"version": "0.0.0",
"dependencies": {
},
"workspaces": [
"./packages/*"
]
}
10 changes: 10 additions & 0 deletions packages/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.env
.DS_Store
node_modules/
flight-icons/temp

# Output of `npm pack`, which is an (optional) test for `npm publish`
*.tgz

# For Percy command line testing
snapshots.yml
13 changes: 13 additions & 0 deletions packages/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# How To Contribute

[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)

We welcome contributions from external members of the team! We encourage you to float the idea for your PR first, via a GitHub issue or a post in Slack.

## @hashicorp/flight-icons

See [flight-icons/CONTRIBUTING](flight-icons/CONTRIBUTING.md) guide for details on how to use the "sync/build/release" scripts, that export the assets from Figma and generate a bundle of standalone SVG files.

## @hashicorp/ember-flight-icons

See [ember-flight-icons/CONTRIBUTING](ember-flight-icons/CONTRIBUTING.md) guide for details on how to build, test and release the Ember addon.
32 changes: 32 additions & 0 deletions packages/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Flight Icons

| Package | Version |
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------- |
| **[@hashicorp/flight-icons](./flight-icons/)** <br />Flight Icon svgs | [![npm version](https://badge.fury.io/js/%40hashicorp%2Fflight-icons.svg)](https://badge.fury.io/js/%40hashicorp%2Fflight-icons) |
| **[@hashicorp/ember-flight-icons](./ember-flight-icons/)** <br />Ember.js addon with `<FlightIcon />` component | [![npm version](https://badge.fury.io/js/%40hashicorp%2Fember-flight-icons.svg)](https://badge.fury.io/js/%40hashicorp%2Fember-flight-icons) |

## Installation and Usage Instructions

The micro-site for this project is [https://flight-hashicorp.vercel.app](https://flight-hashicorp.vercel.app)

Instructions for installation and use are available, as well as a searchable list of available icons and the documentation for designers and developers.

## Contributing

See the [CONTRIBUTING](CONTRIBUTING.md) guide for details.

## Releasing

See the [RELEASE](RELEASE.md) guide for details.

## Migrating from structure-icons

If you are using [structure-icons](https://github.com/hashicorp/structure-icons) in your project there is a 1:1 mapping for almost all icons between structure and Flight that is maintained in [structure-mappings](structure-mappings.json). The file is a series of key-value pairs where the key is the name of the icon in structure-icons and the value is the name of the icon in Flight.

## License

This project is licensed under the [Mozilla Public License 2.0](LICENSE.md).

## Versioning

We use [SemVer](http://semver.org/) for versioning.
101 changes: 101 additions & 0 deletions packages/RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
# How To Release

In this repository there are different artefacts that can be released:

* the `flight-icons` npm package - [npmjs.com/package/@hashicorp/flight-icons](https://www.npmjs.com/package/@hashicorp/flight-icons)
* the `ember-flight-icons` npm package - [npmjs.com/package/@hashicorp/ember-flight-icons](https://www.npmjs.com/package/@hashicorp/ember-flight-icons)
* the Flight Icons micro-website - [flight-hashicorp.vercel.app/](https://flight-hashicorp.vercel.app/)

Follow the instruction below to see how to release each one of them.

_Remember: Once released a package on the public registry, you can't revert the changes: the only solution is to deprecate the package (this will hide it from the public, but remains there)._

## Release `flight-icons` or `ember-flight-icons`

Whenever there is an update to the Flight Icons library in Figma (e.g. a new icon is added), these changes need to be transfered also to the code. This means re-syncing and re-building the `flight-icons` package and once these changes have been approved, release the package to the npm registry.

Please see the instructions in the [flight-icons/CONTRIBUTING](flight-icons/CONTRIBUTING.md) or [ember-flight-icons/CONTRIBUTING](ember-flight-icons/CONTRIBUTING.md) files for more details about how to setup the project and make changes to the code for these packages.

## Bump

The "bump" step increases the _SemVer_ version number in the `package.json` file.

* Make sure your local `main` branch is up to date.
* Create new custom branch from `main`.
* `cd /flight/flight-icons` or `cd /flight/ember-flight-icons`
* Run `yarn bump` and choose the _SemVer_ version as agreed upon on the previous PR.
* _The `bump` command is interactive, you can move up and down with the keyboard, choose one option, and then hit "enter": the tool will automatically update the version in the `package.json` file for you._
* Check the `git diff` for the project, you should see only the `package.json` file changed (with the new version).
* Commit, push, open a pull request, and wait for approval.

Once the PR has been approved and merged, you can finally move to the next step, the actual release.

## Release

The "release" step publishes the package on the npm registry, using the version declared in the `package.json` file, and [tags](https://www.atlassian.com/git/tutorials/inspecting-a-repository/git-tag) that specific release on git.

_**IMPORTANT**: if you need to do some tests, use a **local** package registry (see below), don't test directly in production!_

* Make sure your local `main` branch is up to date.
* You will need a company-approved 2FA-enabled account on npm to publish (see [npm 2FA docs](https://docs.npmjs.com/configuring-two-factor-authentication) for more info).
* `cd /flight/flight-icons` or `cd /flight/ember-flight-icons`
* `yarn release`
* Check the git diff, you should not see any change.

**Notice**: this action will automatically:

* publish the new version of the package on the [NPM registry](https://www.npmjs.com/) using the current _SemVer_ version declared in the `package.json` file (the one previously chosen in the `bump` step).
* tag the current last commit in the `main` branch and push the tag to the git origin

At this point check on npm that the package ([@hashicorp/flight-icons](https://www.npmjs.com/package/@hashicorp/flight-icons) or [hashicorp/ember-flight-icons](https://www.npmjs.com/package/@hashicorp/ember-flight-icons)) has been successfully published, and if it's so... well done! You just published your new package 🎉.

🚨 **DON'T FORGET**:

* if you're releasing **a new version of `@hashicorp/flight-icons`**:
* you may need to update also the dependency version in the `package.json` of `ember-flight-icons` (and then release a new version of it)
* you need to communicate to the product teams that are consuming `flight-icons` in their codebase to bump the version of the package
* if you're releasing **a new version of `@hashicorp/ember-flight-icons`**:
* you need to communicate to the product teams that are consuming `ember-flight-icons` in their codebase to bump the version of the package

### How to do some manual QA of the new package version

You may want to test the change in the real-world, with a consuming app, to test for any gotchas that could come up in production.

#### Testing @hashicorp/flight-icons

* Bump the `@hashicorp/flight-icons` version in [hashicorp/boundary-ui/blob/main/addons/rose/package.json](https://github.com/hashicorp/boundary-ui/blob/main/addons/rose/package.json)
* At root, run `yarn`
* `cd ui/desktop && yarn start`
* Confirm you see icons in local dev.

#### Testing @hashicorp/ember-flight-icons

* Bump the `@hashicorp/ember-flight-icons` version in [this WIP PR in `cloud-ui`](https://github.com/hashicorp/cloud-ui/pull/1322)
* Run the PR locally
* Confirm you see icons, such as the external link icon, on the homepage once you're logged in.

## Release the Flight Icons micro-website

The [Flight Icons micro-website](https://flight-hashicorp.vercel.app/) gets automatically redeployed every time PRs are merged in the `main` branch once approved.

## Using a local NPM registry for testing

To test the release of packages without actually polluting the real/production npm registry, you can setup a local private registry using [Verdaccio](https://verdaccio.org/docs/what-is-verdaccio), an open source solution, very easy to setup and use.

You can follow [the instructions here](https://verdaccio.org/docs/installation) but essentially what you have to:

* install the package: `npm install -g verdaccio` - this will install it globally
* launch the service: `verdaccio` - this will serve a web frontend to the registry at the URL [http://localhost:4873/](http://localhost:4873/)
* add a user to the registry: `npm adduser --registry http://localhost:4873` - this will ask you a username/password/email, I suggest to use test/test/[email protected] because is just a local instance; this will also authenticate you with the registry so you don't need to login when you publish.

Now you need to add this entry in the `package.json` file of the bundle you want to publish on your local registry:

```json
"publishConfig": {
"registry": "http://localhost:4873"
},
```

This will make sure the package is published on Verdaccio. Once the package is published, the web page accessible at [http://localhost:4873/](http://localhost:4873/) will show you all the details about the packages (if needed you can also download the tarballs, to check their content).

Once you've done testing, you can remove verdaccio via `npm uninstall -g verdaccio` and then remove the files he created using `rm -fr ~/.local/share/verdaccio && rm -fr .config/verdaccio`. You can use the same command to cleanup the entire data storage of Verdaccio and start from scratch (no need to reinstall for this, just cleanup the data).
Loading