50 Commits

Author SHA1 Message Date
Carlos Cuesta
f079f74d8a
🐛 Fix dark theme inconsistencies (#1174) 2022-11-01 09:55:20 +01:00
Carlos Cuesta
9fec13469a
Setup eslint (#1168)
*  Install eslint deps
* 🔧 Setup eslint
* 🔧 Add `react.runtime=automatic` to flowconfig
* 🎨 Fix eslint issues
* 🎨 Fix flow issues
* 📸 Update snapshots
* 🙈 Update gitignore
2022-10-30 19:20:25 +01:00
Christopher Wilkinson
e1b265893a
Add 🦺 emoji (#1167) 2022-10-28 12:36:40 +02:00
Manikanta Inugurthi
4acf6d49e5
Add support to search by emoji (#1164) 2022-10-27 20:45:55 +00:00
Carlos Cuesta
0b1d6c1963
⬆️ Bump Next.js to 13 (#1165)
* ⬆️ Bump Next and dependencies
* ♻️ Apply `new-link` codemod
2022-10-26 19:07:26 +02:00
dependabot[bot]
a7283ce60a
⬆️ Bump jest from 28.1.3 to 29.0.1 (#1128)
⬆️ Bump jest from 28.1.3 to 29.0.1

Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 28.1.3 to 29.0.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.0.1/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 15:27:36 +02:00
Carlos Cuesta
b24874ff10
Add theme toggle switch (#1117)
*  Install `next-themes`

*  Add `ThemeProvider` to `_app`

* 💄 Update themes

* 🐛 Fix hydration mismatch in Toolbar

*  Add `ThemeSelector` component to Toolbar

 Add `ThemeSelector` component to Toolbar

* ♻️ Extract `nextTheme` as a variable
2022-08-13 10:54:09 +02:00
dependabot[bot]
bcea4f54bc
⬆️ Bump next from 12.2.3 to 12.2.4 (#1111)
* ⬆️ Bump next from 12.2.3 to 12.2.4

Bumps [next](https://github.com/vercel/next.js) from 12.2.3 to 12.2.4.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v12.2.3...v12.2.4)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* 📸 Update snapshots

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Cuesta <carloscuesta@me.com>
2022-08-08 14:07:18 +00:00
Malted
eeda5f17c2
Add 🧵 emoji (#1106)
* Add 🧵 emoji

*  Add 🧵 emoji

*  Change 🧵  emoji colour

*  Update snapshots

* 🚨 Fix lint error
2022-08-04 15:55:33 +02:00
Carlos Cuesta
e9d4ec2854
Add 💸 emoji (#1071) 2022-06-11 13:33:05 +02:00
Oliver Paraskos
0aa25b6e9e
Add 🔐 emoji (#980) 2022-02-11 20:14:18 +01:00
johannchopin
15ccc71c4a
️ Add focus trap to the menu (#955) 2022-01-09 12:04:01 +01:00
Vinícius Hoyer
3691f2f739
Introduce "Improve developer experience" emoji (#925) 2021-11-30 08:16:14 +01:00
Carlos Cuesta
dcfcc94382
🐛 Fix bricks name
Fixes https://github.com/carloscuesta/gitmoji/pull/920

Co-authored-by: @Bruno-GD
2021-11-26 21:53:45 +01:00
Elian ☕️
111465f2ed
Add brick 🧱 (#916)
*  Add brick 🧱 to Gitmoji

* ♻️ add color to 🧱
2021-11-22 20:41:47 +01:00
Erwan KREUTZ
134ba8947e
Add input focus with keyboard (#896) 2021-11-03 21:55:40 +01:00
konstantin
bbad0e80cd
Add Stethoscope 🩺 #667
* add stethoscope for healthchecks
* update snapshots: yarn jest -u

Fixes #668
2021-10-30 19:44:55 +02:00
seancrowe
8fa8b57cb8
Add 👔 emoji (#829)
*  Add necktie emoji for business logic
*  Update page snapshot with necktie emoji

Closes #723
2021-08-02 15:10:17 +02:00
Carlos Cuesta
48042f405e
Fetch Contributors using getStaticProps (#828) 2021-08-01 11:55:08 +02:00
Evaristo Rojas
6b84949cc3
Add 🧪 emoji for TDD (#794)
Fixes #284
2021-06-11 21:28:25 +02:00
Guillaume Taquet Gasperini
a9c8b84d15
🐛 Render unicode gitmojis as image by default (#753)
Some emojis are rendered as text by default, other as image. The result
is that some gitmojis are different / a bit ugly depending on the font
used. This concerns only the unicode version of the gitmoji, not the
:code: one.

Emojis are rendered either by text or picture. Variation selectors
VS15 and VS16 define if text or picture representation should be used.

According to [0], the following gitmojis are affected by those selectors
and may be rendered as text:

- alembic
- alien
- ambulance
- *arrow-down
- *arrow-up
- building-construction
- card-file-box
- *coffin
- *label
- lock
- mag
- package
- *pencil2
- *recycle
- rewind
- wastebasket
- *wheelchair
- *zap

Out of those, 8 already have VS16 (\ufe0f), and will be rendered as
image. This commit unifies the 10 other ones by adding the selector.

[0]: https://www.unicode.org/Public/13.0.0/ucd/emoji/emoji-variation-sequences.txt
2021-04-09 16:01:09 +02:00
Spiroux Emeric
8bd98536d1
Added remove dead code emoji (⚰️) (#712)
*  Added remove dead code emoji (⚰️)

* 💬 Add dot at the end of description

Co-authored-by: johannchopin <31794680+johannchopin@users.noreply.github.com>

* 💬 Add dot at the end of spec snapshot

Co-authored-by: Emeric <emeric@ilek.fr>
Co-authored-by: johannchopin <31794680+johannchopin@users.noreply.github.com>
2021-02-24 11:41:14 +01:00
Dante Calderón
f5e939c49c
Persist list mode status in localStorage (#672)
* Persist isListMode status in localStorage
* Fix test snapshots and use guidelines
* Add tests for useLocalStorage hook
* Fix error function
* Update snap
* Add tests
* ♻️ Add test specs and move the hook under GitmojiList

Co-authored-by: Carlos Cuesta <carloscuesta@me.com>
2021-01-18 14:21:19 +01:00
Carlos Cuesta
6e0b6cb25a
🎨 Remove gitmoji-${name} className (#681) 2021-01-14 17:00:51 +01:00
johannchopin
f70f6fc69b
🩹 Fix missing animations (#671)
* 💄 Fix emoji bounce animation on mouse :hover
* 💄 Add underline animation to gitmoji code on :hover
* 💩 Remove flow check
* 📸 pages, gitmojiList
* 💩 Add flow check
* 💄 Use transition instead of animation
* 💄 Optimise transition
* 🔥 Unnecessary css
*  Introduce hover effect on gitmojiCode
* 💄 Use underline animation
* 📸 pages, gitmojiList
* ♻️ Remove chunk of style element inside gitmoji list
* 💫 Apply johannchopin's animation

Co-authored-by: Carlos Cuesta <carloscuesta@me.com>
Co-authored-by: Vinícius Hoyer <contact@vhoyer.dev>
2021-01-14 16:28:34 +01:00
Carlos Cuesta
ab6c193512
🐛 Do not update querystring on search
After trying this out I think its not a great pattern. If we want to implement this we need to make it onBlur or onSubmit, but definitely not onChange. This causes a weird bug where the page is scrolled to the top since were using router.push and also affects browser navigateBack history. Since the push method modifies the history.pushState.
2021-01-07 16:55:39 +01:00
Axieum
bce3b8567d
Prefill gitmoji search from query (#673)
*  Prefill gitmoji search from query
* ♻️ Refactor search prefill to use next/router
*  Add OpenSearch specification
* 🐛 Fix query param in OpenSearch spec
* 🎨 Formatting
*  Add image to OpenSearch spec
*  Sync the search query parameter with input
*  Add tests

Co-authored-by: Carlos Cuesta <carloscuesta@me.com>
2021-01-07 11:59:08 +01:00
Carlos Cuesta
545e4acd4f
🐛 Fix dark theme gitmojiCode color
Fixes https://github.com/carloscuesta/gitmoji/issues/657
2020-12-17 19:57:37 +01:00
Sindre Bøyum
d23772f4d0
️ Make buttons button elements for a11y (#656)
* 💄 Make buttons `button` elements for a11y
*  Update test snapshots
2020-12-17 15:11:42 +01:00
Carlos Cuesta
2e16b270ac
Improve Toolbar a11y (#652) 2020-12-14 18:22:30 +01:00
Carlos Cuesta
f951ae2976
💄 Adjust search input dark mode styles (#650) 2020-12-12 18:28:42 +01:00
Carlos Cuesta
64bb39e165
Introduce GitmojiList view selector (#649) 2020-12-12 18:20:54 +01:00
Carlos Cuesta
83f1ab8d87
💄 Improve dark-mode ad theme 2020-12-11 17:25:29 +01:00
Carlos Cuesta
ec56ba3486
♻️ Replace website url with gitmoji.dev (#646) 2020-12-11 16:18:46 +01:00
Carlos Cuesta
ddc21699f7
Add related-tools page (#643) 2020-12-11 14:55:55 +01:00
eliorc
7cf5bdbfdd
Data exploration/inspection gitmoji (#616)
* Add data exploration gitmoji
*  Data exploration/inspection emoji (change to git emoji code)
* 📸 Update snapshots

Co-authored-by: Carlos Cuesta <carloscuesta@me.com>
2020-12-11 08:32:21 +01:00
ilyasmez
a869e5357e
Allow searching by gitmoji description (#641)
*  Allow searching by description

* 💬  Change the search placeholder

* 📸 Update snapshots

* 👌 Fix the test label

Co-authored-by: Vinícius Hoyer <contact@vhoyer.dev>

* 👌 Refactor duplicate .toLowercase, as suggested by @johannchopin

* 👌 Change the search placeholder as suggested by @johannchopin

Co-authored-by: Vinícius Hoyer <contact@vhoyer.dev>
2020-12-08 19:26:00 +01:00
Carlos Cuesta
bd7d68bfcc
Add gitmoji search (#635) 2020-11-30 22:19:20 +01:00
Carlos Cuesta
3a376b0f48
❤️ Introduce CarbonAds (#631)
*  Introduce CarbonAd component
*  Add CarbonAd into every page
2020-11-28 13:47:00 +01:00
Carlos Cuesta
050a6167fb
💄 Add dark-mode theme (#624) 2020-11-20 15:46:36 +01:00
Carlos Cuesta
9787678d01
♻️ Move styles to css-modules (#622)
* 🔧 Remove scss styling
* 🔧 Use absolute imports
* ♻️ Add global theme
* ♻️ Move Layout component to css-modules
* ♻️ Move Button component to css-modules
* ♻️ Move Icon component to css-modules
* ♻️ Move Layout component to _app
* ♻️ Move ContributorsList to css-modules
* ♻️ Move GitmojiList to css-modules
* 📝 Update CONTRIBUTING docs
* 🔧 Make prettier watch for css instead of scss files
*  Remove GitHub button from About page
2020-11-20 15:16:06 +01:00
Carlos Cuesta
e3498c3029
💄 Improve notification ttl
Fixes https://github.com/carloscuesta/gitmoji/issues/599
2020-10-29 23:03:26 +01:00
dependabot-preview[bot]
2c4387d954
⬆️ Bump flow-bin from 0.133.0 to 0.134.0 (#570) 2020-09-18 14:53:40 +00:00
Anmol
7fb93e9f8e
💬 Change all the verbs to infinitive (#515)
* 💬 Change all the verbs to infinitive

* 💬 Update .snap

* Update gitmojiList.spec.js.snap

* update snapshot files
2020-07-19 19:54:47 +02:00
dependabot-preview[bot]
f6ba59c7d0
⬆️ Bump prettier from 1.18.2 to 2.0.5 (#507) 2020-07-17 17:49:19 +00:00
johann_chopin
e5980f2c7b
Copy Gitmoji if click on the code and copy emoji if click on it (#420)
*  Copy Gitmoji if click on the code and copy emoji if click on it
* 💄 Remove unnecessary padding-bottom
* ♻️ Use a single Clipboard instance
* 📸 Update gitmojiList and pages
* 🔥 Remove unused data-clipboard-text
* 📸 Update gitmojiList and pages
* ♻️ No need :hover declaration for a cursor: pointer
2020-05-28 21:32:27 +02:00
Carlos Cuesta
f6fa7ada7f
Bring back copy to clipboard (#372) 2019-11-02 19:57:43 +01:00
Carlos Cuesta
0d78935c2c
🐛 Bring back old colors 2019-10-26 18:25:15 +02:00
Carlos Cuesta
f494d25734
🐛 Bring Header buttons back 2019-10-26 18:07:35 +02:00
Carlos Cuesta
18852ce299
♻️ Move website to Next.js (#368)
This commit updates the stack of the gitmoji website to Next.js. This was a thing I wanted to do a long time ago.

Our current stack was a little bit outdated and had issues with the Developer UX. The concept is the same, the whole site is built into a Static HTML site.

Also we can benefit from using React ⚛️ ❤️

The current stack will be:

Next.js
React
Flow
Scss
Prettier
Jest
2019-10-26 18:00:59 +02:00