Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup - Replace nested if statements #1334

Open
wants to merge 3,742 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3742 commits
Select commit Hold shift + click to select a range
766ce0f
Update w.json
somaticbits Sep 18, 2021
400b177
Update w.json
somaticbits Sep 18, 2021
f062944
Update w.json
somaticbits Sep 18, 2021
8ca36f6
Update w.json
somaticbits Sep 18, 2021
cb49255
Update w.json
somaticbits Sep 18, 2021
a26de44
Update w.json
somaticbits Sep 18, 2021
3bf9290
Update w.json
somaticbits Sep 18, 2021
12142db
Update w.json
somaticbits Sep 18, 2021
e0def7f
Update w.json
somaticbits Sep 18, 2021
4a26e66
Update w.json
somaticbits Sep 18, 2021
0bb88ae
Update w.json
crzypatchwork Sep 18, 2021
fd36f28
Update w.json
somaticbits Sep 18, 2021
b98a54a
Update w.json
somaticbits Sep 18, 2021
b71c2cd
Update w.json
kylegrover Sep 18, 2021
54d7616
Update w.json
kylegrover Sep 18, 2021
df6c033
Update w.json
kylegrover Sep 18, 2021
3c25a73
Update w.json
kylegrover Sep 18, 2021
a1e328c
Update w.json
kylegrover Sep 18, 2021
24bab15
Update w.json
kylegrover Sep 18, 2021
5f6cc2d
Update w.json
kylegrover Sep 18, 2021
aae530e
Update w.json
kylegrover Sep 18, 2021
7759925
Update w.json
kylegrover Sep 18, 2021
0a5f793
Update w.json
kylegrover Sep 19, 2021
62c8a00
Update w.json
kylegrover Sep 19, 2021
dc0bcae
Update w.json
kylegrover Sep 19, 2021
9749162
Update w.json
kylegrover Sep 19, 2021
666d391
Update w.json
kylegrover Sep 19, 2021
1d66333
Update w.json
kylegrover Sep 19, 2021
95788ba
Update w.json
kylegrover Sep 19, 2021
eea0014
Update w.json
kylegrover Sep 19, 2021
0f3ce0b
Update w.json
kylegrover Sep 19, 2021
6bb1dce
Update w.json
kylegrover Sep 19, 2021
0d16424
Update w.json
kylegrover Sep 19, 2021
6ae7e84
Update w.json
kylegrover Sep 19, 2021
e7902a8
Update w.json
crzypatchwork Sep 19, 2021
49b3693
Update w.json
crzypatchwork Sep 19, 2021
07d9f56
Update w.json
crzypatchwork Sep 19, 2021
6b19a67
Update w.json
crzypatchwork Sep 19, 2021
9c59435
Update w.json
crzypatchwork Sep 19, 2021
25ebe1a
Update w.json
crzypatchwork Sep 19, 2021
fb76adc
Update w.json
crzypatchwork Sep 19, 2021
e376ac6
Update w.json
crzypatchwork Sep 19, 2021
0ce5e13
Update w.json
somaticbits Sep 19, 2021
f084447
Update w.json
somaticbits Sep 19, 2021
b7bcf17
Update w.json
somaticbits Sep 19, 2021
929059a
Update w.json
somaticbits Sep 19, 2021
d4b46a2
Update w.json
somaticbits Sep 19, 2021
8cebfbc
Update w.json
somaticbits Sep 19, 2021
0d619d0
Update w.json
djangobits Sep 19, 2021
476a0fd
Update w.json
djangobits Sep 19, 2021
7645876
Update w.json
djangobits Sep 19, 2021
caf984f
Update w.json
somaticbits Sep 19, 2021
510ac32
Update w.json
somaticbits Sep 19, 2021
af09ae8
Update w.json
somaticbits Sep 19, 2021
0d9927c
Update w.json
somaticbits Sep 19, 2021
28dbf61
Update w.json
somaticbits Sep 19, 2021
3662939
Update w.json
somaticbits Sep 19, 2021
73a49c2
Update w.json
kylegrover Sep 19, 2021
07628df
Update w.json
kylegrover Sep 19, 2021
6a09f58
Update w.json
kylegrover Sep 19, 2021
197760d
Update w.json
kylegrover Sep 19, 2021
9dc86a3
Update w.json
somaticbits Sep 19, 2021
2636f83
Update w.json
kylegrover Sep 19, 2021
137806d
Update w.json
somaticbits Sep 19, 2021
f8f9c59
Update w.json
crzypatchwork Sep 19, 2021
dedf1db
Update w.json
crzypatchwork Sep 19, 2021
f1cdad2
Update w.json
crzypatchwork Sep 19, 2021
1de3267
Update w.json
somaticbits Sep 19, 2021
0c388b8
Update w.json
somaticbits Sep 19, 2021
f2252ea
Update w.json
crzypatchwork Sep 19, 2021
e8b0511
Update w.json
crzypatchwork Sep 19, 2021
fb0799d
Update w.json
crzypatchwork Sep 19, 2021
48e999b
Update w.json
crzypatchwork Sep 19, 2021
a4022e6
Update w.json
crzypatchwork Sep 19, 2021
805a4ad
Update w.json
crzypatchwork Sep 19, 2021
48cc836
Update w.json
crzypatchwork Sep 19, 2021
d326ab6
Update w.json
crzypatchwork Sep 19, 2021
0123288
Update w.json
crzypatchwork Sep 19, 2021
e3d7ef0
Update w.json
crzypatchwork Sep 19, 2021
d4e87ff
Update w.json
crzypatchwork Sep 20, 2021
a8f7249
Update w.json
crzypatchwork Sep 20, 2021
4b273ce
Update w.json
kylegrover Sep 20, 2021
12bce91
Update w.json
kylegrover Sep 20, 2021
244d908
Update w.json
kylegrover Sep 20, 2021
a21e6b8
Update w.json
kylegrover Sep 20, 2021
d807013
Update w.json
crzypatchwork Sep 20, 2021
1d980b9
Update w.json
crzypatchwork Sep 20, 2021
ff2e3af
Update w.json
kylegrover Sep 20, 2021
6030024
Update w.json
kylegrover Sep 20, 2021
634153b
Update w.json
kylegrover Sep 20, 2021
f0d8ade
Update w.json
crzypatchwork Sep 20, 2021
dee60d7
Update w.json
crzypatchwork Sep 20, 2021
9d08078
Update w.json
crzypatchwork Sep 20, 2021
100e78a
Update w.json
crzypatchwork Sep 20, 2021
6eb9544
Update w.json
somaticbits Sep 20, 2021
6621591
Update w.json
somaticbits Sep 20, 2021
c3be549
Update w.json
somaticbits Sep 20, 2021
a038715
Update w.json
somaticbits Sep 20, 2021
e91c343
Update w.json
somaticbits Sep 20, 2021
659d443
Update w.json
somaticbits Sep 20, 2021
301fb42
Update w.json
crzypatchwork Sep 20, 2021
b4dec33
Update w.json
crzypatchwork Sep 20, 2021
b84a975
Update w.json
crzypatchwork Sep 20, 2021
232f705
Update w.json
crzypatchwork Sep 20, 2021
bec3262
Update w.json
crzypatchwork Sep 20, 2021
666854e
Update w.json
crzypatchwork Sep 20, 2021
b34530b
Update w.json
crzypatchwork Sep 20, 2021
da49f10
Update w.json
crzypatchwork Sep 20, 2021
a21d804
Update w.json
somaticbits Sep 20, 2021
f8e152c
Update w.json
somaticbits Sep 20, 2021
1758d05
Update w.json
somaticbits Sep 20, 2021
372dff5
Update w.json
somaticbits Sep 20, 2021
755a922
Update w.json
somaticbits Sep 20, 2021
19ca879
Update w.json
somaticbits Sep 20, 2021
926402a
Update w.json
somaticbits Sep 20, 2021
e92af08
Update w.json
somaticbits Sep 20, 2021
81a4958
Update w.json
kylegrover Sep 20, 2021
1e26a6b
Update w.json
kylegrover Sep 20, 2021
5cb744c
Update w.json
kylegrover Sep 20, 2021
2a93fab
Update w.json
kylegrover Sep 20, 2021
f5ea977
rollover area make bigger
violetforest Sep 20, 2021
95970c1
Update w.json
kylegrover Sep 20, 2021
7d59c82
Update w.json
kylegrover Sep 20, 2021
1d519cb
Update w.json
kylegrover Sep 20, 2021
e5b6618
Update w.json
crzypatchwork Sep 20, 2021
8ccd2bc
Update w.json
crzypatchwork Sep 20, 2021
56a12bb
Update w.json
rkoshino Sep 20, 2021
00efcd5
primary vs secondary
violetforest Sep 20, 2021
12398ed
Update w.json
kylegrover Sep 20, 2021
c48ee49
Update w.json
kylegrover Sep 20, 2021
682c87e
Update w.json
kylegrover Sep 20, 2021
d801655
Update w.json
kylegrover Sep 20, 2021
8dcb324
Update w.json
crzypatchwork Sep 20, 2021
6f544d4
Update w.json
crzypatchwork Sep 20, 2021
1016470
Update w.json
kylegrover Sep 20, 2021
aedaf3d
finish primary secondary
violetforest Sep 20, 2021
11fc8db
latest
Sep 21, 2021
d8218a7
latest
Sep 21, 2021
9feaca1
latest
Sep 21, 2021
a369078
latest
Sep 21, 2021
3ddeb4e
latest
Sep 21, 2021
642150e
Update w.json
somaticbits Sep 21, 2021
6a7e089
Update w.json
djangobits Sep 21, 2021
1459ffe
Update w.json
somaticbits Sep 21, 2021
2e4df34
Update w.json
djangobits Sep 21, 2021
7d7b8a8
Update w.json
somaticbits Sep 21, 2021
f34e1e8
Update w.json
somaticbits Sep 21, 2021
0ce9f02
Update w.json
somaticbits Sep 21, 2021
2296c81
Update w.json
somaticbits Sep 21, 2021
b156097
Update w.json
somaticbits Sep 21, 2021
86805e1
Update w.json
somaticbits Sep 21, 2021
c820727
Update w.json
somaticbits Sep 21, 2021
460a522
Update w.json
kylegrover Sep 21, 2021
4df8a91
Update w.json
kylegrover Sep 21, 2021
1262f22
add filter icon
violetforest Sep 21, 2021
4746ce3
undefined? creator fix
Sep 22, 2021
41584a9
swap v2
Sep 22, 2021
1dddf57
filter svg on the right
violetforest Sep 22, 2021
2e9c324
latest ui fixes
Sep 22, 2021
ed38051
latest
Sep 23, 2021
89c538a
title text overflow ellipsis
violetforest Sep 23, 2021
e96b5a0
latest
Sep 23, 2021
28f5cea
fix both creations/collections collect button
violetforest Sep 23, 2021
e16ebe5
text overflow small screens
violetforest Sep 23, 2021
46166c1
clean up before PR
violetforest Sep 24, 2021
bcc8b9d
latest
Sep 25, 2021
410f96f
latest
Sep 28, 2021
9261378
padding
Sep 28, 2021
05e95e6
hdao fix
Sep 28, 2021
1ddc047
shuffle
Sep 28, 2021
1dd40b9
latest
Sep 28, 2021
fddd1e6
latest
Sep 28, 2021
3a322d7
latest
Sep 28, 2021
3d9f1cc
take out forced min-height for smols
violetforest Sep 29, 2021
e0025cd
rpc
Sep 29, 2021
819044d
rpc
Sep 29, 2021
65b6302
Bump ipfs-http-client from 52.0.3 to 53.0.1
dependabot[bot] Sep 29, 2021
f2cb30d
Merge pull request #1241 from violetforest/feature/rollover-objkt
crzypatchwork Sep 30, 2021
c128d79
Merge pull request #1243 from hicetnunc2000/dependabot/npm_and_yarn/i…
crzypatchwork Sep 30, 2021
7347ce9
Bump @taquito/beacon-wallet from 10.1.1 to 10.1.3
dependabot[bot] Sep 30, 2021
9b6481f
Bump @airgap/beacon-sdk from 2.3.2 to 2.3.3
dependabot[bot] Sep 30, 2021
30841fe
Bump @taquito/taquito from 10.1.1 to 10.1.3
dependabot[bot] Sep 30, 2021
fd1fd88
Update issue templates
violetforest Sep 30, 2021
0051d95
Update issue templates
violetforest Sep 30, 2021
33d301b
latest
Oct 1, 2021
79dddaf
latest
Oct 1, 2021
97d435b
Merge pull request #1252 from hicetnunc2000/dependabot/npm_and_yarn/t…
crzypatchwork Oct 2, 2021
958af2b
Merge pull request #1250 from hicetnunc2000/dependabot/npm_and_yarn/t…
crzypatchwork Oct 2, 2021
8346bfa
Merge pull request #1251 from hicetnunc2000/dependabot/npm_and_yarn/a…
crzypatchwork Oct 2, 2021
2048036
update list
Oct 2, 2021
0ac9b9c
Update w.json
crzypatchwork Oct 2, 2021
d2a22f6
storage limit
Oct 2, 2021
5fcabde
config
Oct 5, 2021
46e26ce
rpc
Oct 6, 2021
e9e2d2d
alt
Oct 6, 2021
655cfea
feed/search review
Oct 8, 2021
f787968
feed call fix
Oct 8, 2021
e449a73
uniqBy
Oct 8, 2021
1f21f67
offset
Oct 8, 2021
69afd0b
glitch
Oct 8, 2021
8f065ff
fix interactives offset
Oct 8, 2021
d35a1b5
latest
Oct 8, 2021
28c0421
Duplicate worker-src policies under child-src as safari does not have
bearcthulhu Oct 8, 2021
468c7ee
claim hdao
Oct 8, 2021
f572ac0
state claim fix
Oct 9, 2021
5440469
latest
Oct 9, 2021
387fc7a
route
Oct 9, 2021
34f9288
katest
Oct 9, 2021
b0116e8
latest
Oct 10, 2021
3b03115
Merge pull request #1281 from bearcthulhu/issue_1177_add_worker_src_p…
crzypatchwork Oct 10, 2021
9e1b9da
latest
Oct 10, 2021
7d9cf7c
latest
Oct 10, 2021
23cc870
Fix errant comma
clayheaton Oct 15, 2021
ee5e0af
update markdown mimetype
fraguada Oct 15, 2021
8b9b79d
tags fix
Oct 18, 2021
c68edaf
tags fix
Oct 18, 2021
f2744e3
latest
Oct 18, 2021
312b524
Merge pull request #1297 from fraguada/patch-2
crzypatchwork Oct 18, 2021
cb5dc34
tag 2
Oct 18, 2021
c422041
Merge pull request #1292 from clayheaton/main
crzypatchwork Oct 18, 2021
da1d6a3
one creator
Oct 19, 2021
73314bd
one creator
Oct 19, 2021
597cb6d
one creator
Oct 19, 2021
bf8d703
latest
Oct 19, 2021
2972af0
recent sales
Oct 19, 2021
8d76295
recent sales
Oct 19, 2021
6bd2c2b
latest
Oct 20, 2021
fec5a7c
remove symbol
Oct 20, 2021
0ca3eec
meta
Oct 20, 2021
b1698d0
meta
Oct 20, 2021
dbbeb41
meta 2
Oct 20, 2021
e865cd4
base
Oct 20, 2021
a767fb9
hdao fix
Oct 20, 2021
1880c07
typography
Oct 23, 2021
35bead5
latest search
Oct 29, 2021
2665f24
change wgt
Oct 29, 2021
b3dc436
return
Oct 29, 2021
bbd7038
latest swaps
Oct 29, 2021
40485c2
ilike
Oct 30, 2021
ab90792
list route & alias together to prevent remounting
TezzardzGoneWild Nov 2, 2021
1025d76
Update CONTRIBUTING.md
violetforest Nov 2, 2021
97fa884
Update CONTRIBUTING.md
violetforest Nov 2, 2021
c934726
Update CONTRIBUTING.md
violetforest Nov 2, 2021
5f46ce5
Update CONTRIBUTING.md
violetforest Nov 2, 2021
2ebd5d4
Update CONTRIBUTING.md
violetforest Nov 2, 2021
a848081
Merge pull request #1325 from TezzardzGoneWild/bugfix/prevent-back-bu…
crzypatchwork Nov 6, 2021
cd1db51
replace nested if / else with single if / else
TezzardzGoneWild Nov 7, 2021
db1910b
reduce if statements in setting state
TezzardzGoneWild Nov 7, 2021
b95e502
no need to if (...) on setting metadata
TezzardzGoneWild Nov 7, 2021
f44c0ba
metadata request simplification, remove nested if
TezzardzGoneWild Nov 7, 2021
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
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
REACT_APP_IPFS_KEY=''

