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

Frontend refactor #161

Merged
merged 27 commits into from
Oct 26, 2023
Merged

Frontend refactor #161

merged 27 commits into from
Oct 26, 2023

Conversation

fintanneff
Copy link
Contributor

Request to pull the current progress on the fronted refactor onto the account creation branch.

@TylerBloom TylerBloom force-pushed the frontend-refactor branch 2 times, most recently from 814968d to b80206d Compare September 28, 2023 23:30
Copy link
Member

@TylerBloom TylerBloom left a comment

Choose a reason for hiding this comment

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

Looks good all and all. There is a fair amount of dead code that is commented out. Please remove this (most of it I left suggestions for, so deleting it should be a single click). Also, please run cargo clippy (and, if you want some autofixes, cargo clippy --fix) followed by cargo fmt.

squire_web/src/tournament/mod.rs Outdated Show resolved Hide resolved
squire_web/src/tournament/overview/mod.rs Outdated Show resolved Hide resolved
squire_web/src/tournament/pairings/mod.rs Outdated Show resolved Hide resolved
squire_sdk/src/client/session.rs Outdated Show resolved Hide resolved
squire_web/src/tournament/overview/mod.rs Outdated Show resolved Hide resolved
squire_web/src/tournament/viewer_component/mod.rs Outdated Show resolved Hide resolved
squire_web/src/tournament/viewer_component/mod.rs Outdated Show resolved Hide resolved
squire_web/src/tournament/viewer_component/mod.rs Outdated Show resolved Hide resolved
squire_web/src/tournament/viewer_component/mod.rs Outdated Show resolved Hide resolved
squire_web/src/utils/mod.rs Outdated Show resolved Hide resolved
TylerBloom and others added 18 commits October 18, 2023 15:34
Starting work on refactoring viewer components.
- Moved "send_op_result" from viewer to the wrapper component.
- Pairings, Standings, and Overview components are now wrapped in the wrapper.
Progress on refactor for the player.
Note: the places where the subcomponents update the tournament still need to be routed through the wrapper, however this doesn't seem to immediately cause any errors.
Updated the update functionality to reflect both the refactor and the changes modifying the permissions of certain types of users.
@TylerBloom TylerBloom changed the base branch from account-creation to main October 19, 2023 01:23
@codecov
Copy link

codecov bot commented Oct 19, 2023

Codecov Report

Merging #161 (aa0e3f4) into main (8cf0386) will decrease coverage by 0.69%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #161      +/-   ##
==========================================
- Coverage   30.64%   29.95%   -0.69%     
==========================================
  Files          78       79       +1     
  Lines        3834     3922      +88     
==========================================
  Hits         1175     1175              
- Misses       2659     2747      +88     
Files Coverage Δ
squire_core/src/assets.rs 0.00% <ø> (ø)
squire_core/src/state/tournaments.rs 66.66% <ø> (ø)
squire_lib/src/tournament.rs 29.20% <ø> (ø)
squire_sdk/src/client/tournaments.rs 0.00% <ø> (ø)
squire_sdk/src/compat/mod.rs 50.00% <ø> (ø)
squire_sdk/src/compat/wasm.rs 0.00% <ø> (ø)
squire_sdk/src/server/mod.rs 0.00% <ø> (ø)
squire_sdk/src/server/state.rs 0.00% <ø> (ø)
squire_web/src/tournament/settings/panel.rs 0.00% <ø> (ø)
squire_sdk/src/client/network.rs 0.00% <0.00%> (ø)
... and 8 more

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@TylerBloom TylerBloom force-pushed the frontend-refactor branch 2 times, most recently from deb24ca to 812e647 Compare October 25, 2023 21:48
@TylerBloom TylerBloom merged commit 7dd48df into main Oct 26, 2023
29 of 31 checks passed
@TylerBloom TylerBloom deleted the frontend-refactor branch October 26, 2023 01:15
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.

3 participants