Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
903cc4c
chore: add in governance
mariz-ov Jun 21, 2024
0ad6430
fix: add some modules
0xshora Jun 21, 2024
f939f3b
chore: update color picker
0xshora Jun 21, 2024
fd134b2
chore: update color picker
0xshora Jun 21, 2024
9b8f603
bug: shows dirrent colors
0xshora Jun 21, 2024
2c65aff
feat: can paint with p_war.interact
0xshora Jun 21, 2024
971e9c4
Merge pull request #6 from pixelaw/dev/shora
0xshora Jun 21, 2024
d7bedd5
feat: add a close button for a color palette
0xshora Jun 21, 2024
bcf571e
Merge pull request #7 from pixelaw/dev/shora
0xshora Jun 22, 2024
9712f8b
Merge branch 'main' into sync/pixelaw-web
0xshora Jun 24, 2024
8296eac
Merge pull request #8 from pixelaw/sync/pixelaw-web
0xshora Jun 24, 2024
7e966b6
fix: adjust client sides for new contracts
0xshora Jun 24, 2024
a961f10
fix: adjust client sides for new contracts
0xshora Jun 24, 2024
1f2891c
Merge pull request #9 from pixelaw/feat/update-UIUX
0xshora Jun 24, 2024
ccad61b
fix: color appearance by deleting alpha channel
0xshora Jun 24, 2024
019d67c
Merge pull request #10 from pixelaw/feat/update-UIUX
0xshora Jun 24, 2024
a59bcce
feat: complete entire cycle
mariz-ov Jun 24, 2024
02f94c7
Merge remote-tracking branch 'origin/main'
mariz-ov Jun 24, 2024
8848146
fix: make disaster color
mariz-ov Jun 24, 2024
357592d
fix: incorrect color being pushed
mariz-ov Jun 24, 2024
713227b
chore: make proposal time reactive
mariz-ov Jun 24, 2024
b99ca86
chore: add dependencies to useEffect
mariz-ov Jun 24, 2024
92a3ac1
fix: cannot filter by search term
mariz-ov Jun 24, 2024
a522464
fix: errors about hexRGBtoNumber
0xshora Jun 24, 2024
db6f76b
Merge pull request #11 from pixelaw/feat/update-UIUX-shora
0xshora Jun 24, 2024
c868748
Update dependencies, enable source map in vite config, and add new pa…
Jun 25, 2024
5017375
Update dependencies, enable source map in vite config, and add new pa…
Jun 25, 2024
004e32b
Prepare v0.3.8
Jun 25, 2024
a2983bb
Update @dojoengine dependencies to version 0.7.5 and adjust yarn.lock…
Jun 25, 2024
83efbc7
Merge branch 'main' into main
thiscaspar Jun 25, 2024
96de7fd
Merge pull request #15 from pixelaw/main
thiscaspar Jun 25, 2024
01be9f3
upgrading dependencies
Jun 25, 2024
d00fbe2
Merge branch 'main' into main
thiscaspar Jun 25, 2024
edcf622
Merge pull request #16 from pixelaw/main
thiscaspar Jun 25, 2024
4e1d7c2
remove .env
thiscaspar Jun 25, 2024
4b42eba
update
0xshora Jun 27, 2024
2e8ea86
docs: update README
0xshora Jun 27, 2024
41d7398
feat: add createProposal
0xshora Jun 27, 2024
da0d691
fix: modified UI
0xshora Jun 27, 2024
72ecf4a
Add Settings page with CSS module and update App.tsx to import it cor…
thiscaspar Jun 27, 2024
4a6d104
Merge remote-tracking branch 'refs/remotes/upstream/main'
thiscaspar Jun 27, 2024
cf519e2
Refactor color conversion functions and use numRGBAToHex in drawPixel…
thiscaspar Jun 27, 2024
014a6ad
Merge branch 'pixelaw:main' into feat/add-popup-proposallist
0xshora Jun 28, 2024
90149d9
Merge branch 'feat/add-popup-proposallist' into feat/popup-proposals
0xshora Jun 28, 2024
83afa4b
fix: error about hexRGBtoNumberRGBA
0xshora Jun 28, 2024
9451e8b
feat: add popup-proposals
0xshora Jun 28, 2024
950f257
feat: add-filter for proposals
0xshora Jun 29, 2024
b86bb96
Merge pull request #29 from pixelaw/feat/add-filter
0xshora Jun 29, 2024
9e274a1
feat: show address
0xshora Jun 29, 2024
3f17905
feat: show time limit
0xshora Jun 29, 2024
3119f8c
fix: bugs about initial states
0xshora Jun 29, 2024
0e9d17b
fix: bugs about initial states
0xshora Jun 29, 2024
fdde033
chore: add comments to show TODO(current_px)
0xshora Jun 29, 2024
92b3a26
Merge pull request #30 from pixelaw/feat/show-info
0xshora Jun 29, 2024
854b028
chore: changed the name from MakeADisaster to ResetToWhite
0xshora Jun 30, 2024
886b12d
fix: set color arrays for Rest To White
0xshora Jun 30, 2024
1d19f0f
feat: show current_px / max_px
0xshora Jun 30, 2024
5078675
Merge pull request #32 from pixelaw/feat/show-info
0xshora Jun 30, 2024
e747e9e
chore: fix the menubar css
0xshora Jun 30, 2024
662f016
feat: add dynamic palette colors
mariz-ov Jul 1, 2024
54f098f
wip: add dynamic palette colors
mariz-ov Jul 1, 2024
3930aeb
fix: color palette not dynamically changing
mariz-ov Jul 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,18 @@ It turned out in rearchitecting everything from the ground up, mostly to be able
- So to the left of x=0 is now x=4_294_967_295 but it all "just works"

