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

Add mob names example #7

Merged
merged 17 commits into from
Jan 4, 2025
Merged

Add mob names example #7

merged 17 commits into from
Jan 4, 2025

Conversation

2blo
Copy link
Owner

@2blo 2blo commented Dec 15, 2024

No description provided.

Copy link

vercel bot commented Dec 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
maplestordle ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 4, 2025 11:18pm

@2blo
Copy link
Owner Author

2blo commented Dec 15, 2024

mog game is not static:
image

@2blo
Copy link
Owner Author

2blo commented Dec 15, 2024

use cache in canary seemed to work, but it has this issue vercel/next.js#73785

@2blo
Copy link
Owner Author

2blo commented Dec 17, 2024

unstable cache works ok, but its called twice during build:

vercel/next.js#61423

image

@2blo
Copy link
Owner Author

2blo commented Jan 4, 2025

unstable cache feel unreliable during dev, so we force it to update on every request
also, icon grid looks broken, it fixes temporarily if you switch from grid-col-6 to some value and then back.
image

@2blo
Copy link
Owner Author

2blo commented Jan 4, 2025

referential integrity:

  • try -> ✅ foreign keys to, mob, get list of mobs for combobox by left semi joining on all "dimensions"
  • first_x cols:
  • mob: first_color, first_map - ❌ kinda ugly cause we will not use first_color etc
  • map: map_mark
  • mob_map: map
  • no constraints: let etl enforce it ❌a bit fragile, not correct by design

@2blo 2blo merged commit 6a7c1a1 into main Jan 4, 2025
4 checks passed
@2blo 2blo deleted the mob-game branch January 4, 2025 23:19
2blo added a commit that referenced this pull request Jan 4, 2025
* Add mob names example

* dehydrate mobs

* dont use trpc

* remove client component

* use staticprops

* use use cache

* use unstable cache

* Make mob combobox

* working mob

* Improve button

* Add color

* Add grading

* Add map tables

* Add mapmark

* Add map marks

* fix marker col span

* rotate target mob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant