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

Add jobs widget to jbrowse-web #3951

Merged
merged 3 commits into from Oct 2, 2023
Merged

Add jobs widget to jbrowse-web #3951

merged 3 commits into from Oct 2, 2023

Conversation

carolinebridge
Copy link
Contributor

Accommodates Apollo #234

summary of changes

  • adds jobs widget to the tools dropdown on web
  • updates consistent wording on headers
  • adds aborted job section to widget

@carolinebridge carolinebridge added the enhancement New feature or request label Sep 28, 2023
@github-actions github-actions bot added the needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) label Sep 28, 2023
@codecov
Copy link

codecov bot commented Sep 29, 2023

Codecov Report

Merging #3951 (a62b404) into main (6ccc20d) will increase coverage by 0.01%.
Report is 2 commits behind head on main.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #3951      +/-   ##
==========================================
+ Coverage   63.75%   63.76%   +0.01%     
==========================================
  Files        1018     1018              
  Lines       30164    30172       +8     
  Branches     7189     7192       +3     
==========================================
+ Hits        19230    19239       +9     
+ Misses      10770    10767       -3     
- Partials      164      166       +2     
Files Coverage Δ
products/jbrowse-web/src/corePlugins.ts 100.00% <ø> (ø)
plugins/jobs-management/src/index.ts 41.17% <0.00%> (+3.67%) ⬆️
...lugins/jobs-management/src/JobsListWidget/model.ts 6.25% <0.00%> (-0.42%) ⬇️
...t/src/JobsListWidget/components/JobsListWidget.tsx 9.52% <0.00%> (-2.25%) ⬇️

... and 2 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@carolinebridge carolinebridge removed the needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) label Oct 2, 2023
@@ -40,6 +40,7 @@ export default class extends Plugin {
let jobStatusWidget = widgets.get('JobsList')
if (!jobStatusWidget) {
jobStatusWidget = session.addWidget('JobsListWidget', 'JobsList')
session.showWidget(jobStatusWidget)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: showWidget is on both sides of the if/else, can probably move outside of if/else

@@ -11,6 +11,12 @@ const JobCard = observer(function JobCard({ job }: { job: NewJob }) {
<strong>{'Name: '}</strong>
{job.name}
</Typography>
{job.statusMessage ? (
<Typography variant="body1">
<strong>{'Message: '}</strong>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: don't have to use the curly for the plain-old-string on the strong line of the jsx

@cmdcolin cmdcolin merged commit aefc67d into main Oct 2, 2023
11 checks passed
@cmdcolin cmdcolin changed the title Adds the jobs widget to web Add jobs widget to jbrowse-web Oct 2, 2023
@carolinebridge carolinebridge deleted the add-job-widget-to-web branch October 2, 2023 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants