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

feat(DEV-13233): Financing V1 #484

Merged
merged 50 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from 47 commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
4c8bf3a
feat(DEV-13300): add finance sdk and api integration setup
PeCrio Dec 6, 2024
88691dd
docs(changeset): feat(DEV-13428): add wrapper for finance faq
PeCrio Dec 6, 2024
66e853a
docs(changeset): feat(DEV-13399): add integrations page and finance a…
PeCrio Dec 6, 2024
5828ac1
docs(changeset): feat(DEV-13304): implement finance banner
PeCrio Dec 6, 2024
f57ac16
docs(changeset): feat(DEV-13301): finance an invoice
PeCrio Dec 6, 2024
e942b9c
docs(changeset): feat(DEV-13306): add financing tab
PeCrio Dec 6, 2024
3a53ec0
docs(changeset): feat(DEV-13398): expose finance components
PeCrio Dec 6, 2024
879e9d7
fix: update api schema
PeCrio Dec 9, 2024
cb424ed
Merge pull request #472 from team-monite/feat/DEV-13428-implement-ui-…
PeCrio Dec 9, 2024
5818229
fix: update mock data with types from new schema
PeCrio Dec 9, 2024
4962ae1
fix: update mock data with types from new schema
PeCrio Dec 9, 2024
a4d98e7
Merge branch 'feat/DEV-13233-fe-kanmon-v-1-implementation' of https:/…
PeCrio Dec 9, 2024
83a4124
fix: update translations from type update
PeCrio Dec 9, 2024
e4d0f67
Merge pull request #471 from team-monite/feat/DEV-13300-kanmon-sdk-in…
PeCrio Dec 9, 2024
8b7723c
feat: retrieve finance details for an invoice from api
PeCrio Dec 9, 2024
71a6dc7
Merge branch 'feat/DEV-13233-fe-kanmon-v-1-implementation' of https:/…
PeCrio Dec 9, 2024
decbe75
chore: update import
PeCrio Dec 9, 2024
3472c5f
Merge branch 'feat/DEV-13304-implement-ui-for-finance-banners' of htt…
PeCrio Dec 9, 2024
7b5d57d
Merge branches 'feat/DEV-13306-implement-ui-for-financing-dashboard-t…
PeCrio Dec 9, 2024
40d5dfc
refactor
PeCrio Dec 10, 2024
872cfcc
Merge pull request #474 from team-monite/feat/DEV-13304-implement-ui-…
PeCrio Dec 10, 2024
354dba8
Merge branch 'feat/DEV-13233-fe-kanmon-v-1-implementation' of https:/…
PeCrio Dec 10, 2024
fdf6b34
chore: update changeset type
PeCrio Dec 10, 2024
66d4036
feat: update financed invoices table implementation
PeCrio Dec 10, 2024
cf1a0a6
Merge pull request #473 from team-monite/feat/DEV-13399-implement-int…
PeCrio Dec 10, 2024
d44eb0d
Merge branch 'feat/DEV-13233-fe-kanmon-v-1-implementation' of https:/…
PeCrio Dec 10, 2024
0a36204
Merge branch 'feat/DEV-13233-fe-kanmon-v-1-implementation' of https:/…
PeCrio Dec 10, 2024
d285acf
feat: update checks for financing an invoice
PeCrio Dec 11, 2024
c80a48f
chore: update translations
PeCrio Dec 11, 2024
28b8c5b
refactor
PeCrio Dec 11, 2024
df6d7fe
refactor: update empty value for finance details
PeCrio Dec 11, 2024
bc2b975
feat: update eligibility check for financing an invoice
PeCrio Dec 11, 2024
d2a1190
Merge pull request #475 from team-monite/feat/DEV-13301-implement-sin…
PeCrio Dec 11, 2024
262b904
Merge branch 'feat/DEV-13233-fe-kanmon-v-1-implementation' of https:/…
PeCrio Dec 11, 2024
c06a589
chore
PeCrio Dec 11, 2024
4237ad0
refactor
PeCrio Dec 11, 2024
d7209eb
chore: update translations
PeCrio Dec 11, 2024
f5494ef
refactor
PeCrio Dec 12, 2024
c03bb74
chore
PeCrio Dec 12, 2024
39d6149
feat: add enabled check to finance tab export
PeCrio Dec 12, 2024
0983476
refactor
PeCrio Dec 12, 2024
42d30d3
chore: temporarily reduce coverage threshold
PeCrio Dec 12, 2024
a2b7aed
Merge pull request #476 from team-monite/feat/DEV-13306-implement-ui-…
PeCrio Dec 12, 2024
6b35be9
Merge branch 'feat/DEV-13233-fe-kanmon-v-1-implementation' of https:/…
PeCrio Dec 12, 2024
510d955
feat: update finance component exports
PeCrio Dec 12, 2024
5e2cdc2
Merge pull request #477 from team-monite/feat/DEV-13398-component-exp…
PeCrio Dec 12, 2024
7ebf1f5
Merge branch 'dev' of https://github.com/team-monite/monite-sdk into …
PeCrio Dec 12, 2024
080a2c7
chore: update copy
PeCrio Dec 12, 2024
1523a3d
Merge branch 'dev' of https://github.com/team-monite/monite-sdk into …
PeCrio Dec 13, 2024
bfdf00b
Merge branch 'dev' of https://github.com/team-monite/monite-sdk into …
PeCrio Dec 13, 2024
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
5 changes: 5 additions & 0 deletions .changeset/beige-birds-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@monite/sdk-react': minor
---

