Skip to content

UI improvements - #150

Open
therealhoodboy wants to merge 30 commits into
mainfrom
dev
Open

UI improvements#150
therealhoodboy wants to merge 30 commits into
mainfrom
dev

Conversation

@therealhoodboy

Copy link
Copy Markdown
Collaborator

No description provided.

@therealhoodboy
therealhoodboy requested a review from Resaki1 May 16, 2024 17:16
@therealhoodboy

Copy link
Copy Markdown
Collaborator Author

Re-opened pull request, please share any opinion regarding the design changes

@Resaki1 Resaki1 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good ideas, thanks! just some code styling issues

Comment thread src/components/BuildMenu/BuildMenuEntry/BuildMenuEntry.tsx Outdated
Comment thread src/components/BuildMenu/BuildMenuEntry/BuildMenuEntry.tsx Outdated
Comment thread src/components/BuildMenu/BuildMenuEntry/BuildMenuEntry.tsx Outdated
Comment thread src/components/Foilage/foilage/TreeBirch.tsx
Comment thread src/components/Foilage/foilage/TreeBirch.tsx Outdated
Comment thread src/materials/materials.tsx Outdated
Max Herter and others added 3 commits September 2, 2024 12:47
Comment thread src/components/BuildMenu/BuildMenuEntry/BuildMenuEntry.scss
Comment thread src/materials/materials.tsx

@Resaki1 Resaki1 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work so far! Just some things to change

Also, on desktop the menus look kinda weird

Bildschirmfoto 2024-09-16 um 13 27 12

Comment thread src/components/BuildMenu/BuildMenu.scss Outdated
Comment thread src/components/BuildMenu/BuildMenuEntry/BuildMenuEntry.scss Outdated
Comment thread src/components/BuildMenu/BuildMenuEntry/BuildMenuEntry.scss Outdated
Comment thread src/components/Map/Map.tsx Outdated
Comment thread src/components/RessourceMenu/RessourceMenu.scss Outdated
Comment thread src/store/store.ts
Comment on lines -100 to +136
state.addRessources(BuildingSellBenefits[state.buildings[x][y]]);
const sellBenefits = BuildingSellBenefits[building];
const ressourcesToAdd = Object.fromEntries(
Object.entries(sellBenefits).map(([key, value]) => [key, value])
);
state.addRessources(ressourcesToAdd);

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?

Comment thread src/store/store.ts Outdated
Comment thread src/store/store.ts Outdated
Comment thread src/store/store.ts Outdated
Comment thread src/store/store.ts Outdated
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.

2 participants