REACT_APP_BLOCKLIST_OBJKT='https://raw.githubusercontent.com/hicetnunc2000/hicetnunc/main/filters/o.json'
REACT_APP_BLOCKLIST_WALLET='https://raw.githubusercontent.com/hicetnunc2000/hicetnunc/main/filters/w.json'
REACT_APP_BLOCKLIST_BAN='https://raw.githubusercontent.com/hicetnunc2000/hicetnunc/main/filters/b.json'

REACT_APP_GRAPHQL_API='https://hdapi.teztools.io/v1/graphql'
29 changes: 8 additions & 21 deletions .env
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
REACT_APP_UNGRUND_POST_IPFS='http://0.0.0.0:5001/ipfs/post_json'
REACT_APP_UNGRUND_POST_FILE2='http://13.59.82.99:5000/ipfs/post_file'
REACT_APP_UNGRUND_ORIGINATE='http://0.0.0.0:3001/api/v1/mfp/originate'
REACT_APP_UNGRUND_CONTRIBUTE='http://0.0.0.0:3001/api/v1/mfp/contribute'
REACT_APP_UNGRUND_WITHDRAW='http://0.0.0.0:3001/api/v1/mfp/withdraw'
REACT_APP_UNGRUND_TRANSFER=''
REACT_APP_UNGRUND_FEED='http://0.0.0.0:5000/mfp/feed'
REACT_APP_UNGRUND_TZ='http://0.0.0.0:5000/mfp/ledger'
REACT_APP_UNGRUND_KT='http://0.0.0.0:5000/mfp/kt'
REACT_APP_UNGRUND_INJECT='http://localhost:5000/auth/inject'
REACT_APP_UNGRUND_POST_FILE='http://0.0.0.0:5001/ipfs/post_file'
REACT_APP_UNGRUND_MINT='http://0.0.0.0:3001/api/v1/objkt/mint'
REACT_APP_UNGRUND_CURATE='http://0.0.0.0:3001/api/v1/objkt/curate'
REACT_APP_UNGRUND_COLLECT='http://0.0.0.0:3001/api/v1/objkt/collect'
REACT_APP_UNGRUND_OBJKT_FEED='http://0.0.0.0:5000/objkt/feed'
REACT_APP_UNGRUND_OBJKT_SWAPS='http://0.0.0.0:5000/objkt/swaps'
REACT_APP_UNGRUND_OBJKT_ID='http://0.0.0.0:5000/objkt/id'
REACT_APP_UNGRUND_OBJKT_TZ_LEDGER='http://0.0.0.0:5000/objkt/tz_ledger'
REACT_APP_UNGRUND_OBJKT_TZ_SWAPS='http://0.0.0.0:5000/objkt/tz_swaps'
REACT_APP_UNGRUND_OBJKT_SWAPS_METADATA='http://0.0.0.0:5000/objkt/swap_metadata'
REACT_APP_UNGRUND_OBJKT_LEDGER='http://0.0.0.0:5000/objkt/ledger'
REACT_APP_IPFS_KEY='eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkaWQ6ZXRocjoweEY1NDdDNUIyMjMzMTc3MDZkZDdkODNEMjA4ODRkRDgxOTIxNTBiNEUiLCJpc3MiOiJuZnQtc3RvcmFnZSIsImlhdCI6MTYzMTA1NTgyNTAxMCwibmFtZSI6ImRldiJ9.Uw_dgYXOAA1znTrdXlOlXFYWh9U_pjg4QOl7nrt16SA'

