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

Vertical stepper implemenetation #1441

Merged
merged 22 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
fe9341f
Inmpelemented modularised vertical stepper for upload screen
ashish-egov Sep 30, 2024
70aab30
Merge remote-tracking branch 'origin/console' into console
ashish-egov Sep 30, 2024
d9525f3
Update health/micro-ui/web/micro-ui-internals/packages/modules/microp…
ashish-egov Sep 30, 2024
d631f37
Update health/micro-ui/web/micro-ui-internals/packages/modules/microp…
ashish-egov Sep 30, 2024
c12d9eb
Enchancement in vetical Stepper
ashish-egov Oct 7, 2024
8e22724
Merge remote-tracking branch 'origin/console' into vertical-stepper-i…
ashish-egov Oct 7, 2024
6c05bf1
Vertical stepper enhancement
ashish-egov Oct 7, 2024
bcce31b
Merge branch 'vertical-stepper-implemenetation' of https://github.com…
ashish-egov Oct 7, 2024
b720036
Vertical Stepper Integration
ashish-egov Oct 7, 2024
ef7e850
Update SetupMicroplan.js
ashish-egov Oct 7, 2024
d1d493e
Update health/micro-ui/web/micro-ui-internals/packages/modules/microp…
ashish-egov Oct 7, 2024
a8787a5
Delete micro-ui/web/workbench/package-lock.json
ashish-egov Oct 7, 2024
e1c207f
Verycal Stepper Enhancement
ashish-egov Oct 7, 2024
b30cc19
Merge branch 'vertical-stepper-implemenetation' of https://github.com…
ashish-egov Oct 7, 2024
0ad275f
Update package.json
ashish-egov Oct 7, 2024
f580d17
Update package.json
ashish-egov Oct 7, 2024
12d71e6
Vertical stepper enhancement
ashish-egov Oct 7, 2024
a1c5dc2
Merge branch 'vertical-stepper-implemenetation' of https://github.com…
ashish-egov Oct 7, 2024
253e2cb
Merge branch 'console' into vertical-stepper-implemenetation
nipunarora-eGov Oct 7, 2024
f372b96
Revert
ashish-egov Oct 7, 2024
22e3bc4
Merge branch 'vertical-stepper-implemenetation' of https://github.com…
ashish-egov Oct 7, 2024
941ea96
Vertical stepper
ashish-egov Oct 7, 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 @@ -23,19 +23,25 @@ export const downloadExcelWithCustomName = ({ fileStoreId = null, customName = n
};

if (fileStoreId) {
axios
.get("/filestore/v1/files/id", {
responseType: "arraybuffer",
headers: {
"Content-Type": "application/json",
Accept: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"auth-token": Digit.UserService.getUser()?.["access_token"],
},
params: {
tenantId: Digit.ULBService.getCurrentTenantId(),
fileStoreId: fileStoreId,
},
})
axios.request({
nipunarora-eGov marked this conversation as resolved.
Show resolved Hide resolved
method: 'get',
url: "/filestore/v1/files/id",
responseType: "arraybuffer",
headers: {
"Content-Type": "application/json",
Accept: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"auth-token": Digit.UserService.getUser()?.["access_token"],
},
params: {
tenantId: Digit.ULBService.getCurrentTenantId(),
fileStoreId: fileStoreId,
},
data: { // Use 'data' to send the body
RequestInfo: {
authToken: Digit.UserService.getUser()?.access_token || null,
}
}
})
ashish-egov marked this conversation as resolved.
Show resolved Hide resolved
.then(async (res) => {
downloadExcel(
new Blob([res.data], { type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@
"react-hook-form": "6.15.8",
"react-i18next": "11.16.2",
"react-query": "3.6.1",
"react-router-dom": "5.3.0"
"react-router-dom": "5.3.0",
"xlsx": "0.17.5",
"react-drag-drop-files": "^2.3.10",
"@cyntler/react-doc-viewer": "1.10.3"
},
"author": "Jagankumar <jagan.kumar@egov.org.in>",
"license": "MIT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { ProviderContext } from "./utils/context";
import BoundarySelection from "./components/BoundarySelection";
import AssumptionsForm from "./components/AssumptionsForm";
import HypothesisWrapper from "./components/HypothesisWrapper";
import UploadDataCustom from "./components/UploadDataCustom";
import DataMgmtTable from "./components/DataMgmtTable";
import FileComponent from "./components/FileComponent";
import HeaderComp from "./components/HeaderComp";
Expand Down Expand Up @@ -59,6 +60,7 @@ const componentsToRegister = {
BoundarySelection,
AssumptionsForm,
HypothesisWrapper,
UploadDataCustom,
ashish-egov marked this conversation as resolved.
Show resolved Hide resolved
DataMgmtTable,
FileComponent,
HeaderComp,
Expand Down
Loading