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

Update to SDG PUSH DIAGNOSTICS/PRIORITIES: API based fetching, client-side text extraction, and code refactor #15

Merged
merged 31 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
ff86687
Feat(pdfjs-dist): library import for client-side text extraction
GedionT Sep 24, 2024
7932c85
Feat(api): scaffolded api calls for priorities
GedionT Sep 25, 2024
0ea1449
Feat(util): added a client-side text extraction util with fallback me…
GedionT Sep 25, 2024
fe00a48
Refactor(saliencGraph): fixed data attribute from d.sdg to d.id
GedionT Sep 25, 2024
42cc6b0
Refactor(BubbleChart): refactored attribute from d.sdg to d.id
GedionT Sep 25, 2024
c68be9c
Refactor(CompareTable): fixed attribute from d.sdg to d.id
GedionT Sep 25, 2024
42130a3
Refactor(VNRAnalysis): fixed attrib from d.sdg to d.id and code forma…
GedionT Sep 25, 2024
179bc84
Feat(VNRAnalysis): added 'our approach' modal
GedionT Sep 25, 2024
a50b9b7
Refactor(index): refactored to use api calls to retrieve and select m…
GedionT Sep 25, 2024
ab7852a
Feat(constants): added the required endpoints
GedionT Sep 25, 2024
1d7e9c1
Feat(env): added configuration required to import meta env
GedionT Sep 25, 2024
934be58
Feat(priorities): added state to store invalid documents from extract…
GedionT Sep 25, 2024
ffadcf0
Refactor(extractPDF): updated error message to be concise
GedionT Sep 25, 2024
abae785
Feat(VNRAnalysis): added invalidDocument props and uses popover to di…
GedionT Sep 25, 2024
0b96ce3
Fix(detailedReportView): added a required prop to VNRAnalysis
GedionT Sep 25, 2024
c306383
Fix(ci/cd): added env import in yaml file
GedionT Sep 26, 2024
a3569a0
Fix(VNRAnalysis): added margin to FileNameChip tag style
GedionT Sep 27, 2024
ebcd96d
Feat(priorities): added status in modal while uploading document for …
GedionT Sep 27, 2024
bf00acc
Refactor(extractPDF): error message refactor for more clarity
GedionT Sep 27, 2024
bf7dd29
Refactor(VNRAnalysis): moved methodology modal to Priorities/index tabs
GedionT Oct 3, 2024
f29ebd8
Refactor(constants): unified api into one endpoint
GedionT Oct 3, 2024
cecc905
Refactor(prioritiesCall): placed all aiaas api calls in one module
GedionT Oct 3, 2024
47334ae
Refactor(extractPDF): modularized api calls and batched language iden…
GedionT Oct 3, 2024
1223565
Refactor(VNRAnalysis): fileNameChip displayed for one document and bu…
GedionT Oct 3, 2024
328f8c0
Refactor(Priorities): Methodology modal applied in tabs, Accordion fo…
GedionT Oct 3, 2024
ed5c1c5
Feat(index): added clarity tracking tag
GedionT Oct 3, 2024
7ee20bb
Fix(ci/cd): updated env vars injected from secret to static web apps
GedionT Oct 3, 2024
8076d30
Feat(privacyPolicy): added privacy policy content
GedionT Oct 4, 2024
42d2482
Feat(App): added route path to privacy policy
GedionT Oct 4, 2024
6f9ac05
Feat(footer): added privacy policy link in footer
GedionT Oct 4, 2024
f1e5921
Fix(App): privacy policy import route fix
GedionT Oct 4, 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
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy Job
env:
VITE_AIAAS_API_BASE_URL: ${{secrets.VITE_AIAAS_API_BASE_URL}}
VITE_AIAAS_API_KEY: ${{secrets.VITE_AIAAS_API_KEY}}
steps:
- uses: actions/checkout@v3
with:
Expand Down
7 changes: 7 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@
<link rel="stylesheet" href="https://undp-data.github.io/stylesheets-for-viz/style/mainStyleSheet.css" crossorigin="anonymous">
<link rel="stylesheet" href="https://undp-data.github.io/stylesheets-for-viz/style/StyleForGraphingInterface.css" crossorigin="anonymous">
<link rel="stylesheet" href="https://undp-data.github.io/stylesheets-for-viz/style/StyleForGraph.css" crossorigin="anonymous">
<script type="text/javascript" async>
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "ocyh6in88n");
</script>
</head>
<body style="margin: 0">
<div id="root" data-bucket-embed></div>
Expand Down
Loading