Skip to content

The Sharing Tab#5704

Draft
keithharvey wants to merge 7 commits into
beyond-all-reason:fmt-llmfrom
keithharvey:sharing_tab
Draft

The Sharing Tab#5704
keithharvey wants to merge 7 commits into
beyond-all-reason:fmt-llmfrom
keithharvey:sharing_tab

Conversation

@keithharvey

@keithharvey keithharvey commented Aug 19, 2025

Copy link
Copy Markdown
Collaborator

📚 Reviewed via the file-partitioned split — bottom-up

Important

This PR is the merge vehicle for the whole feature — review happens in the split PRs above. Its tree is byte-identical to the assembled split tip. Merge order: the type-migration stack (#8235) lands first; then this PR's base flips to master (the diff doesn't change — the stack is already built on the migrated base) and it merges through the GitHub UI. The split PRs are closed afterwards; their content is contained here.

Each PR is file-partitioned: every file appears in exactly one PR in its final sharing_tab form, so each PR's diff is byte-identical to that branch. Regenerated deterministically by just bar::sharing-split.

@keithharvey keithharvey force-pushed the sharing_tab branch 2 times, most recently from 42072dd to 6eca7f7 Compare August 20, 2025 00:05
@keithharvey keithharvey force-pushed the sharing_tab branch 3 times, most recently from 6c721e6 to 1069815 Compare August 24, 2025 06:40
@keithharvey keithharvey marked this pull request as draft October 6, 2025 23:12
@keithharvey

keithharvey commented Oct 6, 2025

Copy link
Copy Markdown
Collaborator Author

I'm going to move this one back to draft because in a downstream branch I moved all of this to lua and simplified some things to make testing sharing_modes easier. Will backport isolated bits of that PR if it fails to merge. That approach has some downsides (like a lack of a schema validation in the CI), but those are compensated for with types and specs.

@keithharvey keithharvey changed the title Add declarative sharing modes system Add The Sharing Tab Oct 24, 2025
@keithharvey keithharvey changed the title Add The Sharing Tab he Sharing Tab Oct 24, 2025
@keithharvey keithharvey changed the title he Sharing Tab The Sharing Tab Oct 24, 2025
@keithharvey keithharvey marked this pull request as ready for review October 24, 2025 05:17
@keithharvey keithharvey marked this pull request as draft October 25, 2025 18:04
@github-actions

github-actions Bot commented Nov 5, 2025

Copy link
Copy Markdown
Contributor

Test Results

20 tests  +4   10 ✅ +3   17s ⏱️ +14s
 1 suites ±0    9 💤 ±0 
 1 files   ±0    1 ❌ +1 

For more details on these failures, see this check.

Results for commit ce774d4. ± Comparison against base commit cf64f44.

♻️ This comment has been updated with latest results.

@keithharvey keithharvey force-pushed the sharing_tab branch 9 times, most recently from c819af1 to a29702b Compare November 11, 2025 00:57
@keithharvey keithharvey force-pushed the sharing_tab branch 4 times, most recently from 273e15a to 461310e Compare March 14, 2026 09:10
@github-actions

github-actions Bot commented Mar 19, 2026

Copy link
Copy Markdown
Contributor

Integration Test Results

18 tests  +4   6 ✅ ±0   3s ⏱️ ±0s
 1 suites ±0   8 💤 ±0 
 1 files   ±0   4 ❌ +4 

For more details on these failures, see this check.

Results for commit 4fbdd6f. ± Comparison against base commit 1a0bec9.

♻️ This comment has been updated with latest results.

@Jinxer128

Copy link
Copy Markdown

Taking is not supported, regardless of whether sharing is enabled or not.
Sending resources doesn't cost any resources, both when taxes are on or off.
Sharing slider bar doesn't continually update with the teammate's available storage.

@keithharvey

Copy link
Copy Markdown
Collaborator Author

@Jinxer128 should be sorted. Tried an ambitious refactor and it didn't work out. Went back to the known-working solution.

@Jaedrik

Jaedrik commented Jun 24, 2026

Copy link
Copy Markdown

bugs

☑️ When using other sharing modes (not the default Enabled), Transfer units requires very inconsistent amounts of clicks on the ui (rather than double click as the UI indicates). Sometimes, there's a transfer delay even after successful double click.
☑️ Transfer units chat message has the wrong color of the target teammate.
☑️ When Tech Core is enabled, box select doesn't discriminate between constructors and fighting units like the base game does and instead grabs all of them.

ts fixed good jqob 👍

@keithharvey

keithharvey commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator Author

To test SPADS locally, from BAR-Devtools, check out the fix_wsl branch and run:

just chobby::dev-mode on
just chobby::server local
just spads::export-modes
just services::up

just bar::launch

# get a regular user to login with the default password to join the lobby so votes trigger
just tei::add-user bob
just tei::join-battle bob

The repos.local.conf to test this from BAR-Devtools:

cat > repos.local.conf <<'EOF'
@local_root ~/code

bar_debug_launcher  https://github.com/keithharvey/bar_debug_launcher.git cli
RecoilEngine        https://github.com/keithharvey/RecoilEngine.git resource-excess-callin-stats
BYAR-Chobby         https://github.com/keithharvey/BYAR-Chobby.git sharing_tab
Beyond-All-Reason   https://github.com/keithharvey/bar.git sharing_tab
EOF

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