fix(ui): restore equation columns, add RAST genome preview, improve filtering#203
Merged
Merged
Conversation
…ail tables The reaction fluxes table on /fba/[...path] and the reactions table on /gapfill/[...path] were both missing the equation column, even though the data was parsed and stored in each row. Users performing manual curation could not see reaction equations (with cpd IDs) to detect duplicate-compound-ID issues that cause flux breakdowns. Added the Equation column using the ChemicalEquation component between Name and Flux/Direction, matching the pattern used on the model detail page and biochem reactions list.
…back flow - Added getRastGenomeData() to modelseed.ts that calls MSSS over JSON-RPC to fetch genome annotation data (taxonomy, domain, features, contigs). Returns a KBase Genome-compatible dict once the backend translator is wired by José. - Wired RastGenomePreviewDialog into the RAST tab on the Build Model page. Clicking 'Build Model' on a RAST row now opens a preview dialog showing genome metadata. If genome data fetch fails (MSSS getRastGenomeData is currently broken due to chestnut MySQL), a warning is shown and the user can still proceed with default settings. - Made RastGenomePreviewDialog non-blocking on error: shows warning severity instead of error, enables 'Proceed anyway' button, so the existing submission flow is preserved regardless of backend availability. - Added API proxy route at /api/rast/jobs for server-side RAST job listing. - Added E2E tests for RAST genome listing flow.
…ck to MSSS listRastGenomes() now calls GET /api/rast/jobs (local proxy -> José's modelseed-api endpoint) first. If proxy returns non-200 or throws, falls back to direct MSSS JSON-RPC. Seamless switch once MODELSEED_RAST_DB_HOST is configured on the server.
Replaced TruncatedWithTooltip with a flex-based wrapper that allows equation text to wrap naturally. Users can now resize the column and see full equations without ellipsis truncation.
The effect intentionally resets loading/genomeData/error state when open or job changes. This is the standard pattern for data-fetching effects and the lint rule is over-zealous here.
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.
Summary
Equation fixes (user-reported)
RAST genome integration
Other