mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-21 21:47:17 +00:00
* Add routes for multi-page apps * Modify Editor, Viewer and Inspector to accept new app structure * Show a page selector on left side bar * Align component deletion logic with new app schema * Make subcontainer work with multi-page apps * Load components state properly in viewer * Use UUID instead of handle for pages * Display sidebar on viewer to switch pages * Add proper URL suffixing for pages in viewer * Add action to switch page * Revert translation file back to its pre-existing linting * Fix bug that caused modal to not open/close * Add support for query params in page switch * Fix the issue that caused navigation to fail while accessed via slug * Add missing SwitchPage file * Add support for page level variables * Add migration to convert existing apps to new schema * Add rollback for converting multi-page definitions back to single-page * Fix migration for multi-page apps * Adapt import/export service for multi-pages * [improvements] Multi-page applications (#4755) * UI updates for page selector popup card * delete page * delete page check: if only one page exits * switch to home page if the selected page is removed * adds and switch to new page * updating page name * updates to home page and starting page * handle updating the home page when home page is deleted * search box for filtering pages and minor style updates for the page handler card * header search box style fixes * for creating a new page, page handle needs to be unique * seperating into smaller components * updated pinned icon for page selector styles and settinf styles * Leftsidebar header ui component * handle dark theme * page handle ui and dark theme fixes for page menu * page handler edit modal * pinned state and update pinned state for menu options triggered * dark theme fixes for edit modal * handle on update should not be empty or prev * page handler updater * added loading state for saving * handles cancels * fixes slug ui * fixes crash for older app versions * updates the query params when handle gets an update * update homePage to homePageId * removes console.log * go back to the popover for modal close * fixes: Difficult to select page * fixes: Difficult to select the three-dot menu * fixes: on visiting the root url, navigate to homepage on viewer * adds tooltip for url * updates the page selector sidebar with sync with query manager * refactor and cleanup * refactor and cleanup * Compute component state when page is switched * modal should not close on click outside * disable save button if there is not change in the page handle input * should show/hide page menu when hovered * page icon * updates delete icon for disabled state * query manager should always be on top of page selector * checks if homePage key exists in pages def * updates page handler menu * updates the clear icon * page handler menu position * page handler menu position * handle icon * alert msg * global settings handler for updating viewer page navigation * show/hode page navigation for viewer * info text for toggle * Multipages:with sortable list [DnD] (#4783) * applied sortable list * on sort updates the definitions * fixies: app crash for dnd * viwer: canvas width should be 100% when navigation drawer is disbaled * fixes: homepage/startpage reload * clean up Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com> * Multipage UI viewer (#4801) * new ui changes for viewer pages * fixes postions for debugger and datasources popover * removes console.log * Multipage : hide page and unhide page feature (#4803) * adds: ability to hide pages * hides pages in viewer * unhide page * hide icon * allow accessing hidden pages from url * add: duplicate page (#4802) * add: duplicate page * do not copy the same references from the original page * page name and page handler should be unique for duplicate pages too * Add support for on-page-load events * Add icon from page settings menu item * Convert existing templates to multi-page schema * error logs for page level and app level errors (#4842) * Adapt comments feature for multi-pages * [Bugfix] multipage - page menu interactions (#4844) * fixes: menu popup interaction * fixes: on modal input focus, we switch the page * Adapt multi-player to multi-pages * Add editingPageId to ymap * Log self, others and editor props in real-time avatar generation * Save editing page id to appDef * Add editingPageId to presence in RealtimeCursors * adds no results ui for empty search results (#4869) * page icon updated (#4870) * fixes:Version switching crashes if the target version does not contain the current page (#4868) * Remove unnecessary setting of editingPageId on ymap * Remove unnecessary console.log * [Bugfix] Multipages: widget inspector event popover unmounts (#4887) * introduced a local state for events * cleaned up inspector.jsx * fixes: table widget inspector event accordion * Do not run switchPage twice when viewer is loaded * Preview should open the currently editing page * Properly place navigation and canvas in viewer * Update app definition whenever event manager changes are made * Add support for browser back and forward button in multi-pages * Rename handleBackButton to handlePageSwitchingBasedOnURLparam * Add support for cut/copy/paste and clone * Fix the crash caused by boxShadow * Add support for background colors in viewer in multi-pages * Run queries to be run on load on viewer, in multi-pages * Fix issue that caused inspector popovers to collapse * resolves workspace vars in viewer mode (#4892) * Multipage : Navigation for Mobile-ui (#4814) * refactored to components * burger menu for mobile ui * merge conflict fix for hidden pages * hamburger menu positioned in the header * viewer header reafctored * viewer mobile page manu styles * handles dark theme * mobile menu with dark mode toggle in the footer * components are moved to page level, handle for mobile layout * style fixes * removing unwanted code block * dark theme fixes * style fixes * fixes: events are sortable (#4895) * fixes: events are sortable * Remove uneccesarily repeated call of setEvents in EventManager Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com> * renamed settings to Event handlers (#4898) * updates the page setting title to Page Events * temp commit * Add support for setting max width in percentage * fixes: paramUpdates for boxes: 🙌🏻 * [Bugfix] Multipage - viewer canvas dark theme (#4897) * fixes: darktheme bg for viewer canvas * reverts canvas size * Fix for inspector bouncing back to previous values * resolves pages variables in pythong and js transformation (#4905) * csa support to event manager for pages (#4907) * Add support for setting canvas width in percentages * Persist page level variables across page switches * latest definitions is merged with the current appdef (#4914) * latest definitions is merged with the current appdef * mutating the local obj * cleanup * iterate through pages for new versions are created Co-authored-by: Arpit <arpitnath42@gmail.com>
172 lines
5 KiB
JSON
172 lines
5 KiB
JSON
{
|
|
"name": "frontend",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@dnd-kit/core": "^6.0.5",
|
|
"@dnd-kit/sortable": "^7.0.1",
|
|
"@dnd-kit/utilities": "^3.2.0",
|
|
"@react-google-maps/api": "^2.1.1",
|
|
"@sentry/react": "^7.12.0",
|
|
"@sentry/tracing": "^7.12.0",
|
|
"@tabler/icons": "^1.91.1",
|
|
"@tooljet/plugins": "../plugins",
|
|
"@uiw/react-codemirror": "^3.0.6",
|
|
"@y-presence/react": "^2.0.0",
|
|
"array-move": "^3.0.1",
|
|
"axios": "^0.24.0",
|
|
"bootstrap": "^4.6.0",
|
|
"classnames": "^2.3.1",
|
|
"date-fns": "^2.28.0",
|
|
"deep-object-diff": "^1.1.7",
|
|
"dompurify": "^2.2.7",
|
|
"draft-js": "^0.11.7",
|
|
"draft-js-export-html": "^1.4.1",
|
|
"driver.js": "^0.9.8",
|
|
"emoji-mart": "^3.0.1",
|
|
"fuse.js": "^6.4.6",
|
|
"history": "^4.9.0",
|
|
"html-loader": "^3.1.0",
|
|
"html-webpack-plugin": "^5.3.2",
|
|
"humps": "^2.0.1",
|
|
"i18next": "^21.8.14",
|
|
"i18next-browser-languagedetector": "^6.1.4",
|
|
"i18next-http-backend": "^1.4.1",
|
|
"immer": "^9.0.6",
|
|
"immutability-helper": "^3.1.1",
|
|
"lodash": "^4.17.21",
|
|
"moment": "^2.29.1",
|
|
"moment-timezone": "^0.5.34",
|
|
"papaparse": "^5.3.0",
|
|
"plotly.js-basic-dist-min": "^1.58.4",
|
|
"psl": "^1.8.0",
|
|
"query-string": "^6.13.6",
|
|
"rc-slider": "^9.7.5",
|
|
"react": "^16.14.0",
|
|
"react-beautiful-dnd": "^13.1.0",
|
|
"react-big-calendar": "^0.38.0",
|
|
"react-bootstrap": "^1.5.2",
|
|
"react-burger-menu": "^3.0.8",
|
|
"react-checkbox-tree": "^1.7.3",
|
|
"react-circular-progressbar": "^2.0.4",
|
|
"react-color": "^2.19.3",
|
|
"react-copy-to-clipboard": "^5.0.3",
|
|
"react-datepicker": "^4.7.0",
|
|
"react-dates": "^21.8.0",
|
|
"react-datetime": "^3.0.4",
|
|
"react-dnd": "^14.0.2",
|
|
"react-dnd-html5-backend": "^14.0.0",
|
|
"react-dom": "^16.14.0",
|
|
"react-dropzone": "^11.4.2",
|
|
"react-easy-sort": "^0.2.1",
|
|
"react-google-login": "^5.2.2",
|
|
"react-hot-toast": "^2.1.1",
|
|
"react-hotkeys-hook": "^3.4.4",
|
|
"react-i18next": "^11.18.3",
|
|
"react-json-tree": "^0.16.1",
|
|
"react-json-view": "^1.21.3",
|
|
"react-lazy-load-image-component": "^1.5.1",
|
|
"react-lazyload": "^3.2.0",
|
|
"react-loading-skeleton": "^2.2.0",
|
|
"react-mentions": "^4.3.0",
|
|
"react-multi-select-component": "^4.2.3",
|
|
"react-pdf": "^5.7.2",
|
|
"react-plotly.js": "^2.5.1",
|
|
"react-qr-reader": "^2.2.1",
|
|
"react-rnd": "^10.3.0",
|
|
"react-router-dom": "^5.0.0",
|
|
"react-select": "^4.3.1",
|
|
"react-select-search": "^3.0.5",
|
|
"react-selecto": "^1.17.0",
|
|
"react-spring": "^9.2.4",
|
|
"react-table": "^7.6.3",
|
|
"react-table-plugins": "^1.3.1",
|
|
"react-tooltip": "^4.2.18",
|
|
"react-virtuoso": "^2.17.2",
|
|
"react-zoom-pan-pinch": "^2.1.3",
|
|
"rxjs": "^6.3.3",
|
|
"semver": "^5.7.1",
|
|
"superstruct": "^0.15.4",
|
|
"tinycolor2": "^1.4.2",
|
|
"url-join": "^5.0.0",
|
|
"uuid": "8.3.2",
|
|
"xlsx": "^0.18.5",
|
|
"y-websocket": "^1.4.0",
|
|
"yjs": "^13.5.28",
|
|
"yup": "^0.27.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.4.3",
|
|
"@babel/eslint-parser": "^7.18.9",
|
|
"@babel/plugin-transform-runtime": "^7.16.10",
|
|
"@babel/preset-env": "^7.18.10",
|
|
"@babel/preset-react": "^7.18.6",
|
|
"@svgr/webpack": "^5.5.0",
|
|
"@testing-library/jest-dom": "^4.2.4",
|
|
"@testing-library/react": "^9.5.0",
|
|
"@testing-library/user-event": "^7.2.1",
|
|
"babel-loader": "^8.0.5",
|
|
"babel-plugin-console-source": "^2.0.5",
|
|
"babel-plugin-import": "^1.13.3",
|
|
"compression-webpack-plugin": "^10.0.0",
|
|
"css-loader": "^6.5.1",
|
|
"esbuild": "^0.15.3",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-import-resolver-webpack": "^0.13.1",
|
|
"eslint-plugin-import": "^2.24.2",
|
|
"eslint-plugin-jest": "^26.1.1",
|
|
"eslint-plugin-prettier": "^3.4.1",
|
|
"eslint-plugin-react": "^7.25.2",
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
"html-loader": "^3.1.0",
|
|
"html-webpack-plugin": "^5.3.2",
|
|
"jest": "^27.5.1",
|
|
"node-sass": "^4.14.1",
|
|
"path": "^0.12.7",
|
|
"prettier": "^2.3.2",
|
|
"sass-loader": "^12.4.0",
|
|
"style-loader": "^3.3.1",
|
|
"terser-webpack-plugin": "^5.3.4",
|
|
"webpack": "^5.55.1",
|
|
"webpack-cli": "^4.8.0",
|
|
"webpack-dev-server": "^4.7.4"
|
|
},
|
|
"scripts": {
|
|
"start": "webpack serve --port 8082 --host 0.0.0.0",
|
|
"build": "webpack --mode=production && cp -a ./assets/. ./build/assets/",
|
|
"lint": "eslint . '**/*.{js,jsx}'",
|
|
"format": "eslint . --fix '**/*.{js,jsx}'",
|
|
"test": "jest"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "react-app"
|
|
},
|
|
"browserslist": {
|
|
"production": [],
|
|
"development": []
|
|
},
|
|
"jest": {
|
|
"transform": {
|
|
"^.+\\.js?$": "babel-jest",
|
|
"^.+\\.jsx?$": "babel-jest",
|
|
"^.+\\.svg$": "<rootDir>/__mocks__/svg.js"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"node_modules/(?!(react|mpx-error-boundary)/)"
|
|
],
|
|
"moduleNameMapper": {
|
|
"@/(.*)": "<rootDir>/src/$1"
|
|
},
|
|
"testEnvironment": "jest-environment-jsdom",
|
|
"moduleDirectories": [
|
|
"node_modules",
|
|
"src"
|
|
],
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json",
|
|
"jsx"
|
|
]
|
|
}
|
|
}
|