Commit Graph

32 Commits

Author SHA1 Message Date
Charly Delay
394d6bacd3 webui: update annotated source view
Change-Id: I3b72fdbf855cdddef87578ad7bd9a1aa1b8838b6
2017-01-23 14:42:55 -05:00
Charly Delay
bee4754daa webui: bump versions for webpack
Change-Id: If6e1a6e063a7c0be0d8a14b4f069ac782fe31b85
2017-01-23 10:09:12 -05:00
Charly Delay
92991a92d2 webui: upgrade Angular 2.4.3
Also upgrade other dependencies such as the latest and greatest Webpack.
Refactor sources to comply to the coding style in order to have a clean
run for tests.

Change-Id: Ic10271c92c4b8c4b7991acfb28670d80b03a1f2b
2017-01-20 09:03:27 -05:00
Charly Delay
da9edf7036 webui: inline font assets
Change-Id: I478af969355c789acef640651960e27fa27cff74
2016-12-14 16:41:58 -05:00
Charly Delay
8be778e163 feat(html-report): report component now shows the source tree
Change-Id: I119e3706f55c9b111c2bfdfefeb87acabd0ed515
2016-12-12 18:16:24 -05:00
Charly Delay
f1e1551b93 fix(webui): pin typescript version to 2.0.10
This works around a bug in the typescript webpack loader.

Change-Id: I126393174d2c9a819f437c6a986423fe442a8c55
TN: PC08-027
2016-12-08 08:43:01 -05:00
Charly Delay
1ef44d9b97 chore(package): update tslint and prepare for future updates
Change-Id: I70e4802ce3f39de56f668d8afb25f696adc4fd2c
2016-10-25 18:32:39 +02:00
Charly Delay
1350c0e35f chore(webui): move scripts to head with defer
Change-Id: Ic3b37e59d1e706b97b6ad8f10aae3069d7bcb625
2016-10-25 18:32:39 +02:00
Charly Delay
30d51b53d5 chore(package): use webpack v2 and angular 2.1.0
Change-Id: Ib7095adc50950da79380f6dbe62a93fb01434cbb
2016-10-25 18:32:39 +02:00
Charly Delay
e3afd9d822 feat(webui): new location view
The annotated source view provides a new "location view" that lists all
messages (following the same filtering rules as the rest of the page) to
easily and quickly jump to a given message.

Change-Id: Ie81741cf047443a37a39f4592730beba409716d6
2016-10-18 18:55:47 +02:00
Charly Delay
59007eef0e chore(webui): embrace ng2 styleguide
Change-Id: Ie68ae16f1f1524ad5aa6e0829596ae7fcbfc4889
2016-10-10 16:57:55 +02:00
Charly Delay
9caa24135c fix: broken version of selenium-webdriver types
Module 'webdriver' has no exported member 'IButton'

See https://github.com/AngularClass/angular2-webpack-starter/issues/1031
for details.

Change-Id: Ic29e3834bfcdebfeb20db5e4e6078d9bd8363d0f
TN: P308-014
2016-09-21 09:38:45 -04:00
Charly Delay
b84d9a321b fix: webpack build error
As explained at https://github.com/angular/angular-cli/issues/2234,
Webpack v2.1.0-beta.23 is broken, hence failing all the build. Force the
use of v2.1.0-beta.22 to work around this issue.

Change-Id: Iaa07dc96b02560c24479d8eb85a19d9c108213ff
TN: P308-014
2016-09-20 09:56:02 -04:00
Charly Delay
357b60ed5a chore: update to Angular version 2.0.0
Change-Id: I7bd5929a1ed343e04a4bb32e2768e5c2b90edfcd
2016-09-19 11:04:25 -04:00
Charly Delay
90c858f2c3 feat(webui): use Pygments for syntax highlighting
Syntax highlighting on the client-end is costly and doesn't make much
sense in the context of statically served source files. Switch from
using client-side code highlighting library HighlightJS to using
Pygments during the HTML report generation for source code highlighting.

Change-Id: I654fea2442674d16a6df0c8b233073d3bd71f8c2
Depends-On: I34beb3e4f3f922be96ab79dfbd372ea738a17f77
TN: P308-014
2016-09-15 18:15:18 -04:00
Charly Delay
96e45678b6 chore(webui): update tslint & typedoc packages
Change-Id: I18a9de53303e2361abf16c14f44e65b7f7ff8c61
2016-09-15 17:17:13 -04:00
Charly Delay
43e5d302bb fix(webui): ZoneJS fetch API warning
ZoneJS fetch API doesn't support about:blank URL scheme and complained
about it in the developer console. Updating angular HMR loader fixes
this issue:

    Fetch API cannot load about:blank. URL scheme "about" is not
    supported.

Change-Id: I5b078a37b936770d877bfaf675daed63160a3dd0
2016-09-15 16:35:55 -04:00
Charly Delay
eed759082b chore(webui): fix several syntax and style errors
Change-Id: Ic6bc3ce96a2fceb6d28200f6926bf1771416cb72
2016-09-13 16:40:36 -04:00
Charly Delay
44055efa4f chore(webui): remove unused string-replace-loader
It is used to support lay loading of Component, which is a feature
currently unused in this project.

Since it breaks the builds on Windows because the installation is
missing the proper certificates, this patch simply removes it for now.

Change-Id: I1b18ffc0f72a763cd961da705eeb6d53feb99fdb
2016-09-08 08:53:39 -04:00
Charly Delay
a2e3aacdc4 Bump Angular2 framework to version 2.0.0-rc.6
Change-Id: Iae28499322a9c4582aace7b1a0ed2ce6d2d00ea7
2016-09-07 18:51:44 -04:00
Charly Delay
ee3f39f891 chore(webui): do not display progress for build:prod
Displaying progress makes the log files hard to read.

Change-Id: I299d3b9134e61f2f1766e50bd83e9829f548a278
2016-08-15 08:57:33 -04:00
Charly Delay
8c8b0d381c chore(webui): replace typings with TypeScript @types
Change-Id: Iebe34d5e3900d411bfd9a2dd37e0675e665f5311
2016-08-10 12:58:26 -04:00
Charly Delay
23f31d676a chore(webui): bundle vendors files for offline mode
Change-Id: I789b2e49f2f1327717db34add69ed183164f36ac
2016-08-08 11:21:45 -04:00
Charly Delay
ad6e6acc35 feat(*): update to Angular RC 4
Change-Id: I327f5c71fce5fa7c35cf024b2423589630f33792
2016-07-06 11:59:19 -04:00
Charly Delay
9e50672262 feat(*): update to Angular RC 3
Change-Id: I2d4ffedf925f646391e36727379199f81ebae138
2016-07-05 22:10:17 -04:00