REACT_APP_BLOCKLIST_OBJKT='https://raw.githubusercontent.com/hicetnunc2000/hicetnunc-reports/main/filters/o.json'
REACT_APP_BLOCKLIST_WALLET='https://raw.githubusercontent.com/hicetnunc2000/hicetnunc-reports/main/filters/w.json'
REACT_APP_BLOCKLIST_BAN='https://raw.githubusercontent.com/hicetnunc2000/hicetnunc-reports/main/filters/b.json'

REACT_APP_GRAPHQL_API='https://hdapi.teztools.io/v1/graphql'
#REACT_APP_GRAPHQL_API='https://api.hicdex.com/v1/graphql'
21 changes: 0 additions & 21 deletions .env_dev

This file was deleted.

65 changes: 65 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

If you need help with minting or managing assets, we ask to please wait at least 24 hours for issues to clear up.

Here are some useful tools that you can use to troubleshoot without us in the meantime:

*See transaction history for an objkt*
https://hicdex.com/objkt

*See transaction history for your wallet address*
https://hicdex.com/sold

Please note that the discord is usually the best place to get the fastest support as there are mostly likely others experiencing the same issues as you and active HEN team members assisting with troubleshooting. Please seek help in the #help channel, and read recent dev updates in #dev-announcements. You can join the discord here: https://discord.gg/HhSYY7q5A8

