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

NeodigmAgent | Support unistore persistence when more than one widget exists. #117

Open
neodigm opened this issue May 12, 2024 · 2 comments
Assignees
Labels
3.5 Delirious Physics Package | Evoked Viral Ego Vanity Advocacy bug Something isn't working

Comments

@neodigm
Copy link
Collaborator

neodigm commented May 12, 2024

Currently unistore logic only works when there is only one widget on the page.

Store unistore (compress string) and unistore_token on each neodigm-widget element.

Steps to reproduce:
neodigmAgent.unistore

About UniStore:
Unistore is shared with like unistore_token (not instance) intersession store.
May be equal to the wdgt token or may be a separate shared token.
WTT UniStore allows for one or more wdgts to share a single string (may be compressed JSON).
Any instance of a Wdgt that shares the same unistore_token may update it, facilitating UGC anonymous community updates.
Another application is for one wdgt being the admin interface for another user facing wdgt.
One wdgt may have only one unistore, but one unistore may serve multiple wdgts.

@neodigm neodigm added bug Something isn't working 3.5 Delirious Physics Package | Evoked Viral Ego Vanity Advocacy labels May 12, 2024
@neodigm neodigm self-assigned this May 12, 2024
@neodigm
Copy link
Collaborator Author

neodigm commented May 12, 2024

Also, there seems to be an issue with sandboxes always using the "case conversion" token. Look in DB. Not really a N55 issue, likely an API issue.

@neodigm
Copy link
Collaborator Author

neodigm commented Jul 13, 2024

Multiple Wdgt instances of the same class on the same page with DIFFERENT configs.

Also WTT Related: Per Wdgt header logic (exists in each wdgt for now)

Interpret global wttPageConfig (dto)
Hang on DOM node its ID property /w children.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.5 Delirious Physics Package | Evoked Viral Ego Vanity Advocacy bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant