Skip to content

fix(settings-sync): reset Activity expanded state on clear#42

Open
davidweb3-ctrl wants to merge 2 commits intoCortexLM:mainfrom
davidweb3-ctrl:fix/settings-sync-activity-expanded-27720
Open

fix(settings-sync): reset Activity expanded state on clear#42
davidweb3-ctrl wants to merge 2 commits intoCortexLM:mainfrom
davidweb3-ctrl:fix/settings-sync-activity-expanded-27720

Conversation

@davidweb3-ctrl
Copy link

Summary

Adds a createEffect that resets the expanded state when the activity log is cleared.

Changes

  • Added createEffect that watches state.activityLog.length
  • Resets expanded to false when the log becomes empty
  • Ensures future activity starts from the collapsed preview state

Issue

Fixes PlatformNetwork/bounty-challenge#27720

Previously, the Show More expanded state survived clearing the log and was reused for later activity entries.

Adds a confirmation step before applying imported settings to prevent
accidental overwrites of sync-managed local state.

- Added confirmImport state to track pending import
- Added pendingImport state to store file content
- Shows warning with Yes/No confirmation before import
- Cancel option discards the pending import

Fixes PlatformNetwork/bounty-challenge#27667
Adds a createEffect that resets the expanded state when the activity
log is cleared, ensuring future activity starts from the collapsed
preview state.

Fixes PlatformNetwork/bounty-challenge#27720
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.

[BUG] [alpha] Settings Sync Activity Show More state survives clearing the log and reopens later entries expanded

1 participant