# How to run it
- It's a regular Vite+React project, but you'll need the PixeLAW Core (dev)container running somewhere too.
please run [p_war](https://github.com/pixelaw/p_war) first.

```zsh
$ git clone git@github.com:pixelaw/p_war.git
$ cd ./p_war
```

then, please open the directory by using vscode, and build container with devcontainer.

```zsh
$ cd ../
$ git clone git@github.com:pixelaw/p_war_client.git
$ pnpm i
$ pnpm run dev
```
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.9
0.3.9
11 changes: 11 additions & 0 deletions graphql/GetPaletteColors.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
query GetPaletteColors {
paletteColorsModels(order: { direction: ASC, field: IDX}, where: { game_idEQ: 1}) {
edges {
node {
game_id
idx
color
}
}
}
}
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"test": "vitest",
"coverage": "vitest run --coverage"
"coverage": "vitest run --coverage",
"create-components": "npx @dojoengine/core ./public/assets/manifest.json src/dojo/contractComponents.ts http://localhost:5050 0x60916a73fe631fcba3b2a930e21c6f7bb2533ea398c7bfa75c72f71a8709fc2"
},
"dependencies": {
"@dojoengine/core": "^0.7.5",
Expand All @@ -28,13 +29,18 @@
"dotenv": "^16.4.5",
"graphql": "^16.8.1",
"graphql-request": "^7.0.1",
"graphql-tag": "^2.12.6",
"idb-keyval": "^6.2.1",
"immer": "^10.1.1",
"micro-starknet": "^0.2.3",
"pngjs3": "^6.1.1",
"postcss": "^8.4.38",
"react": "^18.2.0",
"react-color": "^2.19.3",
"react-dom": "^18.2.0",
"react-icons": "^5.2.1",
"react-router-dom": "^6.23.1",
"react-select": "^5.8.0",
"starknet": "^6.9.0",
"tailwindcss": "^3.4.4",
"tailwindcss-animate": "^1.0.7",
Expand Down
Loading