opensearch-project / dashboards-i18n

Apache License 2.0
4 stars 15 forks source link

launch i18n-plugin #2

Closed ananzh closed 2 years ago

ananzh commented 2 years ago

Currently, i18n-plugin is generated using

node scripts/generate_plugin
? Plugin name (use camelCase) i18n-plugin
? Will this plugin be part of the OpenSearch Dashboards repository? No
? Should an UI plugin be generated? No
? Should a server plugin be generated? Yes
 succ 🎉

      Your plugin has been created in plugins/i18n_plugin

Two tasks to make i18n-plugin work

ananzh commented 2 years ago

i18n-plugin can be installed and won't break current osd

Sanity test steps (OS 2.0, OSD 2.0):

  1. git clone opensearch repo and run

    ./gradlew run -Drun.distribution=oss

    oss is fine for test purpose because i18n-plugin does not require any engine installed

  2. git clone opensearch-dashboards, in plugins folder git clone i18n-plugin

  3. run yarn osd bootstrap and yarn start to launch opensearch-dashboards

opensearch-dashboards runs normally. no plugin in the draw down menu which is expected because there is no UI plugin.

Screen Shot 2022-05-05 at 14 24 09

Check more functionalities by creating dashboards using sample data, checking discover and advanced settings, and working on dev tools. Everything seems work well from manual sanity test.

Screen Shot 2022-05-05 at 14 31 27 Screen Shot 2022-05-05 at 14 31 54 Screen Shot 2022-05-05 at 14 23 56