Commit Graph

42 Commits

Author SHA1 Message Date
Cliff Meyers 33f643ea37 [JENKINS-37007] tick js-extensions and packages depending on it to 0.0.20 2016-07-28 13:29:21 -04:00
tfennelly c5011d8cc1 0.0.20-beta2 of js-extensions 2016-07-28 16:19:03 +01:00
Cliff Meyers 19bdafa271 [JENKINS-37007] animations for favorites cards; wip while working around "duplicate Reacts" error (tracked in JENKINS-37006) 2016-07-27 15:17:29 -04:00
Keith Zantow 7eaf71b391 [FIX JENKINS-35860] - extension point component type filter (#308)
* Add component type filter for extensionPoints
* Bump js-extensions beta version
* EXTENSIONS -> README
* more documentation for dataType vs. componentType
* modify usage of 'type' to 'dataType' for consistency
* Split ClassMetadataStore, modify extension filtering to a common method
* Separate componentType to its own file
2016-07-20 08:57:28 -07:00
Keith Zantow 550d02658e Fix issue with extension point bundle loading timing (#303) 2016-06-30 15:10:34 -04:00
Keith Zantow 0e57d411ab [FIX JENKINS-35990] refactor js extensions (#291)
* Redux skeleton code for testResults
* Render the test suites on the test tab
* JENKINS-35990 - Refactoring JS extensions API
* Refactor ExtensionStore and related to ES6 classes, add tests and docs
* Bump js-extensions versions
2016-06-28 21:28:16 -04:00
tfennelly ce878e3bb6 js-extensions 0.0.15 2016-06-07 12:48:44 +01:00
tfennelly 72dfa1f1c0 0.0.15-beta4 2016-06-07 12:21:07 +01:00
tfennelly 12d2417d24 Ensure nix style path separators for js-extensions imports 2016-06-07 12:21:07 +01:00
tfennelly 31e70de9d3 js-builder@0.0.33 2016-06-07 12:21:07 +01:00
tfennelly b59dde907a Externalize whatever deps we can
react and react-dom need to be done manually because we need to make sure they are done together
2016-06-07 12:21:07 +01:00
Vivek Pandey d079aec2ab UX-495# Module refactoring
- Needed by HOSTING-98 ticket
- Rename blueocean-plugin artifactId and module name to blueocean-rest-impl
- Create new aggreagator module blueocean-plugin with artifactId blueocean
- Added LICENSE to each module
2016-05-27 14:34:45 -07:00
Thorsten Scherler 1a69dcaf93 [master] raise versions 2016-05-09 11:39:57 +02:00
Thorsten Scherler 2766443a14 Merge remote-tracking branch 'origin/master' into feature/UX-32 2016-05-09 11:10:29 +02:00
Josh McDonald 90e55c5e30 feature/UX-74-extensions-ctxtbridge
* Add ContextBridge feature to ExtensionPoint and bump version
2016-05-09 17:48:36 +10:00
Thorsten Scherler 16f7f6ece5 [feature/UX-32] fix peerdeps 2016-05-06 18:20:21 +02:00
Thorsten Scherler eb4f19af97 [feature/UX-32] WIP Implement basic infrastructure, now implement fetch the data and use the store for organisationPipeline 2016-04-27 01:34:31 +02:00
Thorsten Scherler 604fc36012 [feature/UX-32] Better error handling for extension points 2016-04-26 17:27:44 +02:00
tfennelly 1acff168c4 @jenkins-cd/js-extensions 0.0.12 2016-04-26 09:11:15 +01:00
tfennelly 94b4552c6c cssloadtracker doc typo fixes 2016-04-26 08:48:31 +01:00
tfennelly ae71ab485c js-extensions 0.0.12-beta1 2016-04-26 08:48:31 +01:00
tfennelly eec1d30510 cssloadtracker unit tests 2016-04-26 08:47:39 +01:00
tfennelly 25b1b4df41 Fix js-builder-plugin-spec tests 2016-04-26 08:47:39 +01:00
tfennelly d7abd70158 Changed cssloadtracker mount and unmount method signatures
And added some docs
2016-04-26 08:47:39 +01:00
tfennelly b78cc2913d React component based CSS loading
Based on component mount and unmount
2016-04-26 08:47:39 +01:00
tfennelly f2e88c52f9 Auto-process src/main/less/extensions.less 2016-04-26 08:37:48 +01:00
tfennelly 9ca264ec58 Updated @jenkins-cd/js-modules to version 0.0.4 2016-04-26 08:37:48 +01:00
tfennelly cfca3034fe Updated to non-beta npm deps 2016-04-20 14:32:34 +01:00
tfennelly 584d547ff7 [UX-301] Add a js-builder extension/plugin to js-extensions 2016-04-20 12:53:28 +01:00
tfennelly 91fa146aa9 Updated dependencies
new js-builder and js-extensions published
2016-04-07 12:17:21 +01:00
tfennelly 5f892b5c36 [UX-239] Smoother "externalised" JS dependencies
js-builder now looks for "extDependencies" in the "jenkinscd" section of the package.json and generates
adjunct js-module bundles for the dependencies specified in their. js-modules triggers async loading from
the same adjunct urls.

This all means that we no longer need to create HPIs for these bundles (or most of them anyway - can still
if we need to). Instead, each plugin will bundle its own dependencies. At runtime, if that dependency
has not already been loaded by another plugin, js-modules will trigger loading of the dep from the adjunct url.

js-builder generates the dep bundle such that it ends up being bundled in the HPI. So, multiple plugins may end up
having the same js bundles (generated by js-builder), but that's ok as we include the version number in the URL.
At the moment, we blank out the patch version, which means we always treat e.g. v3.2.1 as being compatible with
v3.2.9, but do not treat v3.2.1 and v3.3.1 as being compatible. Hope this makes sense.
2016-04-07 07:33:07 +01:00
tfennelly e55856b1b7 Fix js-extensions build wtf 2016-04-07 07:32:05 +01:00
tfennelly 1713d1ca16 [FIX UX-248] Fix the versions of all @jenkins-cd/* npm deps 2016-04-06 17:41:34 +01:00
Josh McDonald e0644462c0 UX-236 - Fix a bug in ExtensionPoint blocking unmounting, bump version number 2016-04-05 17:45:07 +10:00
Josh McDonald 13ae2fdf31 UX-33: Add support for client-side routing with react-router, as well as routing within the blueocean-admin plugin
Squashed commit of the following:

commit 16e5b1c8ece9e4e2757c6a9e4be6be487bf39777
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 29 11:11:19 2016 +1100

    josh/ux-33 * Remove last TODO and console.log

commit 06b83340abcc8c9dc5230f2f86dcf3cc4e779fcb
Merge: 66bbf86 e6cb4cb
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 29 11:09:19 2016 +1100

    Merge remote-tracking branch 'github-bees/master' into josh/ux-33

commit 66bbf868988d20ef5a9271f14359d5d89e0036ae
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 29 11:03:14 2016 +1100

    josh/ux-33 * Add tests for pipelinePropProvider

commit f73655ecfa6040ae460bc3568fff71f5c218154e
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 29 10:16:52 2016 +1100

    josh/ux-33 * move the app base url data- on <HEAD> like the rest

commit 0d7906226e10f54b1be71a6ed8039f015542e3ec
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 29 10:13:02 2016 +1100

    josh/ux-33 * Test and lint fixes

commit bb8454b9d1250a1ac0a41a54b87f3e13caffbc49
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 29 08:05:05 2016 +1100

    josh/ux-33 * Add an indexredirect to /pipelines as a temporary solution to not having a default route mechanism

commit e687e599eb6a910e997d8ebe001987798b84b1df
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 29 07:46:54 2016 +1100

    josh/ux-33 * Add some documentation:

commit 488db5aa13c512e5dee81d2d5283298832ade1ce
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 29 07:16:06 2016 +1100

    josh/ux-33 * Remove more TODOs

commit 7dc9276b7de4464932b4c0748eb90d124f7fd407
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 29 07:11:28 2016 +1100

    josh/ux-33 * More cleanup

commit 32656ddd9d49879bbf4aa66046471e1bfaf4ebf1
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Thu Mar 24 20:02:05 2016 +1100

    josh/ux-33 * Harden AjaxHoc somewhat so it's a little happier waiting for a url, fix the issues where trailing slash caused loading to fail

commit d264a74f7e221f3cd182da8c247c8054c826670d
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Thu Mar 24 18:06:49 2016 +1100

    josh/ux-33 * Remove last reference to jenkins.main.body

commit 494de36b8a4b119b4bf12b954cf5aa5407c2f70d
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Thu Mar 24 18:03:35 2016 +1100

    josh/ux-33 * Pull Requests view working

commit 406237257b5cd506e4d502ca57294436e40fb1aa
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Thu Mar 24 16:54:21 2016 +1100

    josh/ux-33 * Pipeline Activity page

commit c364ed8f05e3a7281340af61409b87b5928cd55a
Merge: 994d05b 5a8899e
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Thu Mar 24 09:40:52 2016 +1100

    Merge remote-tracking branch 'github-bees/master' into josh/ux-33

commit 994d05bddb221e176684726d6229744091b0dc78
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Thu Mar 24 09:16:53 2016 +1100

    josh/ux-33 * Routing for /branches working

commit b1d3c0adf7deb18df9f1630b9b4d59d4585d9ab3
Merge: 8cdaac6 cdd302f
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Wed Mar 23 10:39:38 2016 +1100

    Merge remote-tracking branch 'github-bees/master' into josh/ux-33

commit 8cdaac6a489687ad9cec359390a90d89412d8c41
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Wed Mar 23 10:37:38 2016 +1100

    josh/ux-33 * Require latest jdl/extensions in admin

commit c14ef1b0c7c32702481f0de8102e3ef46c005163
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Wed Mar 23 09:31:28 2016 +1100

    josh/ux-33 * Pipelines view working via nested route

commit a4f28409ebbfe9c060d7898d6bed58fad63bce26
Merge: 3f0a108 f20319d
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 22 21:32:22 2016 +1100

    Merge branch 'feature/UX-33-js-extensions' into josh/ux-33

commit 3f0a108a1cb8e0254ebe42f96d39a2542157d04a
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 22 19:28:25 2016 +1100

    josh/UX-33 * Bump version on js-extensions

commit 5ea2c059b3f0143b60d3c55bbd701346deedb594
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 22 19:26:05 2016 +1100

    josh/UX-33 * WIP on routification of pipelines screens

commit e0cc13706e9ce2b193b6dde0f998e99e3ee409ad
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 22 15:56:45 2016 +1100

    josh/UX-33 * More cleanup

commit 39a97edd3aab72271bdbf8b454f5750687a39f28
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 22 15:49:18 2016 +1100

    josh/UX-33 * Clean up some TODOs and logging

commit 6e48cd0df7d66e6127638c0141f6294e2c3f61a1
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 22 13:22:26 2016 +1100

    josh/UX-33 * WORKS MOFO

commit 6695fd85e4d53754252c3794ded4871f294b8d34
Merge: e7603ab 3f5bd73
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 22 12:05:40 2016 +1100

    Merge remote-tracking branch 'github-bees/master' into josh/UX-33

commit e7603aba62a531c3f6b06403e65c3b97de74ab10
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 22 11:56:30 2016 +1100

    josh/UX-33 * Finally got to a state where Routes are coming from plugins via extension point

commit d429e68714f880e5578bbdb3bcd9aa7fe6905479
Merge: ec3290e 9124c0b
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Thu Mar 17 11:32:19 2016 +1100

    Merge remote-tracking branch 'github-bees/master' into josh/UX-33

commit ec3290e4af75a5a6da75945290f702fadc5e74cc
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Thu Mar 17 11:31:12 2016 +1100

    josh/UX-33 * RR finally working with some throwaway components, still using the extensionpoint for content tho

commit e1b311e7801aabab55164f7f74f5693b559f8cd4
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 15 10:51:00 2016 +1100

    josh/UX-33 * +react-router, add some metadata

commit c2a309a7d0f795c45959b84ff35b7747f55bb2a4
Merge: 26fca05 a6d710a
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 15 10:30:42 2016 +1100

    Merge branch 'master' into josh/UX-33

commit 26fca052f28a0eba8b1080cef9c013b450a65613
Merge: 19ae247 a674817
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Wed Mar 9 09:43:18 2016 +1100

    Merge remote-tracking branch 'github-bees/master' into josh/UX-33

commit 19ae247d6bd5660a12a8d0a04ee581e56a79342d
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Wed Mar 9 09:42:40 2016 +1100

    josh/UX-33 * Fix description in rest POM, small adjustment to main UI entry point on backend to allow for client-side routes
2016-03-29 11:14:41 +11:00
Josh McDonald f20319d812 UX-33 * De-arrow a fun because we're using the old react tools not babel 2016-03-22 19:45:16 +11:00
Josh McDonald 0de69258e7 #UX-33 * Some small improvements in js-extensions, and bump version number in anticipation of re-publish 2016-03-22 19:32:59 +11:00
tfennelly 5608bb8cf9 Updated to use @jenkins-cd scoped packages 2016-03-02 18:39:46 +00:00
tfennelly 06ad83bb31 Fixes to js-extensions to better handle unimplemented ExtensionPoints 2016-03-02 11:53:19 +00:00
tfennelly 31ecd20548 ExtensionPoint async loading 2016-03-02 11:53:19 +00:00
Michael Neale 2369d74ff9 docs to reflect the best way to work with it 2016-03-01 20:18:07 +11:00
tfennelly 5b7a7bb5f6 Extracted ExtensionPoint and extension point store out into a standalone NPM package
Blue Ocean core will be able to create and "export" this (js-modules export). Plugins will "import" that shared instance, allowing them to register/add extension points etc etc.

Will need to enhance the render function to do the async loading of modules when it encounters extension points that are not yet registered.
2016-02-28 18:30:52 +00:00