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

351 add relationship info #505

Merged
merged 22 commits into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/components/Modals/AddContactModal.jsx
leekahung marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ const AddContactModal = ({ addContact, showAddContactModal, setShowAddContactMod
setShowAddContactModal(false);
}}
fullWidth
sx={{ borderRadius: '20px' }}
>
Cancel
</Button>
Expand All @@ -179,6 +180,7 @@ const AddContactModal = ({ addContact, showAddContactModal, setShowAddContactMod
endIcon={<CheckIcon />}
type="submit"
fullWidth
sx={{ borderRadius: '20px' }}
>
Add Contact
</Button>
Expand Down
4 changes: 3 additions & 1 deletion src/constants/rdf_predicates.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ const RDF_PREDICATES = {
nickname: FOAF.nick,
dateCreated: 'https://schema.org/dateCreated',
propertyValue: 'https://schema.org/PropertyValue',
value: 'https://schema.org/value'
value: 'https://schema.org/value',
role: 'https://schema.org/roleName',
status: 'https://schema.org/status'
};

export default RDF_PREDICATES;
8 changes: 8 additions & 0 deletions src/constants/relationship_status.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const RELATIONSHIP_STATUS = {
blank: '',
active: 'active',
archive: 'archive',
other: 'other'
};

export default RELATIONSHIP_STATUS;
8 changes: 8 additions & 0 deletions src/constants/relationships.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const RELATIONSHIP_TYPE = {
blank: '',
client: 'Client',
caseManagement: 'Case Management',
associatedOrg: 'Associated Organization'
};

export default RELATIONSHIP_TYPE;
Loading