feat(DEV-13306): add financing tab
5 changes: 5 additions & 0 deletions .changeset/eighty-pandas-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@monite/sdk-react': minor
---

feat(DEV-13301): finance an invoice
5 changes: 5 additions & 0 deletions .changeset/forty-onions-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@monite/sdk-react': minor
---

feat(DEV-13304): implement finance banner
5 changes: 5 additions & 0 deletions .changeset/healthy-roses-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@monite/sdk-react': minor
---

feat(DEV-13398): expose finance components
6 changes: 6 additions & 0 deletions .changeset/hungry-snakes-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@monite/sdk-react': minor
'@team-monite/sdk-demo': minor
---

feat(DEV-13399): add integrations page and finance application card
5 changes: 5 additions & 0 deletions .changeset/kind-impalas-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@monite/sdk-react': patch
---

feat(DEV-13428): add wrapper for finance faq
6 changes: 6 additions & 0 deletions .changeset/shy-otters-perform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@monite/sdk-react': minor
'@team-monite/sdk-demo': minor
---

feat(DEV-13399): add integrations page and finance application card
9 changes: 9 additions & 0 deletions packages/sdk-demo/src/apps/Base/Base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
Products,
Tags,
Onboarding,
Integrations,
RolesAndApprovalPolicies,
} from '@monite/sdk-react';
import { Box } from '@mui/material';
Expand Down Expand Up @@ -94,6 +95,14 @@ export const Base = () => {
}
/>
<Route path={ROUTES.onboarding} element={<Onboarding />} />
<Route
path={ROUTES.integrations}
element={
<Gutter>
<Integrations />
</Gutter>
}
/>
<Route path="*" element={<Navigate to={ROUTES.counterparts} />} />
</Routes>
);
Expand Down
1 change: 1 addition & 0 deletions packages/sdk-demo/src/apps/Base/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ export const ROUTES = {
receivables: '/receivables',
products: '/products',
onboarding: '/onboarding',
integrations: '/integrations',
rolesApprovals: '/settings/roles-approvals',
};
5 changes: 5 additions & 0 deletions packages/sdk-demo/src/components/Menu/consts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ export const getNavigationData = (
url: ROUTES.onboarding,
renderIcon: (props) => <LabelIcon {...props} />,
},
integrations: {
label: t(i18n)`Integrations`,
url: ROUTES.integrations,
renderIcon: (props) => <LabelIcon {...props} />,
},
},
},
});
4 changes: 4 additions & 0 deletions packages/sdk-demo/src/locales/en/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ msgstr "Entity User ID"
msgid "Error: <0>{0}</0>"
msgstr "Error: <0>{0}</0>"

#: src/components/Menu/consts.tsx:66
msgid "Integrations"
msgstr "Integrations"

#: src/components/LoginForm/LoginForm.tsx:128
msgid "Login"
msgstr "Login"
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-react/generate-api-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ set -o errexit
yarn exec openapi-qraft src/api/schema.json --plugin tanstack-query-react --plugin openapi-typescript \
--output-dir src/api --clean --filter-services '**,!/portal/**' \
--operation-predefined-parameters \
'/**,!/auth/**,!/entities/**,!/entity_users/me,!/entity_users/my_entity,!/entity_users/my_role,!/events/**,!/mail_templates/**,!/webhook_subscriptions/**,!/webhook_settings/**,!/receivables/variables,!/settings/**,!/files/**,!/mailbox_domains/**,!/payable_purchase_orders/**,!/frontend/bank_account_masks,!/frontend/document_type_descriptions,!/frontend/person_mask,!/frontend/bank_accounts_currency_to_supported_countries,!/internal/**:header.x-monite-entity-id' \
'/**,!/auth/**,!/entities/**,!/entity_users/me,!/entity_users/my_entity,!/entity_users/my_role,!/events/**,!/mail_templates/**,!/webhook_subscriptions/**,!/webhook_settings/**,!/receivables/variables,!/settings/**,!/files/**,!/mailbox_domains/**,!/payable_purchase_orders/**,!/frontend/bank_account_masks,!/frontend/document_type_descriptions,!/frontend/person_mask,!/frontend/bank_accounts_currency_to_supported_countries,!/internal/**,!/payables/validations/**:header.x-monite-entity-id' \
'/**:header.x-monite-version' \
&& prettier --write src/api/**/**.ts
2 changes: 1 addition & 1 deletion packages/sdk-react/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ module.exports = {
statements: 96,
},
'./src/components/receivables': {
branches: 35,
branches: 30,
functions: 25,
lines: 60,
statements: 55,
Expand Down
1 change: 1 addition & 0 deletions packages/sdk-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"react-infinite-scroll-component": "~6.1.0",
"react-international-phone": "~4.2.4",
"react-router-dom": "^6.3.0",
"react-script-hook": "~1.7.2",
"react-use": "^17.3.2",
"react-virtuoso": "~4.7.10",
"yup": "~0.32.11"
Expand Down
Loading
Loading