-----------------------------------------------
*Please fill out the following Bug Report Template

**Describe the bug**
A clear and concise description of what the bug is.

**If you need help with minting or managing assets, please give us the following information**
- your profile link
- any other profile links affected
- tezos wallet address
- objkt #'s that are being affected

**Screenshots**
- screenshots of your minting process
- screenshots of profiles affected
- screenshots of the browser console (in chrome windows, press ctrl + shift + j to open the developer console)

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
Please include the wallet address (tz...) and/or the OBJKT number.
34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/faq_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: FAQ update
about: Submit an update to the Hic et Nunc FAQs
title: 'FAQ: [summary of change]'
labels: FAQ
assignees: violetforest

---

**Summary of change to FAQs you wish to make:**
* For example: new page `foo.md`, edit to page `bar.md`.
* If want to reorder any existing page, note this here too.

[*enter change here*]


**If it's a new page, which navigation heading does it come under**
* For example: Minting guide, FAQs, Misc

[*enter navigation change here*]


**Text change**
* Add here the new text (and old text it's replacing if applicable)

[*add new and/or replaced text here*]


**Markdown**
* If you've written the update using Markdown, replace the `FAQ in markfown format` below with your markdown-tagged text

```Markdown
Add FAQ text in Markfown format
```
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: feature-request
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
34 changes: 34 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "08:00"
open-pull-requests-limit: 10
ignore:
- dependency-name: fflate
versions:
- 0.6.10
- dependency-name: "@taquito/taquito"
versions:
- 8.0.6-beta.0
- 8.1.1
- 9.0.0
- dependency-name: "@taquito/beacon-wallet"
versions:
- 8.0.6-beta.0
- 9.0.0
- dependency-name: framer-motion
versions:
- 3.10.3
- 4.1.10
- 4.1.5
- 4.1.6
- 4.1.9
- dependency-name: "@testing-library/user-event"
versions:
- 13.0.13
- dependency-name: "@airgap/beacon-sdk"
versions:
- 2.2.3
15 changes: 14 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,21 @@

# dependencies
/node_modules
# IDEs
.vscode

# production
/build
/amplify
# misc
.env_prod
#.env_prod

npm-debug.log*
yarn-debug.log*
yarn-error.log*

.DS_Store

# Elastic Beanstalk Files
.elasticbeanstalk/*
!.elasticbeanstalk/*.cfg.yml
Expand All @@ -33,3 +37,12 @@ amplifyconfiguration.json
amplify-build-config.json
amplify-gradle-config.json
amplifytools.xcconfig

# templates
templates/html-image-scale/package-lock.json
templates/html-image-scale/node_modules
templates/html-image-scale/dist
templates/html-image-scale/.parcel-cache

# contributor specific (local) folders
.next
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"useTabs": false
}
90 changes: 90 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# Citizen Code of Conduct

## 1. Purpose

A primary goal of Hicetnunc is to be inclusive to the largest number of contributors, with the most varied and diverse backgrounds possible. As such, we are committed to providing a friendly, safe and welcoming environment for all, regardless of gender, sexual orientation, ability, ethnicity, socioeconomic status, and religion (or lack thereof).

This code of conduct outlines our expectations for all those who participate in our community, as well as the consequences for unacceptable behavior.

We invite all those who participate in Hicetnunc to help us create safe and positive experiences for everyone.

## 2. Open [Source/Culture/Tech] Citizenship

A supplemental goal of this Code of Conduct is to increase open [source/culture/tech] citizenship by encouraging participants to recognize and strengthen the relationships between our actions and their effects on our community.

Communities mirror the societies in which they exist and positive action is essential to counteract the many forms of inequality and abuses of power that exist in society.

If you see someone who is making an extra effort to ensure our community is welcoming, friendly, and encourages all participants to contribute to the fullest extent, we want to know.

## 3. Expected Behavior

The following behaviors are expected and requested of all community members:

- Participate in an authentic and active way. In doing so, you contribute to the health and longevity of this community.
- Exercise consideration and respect in your speech and actions.
- Attempt collaboration before conflict.
- Refrain from demeaning, discriminatory, or harassing behavior and speech.
- Be mindful of your surroundings and of your fellow participants. Alert community leaders if you notice a dangerous situation, someone in distress, or violations of this Code of Conduct, even if they seem inconsequential.
- Remember that community event venues may be shared with members of the public; please be respectful to all patrons of these locations.

## 4. Unacceptable Behavior

The following behaviors are considered harassment and are unacceptable within our community:

- Violence, threats of violence or violent language directed against another person.
- Sexist, racist, homophobic, transphobic, ableist or otherwise discriminatory jokes and language.
- Posting or displaying sexually explicit or violent material.
- Posting or threatening to post other people's personally identifying information ("doxing").
- Personal insults, particularly those related to gender, sexual orientation, race, religion, or disability.
- Inappropriate photography or recording.
- Inappropriate physical contact. You should have someone's consent before touching them.
- Unwelcome sexual attention. This includes, sexualized comments or jokes; inappropriate touching, groping, and unwelcomed sexual advances.
- Deliberate intimidation, stalking or following (online or in person).
- Advocating for, or encouraging, any of the above behavior.
- Sustained disruption of community events, including talks and presentations.

## 5. Weapons Policy

No weapons will be allowed at Hicetnunc events, community spaces, or in other spaces covered by the scope of this Code of Conduct. Weapons include but are not limited to guns, explosives (including fireworks), and large knives such as those used for hunting or display, as well as any other item used for the purpose of causing injury or harm to others. Anyone seen in possession of one of these items will be asked to leave immediately, and will only be allowed to return without the weapon. Community members are further expected to comply with all state and local laws on this matter.

## 6. Consequences of Unacceptable Behavior

Unacceptable behavior from any community member, including sponsors and those with decision-making authority, will not be tolerated.

Anyone asked to stop unacceptable behavior is expected to comply immediately.

If a community member engages in unacceptable behavior, the community organizers may take any action they deem appropriate, up to and including a temporary ban or permanent expulsion from the community without warning (and without refund in the case of a paid event).

## 7. Reporting Guidelines

If you are subject to or witness unacceptable behavior, or have any other concerns, please notify a community organizer as soon as possible. [email protected].

Additionally, community organizers are available to help community members engage with local law enforcement or to otherwise help those experiencing unacceptable behavior feel safe. In the context of in-person events, organizers will also provide escorts as desired by the person experiencing distress.

## 8. Addressing Grievances

If you feel you have been falsely or unfairly accused of violating this Code of Conduct, you should notify hicetnunc2000 with a concise description of your grievance. Your grievance will be handled in accordance with our existing governing policies.

## 9. Scope

We expect all community participants (contributors, paid or otherwise; sponsors; and other guests) to abide by this Code of Conduct in all community venues--online and in-person--as well as in all one-on-one communications pertaining to community business.

This code of conduct and its related procedures also applies to unacceptable behavior occurring outside the scope of community activities when such behavior has the potential to adversely affect the safety and well-being of community members.

## 10. Contact info

[email protected]

## 11. License and attribution

The Citizen Code of Conduct is distributed by [Stumptown Syndicate](http://stumptownsyndicate.org) under a [Creative Commons Attribution-ShareAlike license](http://creativecommons.org/licenses/by-sa/3.0/).

Portions of text derived from the [Django Code of Conduct](https://www.djangoproject.com/conduct/) and the [Geek Feminism Anti-Harassment Policy](http://geekfeminism.wikia.com/wiki/Conference_anti-harassment/Policy).

_Revision 2.3. Posted 6 March 2017._

_Revision 2.2. Posted 4 February 2016._

_Revision 2.1. Posted 23 June 2014._

_Revision 2.0, adopted by the [Stumptown Syndicate](http://stumptownsyndicate.org) board on 10 January 2013. Posted 17 March 2013._
36 changes: 36 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# CONTRIBUTING

## PR

We take PRs on a case-by-case basis. Please contact us in the discord in the #dev channel to have your PR considered.

You will need to create a feature branch from the `main` branch, write all your code there, and then when you submit your PR you submit it against the `main` branch.

If anything else is new to you, don't feel intimidated, come and join us on Discord and we'll take the time to help.

## Components

When creating a component you need to provide a few properties in order to render the component properly. Try to avoid creating prop drilling, or even accessing react context in a component. The components should be as dumb as possible. The only place where you should have access to API requests, or React.Context is at the page level (`src/pages/*`).

In terms of standard its a good practice to first do global imports, then relative imports and finally scss imports. So a component would look something like this:

```jsx
import React from 'react' // a global import
import { Button } from '../button' // a relative import
import styles from './styles.module.scss' // a sass import

export const MyComponent = () => {
return <div className={styles.container}>My Component</div>
}
```

There are some auxiliary components that aren't doing much besides aiding with the layout. A good example of that is the `/src/pages/objkt-display` where you have `<Container/>` and `<Padding />`. These components are similar to what `reactstrap` provides, but we're trying to minimize our bundle size, so we're reducing on dependencies.

## Learning Resources
[Hicdex: the Hic Et Nunc indexer](https://leonnicholls.medium.com/hicdex-the-hic-et-nunc-indexer-bd45f27a228f)

[Hic Et Nunc Metadata](https://leonnicholls.medium.com/hic-et-nunc-metadata-40e594530e31)

[Minters for Hic Et Nunc](https://leonnicholls.medium.com/minters-for-hic-et-nunc-8b244b3d7ce0?source=user_profile---------1----------------------------)

[Hic Et Nunc Smart Contracts (Part 1)](https://leonnicholls.medium.com/hic-et-nunc-smart-contracts-part-1-e4ad5d0934b9)
Loading