Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v5 #102

Merged
merged 9 commits into from
Oct 29, 2019
Merged

v5 #102

merged 9 commits into from
Oct 29, 2019

Conversation

goto-bus-stop
Copy link
Contributor

@goto-bus-stop goto-bus-stop commented Oct 1, 2019

goto-bus-stop and others added 9 commits October 29, 2019 12:11
Squashed commit of the following:

commit 3707067
Author: Alessio Carnevale <[email protected]>
Date:   Tue Feb 26 16:58:56 2019 +0100

    Filters/footer redesign (#85)

    * replacing `More info` drop-down with a button

    * setting drop-down border colours - commenting out 2px border

    * fixing scroll-bar appearing on side-bar in

commit 1f19aed
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 25 13:21:36 2019 +0100

    removing colored dots on mobile

commit 6369782
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 25 13:16:05 2019 +0100

    * adding reference color for each key (app, deps, core)
    * improving `ellipsis` handling on narrower screens

commit 479bfb9
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 25 11:26:37 2019 +0100

    amending as per PR comments

commit 13500d1
Author: Alessio Carnevale <[email protected]>
Date:   Wed Feb 20 16:08:04 2019 +0100

    making use of the new `button` component in `selection-controls`

commit 761866f
Author: Alessio Carnevale <[email protected]>
Date:   Wed Feb 20 16:07:25 2019 +0100

    optimising Dependecies data count check

commit a3b35bc
Author: Alessio Carnevale <[email protected]>
Date:   Wed Feb 20 15:53:44 2019 +0100

    fixing dataCount value calculation

commit 9a0609b
Author: Alessio Carnevale <[email protected]>
Date:   Wed Feb 20 15:53:16 2019 +0100

    removing comments

commit bb4d816
Author: Alessio Carnevale <[email protected]>
Date:   Wed Feb 20 15:52:37 2019 +0100

    removing `options-menu`

commit 050ac9a
Merge: 9be8ad7 91953fb
Author: Alessio Carnevale <[email protected]>
Date:   Wed Feb 20 15:08:43 2019 +0100

    Merge remote-tracking branch 'origin/master' into feature/footer_redesign

commit 9be8ad7
Author: Alessio Carnevale <[email protected]>
Date:   Wed Feb 20 14:46:11 2019 +0100

    fixing `is:init` option and adding `Close button` to SideBar

commit 1cf745b
Merge: 84e8a8a b9406ee
Author: Alessio Carnevale <[email protected]>
Date:   Wed Feb 20 13:36:12 2019 +0100

    Merge remote-tracking branch 'origin/master' into feature/footer_redesign

commit 84e8a8a
Author: Alessio Carnevale <[email protected]>
Date:   Wed Feb 20 13:32:38 2019 +0100

    normalising padding value

commit ef462b7
Author: Alessio Carnevale <[email protected]>
Date:   Wed Feb 20 13:32:11 2019 +0100

    sideBar responsive version

commit 6647ae4
Author: Alessio Carnevale <[email protected]>
Date:   Wed Feb 20 13:31:22 2019 +0100

    triggering `sideBar` event

commit f9f5b82
Author: Alessio Carnevale <[email protected]>
Date:   Tue Feb 19 20:04:22 2019 +0100

    fixing autohide of drop-down content

commit feec024
Author: Alessio Carnevale <[email protected]>
Date:   Tue Feb 19 20:04:05 2019 +0100

    clicking on X first clears then close the search-box

commit abf5068
Author: Alessio Carnevale <[email protected]>
Date:   Tue Feb 19 15:36:58 2019 +0100

    replacing classes with classNames

commit 57b0002
Author: Alessio Carnevale <[email protected]>
Date:   Tue Feb 19 15:36:38 2019 +0100

    using DOMParser in `toHtml` helper

commit ee8ae46
Author: Alessio Carnevale <[email protected]>
Date:   Tue Feb 19 15:35:54 2019 +0100

    replacing `classes` with `classNames`

commit dfaa235
Author: Alessio Carnevale <[email protected]>
Date:   Tue Feb 19 15:34:34 2019 +0100

    adding mobile search-box / adding bp-1 and bp-2 breakpoints

commit 592af61
Author: Alessio Carnevale <[email protected]>
Date:   Tue Feb 19 15:32:59 2019 +0100

    Fixing search-box style. It assumed the user would always assign 'search-box' id

commit a019306
Merge: 8e1a2a9 0ec0d59
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 18 16:37:52 2019 +0100

    Merge branch 'feature/base-components-2' into feature/footer_redesign

commit 0ec0d59
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 18 12:10:55 2019 +0100

    creating helpers.js

commit fddcd8e
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 18 12:10:43 2019 +0100

    adding CB for click and change events

commit c3c6538
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 18 12:10:19 2019 +0100

    replacing check-button-combo with drop-down

commit d52d0b5
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 18 12:09:26 2019 +0100

    fixing padding

commit 8e1a2a9
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 18 11:58:28 2019 +0100

    using button component in selection-controls

commit aec330a
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 18 11:26:45 2019 +0100

    improving setCodeAreaVisibility function

commit c256edb
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 18 11:26:23 2019 +0100

    adding onChange cb

commit 4b5016f
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 18 11:25:43 2019 +0100

    tweking style and making use ot toHtml helper

commit 700a928
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 18 11:25:20 2019 +0100

    weaking button css and onclick function

commit c10512d
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 18 11:24:28 2019 +0100

    creating helpers.js to host some common helpers

commit c0bb407
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 18 11:23:53 2019 +0100

    replacing check-button-combo component with drop-down

commit a65461b
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 18 11:21:50 2019 +0100

    tweaking side-bar slide-in/out animation

commit 286900a
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 18 11:21:20 2019 +0100

    calling ui.setCodeAreaVisibility and using Object.assign to support IE

commit fba3f69
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 18 11:20:09 2019 +0100

    creating the combos in the footer

commit eb6e5a2
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 11 10:53:39 2019 +0100

    Adding `SideBar` container, renaming `filters-bar` and `filters-options`

commit f9952fb
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 11 10:32:13 2019 +0100

    moving common under visualizer

commit 0fd376d
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 11 10:21:57 2019 +0100

    creating base components

commit 5c73e9a
Author: Alessio Carnevale <[email protected]>
Date:   Mon Feb 11 10:15:56 2019 +0100

    creating base components

commit 4075502
Author: Alessio Carnevale <[email protected]>
Date:   Sat Feb 2 23:02:45 2019 +0100

    Cleaning code and fixing Advanced section

commit 393bfbf
Author: Alessio Carnevale <[email protected]>
Date:   Sat Feb 2 23:02:16 2019 +0100

    style tweaks

commit 753d5f1
Author: Alessio Carnevale <[email protected]>
Date:   Sat Feb 2 23:02:00 2019 +0100

    firing 'updateExclusions' on setUseMergedTree and setShowOptimizationStatus

commit f30a7b8
Author: Alessio Carnevale <[email protected]>
Date:   Sat Feb 2 19:57:56 2019 +0100

    removing toolbar-side-panel and adding 'filters-container' to the footer

commit ff540b8
Author: Alessio Carnevale <[email protected]>
Date:   Sat Feb 2 19:56:57 2019 +0100

    adding 'filters-content' and 'filters-container'
* [621] - Implement flame graph percentages as dropdown alongside info box

* [621] - Move percentage dropdown above info-box

* [621] - Fix percentage dropdown button padding
* fixing selection-controls css rules

* creating `walkthrough` component

* creating context-overlay component

* adding transition to width and height

* defining some demo steps

* adding WT to UI

* adding `c_` to className to make it less common

* fixing toHTML function

* creating `element-highlighter` to darken everything out in a page but the selected element

* adding `element-highlighter-border`

* adding transition to the borders

* enabling backdrop on walkthroug component

* adding constant elements (logo, docs)

* adding the arrow to point the target elem

* preventing element-highlighter to show up on resize

* moving base components to clinic-common

* updating the base style file name

* adding custom style for base components

* removing the graph percentage dropdown

* adding `How does this work` button

* using `link` in the walkthrough steps

* enabling Walkthrough visualisation through URL

* using `howDoesThisWork` component

* updating @nearform/clinic-common dep version

* removing unneeded rules

* renaming howDoesThisWork to walkthroughButton

* fixing a typo and updating clinic-common dependency

* adding support for base64 images and making use of `chalk`

* moving helpButton to footer

* updating `walkthrough` steps

* adding images for walkthrough demo

* removing unneeded var

* Use new Clinic Common release

* Add real walkthrough content

* Remove dummy content and use block link styler
* renaming filters-options to filters-content

* adding accordions to side-bar

* refactoring filters-content to make use of `asccordion` component

* updating the Deps drop-down content on `setData`

* moving `#flame-main .scroll-container` style to more appropriate location

* moving `.scroll-container` style to clinic-common

* adding some dummy data to test the side-bar

* avoiding too many calls to `updateExclusions` when looping through sub filters

* reducing the clickable area of `More info` in the side-bar

* passing an Object as argument to `setCodeAreaVisibility` and removing console.trace

* removing `deps` dummy data

* using `childrenVisibilityToggle` to decide when to render the sub filters toggle

* enabling back `deps` children

* adding spinner to filters-bar and filters-content

* fixing `presentation-mode` checkbox and adding spinner

* Use Accordion branch of Clinic Common

* Design tweaks

* More design tweaks

* Pulse buttons while applying fliters

We want no spinner or overlay over the main flamegraph while applying a filter so that the user can see what has changed.

* Improve performance of dependencies filter

* Add and style app and deps descriptions

* Remove dummy text

* Fix property name casing

* Remove commented block

* simple comments
* Basic WebAssembly support

* make istanbul happy

* Upgrade 0x

* Use a separate WASM category

* fix test

* Remove isWasm, detect wasm frames in same way as others

* Fix crash when hiding wasm frames
* [621] - Create method in DataTree to count total frames from source data and use show percentage on stack top each frame is in the UI

* [621] - Implement dropdown with top and overall stack percentage into info-box

* [621] - Tidy info-box UI

* [621] - Use active tree value to calculate frame percentage

* [621] - Fix selection-controls margin

* [621] - Optimise text display in info box. Flag future use of visibleRootValue for stack percentages

* [621] - Fix type error when generating path title attribute

* [621] - Revert changes to text arrangement in info-box

* [621] - Ensure line and col numbers are spaced properly

* [621] - Use pointer cursor on percentage dropdown button

* [621] - Ensure percentage dropdown closes on click outside and remove empty property from DataTree

* [621] - Create method in DataTree to count total frames from source data and use show percentage on stack top each frame is in the UI

* [621] - Use active tree value to calculate frame percentage

* [621] - Tweak responsive nature of info-box text

* [621] - Make more sections of info text responsive and rely on labels for full text content where necessary

* [621] - Tweak styling to find line of best fit between different outputs, function name lengths etc

* Use tooltip component.

* make frame info tooltip full-width on mobile, fix some overflows
* [596] - Remove styling for header and defer to common

* [596] - Import JS and CSS build scripts from common as use as part of HTML generation

* [596] - Remove brfs dep

* [647] - Load font from common whilst showing spinner to hide and esnure font has a chance to load before use in Flamegraph

* [647] - Ensure flamegraph is redrawn once slow loading UI font is loaded after timeout

* [647] - Use clinic common to better orchestrate UI events on font load state

* [596] - Add class to body on font load to work in tandem with screenshot function to ensure loader has disappeared

* [596] - Ensure UI is drawn immediately despite state of font loading

* [596] - Point to Clinic Common dev branch for ease-of-testing

* [596] - Remove bodyClass that was hiding loader

* [596] - Wrap font loader function in setTimeout to prevent blocking removal of spinner

* [596] - Update Clinic Common dep
@goto-bus-stop goto-bus-stop marked this pull request as ready for review October 29, 2019 11:30
@goto-bus-stop goto-bus-stop merged commit f157fc9 into master Oct 29, 2019
@goto-bus-stop goto-bus-stop deleted the dev branch October 29, 2019 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wasm support (Rust)
4 participants