Skip to content

preview controller memoize response#989

Merged
asdfzdfj merged 1 commit intoMbinOrg:mainfrom
asdfzdfj:new/preview-memoize-response
Aug 4, 2024
Merged

preview controller memoize response#989
asdfzdfj merged 1 commit intoMbinOrg:mainfrom
asdfzdfj:new/preview-memoize-response

Conversation

@asdfzdfj
Copy link
Copy Markdown
Contributor

@asdfzdfj asdfzdfj commented Aug 4, 2024

adjusted preview controller to clear its content on close, but at the same time also memoize the embed response from the server

the should help in dealing with e.g. youtube embed preview where simply hiding the preview container would not make it stop, and there's no good way to universally stop embed media players other than to erase them out entirely, while not making extra requests to the server when the preview is being repeatedly shown/hidden in the same page session

@BentiGorlich BentiGorlich added enhancement New feature or request frontend Visual issues, improvements, bugs or other aspects relating mostly to the front end labels Aug 4, 2024
adjusted preview controller to clear its content on close, but at the
same time also memoize the embed response from the server

the should help in dealing with e.g. youtube embed preview where simply
hiding the preview container would not make it stop, and there's no good
way to universally stop embed media players other than to erase them out
entirely, while not making extra requests to the server when the preview
is being repeatedly shown/hidden in the same page session
@asdfzdfj asdfzdfj force-pushed the new/preview-memoize-response branch from ffade4d to dbabe43 Compare August 4, 2024 10:14
@asdfzdfj asdfzdfj merged commit 9b4ae22 into MbinOrg:main Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request frontend Visual issues, improvements, bugs or other aspects relating mostly to the front end

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants