Go to file
Jingwei.Zhang 88e4ca036c fix: fix the filtered data is inconsistent with the refreshed data
When using the front end to filter the data, when the data is refreshed, the filter param is also passed to the API, remove the filter params to fix the situation

Change-Id: I60fc2a6ea3d6c345f0fdb2254c2018c2a07f56c5
2022-07-29 17:33:35 +08:00
config perf: optimize cold start speed, fix hot module reload 2022-06-28 10:15:37 +08:00
docs docs: Change little doc bugs 2022-07-27 10:13:50 +08:00
playbooks test: add share type e2e case 2022-07-26 10:35:38 +08:00
releasenotes feat: Add releatenotes 2022-05-07 15:34:12 +08:00
skyline_console feat: add the packaged front-end code 2022-07-20 14:16:07 +08:00
src fix: fix the filtered data is inconsistent with the refreshed data 2022-07-29 17:33:35 +08:00
test fix: update volume snaphost/backup display 2022-07-28 15:48:16 +08:00
tools/git_config feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
.babelrc perf: optimize cold start speed, fix hot module reload 2022-06-28 10:15:37 +08:00
.eslintignore feat: add the packaged front-end code 2022-07-20 14:16:07 +08:00
.eslintrc fix: remove @ alias when import file 2022-04-25 09:58:34 +08:00
.gitignore feat: add the packaged front-end code 2022-07-20 14:16:07 +08:00
.gitreview fix: update .gitreview 2022-02-14 10:27:00 +08:00
.prettierignore feat: add the packaged front-end code 2022-07-20 14:16:07 +08:00
.prettierrc feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
.stylelintignore feat: add the packaged front-end code 2022-07-20 14:16:07 +08:00
.stylelintrc.json refactor: Update style 2022-03-02 11:04:01 +08:00
.zuul.yaml test: add share type e2e case 2022-07-26 10:35:38 +08:00
cypress.json feat: Add tags to nova service and so on 2022-03-26 20:11:15 +08:00
Gruntfile.js feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
jest.config.js fix: remove @ alias when import file 2022-04-25 09:58:34 +08:00
jsconfig.json fix: remove @ alias when import file 2022-04-25 09:58:34 +08:00
LICENSE feat: Add initial code of skyline-console 2021-06-01 23:29:30 +08:00
Makefile chore: Remove poetry 2022-05-25 17:15:01 +08:00
MANIFEST.in chore: Remove poetry 2022-05-25 17:15:01 +08:00
package.json perf: optimize cold start speed, fix hot module reload 2022-06-28 10:15:37 +08:00
README-zh_CN.rst docs: Change little doc bugs 2022-07-27 10:13:50 +08:00
README.rst docs: Change little doc bugs 2022-07-27 10:13:50 +08:00
requirements.txt chore: Remove poetry 2022-05-25 17:15:01 +08:00
setup.cfg docs: Change md file to rst file 2022-07-20 13:52:47 +08:00
setup.py chore: Remove poetry 2022-05-25 17:15:01 +08:00
test-requirements.txt chore: Remove poetry 2022-05-25 17:15:01 +08:00
tox.ini chore: Remove poetry 2022-05-25 17:15:01 +08:00
yarn.lock perf: optimize cold start speed, fix hot module reload 2022-06-28 10:15:37 +08:00

Instructions
============

`简体中文 <./README.zh_CN.rst>`__\ \| English

**Table of contents**

-  `Instructions <#instructions>`__

   -  `Resources <#resources>`__
   -  `Prerequisites <#prerequisites>`__
   -  `Local Environment <#local-environment>`__
   -  `Usage <#usage>`__
   -  `Docs <#docs>`__

      -  `How to develop <#how-to-develop>`__
      -  `How to test <#how-to-test>`__

Resources
---------

-  `Wiki <https://wiki.openstack.org/wiki/Skyline>`__
-  `Bug Tracker <https://launchpad.net/skyline-apiserver>`__

