Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
17dd6c8
feat: sn-auth package
hashtagnulla Sep 6, 2024
8a2b4e8
updated sn-auth-react with api calls and refactored token refreshing
hashtagnulla Sep 23, 2024
c803121
moving react dependency to peer dependencies
hashtagnulla Sep 25, 2024
765752d
moving react dependency to peer dependencies
hashtagnulla Sep 25, 2024
4cc5bb3
fix: refresh token
hashtagnulla Oct 7, 2024
b59e888
raised version number
hashtagnulla Oct 7, 2024
25313b0
bumped version number
hashtagnulla Oct 7, 2024
b1bfc44
fix: blank screen on content actions
hashtagnulla Oct 17, 2024
a90333b
Fix UI elements and file download
marosvolgyiz Dec 5, 2024
70daded
Add ui fixe
marosvolgyiz Dec 9, 2024
3f6a251
Fix: ActionButtonWrapper CSS
marosvolgyiz Dec 10, 2024
fe6301f
admin ui extra improvements
marosvolgyiz Feb 7, 2025
88685e2
admin ui extra imp. #2
marosvolgyiz Feb 7, 2025
df7b986
add fixes
marosvolgyiz Feb 7, 2025
e202b48
Fix import
marosvolgyiz Feb 7, 2025
724a2f4
Remove junks
marosvolgyiz Feb 7, 2025
55a284c
Fix old functions
marosvolgyiz Feb 7, 2025
4d89609
fix odataparams
marosvolgyiz Feb 7, 2025
6a1a0bf
Add selectionService to Grid
marosvolgyiz Feb 7, 2025
b20af03
Add pipe to gitignore
marosvolgyiz Feb 7, 2025
cccc9d9
fixes
marosvolgyiz Feb 13, 2025
d6e961d
fix tree
marosvolgyiz Feb 13, 2025
7dd501d
fixed locked cell in the grid
marosvolgyiz Feb 13, 2025
c3c9bac
fixes
marosvolgyiz Feb 13, 2025
6440999
fix height to 25px
marosvolgyiz Feb 13, 2025
ac3162a
Design improvements
marosvolgyiz Feb 13, 2025
9682b56
add build time auth switch
VargaJoe Apr 29, 2025
1bb9126
keler to snauth and eslint fixes
NoelKova Apr 30, 2025
4eabbb8
remove console logs
NoelKova May 5, 2025
d9c58ba
grid selection filtered only
NoelKova May 5, 2025
70ed295
update deprecated varsions
NoelKova May 5, 2025
6516c53
update eslint-plugin-jsdoc
NoelKova May 5, 2025
f83950b
downgrade eslint-plugin-jsdoc
NoelKova May 5, 2025
255bf9a
remove examples build from ci.yml
NoelKova May 5, 2025
b67fefc
put back examples build
NoelKova May 5, 2025
44c2709
yml edits
NoelKova May 5, 2025
53e3936
comment test
NoelKova May 5, 2025
3a22ab4
revert yml changes
NoelKova May 5, 2025
e34355a
copy ymls from develop
NoelKova May 5, 2025
20c4c3a
Merge pull request #1641 from SenseNet/feature/sn-client-refactor
NoelKova May 5, 2025
32332e3
login with both auth type at the same time
NoelKova May 8, 2025
bc2e5a2
Merge branch 'feature/sn-auth-package-extraimprovements-isswitch' int…
NoelKova May 8, 2025
32089b6
Merge branch 'develop' into feature/sn-auth-package-extraimprovements
NoelKova May 8, 2025
21a6b1b
add missing file
NoelKova May 9, 2025
bfba6c6
remove storybook build
NoelKova May 12, 2025
1974e68
remove storybook build
NoelKova May 12, 2025
5f95881
ci on PR
NoelKova May 12, 2025
bacc399
yml version
NoelKova May 12, 2025
0593e9e
remove ci on pull request
NoelKova May 12, 2025
33c0835
remove exmaples build
NoelKova May 12, 2025
86395f1
remove tests
NoelKova May 12, 2025
8c31749
lint fixes
NoelKova May 12, 2025
5713c12
minor lint fix
NoelKova May 12, 2025
978d875
empty saved queries fix
NoelKova May 14, 2025
60171ff
content explorer tree disabled fix
NoelKova May 14, 2025
ddcd6b6
copy dialog height fix
NoelKova May 14, 2025
6090809
edit view design
NoelKova May 21, 2025
0555227
edit view design 2
NoelKova May 21, 2025
47d4cb2
reference picker
NoelKova May 21, 2025
7d379d2
copy move dialog
NoelKova May 21, 2025
24acb2c
reference picker height fix
NoelKova May 21, 2025
7e8e48e
insert file into tinyMCE start
NoelKova May 21, 2025
846a652
Revert "insert file into tinyMCE start"
NoelKova May 26, 2025
3d2dfce
input updates
NoelKova May 26, 2025
bc8d3dc
auth redirect on logout fix
NoelKova May 27, 2025
492a7b8
multi auth type refactor
NoelKova May 28, 2025
7e06d08
repo login from url
NoelKova May 28, 2025
ef8d4d0
reference picker height
NoelKova May 28, 2025
fb2fc76
show hide input descriptions
NoelKova May 28, 2025
c4672ad
show hide input descriptions 2
NoelKova May 28, 2025
3769a6d
tinyMCE file picker
NoelKova Jun 2, 2025
62195de
picker flex direction
NoelKova Jun 2, 2025
c50d504
datepicker keyboard typing
NoelKova Jun 4, 2025
96459d8
datepicker refactor
NoelKova Jun 5, 2025
e7ac062
settings error, grid extre scrollbar
NoelKova Jun 6, 2025
abaa5aa
insert file path fix
NoelKova Jun 10, 2025
bb87a7d
picker package fix
NoelKova Jun 10, 2025
e69cb3d
tree remove cache when edit item
NoelKova Jun 10, 2025
bf9a36c
add icons to public folder to fix CORS error
NoelKova Jun 11, 2025
8624a91
icons fixes
NoelKova Jun 11, 2025
f35cc06
Revert "icons fixes"
NoelKova Jun 12, 2025
6e14f22
Revert "add icons to public folder to fix CORS error"
NoelKova Jun 12, 2025
3888d71
close disabled tree items
NoelKova Jun 12, 2025
25d6894
tree resizer overlap
NoelKova Jun 13, 2025
581df2c
grid header height fix
NoelKova Jun 23, 2025
a363425
icon for specific files
NoelKova Jun 23, 2025
f9a0c95
excel icon change
NoelKova Jun 30, 2025
4774874
search results refator
NoelKova Jun 30, 2025
ae509c3
picker default path fix
NoelKova Jul 14, 2025
ea978d1
feat(field-controls): show field titles as 'DisplayName (Name)' in al…
VargaJoe Jul 15, 2025
19986c2
datepicker clear fix
NoelKova Jul 15, 2025
dd05489
Merge branch 'feature/sn-auth-package-extraimprovements' of https://g…
NoelKova Jul 15, 2025
56a9010
content explorer to root
NoelKova Jul 16, 2025
633b973
path fix
NoelKova Jul 16, 2025
d861d32
content path fix
NoelKova Jul 16, 2025
7f3fafb
reference picker refactor
NoelKova Jul 18, 2025
cb769cb
picker fixes
NoelKova Jul 21, 2025
3fab9b4
pciker fix search selector
NoelKova Jul 22, 2025
7c5dd3e
icon in grid fix
NoelKova Jul 22, 2025
97389ff
picker sort and not load fix
NoelKova Jul 22, 2025
7563aca
search bar redesign
NoelKova Jul 23, 2025
3030dd2
search minor design fix
NoelKova Jul 23, 2025
1b8cf31
searchbar debounce fix
NoelKova Jul 23, 2025
febf422
header link more visible + copy link to clipboard
NoelKova Jul 23, 2025
12ad4e3
reference grid to ag grid
NoelKova Jul 24, 2025
5a5da04
settings and localisation open from tree
NoelKova Jul 24, 2025
4926e67
modified by somebody fix
NoelKova Jul 24, 2025
bd861f7
header color changer for test cases can be set in portal settings
NoelKova Jul 24, 2025
e20a43a
remove log
NoelKova Jul 24, 2025
4a75b21
add new picker to tineyMCE editor
NoelKova Jul 25, 2025
5598913
textarea padding fix
NoelKova Jul 28, 2025
033c592
copy move new picker
NoelKova Jul 28, 2025
a102d7a
fix grid forever loading
NoelKova Jul 28, 2025
086bd77
tooltips for grid
NoelKova Jul 28, 2025
4098b2d
trash column change
NoelKova Jul 29, 2025
0945467
grid actions button width fix
NoelKova Jul 29, 2025
1872265
delete grid sort by date
NoelKova Jul 29, 2025
a1166ab
webhooks picker change to new
NoelKova Jul 29, 2025
6e88eff
reference grid auto height fix
NoelKova Jul 29, 2025
ce2e330
edit view intezo mode for tree
NoelKova Jul 29, 2025
741856e
field boldness change
NoelKova Jul 30, 2025
108b646
swticher allignment
NoelKova Jul 30, 2025
7c10177
save grid sorting
NoelKova Jul 30, 2025
9d90379
fix copy picker
NoelKova Jul 31, 2025
66b5d11
home page info
NoelKova Aug 4, 2025
023f777
remove columns from grid when small screen
NoelKova Aug 4, 2025
fff380d
minor bug fixes
NoelKova Aug 4, 2025
9695390
tree resizer pos fix
NoelKova Aug 4, 2025
89877ca
picker and minor fixes
NoelKova Aug 5, 2025
a294340
custom label for highlighted fileds
NoelKova Aug 5, 2025
5ababe5
icon from path CORS error fix
NoelKova Aug 7, 2025
5f35066
icon fixes v2
NoelKova Aug 7, 2025
9ea8826
icon fixes v3
NoelKova Aug 7, 2025
a01fc8c
remove console logs
NoelKova Aug 8, 2025
bb5acc6
local time fix
ciposense Aug 11, 2025
1e3b732
Content button missing + minor changes
NoelKova Aug 11, 2025
e5fcc73
remove logs
NoelKova Aug 11, 2025
8b92b73
Merge branch 'feature/sn-auth-package-extraimprovements' of https://g…
ciposense Aug 11, 2025
2d05133
add button error
NoelKova Aug 11, 2025
436841d
Merge branch 'feature/sn-auth-package-extraimprovements' of https://g…
NoelKova Aug 11, 2025
e1f73d8
field descriptions between name and input
NoelKova Aug 12, 2025
5a7512f
selectionRootsFix
NoelKova Aug 14, 2025
5b88b9e
same date format
NoelKova Aug 14, 2025
b0b1c29
Audit Log Design
NoelKova Aug 14, 2025
7301939
audit log content history
NoelKova Aug 15, 2025
13f3e76
content history same fix
NoelKova Aug 15, 2025
14a318e
user lock fix
ciposense Aug 18, 2025
a409ebb
picker fix
NoelKova Aug 21, 2025
a6b023f
tul hosszu title leturja gombokat
NoelKova Aug 26, 2025
fa8f4e2
fix console errors
NoelKova Aug 29, 2025
8046a83
picker fixes
NoelKova Sep 1, 2025
d121663
tree nav refactor
NoelKova Sep 5, 2025
b40c396
permission fix, missing localization, avatar fixes
NoelKova Sep 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'react', 'cypress', 'jsdoc', 'import', 'react-hooks'],
env: { browser: true, node: true, es6: true, jest: true, 'cypress/globals': true },
env: { browser: true, node: true, es6: true, 'cypress/globals': true },
parserOptions: {
ecmaVersion: 6,
sourceType: 'module',
Expand All @@ -36,6 +36,9 @@ module.exports = {
},
rules: {
'react/prop-types': 0,
'no-unused-vars': 'off',
'import/export': 0,
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/no-empty-function': 'off',
Expand All @@ -45,6 +48,7 @@ module.exports = {
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/array-type': ['error', { default: 'array-simple', readonly: 'array-simple' }],
'require-jsdoc': 1,
'cypress/unsafe-to-chain-command': 'off',
'react-hooks/rules-of-hooks': 'error', // Checks rules of Hooks
'react-hooks/exhaustive-deps': 'warn', // Checks effect dependencies
'import/default': 0,
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/cache
- uses: actions/cache@v4
with:
path: ~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
Expand All @@ -46,15 +46,9 @@ jobs:
- name: build
run: yarn build

- name: build examples
run: yarn build:examples

- name: build snapp
run: yarn snapp build
env:
RELATIVE_CI_KEY: ${{ secrets.RELATIVE_CI_KEY }}

- name: test
run: NODE_OPTIONS='--max-old-space-size=4096' yarn test --coverage --logHeapUsage

- uses: codecov/codecov-action@v1
34 changes: 1 addition & 33 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/cache@v4 # Updated from v1 to v4
- uses: actions/cache@v4
with:
path: ~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
Expand Down Expand Up @@ -36,35 +36,3 @@ jobs:
env:
NETLIFY_SITE_ID: 94fb346c-b540-40f7-aaaf-21eee2a9c891
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}

deploy-storybook:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/cache@v4 # Updated from v1 to v4
with:
path: ~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- name: install
run: yarn install
env:
CYPRESS_INSTALL_BINARY: 0

- name: build
run: yarn build

- name: build storybook
run: yarn storybook build-storybook

- name: wake up deploy notifier
run: yarn wait-on https://sensenet-sn-deploy-notifier.glitch.me/ -l -t 300000 -i 10000

- name: Publish
run: npx netlify-cli@v2.41.0 deploy --dir=./examples/sn-react-component-docs/storybook-static --message ${{ github.event.pull_request.number }}
env:
NETLIFY_SITE_ID: 1747b330-27d8-4ddd-bf74-39469c257010
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ jspm_packages/

# Misc
.DS_Store
pipe\[0]
64 changes: 64 additions & 0 deletions apps/sensenet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,67 @@ If you start typing a Content query term (that starts with a '+' sign), the term
## ℹ Version info

(Coming soon...)

# sensenet Admin UI

React-based UI for sensenet. This application provides a rich UI for managing your sensenet content repository. It was designed to take advantage of the modern web technologies - which means we built it for evergreen browsers (Edge, Chrome, Firefox). If you need legacy browser support (e.g. IE11) please use the [old admin UI](https://github.com/SenseNet/sensenet/tree/master/src/nuget/snadmin/install-webpages) instead.

## Authentication Configuration

The application supports two authentication methods:

- **SNAuth**: sensenet's JWT-based authentication
- **IdentityServer**: OIDC-based authentication with Identity Server

You can specify which authentication method to use during the build process. This is a build-time configuration, meaning the application will be built to use only one authentication method.

### Building with specific authentication method

To build the application with SNAuth (default):

```bash
yarn build:snauth
# or npm run build:snauth
```

To build the application with Identity Server authentication:

```bash
yarn build:idserver
# or npm run build:idserver
```

### Development with specific authentication method

To run the development server with SNAuth:

```bash
yarn start:snauth
# or npm run start:snauth
```

To run the development server with Identity Server authentication:

```bash
yarn start:idserver
# or npm run start:idserver
```

If you don't specify an authentication method, the application will default to using SNAuth.

## Development

To run the application locally:

```bash
yarn install
yarn start
```

Navigate to http://localhost:8080 in your browser.

To build the application:

```bash
yarn build
```
77 changes: 40 additions & 37 deletions apps/sensenet/index.html
Original file line number Diff line number Diff line change
@@ -1,42 +1,45 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, height=device-height, minimum-scale=1.0, initial-scale=1.0, user-scalable=0" />
<meta name="description" content="sensenet application" />
<title>sensenet</title>
<style>
html,
body {
width: 100%;
height: 100%;
margin: 0;
}
/* width */
::-webkit-scrollbar {
width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
background: rgba(128, 128, 128, 0.3);
}
<head>
<meta charset="UTF-8" />
<meta name="viewport"
content="width=device-width, height=device-height, minimum-scale=1.0, initial-scale=1.0, user-scalable=0" />
<meta name="description" content="sensenet application" />
<title>sensenet</title>
<style>
html,
body {
width: 100%;
height: 100%;
margin: 0;
}

/* Handle */
::-webkit-scrollbar-thumb {
background: #888;
}
/* width */
::-webkit-scrollbar {
width: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #555;
}
</style>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap" />
</head>
<body>
<div id="root" style="height: inherit"></div>
</body>
</html>
/* Track */
::-webkit-scrollbar-track {
background: rgba(128, 128, 128, 0.3);
}

/* Handle */
::-webkit-scrollbar-thumb {
background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #555;
}
</style>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap" />
</head>

<body>
<div id="root" style="height: inherit"></div>
</body>

</html>
13 changes: 13 additions & 0 deletions apps/sensenet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
"fix:prettier": "prettier \"{,!(dist|temp|bundle)/**/}*.{ts,tsx}\" --write",
"build": "cross-env NODE_OPTIONS=--openssl-legacy-provider webpack --config webpack.prod.js",
"build:stats": "webpack --config webpack.prod.js --profile --json > stats.json",
"build:snauth": "cross-env NODE_OPTIONS=--openssl-legacy-provider AUTH_TYPE=SNAuth webpack --config webpack.prod.js",
"build:idserver": "cross-env NODE_OPTIONS=--openssl-legacy-provider AUTH_TYPE=IdentityServer webpack --config webpack.prod.js",
"start": "cross-env NODE_OPTIONS=--openssl-legacy-provider webpack serve --progress --config webpack.dev.js",
"start:snauth": "cross-env NODE_OPTIONS=--openssl-legacy-provider AUTH_TYPE=SNAuth webpack serve --progress --config webpack.dev.js",
"start:idserver": "cross-env NODE_OPTIONS=--openssl-legacy-provider AUTH_TYPE=IdentityServer webpack serve --progress --config webpack.dev.js",
"buildstart": "cd ../../ && yarn build && cd apps/sensenet && yarn start",
"cypress": "cypress open --env coverage=false",
"cypress:local": "cypress open --env coverage=false --config baseUrl=http://localhost:8080",
"cypress:all": "cypress run --env coverage=false",
Expand Down Expand Up @@ -60,6 +65,7 @@
"cypress-file-upload": "^5.0.8",
"cypress-xpath": "^1.6.2",
"eslint-config-prettier": "8.6.0",
"eslint-config-react-app": "^7.0.1",
"file-loader": "^6.1.1",
"fork-ts-checker-webpack-plugin": "^6.3.1",
"html-webpack-plugin": "^5.5.0",
Expand All @@ -82,6 +88,7 @@
"webpack-merge": "^5.8.0"
},
"dependencies": {
"@ag-grid-community/styles": "30.0.5",
"@iconify-icons/logos": "1.2.23",
"@iconify/react": "4.1.0",
"@material-ui/core": "4.11.4",
Expand All @@ -100,12 +107,18 @@
"@sensenet/pickers-react": "^2.1.4",
"@sensenet/query": "^2.1.3",
"@sensenet/repository-events": "^2.1.3",
"@sensenet/sn-auth-react": "^1.0.3",
"@tiptap/pm": "^2.6.6",
"ag-grid-community": "27.3.0",
"ag-grid-enterprise": "27.3.0",
"ag-grid-react": "27.3.0",
"autosuggest-highlight": "^3.3.4",
"clsx": "1.2.1",
"date-fns": "2.29.3",
"filesize": "10.0.6",
"react": "^16.13.0",
"react-autosuggest": "^10.1.0",
"react-data-grid": "6.1.0",
"react-day-picker": "^8.6.0",
"react-dom": "^16.13.0",
"react-markdown": "6.0.3",
Expand Down
47 changes: 25 additions & 22 deletions apps/sensenet/src/application-paths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,21 @@ export const PATHS = {
usersAndGroups: { appPath: '/users-and-groups/:browseType/:action?', snPath: '/Root/IMS' },
dashboard: { appPath: '/dashboard' },
contentTypes: { appPath: '/content-types/:browseType/:action?', snPath: '/Root/System/Schema/ContentTypes' },
search: { appPath: '/search' },
content: { appPath: '/content/:browseType/:action?', snPath: '/Root/Content' },
search: { appPath: '/search', snPath: '/Root' },
content: { appPath: '/content/:browseType/:action?', snPath: '/Root' },
contentTemplates: { appPath: '/content-templates/:browseType/:action?', snPath: '/Root/ContentTemplates' },
custom: { appPath: '/custom/:browseType/:path/:action?' },
custom: { appPath: '/custom/:browseType/:path/:action?', snPath: '/Root' },
configuration: { appPath: '/system/settings/:action?', snPath: '/Root/System/Settings' },
localization: { appPath: '/system/localization/:action?', snPath: '/Root/Localization' },
webhooks: { appPath: '/system/webhooks/:action?', snPath: '/Root/System/WebHooks' },
settings: { appPath: '/system/:submenu?' },
settings: { appPath: '/system/:submenu?', snPath: '/Root/System/Settings' },
apiKeys: { appPath: '/system/apikeys' },
landingPath: { appPath: '/content/explorer/' },
root: { appPath: '/Root', snPath: '/Root' },
home: { appPath: '/', snPath: '/' },
} as const

type SettingsItemType = 'stats' | 'apikeys' | 'webhooks' | 'adminui'
type SettingsItemType = 'stats' | 'settings' | 'apikeys' | 'webhooks' | 'adminui'

type RoutesWithContentBrowser = keyof Pick<
typeof PATHS,
Expand All @@ -30,28 +33,28 @@ type RoutesWithContentBrowser = keyof Pick<
type RoutesWithActionParam = keyof Pick<typeof PATHS, 'savedQueries' | 'localization' | 'configuration' | 'webhooks'>

type Options =
| { path: (typeof PATHS)['events']['appPath']; params?: { eventGuid: string;[index: string]: string } }
| { path: (typeof PATHS)['events']['appPath']; params?: { eventGuid: string; [index: string]: string } }
| {
path: (typeof PATHS)[RoutesWithContentBrowser]['appPath']
params: { browseType: (typeof BrowseType)[number]; action?: string;[index: string]: string | undefined }
}
path: (typeof PATHS)[RoutesWithContentBrowser]['appPath']
params: { browseType: (typeof BrowseType)[number]; action?: string; [index: string]: string | undefined }
}
| {
path: (typeof PATHS)['custom']['appPath']
params: {
browseType: (typeof BrowseType)[number]
path: string
action?: string
[index: string]: string | undefined
path: (typeof PATHS)['custom']['appPath']
params: {
browseType: (typeof BrowseType)[number]
path: string
action?: string
[index: string]: string | undefined
}
}
}
| {
path: (typeof PATHS)[RoutesWithActionParam]['appPath']
params?: { action: string;[index: string]: string }
}
path: (typeof PATHS)[RoutesWithActionParam]['appPath']
params?: { action: string; [index: string]: string }
}
| {
path: (typeof PATHS)['settings']['appPath']
params?: { submenu: SettingsItemType;[index: string]: string | SettingsItemType }
}
path: (typeof PATHS)['settings']['appPath']
params?: { submenu: SettingsItemType; [index: string]: string | SettingsItemType }
}

export const resolvePathParams = ({ path, params }: Options) => {
let currentPath: string = path
Expand Down
18 changes: 18 additions & 0 deletions apps/sensenet/src/assets/sensenet-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading