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

psp-8438 | Complementary UI for file headers + zoom to property fix #4020

Merged
merged 7 commits into from
May 17, 2024

Conversation

FuriousLlama
Copy link
Collaborator

No description provided.

@FuriousLlama FuriousLlama self-assigned this May 15, 2024
@FuriousLlama FuriousLlama added the enhancement New feature or request label May 15, 2024
Copy link
Contributor

✅ No secrets were detected in the code.

@devinleighsmith
Copy link
Collaborator

Looks like this change skipped the right hand side of the project screen:

image

The following visual changes have been made to all the other headers (i.e. property, project, research, disposition, acquisition)

@@ -55,59 +53,35 @@ export const LeaseHeader: React.FC<ILeaseHeaderProps> = ({ lease, lastUpdatedBy
/>
</HeaderField>
<Row>
<HeaderLabelCol label="Start date:" labelWidth="3" />
<HeaderLabelCol label="Lease Start:" labelWidth="3" />
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hmm, I don't see this requirement in the story. Why is this here?

<HeaderContentCol contentWidth="3">
{prettyFormatDate(lease?.startDate)}
</HeaderContentCol>
<HeaderLabelCol label="Expiry date:" />
<HeaderLabelCol label="Expiry:" />
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same with this.

@@ -53,7 +53,7 @@ const ResearchHeader: React.FunctionComponent<
<Col xs={leftColumnWidth}>
<Row className="no-gutters">
<Col>
<HeaderField label="File #:" labelWidth={leftColumnLabel} contentWidth="9">
<HeaderField label="File:" labelWidth={leftColumnLabel} contentWidth="9">
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't see this requested in the story either.

@@ -67,7 +67,7 @@ const ResearchHeader: React.FunctionComponent<
</Row>
<Row className="no-gutters">
<Col>
<HeaderField label="MoTI region:" labelWidth={leftColumnLabel} contentWidth="9">
<HeaderField label="MOTI region:" labelWidth={leftColumnLabel} contentWidth="9">
Copy link
Collaborator

Choose a reason for hiding this comment

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

or this.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Part of the mockup

import { ApiGen_Concepts_HistoricalFileNumber } from '@/models/api/generated/ApiGen_Concepts_HistoricalFileNumber';
import { exists } from '@/utils';

export interface IHistoricalNumbersViewProps {
historicalNumbers: ApiGen_Concepts_HistoricalFileNumber[];
}

interface HistoricalGroup {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hmm, why does this PR contain changes to the historical file numbers logic?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Because this PR is a branch from an earlier PR (lease header updates). Once merged, the change set here will be quite small

Copy link
Collaborator

@devinleighsmith devinleighsmith left a comment

Choose a reason for hiding this comment

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

Needs the changes to be applied to project, and then confirmation of reason for some changes that aren't part of the story (they may be needed, but since they aren't in the story I'm not sure).

Copy link
Collaborator

@devinleighsmith devinleighsmith left a comment

Choose a reason for hiding this comment

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

oops, meant to request changes.

@FuriousLlama
Copy link
Collaborator Author

oops, meant to request changes.

This is dependant on the earlier PR that addresses the lease changes.

Copy link
Contributor

✅ No secrets were detected in the code.

Copy link
Contributor

✅ No secrets were detected in the code.

Copy link
Contributor

✅ No secrets were detected in the code.

Copy link
Contributor

✅ No secrets were detected in the code.

@FuriousLlama FuriousLlama merged commit aa351b3 into bcgov:dev May 17, 2024
7 checks passed
@FuriousLlama FuriousLlama deleted the features/psp-8438 branch May 23, 2024 18:37
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.

2 participants