Hoang Nguyen
3753772ece
UI: Remove unused dependencies and fix travis build ( #6142 )
...
* remove unused dependencies and fix travis build
* fixes
* revert node-sass
* update package-lock.json
2022-06-30 12:12:26 +05:30
Rohit Yadav
b2965462ea
ui: update npm dependencies to latest ( #6091 )
...
Update npm dependencies to latest and have audit fix;
Run commands to update dependencies:
npm outdated
npm update
npm audit fix
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2022-03-15 15:12:39 +05:30
Hoang Nguyen
d258da5524
UI: Upgrade to Vue3 library ( #5151 )
...
* add new vue 3 library & and 2.x (beta)
* edit config files, settings, utils, store,... corresponding to Vue 3
* edit layout and config to suit the new library
* fix header & side menu
* components, autogenview
* fix dashboard & compute
* compute: fix form errors
* storage: fix form & template by vue3
* networks: fix form & template by vue3
* image: fix form & template by vue3
* project: fix by vue3 library
* user: fix by vue3
* iam: fix by vue3
* fix zoneWizard & tooltip click event
* fix infra > physicalnetwork & visible modal
* fix infra by vue3 & antdv 2x
* fix offerings by vue3
* fix plugin by vue3
* fix form & action form
* update the ant-design latest version
* fix icon, style dark mode, menu
* fix unittest
* fix babel plugins not found
* add name,ref missing & callback i18n not found
* fix slot & info icon
* fix unit test
* fix tooltip label of form item
* fix lint errors
* using global app, globalProperties
* add focus directive & edit the position of ctrl+Enter
* upgrage Vue 3 version
* fix main UT
* fix build failed
* using `optionFilterProp="label"' & fix build fail
* fix UT with new code
* fix icons of undefined
* fix error run app
* fix selectbox options
* add vue version for clear storage
* fix template
* fix template of iprange form
* fix warning test UT
* fix conflit
* fix build failed
* fix error run app the first time after upgrade
* fix auto-complete & watch object/array
* fix error run application
* fix error build
* fix form, icon, template & locales
* fix conflit & form
* remove slot errors
* fix error build & test UT
* fix error template
* Add licenses for missing files
* add scroll to first errors
* add scroll to first errors
* fix select filter, tag event
* add shallowRef async component are missing
* fix css, upgrade vue-cropper version
* fix css
* fix vue 3 coding for new components
* Remove unused components
* fixes `this` not found in @/roles
* fix redirect after login again when session expired error
* fix openKeys menu & watch router
* fixes
* fix build failed
* fixes
* fixes ut
* fixes
* fixes eslint
* fixes
* fixes
* fixes css
* fix menu sidebar css
* fix some css icon, images
* fix build fail
* fixes
* fixes
* fixes
* fixes
* fix publicip resource
* fixes ut
* fixes
* fixes
* fixes layout mode
* fixes dropdown filter columns
* fixes dashboard & hidden setting for normal user
* fixes
* fixes layout
* fixes avatar
* fixes
* Add missing else
* Fix query in routable paths
Co-authored-by: davidjumani <dj.davidjumani1994@gmail.com>
2022-03-09 09:47:09 -03:00
Abhishek Kumar
4ecef4bfb4
ui: prevent same string docHelp override ( #5014 )
...
Prevent same string docHelp suffix override.
List all existing docHelp suffixes in the config file during the build process.
Updated apache/cloudstack-documentation#199
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-05-12 16:20:17 +05:30
Rohit Yadav
186ac69c49
Merge remote-tracking branch 'origin/4.14' into 4.15
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-02-19 15:24:48 +05:30
Rohit Yadav
d6558d9151
ui: cleanup and name changes
...
Drop the name Primate
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:53:40 +05:30
Rohit Yadav
b7dab56737
package: update vue, antd and dependencies
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:24 +05:30
Hoang Nguyen
338de72665
Explore Test Automation ( #320 )
...
* config jest and add setup for unittest
* config jest coverage
* example of unit testing a Status widget/component
* add license for test file
* add test/run command in the .travis.yml
* add mock store and i18n for vue jest
* add mock file missing
* add mock router
* add lincence to mock file & decodeHtml to setup file
* add mock axios instance & fix eslint on tests folder
* add test components > views > ActionButton component
* fix for test coverage success
* refactor test file
* add test Views > Autogenview.vue (Navigation Guard, Watchers, Computed)
* history mode mockRouter, refactor test code, test Autogenview > fetchData (routeName)
* test Views > AutogenView.vue (processing 31%)
* add mock router exception & test Views > AutogenView.vue (processing 43%)
* test Views > AutogenView (processing 65%), add test onSearch, closeAction, execAction, listUuidOpts
* refactor and add comment test files
* test Views > AutogenView (processing 91%)
* add comment file AutogenView.spec.js
* test Views > AutogenView.vue (handleSubmit method)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:24 +05:30
Hoang Nguyen
64d95fb6e3
npm: Build and packaging improvements ( #568 )
...
* remove unused plugins and minimizer js
* update dependencies
* fix build, update dependencies
* using lazy_use components
* add additional components
* optimization: lazy loading i18n locales
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Rohit Yadav
8155fa7b66
package: bump version to 1.0
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:21 +05:30
Hoang Nguyen
50327ae339
primate: Add support for UI customisation ( #372 )
...
- New config.json global config file
- Customisation: API endpoint, app name, doc link, logo, error and banner images, theme
- Basic external plugin support to allow users to write UI plugins in any framework, build and import/plug a html file as integration
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:19 +05:30
Rohit Yadav
1edfce8786
package: update dependencies
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:19 +05:30
Rohit Yadav
260f52945e
package: upgrade dependencies and fix buttons issues
...
- Upgrades dependencies, esp the antd-vue
- Fix issues in button after upgrade
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:18 +05:30
Rohit Yadav
7d447e6806
package: bump version to 0.5 (tech preview)
...
Major and blocker items for technical preview milestone completed,
version bumped to 0.5.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:18 +05:30
Rohit Yadav
e70088fd22
package: bump next alpha/dev version
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:17 +05:30
Rohit Yadav
af8765fc6d
package: bump antd to v1.4.12
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:17 +05:30
Rohit Yadav
0d9801ec3d
package: bump to version v0.3.0 and update dependencies
...
Bumping to v0.3.0 to signify that most features/APIs are supported wrt
technical preview.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:16 +05:30
Rohit Yadav
c304cd1c48
package: update dependencies
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:16 +05:30
Rohit Yadav
0a094ad17e
package: update dependencies
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:16 +05:30
Rohit Yadav
35210ebe83
primate: update dependencies and fix warnings
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:16 +05:30
Rohit Yadav
cf5a790202
package: update dependencies
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:15 +05:30
Florian Symanowski
ef189cea3f
compute: work-in-progress VM deployment wizard ( #7 )
...
This implements a work-in-progress VM deployment wizard.
Co-authored-by: Rohit Yadav <rohit@apache.org>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:15 +05:30
Rohit Yadav
98687bd337
package: update dependencies
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:15 +05:30
Ritchie Vincent
b140b738fb
compute: NICs and IPs management ( #71 )
...
Adds VM nic/ip management, implement some placement fixes.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:15 +05:30
Ritchie Vincent
c5611be865
compute: Custom VM migration form ( #67 )
...
Custom VM migration form
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:15 +05:30
Rohit Yadav
cba4d6d567
iam: roles rules tab ( #55 )
...
This adds the rules tab for IAM/roles.
Fixes #45
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:14 +05:30
Rohit Yadav
645e637cb7
update packages and package-lock, fix infocard
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:14 +05:30
Gregor Riepl
eebf7fac8a
eslint: fix missing eslint dependencies and lint errors ( #19 )
...
Fixes : #17
Fixes : #18
These dependencies are necessary or eslint will fail with the standard vue.js rule set.
The PR also includes fixes for all lint errors.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:14 +05:30
Gregor Riepl
7ea78b9e35
README: add build dependencies to package.json and document production build properly ( #21 )
...
Fixes : #12
With build tooling added to the dev dependencies, it is no longer necessary to install system-wide.
This is particularly useful for production builds, where system-wide package pollution is highly discouraged or even prohibited.
npm@next, vue-cli and ncu may still be useful to developers, but they shouldn't be part of the build instructions. A separate readme update is on the way.
The PR now also includes a readme update to clarify which tools should be installed when.
Production builds do not need global tool installs.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:14 +05:30
Rohit Yadav
4f7dda1df3
package: update dependencies and add core-js ( #16 )
...
Fixes #11
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:14 +05:30
Rohit Yadav
08bae5a49e
package: fix npm install issue, downgrade to previous versions
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:14 +05:30
Rohit Yadav
6b1a4e2fc9
package: update latest dependencies
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:14 +05:30
Rohit Yadav
75a8980733
package: update dependency
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:14 +05:30
Rohit Yadav
3668f77ec6
README: package upgrades and doc fix
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:13 +05:30
Rohit Yadav
ef7b338d73
translation: remove flags usage
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:13 +05:30
Rohit Yadav
b35644023a
package: add metadata about project
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:13 +05:30
Rohit Yadav
5d303bdeb2
package: update dependencies
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:13 +05:30
Rohit Yadav
67655a4186
update packages, refactor out components
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:13 +05:30
Rohit Yadav
97a85349ae
package: fix version to start from 0.1.0
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:13 +05:30
Rohit Yadav
83a4f292d1
Remove unused vue cookies dependency
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:13 +05:30
Philipp Bankonier
22bca0c248
Enhancement/linting ( #34 )
...
* Stop emitting lint errors as warnings
* Execute lint on inital serve for development
* Fix linting errors
* Fix linting warnings
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:13 +05:30
Rohit Yadav
e16e5f635b
update dependencies and cleanup
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:12 +05:30
Anurag Awasthi
8ec1f6c59d
Add translation support ( #30 )
...
Add Translations from old files and scripts to generate it.
Update columns generated to be formatted.
Show modal instead of drawer for forms
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:12 +05:30
Rohit Yadav
2d11f9e6ce
upgrade dependencies, ant-design and eslint to fix lint issue
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:12 +05:30
Rohit Yadav
f320728edd
update packages and dependencies
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:12 +05:30
M. Weber
1bbca4bf90
style: create new .less files structure ( #3 )
...
Delete global.less file and split rules into several .less files inside new style folder.
Upgrade import paths and write readme file that describes how less-coding could look like.
Add missed npm package to fix terminal error.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:12 +05:30
Rohit Yadav
38a8d1eea0
add fontawesome dependencies
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:12 +05:30
Rohit Yadav
bf6dd15a39
package updates and fix router/list groupings
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:12 +05:30
Rohit Yadav
b72fd5b509
primate: initial UI v0.1
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:11 +05:30