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

move teambuff to team overview #1632

Merged
merged 3 commits into from
Mar 9, 2024
Merged

move teambuff to team overview #1632

merged 3 commits into from
Mar 9, 2024

Conversation

frzyc
Copy link
Owner

@frzyc frzyc commented Mar 8, 2024

Describe your changes

Move the content of the teambuff tab to the team setting modal, which now serves as a "team overview"
image
Since this is the entry point towards engaging with the teams section, users are aware of teambuffs that interact with loadouts, and at a glance, users can also get a general idea if their loadouts are correct.

Testing/validation

Checklist before requesting a review (leave this PR as draft if any part of this list is not done.)

  • I have commented my code in hard-to understand areas.
  • I have made corresponding changes to README or wiki.
  • For front-end changes, I have updated the corresponding English translations.
  • I have run yarn run mini-ci locally to validate format and lint.
  • If I have added a new library or app, I have updated the deployment scripts to ignore changes as needed

Copy link
Contributor

github-actions bot commented Mar 8, 2024

[sr-frontend] [Fri Mar 8 01:55:48 UTC 2024] - Deployed bce1e66 to https://genshin-optimizer-prs.github.io/pr/1632/sr-frontend (Takes 3-5 minutes after this completes to be available)

[frontend] [Fri Mar 8 01:57:26 UTC 2024] - Deployed bce1e66 to https://genshin-optimizer-prs.github.io/pr/1632/frontend (Takes 3-5 minutes after this completes to be available)

[sr-frontend] [Fri Mar 8 08:38:24 UTC 2024] - Deployed 85cad82 to https://genshin-optimizer-prs.github.io/pr/1632/sr-frontend (Takes 3-5 minutes after this completes to be available)

[frontend] [Fri Mar 8 08:39:14 UTC 2024] - Deployed 85cad82 to https://genshin-optimizer-prs.github.io/pr/1632/frontend (Takes 3-5 minutes after this completes to be available)

[sr-frontend] [Sat Mar 9 07:34:49 UTC 2024] - Deployed 257282d to https://genshin-optimizer-prs.github.io/pr/1632/sr-frontend (Takes 3-5 minutes after this completes to be available)

[frontend] [Sat Mar 9 07:35:29 UTC 2024] - Deployed 257282d to https://genshin-optimizer-prs.github.io/pr/1632/frontend (Takes 3-5 minutes after this completes to be available)

[Sat Mar 9 21:47:37 UTC 2024] - Deleted deployment

@frzyc frzyc marked this pull request as ready for review March 8, 2024 07:08
@nguyentvan7
Copy link
Collaborator

Why was the outer card removed for teammates? The floating effect looks nice/new on desktop, but it makes the UI really hard to parse on mobile
Screenshot_20240308_075257_Chrome

@frzyc
Copy link
Owner Author

frzyc commented Mar 8, 2024

Why was the outer card removed for teammates? The floating effect looks nice/new on desktop, but it makes the UI really hard to parse on mobile

Because there are now 4 characters in a 5 column layout, I thought the character card was using up too much padding. There is not much we can do with mobile other than creating separate UI just for mobile, which is something I don't really want to undertake until the UI around this area hits maturity (don't want to spend time on mobile layout optimization when we havent finalized the desktop UI)

@nguyentvan7
Copy link
Collaborator

Also I really dislike the tall Add Character button. Can we make it a fixed height instead of 100% height

@StainAE86
Copy link
Collaborator

Also I really dislike the tall Add Character button. Can we make it a fixed height instead of 100% height

Agreed

@frzyc frzyc requested a review from nguyentvan7 March 9, 2024 08:18
Copy link
Collaborator

@nguyentvan7 nguyentvan7 left a comment

Choose a reason for hiding this comment

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

Still ambivalent but approving to unblock

