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 Ingest button #1131

Merged
merged 8 commits into from
Mar 27, 2024
Merged

Add Ingest button #1131

merged 8 commits into from
Mar 27, 2024

Conversation

Al12rs
Copy link
Contributor

@Al12rs Al12rs commented Mar 26, 2024

closes #1127
This adds a button to ingest outside changes as a temporary stopgap solution to expose the functionality to users, while we figure out how Apply/Ingest should work.

  • Button is shown regardless of whether there are changes or not (no detection or check)
  • Ingest button is only shown if this is the active loadout, otherwise it would ingest in another loadout
  • Ingest is disabled while Applying
  • Ingest is disabled while ingesting
  • Apply is hidden while ingesting
  • Renamed Overrides mod to "Outside Changes"
  • No checks if other loadouts are currently ingesting/applying

This pretty bad as features go, but anything more would still be temporary anyways until the Apply/Ingest workflow is fully thought out.

@Al12rs Al12rs requested a review from a team March 26, 2024 12:45
@Al12rs Al12rs self-assigned this Mar 26, 2024
@Al12rs Al12rs added this to the v0.4 milestone Mar 26, 2024
Copy link
Contributor

This PR conflicts with main. You need to rebase the PR before it can be merged.

@Al12rs
Copy link
Contributor Author

Al12rs commented Mar 26, 2024

Ugh, translation conflicts

# Conflicts:
#	src/NexusMods.App.UI/Resources/Language.Designer.cs
#	src/NexusMods.App.UI/Resources/Language.resx
Copy link
Contributor

This PR doesn't conflict with main anymore. It can be merged after all status checks have passed and it has been reviewed.

@codecov-commenter
Copy link

codecov-commenter commented Mar 26, 2024

Codecov Report

Attention: Patch coverage is 0% with 44 lines in your changes are missing coverage. Please review.

Project coverage is 53.20%. Comparing base (943b794) to head (94cc067).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1131      +/-   ##
==========================================
- Coverage   53.28%   53.20%   -0.09%     
==========================================
  Files         678      678              
  Lines       22628    22663      +35     
  Branches     1725     1725              
==========================================
  Hits        12057    12057              
- Misses      10176    10211      +35     
  Partials      395      395              
Flag Coverage Δ
Linux 52.57% <0.00%> (-0.09%) ⬇️
Windows 52.45% <0.00%> (-0.11%) ⬇️
clean_environment_tests 53.19% <0.00%> (-0.09%) ⬇️
macOS 52.04% <0.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...ctions/NexusMods.Abstractions.Loadouts/Mods/Mod.cs 100.00% <ø> (ø)
...rc/NexusMods.App.UI/Resources/Language.Designer.cs 47.33% <0.00%> (-0.41%) ⬇️
...p.UI/LeftMenu/Items/ApplyControlDesignViewModel.cs 0.00% <0.00%> (ø)
...ods.App.UI/LeftMenu/Items/ApplyControlViewModel.cs 0.00% <0.00%> (ø)
@Al12rs Al12rs requested review from erri120 and a team March 26, 2024 17:26
@Al12rs Al12rs merged commit 101c9ef into main Mar 27, 2024
7 checks passed
@Al12rs Al12rs deleted the ingest_button branch March 27, 2024 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants