Mert E
89f0895de3
fix: experimental frontend optimizations ( #8427 )
...
* fix: get rid of barrel files
* chore: get rid of explicit imports
* fix: use explicit import for classes and enums
* fix: use explicit import for enum & class & aliases
* fix: build issues
7 months ago
Pranav C
bcb550cdfd
fix: avoid overwriting baseurl for refresh token api call
10 months ago
Pranav C
f1d850a8c1
fix: base url correction
10 months ago
Muhammed Mustafa
8b2b87e09d
fix(test): Enabled support for runtime NC_BACKEND_URL and integrated it with CI
2 years ago
Muhammed Mustafa
f476c3d927
feat(testing): Stability
2 years ago
Muhammed Mustafa
057415adda
feat(testing): Enabled fail on only and added test code for roles preview issue
2 years ago
braks
3a0c62cb4e
chore(nc-gui): extract api error in interceptor
2 years ago
braks
4c29fa18ff
refactor(nc-gui): use lazy load and cleanup imports
2 years ago
braks
d954d793f2
refactor(nc-gui): extract error in useApi
2 years ago
Pranav C
a828a4be43
fix(gui-v2): use relative path as base url to avoid issue when using proxy
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Wing-Kam Wong
f97ea536b4
chore: move nc-gui-v2 to nc-gui
2 years ago
Wing-Kam Wong
8c5780cf3e
fix(gui-v2): baseURL
2 years ago
braks
7466cc8e92
refactor(gui-v2): remove `useGlobal` dependency from `useApi`
2 years ago
braks
2684e21ec8
fix(gui-v2): use promise reject when returning api error
2 years ago
braks
33d0b9cda8
feat(gui-v2): add option to use global api instance in `useApi`
2 years ago
braks
25f2b65412
refactor(gui-v2): move `useApi` related types to separate file
2 years ago
braks
1e56534aaa
chore(gui-v2): correct comment grammar
2 years ago
braks
0af487e6ca
refactor(gui-v2): rename useApi request counter functions
2 years ago
braks
c39710b1fa
refactor(gui-v2): use `useCounter` to count running requests
2 years ago
braks
f2229e9bac
chore(gui-v2): add comments to `useApi`
2 years ago
braks
e8a8170c6e
chore(gui-v2): correct usage of `useGlobal`
2 years ago
braks
adcb588ccd
feat(gui-v2): add global state for running requests and loading
2 years ago
braks
48373f1ff3
feat(gui-v2): use separate api instances with `useApi`
2 years ago
braks
0b07337c92
chore(gui-v2): return error and response in interceptor
2 years ago
braks
67c8bf47d9
feat(gui-v2): add `useApi` composable
...
# What's changed?
* useApi provides a loading, error and response ref
* also provides event cb for error and response
2 years ago