Commit graph

175 commits

Author SHA1 Message Date
Stacey Gammon eddbc8db6f
Update doc slugs to improve analytic tracking, move to appropriate folders (#113630)
* Update the slugs to improve google analytics drilldown tracking

* more slug updates

* Fix some formatting issues in building blocks

* update paths

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-04 13:36:45 -04:00
Stacey Gammon 43256bfe11
Point to new developer guide in CONTRIBUTING.md (#108953)
* Point to new developer guide

* Update CONTRIBUTING.md
2021-08-17 14:04:12 -04:00
Stacey Gammon 0a516cfbb9
Improvements to our developer guide (#67764)
* contributing guide -> asciidoc

* Update docs/developer/contributing/index.asciidoc

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* Update CONTRIBUTING.md

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* Update docs/developer/best-practices/stability.asciidoc

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* Update docs/developer/contributing/index.asciidoc

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* address code review comments

* Update docs/developer/contributing/development-documentation.asciidoc

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* review comment updates

* fix bad ref

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>
2020-07-13 10:47:01 -04:00
Spencer f5b280007f
[kbn/optimizer] only build specified themes (#70389)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
2020-07-02 15:06:32 -07:00
Kaarina Tungseth 4d02eab0f3
Updates the Release Notes content in CONTRIBUTING (#69032)
* Updates the Release Notes content in CONTRIBUTING

* Release Notes guidelines

* Fixes bulleted list indentation
2020-06-15 14:25:53 -05:00
Kaarina Tungseth 835964b346
Updated the Writing documentation section in CONTRIBUTING.md (#68434)
* Updated the Writing documentation section in CONTRIBUTING.md

* More changes
2020-06-09 10:43:24 -05:00
Eric Beahan 8f6bef1012
Update table of contents to reflect current content (#66835) 2020-05-29 09:59:58 -05:00
Vignesh Shanmugam faaafd69a2
fix: rum agent should work correctly on new platform (#67037)
* fix: rum agent should work correctly on new platform

* chore: add IS_KIBANA_DISTRIBUTABLE flag back

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-25 13:13:58 +02:00
Caroline Horn 0fbbc78852
[Spaces] SASS modularization (#65921)
* Removing Spaces legacy styles import in favor of direct plugin import

* Modularizing the `/management` components

* Further modularization within copy_saved_objects_to_space

* Add styling section to CONTRIBUTING

* SASS lint and snaps

* Adding link to EUI SASS
2020-05-12 17:13:20 -04:00
Ahmad Bamieh 7b57caf62b
[i18n] add localization section in CONTRIBUTING file (#63668)
* add localization section

* upadte TOC

* Update CONTRIBUTING.md
2020-04-20 09:32:03 +03:00
Tiago Costa e74127a7f1
docs(NA): add node-gyp setup instructions to the contributing guide. (#60116) 2020-03-13 18:29:41 +00:00
Joe Reuter da3c9d968c
fix outdated docs (#58729) 2020-03-09 16:22:52 +01:00
Jonathan Budzenski 76d475a64c
Refactor test entry by runner (#44679)
Over the last few years we've increased the number of test runners.
Entry points by test type have become too lage of a category for unique
names, so this moves top level test scripts under yarn and replaces test
types with the runner name.

e.g. `yarn test:browser` -> `yarn test:karma`

Closes #41133

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-18 16:21:36 -06:00
gchaps 5c2e6d9382
[DOCS] Removes IRC from Contributing.md (#57397)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-18 12:19:44 -08:00
Michail Yasonik e3535b1b1c
Remove Kibana a11y guide in favor of EUI (#57021)
* Remove Kibana a11y styleguide in favor of EUI and moving auxilary content to CONTRIBUTING.md and STYLEGUIDE.md

Co-Authored-By: Tim Roes <mail@timroes.de>
2020-02-07 10:55:29 -05:00
Lee Drengenberg fd8cbde0d7
added note about yarn kbn clean and yarn cache clean 2020-01-29 15:22:52 -06:00
Janeen Mikell-Straughn 58722e586f
Added step to change to Kibana directory. (#56315) 2020-01-29 12:09:45 -05:00
Mike Côté 4db0382259
Update CONTRIBUTING.md --ssl documentation to mention it covers Elasticsearch as well (#55876)
* Update CONTRIBUTING.md to mention --ssl flag works with Elasticsearch as well

* Change while to for
2020-01-24 15:35:04 -05:00
Tim Roes fdea7b048d
Add explanation of path.data to contribution guide (#54235)
* Add explanation of path.data to contribution guide

* Change title slightly
2020-01-08 14:53:58 +01:00
Nathan Reese 5014f21cf4
Add instructions for setting up remote clusters needed for CCS and CCR (#52796)
* Add instructions for setting up remote clusters needed for CCS and CCR

* clean up
2019-12-11 16:38:15 -07:00
Thomas Watson fb4a6aa21a
Add example apm.dev.js config file to CONTRIBUTING.md (#52206) 2019-12-05 14:45:44 +01:00
Michail Yasonik e8f3fa91d9
Updating accessibility guide and contributing readmes (#52038)
* updating accessibility guide and contributing readmes

* updating dev docs
2019-12-04 19:11:16 -06:00
Thomas Watson 95e5edd9c4
Instrument Kibana with Elastic APM (#43548)
Instruments Kibana with Elastic APM by adding the Node.js agent to the
source code. The agent is not turned on by default but can be enabled by
setting the environment variable `ELASTIC_APM_ACTIVE=true` or by
creating an apm config file called `config/apm.dev.js` and setting
`active: true` inside of it.

This implementation is not meant to be used by end-users of Kibana as it
lacks integration with the regular Kibana config file. For now, this is
meant as a useful internal tool for Elastic employees when developing
Kibana.

By default, it's pre-configured with a `serverUrl` pointing to an APM
Server hosted on Elastic Cloud. The data is stored in an ES cluster
accessible only by Elastic employees. These defaults can easily be
overwritten using environment variables or via the custom config file.
2019-12-04 15:21:07 +01:00
Thomas Watson bbe287f05f
docs: improve CONTRIBUTING docs for how to run Kibana tests (#51285) 2019-11-22 14:05:00 +01:00
Alejandro Fernández Haro 30269123f0
Better explanation about the Prettier recommendation (extension vs. NPM module) (#50629)
* Better explanation about the Prettier recommendation (extension vs. NPM module)

* Contributing docs: Add side effect from using the Prettier extension
2019-11-18 16:03:55 +00:00
sainthkh c87b7615f6 Adding "setting up prettier" in CONTRIBUTING.md (#46310)
Co-Authored-By: Jonathan Budzenski <jon@budzenski.me>
2019-10-14 11:02:06 -07:00
Spencer e4cee1fa1c
Update contributing.md to use autoFix: true for ts files 2019-10-10 17:01:07 -07:00
Joe Reuter 8068bbd9dc
document heap size configuration (#45625) 2019-09-19 08:38:25 +02:00
Jonathan Budzenski 49c1bfe4f3
[contributing] add karma to quick reference (#40908) 2019-07-12 11:04:30 -05:00
Bhavya RM 89117916ad
Update CONTRIBUTING.md 2019-07-02 09:46:47 -04:00
Spencer 083ed43385
Only report the mocha tests once, as "Mocha tests" (#39544) 2019-06-25 07:45:58 -07:00
Zacqary Adam Xeper 1ce12c4faa
[DOCS] Add instructions to develop against remote ES (#39138) 2019-06-18 10:32:16 -05:00
Tim Roes c33c8877dd
Fix contribution guides release note process (#38965) 2019-06-14 15:27:32 +02:00
Zacqary Adam Xeper faf0f2d770
[DOCS] Update dev env instructions in CONTRIBUTING.md (#38580)
* Update dev env instructions in CONTRIBUTING.md

* s/There is/There are

* Remove excess 'was'
2019-06-10 23:28:29 -04:00
Patrick Mueller 1ec734f715
update CONTRIBUTING.md re: linting with VSCode (#37005)
Adds a note in the Linting section about updating VSCode settings to
see "live" linting for TypeScript.
2019-05-24 15:23:38 -04:00
Gergely Kalapos deb4eac0cd
Fix minor typo (#35743) 2019-05-23 18:30:39 +02:00
Va Da c6bfa02d2f
Better scripted field editor (#36064)
* fix: 🐛 make script input field full width

* test: 💍 update Jest snapshots

* feat: 🎸 add Groovy syntax highlighting

* test: 💍 update test snapshot

* test: 💍 fix scripted field form functional test

* test: 💍 fix more functional tests for scripted field input

* refactor: 💡 use import instead of require()
2019-05-09 11:19:19 +02:00
Rudolf Meijering bb121ef98f
docs: Add test file location -> test runner table (#34986)
* docs: Add test file location -> test runner table

* Use scripts/mocha instead of if yarn test:mocha and clarify arguments

* docs: add some examples of running tests suites with grep patterns

* Split out x-pack testing docs, add test runner column

* Split out x-pack testing docs, add test runner column #2

* Use node scripts for jest and split functional runner/server
2019-04-19 09:06:25 +02:00
Marius Dragomir bd5e81bafc
Using proper link for Plugin Generator (#34627)
Updated so that we don't link to a generator that was deprecated that links to another generator that was also deprecated.
2019-04-07 21:18:53 +03:00
jinmu03 d0db18dfad
Modify labels for release notes in Contributing guide (#33450)
* release notes

* release notes

* release notes

* Update CONTRIBUTING.md

Co-Authored-By: jinmu03 <36862642+jinmu03@users.noreply.github.com>

* Update CONTRIBUTING.md

Co-Authored-By: jinmu03 <36862642+jinmu03@users.noreply.github.com>

* modify release notes labels
2019-03-19 21:07:45 -07:00
Tyler Smalley 7cab2a45c2
[docs] Corrects breaking change issue label (#33252)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-03-14 09:19:23 -07:00
jinmu03 6f10ad27a0
Modify Release Notes section in Contributing guide (#33162)
* release notes

* release notes

* release notes

* Update CONTRIBUTING.md

Co-Authored-By: jinmu03 <36862642+jinmu03@users.noreply.github.com>

* Update CONTRIBUTING.md

Co-Authored-By: jinmu03 <36862642+jinmu03@users.noreply.github.com>
2019-03-13 15:21:02 -07:00
Aleh Zasypkin 890d255dfa
Document scripts/i18n_check. (#32196) 2019-02-28 17:27:13 +02:00
Joe Reuter d253ec0f54
Fix i18n usage in flyout_session (#31577) 2019-02-21 11:14:46 +01:00
Tyler Smalley 6a9af1f52d
[docs] Improve contributing docs on runing Elasticsearch (#30286)
Closes #28657 #23692

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-02-11 07:59:59 -08:00
Tiago Costa d5b2c8eaf2
Create vendor dll for the client modules (#22618)
* feat(NA): first dll bundler code.

* chore(NA): upgrade to webpack 4.

* chore(NA): updated package.json

* chore(NA): removed old code.

* chore(NA): add parallel option.

* chore(NA): removed console log and old var about  node modules.

* chore(NA): turn off unsafe cache.

* chore(NA): update lock files.

* chore(NA): new config for dll generation.

* chore(NA): update stats emit.

* chore(NA): update dependencies.

* chore(NA): right cache loaders.

* chore(NA): remove ui_bundles alias.

* feat(20749): init implementation on bridge plugin for dll bundler.

* feat(20749): init implementation for dll compiler.

* feat(20749): dll bundler init from other process and webpack wrapper..

* feat(20749): optimizer changes to integrate with  dll bundler.

* chore(20749): split into different processes.

* refact(20749): change to single running process.

* refact(NA): improvements on dll bundler plugin.

* refact(NA): removing including loop on plugins.

* refact(20749): only run dllReference once.

* chore(20749): todo on result.request path building.

* chore(NA): lock files updated.

* chore(NA): avoiding dll paths being removed.

* chore(NA): tests on sync generation.

* chore(NA): changes on entry paths compiler.

* chore(NA): different hooks tests.

* chore(20749): first working version, single process, for dynamic building dll.

* feat(20749): last gross features for the dynamicdllplugin.

* refact(20749): string interpolation when creating the path to delete in every optimizer cycle. feat(20749): creating the DynamicDllPlugin foundations.

* chore(NA): updated base optimizer run function args.

* chore(20749): first working solution with vendor dll both for prod and dev.

* chore(20749): useful todos on client dlls.

* feat(NA): auto built blacklist for server node_modules.

* refact(NA): removed unused code.

* chore(NA): update all webpack and loaders stuff to last versions.

* refact(NA): first refacts on clean taks related with dll. feat(NA): added clean empty folders task.

* refact(NA): removed support for console logs during the build.

* refact(NA): removed extra space.

* refact(NA): removed extra space.

* refact(NA): getDllModules function.

* chore(NA): removed unsafeCache option.

* feat(NA): removed unsafeCache option.

* refact(NA): apply general inheritance principles to the optimizer: hooks, and init. refact(NA): merge dynamic dll plugin into the common config. refact(NA): restore old template structure - vendors.dll style is always emitted.

* fix(NA): fs_optimizer run function by not returning inside async func.

* fix(NA): change template anchor name from vendor to vendors.

* docs(NA): added info about files were keeping when cleaning the bundles.

* fix(NA): filtering elible dll modules to delete.

* refact(NA): removed old dll bundler in favor on new dynamic dll plugin.

* refact(NA): initial split for clean modules on dll task.

* refact(NA): update new dll config model. refact(NA): update config on dynamicdllplugin.

* refact(NA): major work refactor for dynamic dll plugin.

* refact(NA): extract clean node modules on dll task to its own folder.

* refact(NA): organize imports.

* docs(NA): add docs to registerCompilerHooks function for the optimizer.

* refact(NA): finished refactor for dynamic dll plugin with correct error handling for runWebpack function.

* refact(NA): basic structure for clean client modules on dll task.

* fix(NA): resolve path for dll manifest during cclean build tasks.

* refact(NA): split webpack dll related functions to their own file for clean client modules on dll task.

* refact(NA): added error handling for the clean client modules on dll task - webpack dll related functions.

* docs(NA): added license header.

* refact(NA): complete split out the functions from the clean modules on dll task to the code_parser file.

* refact(NA): main task entries compose.

* docs(NA): extend docs for the getDependenciesFromFile function.

* refact(NA): final structure split for clean client node modules dll task.

* fix(NA): added missing param to calculate top level dependencies.

* docs(NA): completed todo description about dll location.

* fix(NA): add production option to webpack config on kbn-pm.

* docs(NA): extended documentation about style extraction.

* refact(NA): removed extra comments.

* feat(NA): env variable to force dll creation.

* feat(NA): include option to define folders to keep on delete empty folders task.

* refact(NA): remove unused method from dll compiler.

* feat(NA): move dlls outside bundles folder and support request for /dlls from a browser perspective.

* chore(NA): gitignore updated to include new dlls folder.

* chore(NA): eslintignore updated.

* chore(NA): removed strange file from repo.

* test(NA): fix failing tests for bundles_route.

* fix(NA): change paths array to path string in a server route config.

* fix(NA): remove infinite loop calls on register hooks functions.

* fix(NA): readFile should only override the file in case it not exists.

* refact(NA): removed dll compiler finish log on success with stats.

* fix(NA): dll compiler alias.

* fix(NA): dynamic dll plugin flow on needs compile.

* fix(NA): raw alias config.

* Revert "fix(NA): raw alias config."

This reverts commit ebb245a786.

* feat(NA): raw alias for moment on dll config model.

* fix(NA): removed uiBundles from base_optimizer call on dynamicdllplugin.

* chore(NA): decrease moment versions.

* chore(NA): temporary changes on dll compiler.

* fix(NA): majority of problems between dll approach, webpackshims and browser tests.

* fix(NA): webpackShims integration with client vendors dll. fix(NA): enable esm modules mutability for development. fix(NA): only clean dll contents from build when they belong to node_modules.

* fix(NA): fix for endless dll compilation loop.

* fix(NA): removed esm plugin and skipped test using wrong stub strategy.

* docs(NA): added some comments for the skipped test.

* feat(NA): considering requires inside webpackShims valid entry paths to add to the dll entry file.

* fix(NA): small fix for the max compilation logic.

* docs(NA): add small explanatory note.

* fix(NA): building requires results with relative requires found onn webpackShims.

* docs(NA): add small note for error handling on dll compiler.

* fix(NA): move precinct to prod dependencies.

* test(NA): testing running functional tests on production.

* fix(NA): restore tests run config for development flag. feat(NA): force dll creation with uiBundles is Dev flag.

* chore(NA): update dependencies.

* feat(NA): test update dll to completely match base optimizer one.

* fix(NA): removed ts.

* refact(NA): removed unused consts.

* fix(NA): set back transpile sacss task in place.

* fix(NA): fix resolve remoing ts and tsx.

* fix(NA): set back transpile sacss task in place.

* fix(NA): removing isDevmode from mustCompileDll.

* fix(NA): add search for import statements into the dependencies visitor.

* fix(NA): add dll suffix to vendors resource on ui bootstrap template.

* fix(NA): some configs for unrelated dll work projects.

* chore(NA): upgrade canvas plugins webpack build to webpack4.

* chore(NA): add shim for moment-duration-format.

* chore(NA): stup moment-duration-format into the moment webpackShim.

* chore(NA): setup moment-duration-format into the moment-timezone webpackShim.

* fix(NA): moment and moment-timezone webpackShims

* chore(NA): added moment and moment-timezone webpackShims to x-pack. fix(NA): revert changes on webpackShims for oss kibana.

* fix(NA): xpack webpackshims for moment.

* fix(NA): remove xpack webpakcshims for moment.

* fix(NA): webpakcshims for moment.

* fix(NA): remove every changes from webpackShims and xpack webpackShims.

* fix(NA): fix visitors to gather server dependencies resulting from export * from and export x, 'x' from.

* chore(NA): update some webpack related dependencies.

* fix(NA): in the dll the plugins need to have their own dependencies. It is the same for the ones into the tests relying on test against distributable.

* feat(NA): including test/plugin_functional plugins into the kbn-pm bootstrap tasks.

* fix(NA): wrong built yarn lock files.

* chore(NA): updated webpack related dependencies.

* feat(NA): add missing color for dynamic_dll_plugin logging tag.

* chore(NA): removed forgotten console.log.

* chore(NA): removed forgotten dead code.

* chore(NA): removed missing old comment.

* docs(NA): added missing notice for 2 tools we have relied on.

* refact(NA): added is to a boolean variable to keep the consistency inside the code parser strategies.

* fix(NA): update notice cli to exclude search inside dlls bundles. chore(NA): update notice file.

* feat(NA): use lodash matches in the code parser visitors logic.

* docs(NA): updated notice file related with the code parser visitors logic..

* docs(NA): added explanation for the process that decides if we should build a new dll or not.

* test(NA): added missing tests for some usefull parts of the code.

* refact(NA): split registerCompileHook function into small ones.

* chore(NA): uncomment scripts from tests.

* feat(NA): isolate code-parser in a kbn package

* fix(NA): missing relative dot into the cwd function.

* chore(NA): update all inter deps to match.

* fix(NA): rebuild the yarn locks and the package jsons based on master ones.

* fix(NA): move babel-code-parser to the prod deps.

* chore(NA): include build path instead of the base root path.

* refact(NA): integrate plugin_functional test plugins with workspaces.

* fix(NA): include missing license for plugin functional test plugins.

* fix(NA): always write posix paths into the dll entry file in order to make the dlls compilation working on windows too. chore(NA): improve error handling into dll compiler.

* fix(NA): revert wrong moved line from canvas.

* fix(NA): match ts-loader version between kibana and x-pack.

* fix(NA): sync dll compiler with base_optimizer.

* fix(NA): exclude kbn-interpreter from the dll.

* refact(NA): remove exclusion of kbn-interpretor from base_optimizer.

* chore(NA): add dlls folder to the yarn kbn clean script.

* fix(NA): missing utf8 input format encoding when reading a file to create the hash into the watch optimizer cahce.

* refact(NA): re-engineering to the dynamic_dll_plugin logs and lifecycle.

* fix(NA): update clean node modules task to search under legacy/core_plugins.

* fix(NA): fix build on windows with globby on cleaning dlls for the watch optimizer cache.

* docs(NA): update documentation for the clean client node modules build task.

* docs(NA): added extra comment to clarify the purpose for the built entrypoints.

* chore(NA): update clean client node_modules code to use posix path.

* feat(NA): add support for discovering server entries over the legacy plugins and the new plugins.
2018-12-05 15:45:19 +00:00
Nathan Reese b9e258f766
Update "Debugging server code" instructions in CONTRIBUTING.md (#25397)
* Add more details for debugging Kibana server

* add debugging server code to table to contents
2018-11-08 13:15:03 -07:00
dave.snider@gmail.com abb3fcf53e
[PROPOSAL] Make Kibana's PR template a checklist (#23511)
Kibana now uses a checklist for its PR template. The contributing docs were updated with more detail about release process.
2018-09-28 09:36:31 -07:00
Josh Dover 2351223b79
Add tip about iTerm 2 settings (#22502)
Changing this setting improved sped up unit tests by about 2x.
2018-08-30 12:33:28 -05:00
Josh Soref 2b27fb1c5f Fix misspellings (#19981) 2018-06-26 20:17:41 -07:00