@frzyc frzyc merged commit ad657d4 into master Mar 9, 2024
6 checks passed
@frzyc frzyc deleted the team_overview branch March 9, 2024 21:47
nguyentvan7 pushed a commit that referenced this pull request Mar 12, 2024
* Condense characters page (#1621)

* fix null checks (#1624)

* Cache more actions (#1622)

* cache more

* Add comment

* Speed up builds (#1626)

* drop unnecessary deps

* remove almost all build steps

why doesnt json have trailing commas :(

* rm build steps from sr

* make equipped build title button-like (#1629)

* make equipped build title button-like

* format

* make build TC title more button-like

* only deploy if build was a success (#1633)

* Create PRs in `new-release.yml` (#1631)

* yep

* fixes

* allow squash merges

* fix typo

* typo2

* printf

* Convert Pagination to infinite scroll (#1627)

* Infinite scroll experiment on artifacts page

* convert all pagination to infinite scroll

* add inf scroll to art exclusion

* fix typecheck in mini-ci (#1636)

* fix typecheck in mini-ci

* typecheck first

* move teambuff to team overview (#1632)

* move teambuff to team overview

* update team button to settings icon

* non full-width add button

* Add teams page filter (#1639)

* Add teams page filter

* format

* additional features

* fix translation

* Add `teams` tab to mobile UI (#1654)

* Update teamcard (#1653)

* update teamcard

* remove unnecessary divider

* more colorful teammate selector

* update migration naming (#1658)

* update migration naming

* add migration for GO migration on import

* Open Team Editor after creating team from character editor (#1655)

* Open Team Editor after creating team from character editor

* remove console.log

* Show loadout + build name on teamcard hover (#1656)

* show loadout + build name on teamcard hover

* update teamcard

* fix team navigation (#1659)

* Combine Loadout and Build settings into a singular popup (#1662)

* fix SetEffectDisplay

* fix build

---------

Co-authored-by: eeeqeee <103794572+eeeqeee@users.noreply.github.com>
Co-authored-by: HassnHamada <44922829+HassnHamada@users.noreply.github.com>
nguyentvan7 added a commit that referenced this pull request Mar 12, 2024
* Condense characters page (#1621)

* fix null checks (#1624)

* Cache more actions (#1622)

* cache more

* Add comment

* Speed up builds (#1626)

* drop unnecessary deps

* remove almost all build steps

why doesnt json have trailing commas :(

* rm build steps from sr

* make equipped build title button-like (#1629)

* make equipped build title button-like

* format

* make build TC title more button-like

* only deploy if build was a success (#1633)

* Create PRs in `new-release.yml` (#1631)

* yep

* fixes

* allow squash merges

* fix typo

* typo2

* printf

* Convert Pagination to infinite scroll (#1627)

* Infinite scroll experiment on artifacts page

* convert all pagination to infinite scroll

* add inf scroll to art exclusion

* fix typecheck in mini-ci (#1636)

* fix typecheck in mini-ci

* typecheck first

* move teambuff to team overview (#1632)

* move teambuff to team overview

* update team button to settings icon

* non full-width add button

* Add teams page filter (#1639)

* Add teams page filter

* format

* additional features

* fix translation

* Add `teams` tab to mobile UI (#1654)

* Update teamcard (#1653)

* update teamcard

* remove unnecessary divider

* more colorful teammate selector

* update migration naming (#1658)

* update migration naming

* add migration for GO migration on import

* Open Team Editor after creating team from character editor (#1655)

* Open Team Editor after creating team from character editor

* remove console.log

* Show loadout + build name on teamcard hover (#1656)

* show loadout + build name on teamcard hover

* update teamcard

* fix team navigation (#1659)

* Combine Loadout and Build settings into a singular popup (#1662)

* fix SetEffectDisplay

* fix build

---------

Co-authored-by: frzyc <frzyc@users.noreply.github.com>
Co-authored-by: eeeqeee <103794572+eeeqeee@users.noreply.github.com>
Co-authored-by: HassnHamada <44922829+HassnHamada@users.noreply.github.com>
RobberToe added a commit to RobberToe/genshin-optimizer that referenced this pull request Mar 13, 2024
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.

Bring "Team Editor" outside of "Team Settings" popup
3 participants