Skip to content

Commit

Permalink
Merge pull request #107 from qoretechnologies/develop
Browse files Browse the repository at this point in the history
v6.0-2.0.3
  • Loading branch information
Foxhoundn authored Aug 8, 2024
2 parents 4e7a459 + b0636ae commit 2004970
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 20 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "qorus-ui",
"version": "2.0.2",
"version": "2.0.3",
"description": "Qorus UI",
"author": "Qore Technologies",
"repository": {
Expand Down
18 changes: 6 additions & 12 deletions src/js/components/StepCodeDiagram/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ import { groupInstances } from '../../helpers/orders';
import modal from '../../hocomponents/modal';
import { graph } from '../../lib/graph';
import StepDetailTable from '../../views/order/diagram/step_details';
import { Breadcrumbs, Crumb } from '../breadcrumbs';
// @ts-ignore ts-migrate(2306) FIXME: File '/workspace/qorus-webapp/src/js/components/co... Remove this comment to see the full error message
import { ReqoreControlGroup, ReqoreH5 } from '@qoretechnologies/reqore';
import { Control as Button, Controls as ButtonGroup } from '../controls';
import Flex from '../Flex';
import Headbar from '../Headbar';
import Loader from '../loader';
import Pull from '../Pull';
import StepModal from './modal';
Expand Down Expand Up @@ -1056,13 +1055,9 @@ class StepsTab extends Component {

return (
<Flex>
<Headbar>
<Breadcrumbs collapsed>
{/* @ts-ignore ts-migrate(2339) FIXME: Property 'normalizedName' does not exist on type '... Remove this comment to see the full error message */}
<Crumb>{workflow.normalizedName}</Crumb>
</Breadcrumbs>
<Pull right>
<ButtonGroup>
<ReqoreControlGroup style={{ justifyContent: 'space-between'}}>
<ReqoreH5>{workflow.normalizedName}</ReqoreH5>
<ReqoreControlGroup>
{useDrag && (
<span style={{ lineHeight: '30px', paddingRight: 5 }} className="text-muted">
<FormattedMessage id="button.drag-to-move-around" />
Expand Down Expand Up @@ -1101,9 +1096,8 @@ class StepsTab extends Component {
onClick={this.handleZoomReset}
big
/>
</ButtonGroup>
</Pull>
</Headbar>
</ReqoreControlGroup>
</ReqoreControlGroup>
<div
ref={this.handlePanRef}
style={{
Expand Down
1 change: 0 additions & 1 deletion src/js/components/box/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// @flow
import React from 'react';
import pure from 'recompose/onlyUpdateForKeys';
import Flex from '../Flex';

Expand Down
6 changes: 4 additions & 2 deletions src/js/hocomponents/csv.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export default (collection: string, name: string): Function =>
label="Export data as CSV"
onClose={() => setIsOpen(false)}
fill
height='400px'
bottomActions={[
{
label: 'Copy',
Expand All @@ -72,15 +73,16 @@ export default (collection: string, name: string): Function =>
]}
>
<ReqoreTextarea
scaleWithContent
fluid
style={{ height: '100%', resize: 'none' }}
wrapperStyle={{ height: '100%' }}
readOnly
id="CSV-modal-text"
value={`${generateCSV(props[collection], name)}`}
/>
</ReqoreModal>
)}
<Component onCSVClick={handleCSVClick} {...props} />;
<Component onCSVClick={handleCSVClick} {...props} />
</>
);
};
Expand Down
3 changes: 1 addition & 2 deletions src/js/views/order/hierarchy/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// @flow
import map from 'lodash/map';
import size from 'lodash/size';
import React from 'react';
import { FormattedMessage, injectIntl } from 'react-intl';
import compose from 'recompose/compose';
import mapProps from 'recompose/mapProps';
Expand Down Expand Up @@ -88,7 +87,7 @@ Props) => (
</Th>
</FixedRow>
<FixedRow {...{ sortData, onSortChange }}>
<IdColumnHeader />
<IdColumnHeader className="medium" />
<NameColumnHeader title={intl.formatMessage({ id: 'table.workflow' })} />
<Th icon="info-sign" name="workflowstatus">
<FormattedMessage id="table.status" />
Expand Down
2 changes: 1 addition & 1 deletion src/js/views/order/hierarchy/row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const HierarchyRow: Function = ({
}: // @ts-ignore ts-migrate(2724) FIXME: 'React' has no exported member named 'Element'. Di... Remove this comment to see the full error message
Props) => (
<Tr first={first}>
<NameColumn name={id} link={`/order/${id}/24h`} type="order" className="normal" />
<NameColumn name={id} link={`/order/${id}/24h`} type="order" className="medium" />
<NameColumn
// @ts-ignore ts-migrate(2339) FIXME: Property 'hierarchy_level' does not exist on type ... Remove this comment to see the full error message
name={`${[...Array(item.hierarchy_level)].map((): string => '--')} ${
Expand Down
1 change: 1 addition & 0 deletions src/js/views/workflows/tabs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ WorkflowDetailTabsProps) => (
{!isPane && (
<SimpleTab name="orders">
<List {...{ workflow, date, location, linkDate }} />

</SimpleTab>
)}
{!isPane && (
Expand Down
1 change: 0 additions & 1 deletion src/js/views/workflows/tabs/list/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @flow
import flowRight from 'lodash/flowRight';
import React from 'react';
import { connect } from 'react-redux';
import compose from 'recompose/compose';
import lifecycle from 'recompose/lifecycle';
Expand Down

0 comments on commit 2004970

Please sign in to comment.