Prerequisites
-------------

-  ``node``: lts/erbium (v12.*)
-  ``yarn``: 1.22.4 +

Local Environment
-----------------

Take CentOS as an example

-  Install nvm ( version control system for nodejs )

   .. code:: shell

      wget -P /root/ --tries=10 --retry-connrefused --waitretry=60 --no-dns-cache --no-cache  https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh
      bash /root/install.sh
      . /root/.nvm/nvm.sh

-  Install nodejs

   .. code:: shell

      NODE_VERSION=erbium
      nvm install --lts=$NODE_VERSION
      nvm alias default lts/$NODE_VERSION
      nvm use default

-  Verify nodejs and npm versions

   .. code:: shell

      node -v
      # v12.*.*
      npm -v
      # 6.*.*

-  Install yarn

   .. code:: shell

      npm install -g yarn

-  Install the project dependency under the root directory, with
   ``package.json``\ in the same place.

   .. code:: shell

      yarn install

   After those steps, please just wait until the installation is
   complete.

Usage
-----

Under the root directory, with ``package.json`` in the same place.

-  ``yarn run mock``: Use the mock interface of
   `rap2 <http://rap2.taobao.org/>`__
-  ``yarn run dev``: To use the actual interface, please change the
   “http://pre.xxx.com” in line 47 into the real address in file
   ``webpack.dev.js``.
-  ``yarn run build``: Build packages and then you can hand over the
   contents of the generated *dist* directory to the back end.

Docs
----

How to develop
~~~~~~~~~~~~~~

-  `Preparation before
   development <docs/en/develop/1-ready-to-work.md>`__
-  `Directory structure <docs/en/develop/2-catalog-introduction.md>`__
-  `Develop a new resource
   page <docs/en/develop/3-0-how-to-develop.md>`__
-  `BaseList
   introduction <docs/en/develop/3-1-BaseList-introduction.md>`__
-  `BaseTabList
   introduction <docs/en/develop/3-2-BaseTabList-introduction.md>`__
-  `BaseDetail
   introduction <docs/en/develop/3-3-BaseDetail-introduction.md>`__
-  `BaseDetailInfo
   introduction <docs/en/develop/3-4-BaseDetailInfo-introduction.md>`__
-  `BaseStore
   introduction <docs/en/develop/3-5-BaseStore-introduction.md>`__
-  `FormAction
   introduction <docs/en/develop/3-6-FormAction-introduction.md>`__
-  `ModalAction
   introduction <docs/en/develop/3-7-ModalAction-introduction.md>`__
-  `ConfirmAction
   introduction <docs/en/develop/3-8-ConfirmAction-introduction.md>`__
-  `StepAction
   introduction <docs/en/develop/3-9-StepAction-introduction.md>`__
-  `FormItem
   introduction <docs/en/develop/3-10-FormItem-introduction.md>`__
-  `Action introduction <docs/en/develop/3-11-Action-introduction.md>`__
-  `Menu introduction <docs/en/develop/3-12-Menu-introduction.md>`__
-  `Route introduction <docs/en/develop/3-13-Route-introduction.md>`__
-  `I18n introduction <docs/en/develop/3-14-I18n-introduction.md>`__

How to test
~~~~~~~~~~~

-  `Two kinds of tests <docs/en/test/1-ready-to-work.md>`__
-  `Directory structure <docs/en/test/2-catalog-introduction.md>`__
-  `How to edit e2e case <docs/en/test/3-0-how-to-edit-e2e-case.md>`__
-  `E2E - Form operation <docs/en/test/3-1-E2E-form-operation.md>`__
-  `E2E - Table operation <docs/en/test/3-2-E2E-table-operation.md>`__
-  `E2E - Detail operation <docs/en/test/3-3-E2E-detail-operation.md>`__
-  `E2E - Resource
   operation <docs/en/test/3-4-E2E-resource-operation.md>`__