Repository navigation
feat(plot-module): generic download.handlers for custom export formats - #47
Merged
Merged
Conversation
PlotModuleServer only knew a fixed set of formats (png/pdf/svg/csv/excel/ html/obj). download.handlers takes a named list of list(ext=, content=function(file)) specs; the names double as download.fmt entries, so a caller can offer e.g. "cx2" (Cytoscape CX2) straight from the plot download menu. Ported from omicsplayground devel, where PlotModuleServer lived before the move into bigdash. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TwCeAfAF9p965ed6nZUVjx
ESCRI11
added a commit
to bigomics/omicsplayground
that referenced
this pull request
Sep 8, 2026
Conflict resolutions: - VERSION: keep edgy's 5.0-rc1+edgy260831 - components/board.pcsf/R/util_pcsf.R: edgy deleted the file as dead code, but devel's #1789 added pcsf.write_cx2() there and the PCSF panels call it. Restore the file with only pcsf.write_cx2(); visplot.PCSF() and plot.pcsf.NOTUSED() stay deleted (unreferenced in edgy). - components/ui/ui-PlotModule.R: stays deleted; PlotModuleServer now lives in bigdash. devel's download.handlers argument (used by the new CX2 export) is ported there in bigomics/bigdash#47. - components/board.upload/R/upload_module_preview_counts.R: keep edgy's unconditional datapath[1] (the filename gate was removed on purpose in d95d6a4) and layer devel's hPTM additions on top. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TwCeAfAF9p965ed6nZUVjx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PlotModuleServeronly knew a fixed set of download formats (png/pdf/svg/csv/excel/html/obj).download.handlerstakes a named list oflist(ext = , content = function(file))specs; the names double asdownload.fmtentries, so a caller can offer e.g."cx2"(Cytoscape CX2) straight from the plot download menu.Ported verbatim from omicsplayground
devel(#1789), wherePlotModuleServerlived before the move into bigdash. Needed so the PCSF → Cytoscape export survives the omicsplaygroundedgy←develmerge (bigomics/omicsplayground#1890).🤖 Generated with Claude Code
https://claude.ai/code/session_01TwCeAfAF9p965ed6nZUVjx