-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #264 from adhocteam/main
Submit a report for approval
- Loading branch information
Showing
18 changed files
with
236 additions
and
156 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
post: | ||
tags: | ||
- activity-reports | ||
summary: Submit an activity report for approval | ||
requestBody: | ||
description: The approving manager and any additional notes for the report | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
approvingManagerId: | ||
type: string | ||
description: The id of the manager assigned to approve the report | ||
additionalNotes: | ||
type: string | ||
description: Any contextual information the author/collaborators want to provide the approving manager | ||
parameters: | ||
- in: path | ||
name: activityReportId | ||
required: true | ||
schema: | ||
type: number | ||
responses: | ||
200: | ||
description: The submitted activity report | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../../index.yaml#/components/schemas/activityReport' |
This file contains 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
This file contains 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
32 changes: 0 additions & 32 deletions
32
frontend/src/components/Navigator/components/IndicatorHeader.js
This file was deleted.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
frontend/src/components/Navigator/components/NavigatorHeader.js
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
USWDS step indicator header, grabbed from https://designsystem.digital.gov/components/step-indicator/ | ||
The uswds react library we use doesn't have this component yet. | ||
*/ | ||
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
|
||
const NavigatorHeader = ({ label }) => ( | ||
<div className="usa-step-indicator__header"> | ||
<h2 className="usa-step-indicator__heading"> | ||
<span className="usa-step-indicator__heading-text">{label}</span> | ||
</h2> | ||
</div> | ||
); | ||
|
||
NavigatorHeader.propTypes = { | ||
label: PropTypes.string.isRequired, | ||
}; | ||
|
||
export default NavigatorHeader; |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.