Skip to content

Fix issues caused by schema-specific local web state #185

Description

@rmouritzen-splunk

Schema-specific web state (browser data) causes trouble in two cases:

  1. When switching between schema. Selection that only that are not relevant to the schema selected can cause issues.
  2. For developers working on the schema for similar reasons.

The net effect is that information can become mysteriously hidden.

One or both of the following solutions should be considered.

Solution 1: expire schema-specific settings

If possible, expire schema-specific settings after a period of inactivity such as 12 hours or a day.

The top-level settings should not be effected. These settings are:

  • Dark mode
  • Compact view
  • Show deprecated

Solution 2: explicit cache clearing control

We should add button or similar to clear locally stored cookies and web data.

Sometimes as the implementation evolves, or switching between schema versions, the stored web data causes weird behavior in the UI. This feature will allow clearing all locally stored browser data so the UI operates in a clean state.

Apropos, consider scoping state by schema version to avoid state for one version causing trouble in another.

With this button, we should consider if the top-level settings should be affected. Perhaps clearing these top-level settings should be an option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions