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

Well Log Viewer: WellLogViewer callback subscriptions are set up in the wrong lifecycle hook #2216

Closed
Anders2303 opened this issue Sep 2, 2024 · 3 comments
Labels
bug Something isn't working well-log-viewer

Comments

@Anders2303
Copy link
Collaborator

I messed up a little when I did #2196 : the WellLogViewer's callback manager subscriptions are being added in the constructor but they should be registered in the componentDidMount() hook. As is, the callbacks will be removed in the componentWillUnmount() hook, and then never be re-attached, right?

I'll set up a PR to fix this right away!

Aka, I need to move this:

constructor(props: WellLogViewerProps) {
       // ... 
       this.callbackManager.registerCallback(
           "onInfoGroupClick",
           this.onInfoGroupClick,
           true
       );

       if (props.onInfoFilled) {
           this.callbackManager.registerCallback(
               "onInfoFilled",
               props.onInfoFilled
           );
       }
   }

to this:

componentDidMount(): void {
        this.callbackManager.registerCallback(
            "onInfoGroupClick",
            this.onInfoGroupClick,
            true
        );

        if (this.props.onInfoFilled) {
            this.callbackManager.registerCallback(
                "onInfoFilled",
                this.props.onInfoFilled
            );
        }
       // ...
    }
@Anders2303
Copy link
Collaborator Author

Anders2303 commented Sep 2, 2024

On that note; in SyncLogViewer, I put the callbacks in fillViewCallbacks(), since I saw that's where the Callback-Managers were being created, but I now see that method gets called in beforeRender() so I believe I might be creating new listeners every render.

I see that this method is pushing new entries to this.callbackManagers and this.callbacks. Are these lists ever reset between renders? Or are we creating excess entries here ever single re-render? I'm a bit rusty on my React and it's lifecycle, so do correct me if Im wrong; but shouldn't fillViewsCallbacks be called in componentDidMount() instead?

@Anders2303
Copy link
Collaborator Author

I do see that the arrays in question are being truncated after the fillViewCallbakcs() loop, so the excess entries don't stick in memory. Still, is there a reason why these arrays are being filled every render?

   fillViewsCallbacks(nViews: number): void {
        for (let iView = this.callbacks.length; iView < nViews; iView++)
            this.fillViewCallbacks(iView);
        this.callbacks.length = nViews; // <---- here
        this.callbackManagers.length = nViews; //<---- and here

        for (let iView = nViews; iView < this.controllers.length; iView++) {
            console.assert(this.controllers[iView]);
            this.onDeleteController(iView, this.controllers[iView]);
        }
        this.controllers.length = nViews;
    }

@Anders2303
Copy link
Collaborator Author

Set up PR #2217 for the afforementioned WellLogViewer issue. I did not touch the SyncLogViewer, as I think that issue is unrelated enough that it can be moved to it's own issue.

hkfb pushed a commit to hkfb/webviz-subsurface-components that referenced this issue Sep 2, 2024
## [0.6.6](https://github.com/equinor/webviz-subsurface-components/compare/wsc-common@0.6.5...wsc-common@0.6.6) (2024-07-18)

### Bug Fixes

* bump @equinor/videx-wellog from 0.9.4 to 0.10.0 in /typescript ([equinor#2120](equinor#2120)) ([614bc81](equinor@614bc81))
* bump @turf/simplify from 6.5.0 to 7.0.0 in /typescript ([equinor#2144](equinor#2144)) ([888d147](equinor@888d147)), closes [/github.com/Turfjs/turf/blob/master/CHANGELOG.md#700](https://github.com//github.com/Turfjs/turf/blob/master/CHANGELOG.md/issues/700) [equinor#2158](equinor#2158) [equinor#2237](equinor#2237) [equinor#2177](equinor#2177) [equinor#2173](equinor#2173) [equinor#2393](equinor#2393) [equinor#2166](equinor#2166) [equinor#2183](equinor#2183) [equinor#2106](equinor#2106) [equinor#2106](equinor#2106) [equinor#2247](equinor#2247) [equinor#2247](equinor#2247) [equinor#2247](equinor#2247) [#2613](https://github.com/equinor/webviz-subsurface-components/issues/2613) [equinor#1896](equinor#1896) [equinor#2217](equinor#2217) [equinor#2231](equinor#2231) [equinor#1893](equinor#1893) [equinor#2033](equinor#2033) [equinor#2338](equinor#2338) [#2415](https://github.com/equinor/webviz-subsurface-components/issues/2415) [equinor#1450](equinor#1450) [equinor#2149](equinor#2149) [equinor#2323](equinor#2323) [equinor#2142](equinor#2142) [equinor#2316](equinor#2316) [equinor#2345](equinor#2345) [equinor#2178](equinor#2178) [equinor#2168](equinor#2168) [equinor#2174](equinor#2174) [equinor#2182](equinor#2182) [equinor#2171](equinor#2171) [equinor#2171](equinor#2171) [equinor#2167](equinor#2167) [equinor#2134](equinor#2134) [equinor#2169](equinor#2169) [equinor#2195](equinor#2195) [equinor#2216](equinor#2216) [equinor#2227](equinor#2227) [equinor#2172](equinor#2172) [#2475](https://github.com/equinor/webviz-subsurface-components/issues/2475) [#2504](https://github.com/equinor/webviz-subsurface-components/issues/2504) [#2524](https://github.com/equinor/webviz-subsurface-components/issues/2524) [#2609](https://github.com/equinor/webviz-subsurface-components/issues/2609) [#2607](https://github.com/equinor/webviz-subsurface-components/issues/2607) [#2603](https://github.com/equinor/webviz-subsurface-components/issues/2603) [#2599](https://github.com/equinor/webviz-subsurface-components/issues/2599) [#2565](https://github.com/equinor/webviz-subsurface-components/issues/2565) [#2576](https://github.com/equinor/webviz-subsurface-components/issues/2576) [#2572](https://github.com/equinor/webviz-subsurface-components/issues/2572) [#2571](https://github.com/equinor/webviz-subsurface-components/issues/2571)
* bump ajv from 8.14.0 to 8.16.0 in /typescript ([equinor#2138](equinor#2138)) ([3f02100](equinor@3f02100)), closes [ajv-validator/ajv#2444](ajv-validator/ajv#2444) [ajv-validator/ajv#2415](ajv-validator/ajv#2415) [ajv-validator/ajv#2442](ajv-validator/ajv#2442) [ajv-validator/ajv#2415](ajv-validator/ajv#2415) [#2444](https://github.com/equinor/webviz-subsurface-components/issues/2444) [#2442](https://github.com/equinor/webviz-subsurface-components/issues/2442) [#2415](https://github.com/equinor/webviz-subsurface-components/issues/2415)
* bump mathjs from 12.4.2 to 13.0.0 in /typescript ([equinor#2124](equinor#2124)) ([caae3f2](equinor@caae3f2)), closes [#3223](https://github.com/equinor/webviz-subsurface-components/issues/3223) [#3139](https://github.com/equinor/webviz-subsurface-components/issues/3139) [#2838](https://github.com/equinor/webviz-subsurface-components/issues/2838) [#3152](https://github.com/equinor/webviz-subsurface-components/issues/3152) [#2838](https://github.com/equinor/webviz-subsurface-components/issues/2838) [rawify/Fraction.js#68](rawify/Fraction.js#68) [#3207](https://github.com/equinor/webviz-subsurface-components/issues/3207) [#3207](https://github.com/equinor/webviz-subsurface-components/issues/3207) [#3207](https://github.com/equinor/webviz-subsurface-components/issues/3207) [equinor#1240](equinor#1240) [#3189](https://github.com/equinor/webviz-subsurface-components/issues/3189) [#3197](https://github.com/equinor/webviz-subsurface-components/issues/3197) [#3198](https://github.com/equinor/webviz-subsurface-components/issues/3198)
* semantic release not publishing ([equinor#2160](equinor#2160)) ([235c558](equinor@235c558))
* semantic release not publishing ([equinor#2164](equinor#2164)) ([9878239](equinor@9878239))
hkfb pushed a commit to hkfb/webviz-subsurface-components that referenced this issue Sep 2, 2024
## [1.2.18](https://github.com/equinor/webviz-subsurface-components/compare/well-completions-plot@1.2.17...well-completions-plot@1.2.18) (2024-07-18)

### Bug Fixes

* bump @equinor/videx-wellog from 0.9.4 to 0.10.0 in /typescript ([equinor#2120](equinor#2120)) ([614bc81](equinor@614bc81))
* bump @turf/simplify from 6.5.0 to 7.0.0 in /typescript ([equinor#2144](equinor#2144)) ([888d147](equinor@888d147)), closes [/github.com/Turfjs/turf/blob/master/CHANGELOG.md#700](https://github.com//github.com/Turfjs/turf/blob/master/CHANGELOG.md/issues/700) [equinor#2158](equinor#2158) [equinor#2237](equinor#2237) [equinor#2177](equinor#2177) [equinor#2173](equinor#2173) [equinor#2393](equinor#2393) [equinor#2166](equinor#2166) [equinor#2183](equinor#2183) [equinor#2106](equinor#2106) [equinor#2106](equinor#2106) [equinor#2247](equinor#2247) [equinor#2247](equinor#2247) [equinor#2247](equinor#2247) [#2613](https://github.com/equinor/webviz-subsurface-components/issues/2613) [equinor#1896](equinor#1896) [equinor#2217](equinor#2217) [equinor#2231](equinor#2231) [equinor#1893](equinor#1893) [equinor#2033](equinor#2033) [equinor#2338](equinor#2338) [#2415](https://github.com/equinor/webviz-subsurface-components/issues/2415) [equinor#1450](equinor#1450) [equinor#2149](equinor#2149) [equinor#2323](equinor#2323) [equinor#2142](equinor#2142) [equinor#2316](equinor#2316) [equinor#2345](equinor#2345) [equinor#2178](equinor#2178) [equinor#2168](equinor#2168) [equinor#2174](equinor#2174) [equinor#2182](equinor#2182) [equinor#2171](equinor#2171) [equinor#2171](equinor#2171) [equinor#2167](equinor#2167) [equinor#2134](equinor#2134) [equinor#2169](equinor#2169) [equinor#2195](equinor#2195) [equinor#2216](equinor#2216) [equinor#2227](equinor#2227) [equinor#2172](equinor#2172) [#2475](https://github.com/equinor/webviz-subsurface-components/issues/2475) [#2504](https://github.com/equinor/webviz-subsurface-components/issues/2504) [#2524](https://github.com/equinor/webviz-subsurface-components/issues/2524) [#2609](https://github.com/equinor/webviz-subsurface-components/issues/2609) [#2607](https://github.com/equinor/webviz-subsurface-components/issues/2607) [#2603](https://github.com/equinor/webviz-subsurface-components/issues/2603) [#2599](https://github.com/equinor/webviz-subsurface-components/issues/2599) [#2565](https://github.com/equinor/webviz-subsurface-components/issues/2565) [#2576](https://github.com/equinor/webviz-subsurface-components/issues/2576) [#2572](https://github.com/equinor/webviz-subsurface-components/issues/2572) [#2571](https://github.com/equinor/webviz-subsurface-components/issues/2571)
* bump ajv from 8.14.0 to 8.16.0 in /typescript ([equinor#2138](equinor#2138)) ([3f02100](equinor@3f02100)), closes [ajv-validator/ajv#2444](ajv-validator/ajv#2444) [ajv-validator/ajv#2415](ajv-validator/ajv#2415) [ajv-validator/ajv#2442](ajv-validator/ajv#2442) [ajv-validator/ajv#2415](ajv-validator/ajv#2415) [#2444](https://github.com/equinor/webviz-subsurface-components/issues/2444) [#2442](https://github.com/equinor/webviz-subsurface-components/issues/2442) [#2415](https://github.com/equinor/webviz-subsurface-components/issues/2415)
* bump mathjs from 12.4.2 to 13.0.0 in /typescript ([equinor#2124](equinor#2124)) ([caae3f2](equinor@caae3f2)), closes [#3223](https://github.com/equinor/webviz-subsurface-components/issues/3223) [#3139](https://github.com/equinor/webviz-subsurface-components/issues/3139) [#2838](https://github.com/equinor/webviz-subsurface-components/issues/2838) [#3152](https://github.com/equinor/webviz-subsurface-components/issues/3152) [#2838](https://github.com/equinor/webviz-subsurface-components/issues/2838) [rawify/Fraction.js#68](rawify/Fraction.js#68) [#3207](https://github.com/equinor/webviz-subsurface-components/issues/3207) [#3207](https://github.com/equinor/webviz-subsurface-components/issues/3207) [#3207](https://github.com/equinor/webviz-subsurface-components/issues/3207) [equinor#1240](equinor#1240) [#3189](https://github.com/equinor/webviz-subsurface-components/issues/3189) [#3197](https://github.com/equinor/webviz-subsurface-components/issues/3197) [#3198](https://github.com/equinor/webviz-subsurface-components/issues/3198)
* semantic release not publishing ([equinor#2160](equinor#2160)) ([235c558](equinor@235c558))
* semantic release not publishing ([equinor#2164](equinor#2164)) ([9878239](equinor@9878239))
hkfb pushed a commit to hkfb/webviz-subsurface-components that referenced this issue Sep 2, 2024
## [0.27.10](https://github.com/equinor/webviz-subsurface-components/compare/subsurface-viewer@0.27.9...subsurface-viewer@0.27.10) (2024-07-18)

### Bug Fixes

* [NGRM] - Strange artefacts in 2D maps [equinor#2134](equinor#2134) ([equinor#2135](equinor#2135)) ([0446493](equinor@0446493))
* bump @equinor/videx-wellog from 0.9.4 to 0.10.0 in /typescript ([equinor#2120](equinor#2120)) ([614bc81](equinor@614bc81))
* bump @turf/simplify from 6.5.0 to 7.0.0 in /typescript ([equinor#2144](equinor#2144)) ([888d147](equinor@888d147)), closes [/github.com/Turfjs/turf/blob/master/CHANGELOG.md#700](https://github.com//github.com/Turfjs/turf/blob/master/CHANGELOG.md/issues/700) [equinor#2158](equinor#2158) [equinor#2237](equinor#2237) [equinor#2177](equinor#2177) [equinor#2173](equinor#2173) [equinor#2393](equinor#2393) [equinor#2166](equinor#2166) [equinor#2183](equinor#2183) [equinor#2106](equinor#2106) [equinor#2106](equinor#2106) [equinor#2247](equinor#2247) [equinor#2247](equinor#2247) [equinor#2247](equinor#2247) [#2613](https://github.com/equinor/webviz-subsurface-components/issues/2613) [equinor#1896](equinor#1896) [equinor#2217](equinor#2217) [equinor#2231](equinor#2231) [equinor#1893](equinor#1893) [equinor#2033](equinor#2033) [equinor#2338](equinor#2338) [#2415](https://github.com/equinor/webviz-subsurface-components/issues/2415) [equinor#1450](equinor#1450) [equinor#2149](equinor#2149) [equinor#2323](equinor#2323) [equinor#2142](equinor#2142) [equinor#2316](equinor#2316) [equinor#2345](equinor#2345) [equinor#2178](equinor#2178) [equinor#2168](equinor#2168) [equinor#2174](equinor#2174) [equinor#2182](equinor#2182) [equinor#2171](equinor#2171) [equinor#2171](equinor#2171) [equinor#2167](equinor#2167) [equinor#2134](equinor#2134) [equinor#2169](equinor#2169) [equinor#2195](equinor#2195) [equinor#2216](equinor#2216) [equinor#2227](equinor#2227) [equinor#2172](equinor#2172) [#2475](https://github.com/equinor/webviz-subsurface-components/issues/2475) [#2504](https://github.com/equinor/webviz-subsurface-components/issues/2504) [#2524](https://github.com/equinor/webviz-subsurface-components/issues/2524) [#2609](https://github.com/equinor/webviz-subsurface-components/issues/2609) [#2607](https://github.com/equinor/webviz-subsurface-components/issues/2607) [#2603](https://github.com/equinor/webviz-subsurface-components/issues/2603) [#2599](https://github.com/equinor/webviz-subsurface-components/issues/2599) [#2565](https://github.com/equinor/webviz-subsurface-components/issues/2565) [#2576](https://github.com/equinor/webviz-subsurface-components/issues/2576) [#2572](https://github.com/equinor/webviz-subsurface-components/issues/2572) [#2571](https://github.com/equinor/webviz-subsurface-components/issues/2571)
* bump ajv from 8.14.0 to 8.16.0 in /typescript ([equinor#2138](equinor#2138)) ([3f02100](equinor@3f02100)), closes [ajv-validator/ajv#2444](ajv-validator/ajv#2444) [ajv-validator/ajv#2415](ajv-validator/ajv#2415) [ajv-validator/ajv#2442](ajv-validator/ajv#2442) [ajv-validator/ajv#2415](ajv-validator/ajv#2415) [#2444](https://github.com/equinor/webviz-subsurface-components/issues/2444) [#2442](https://github.com/equinor/webviz-subsurface-components/issues/2442) [#2415](https://github.com/equinor/webviz-subsurface-components/issues/2415)
* bump mathjs from 12.4.2 to 13.0.0 in /typescript ([equinor#2124](equinor#2124)) ([caae3f2](equinor@caae3f2)), closes [#3223](https://github.com/equinor/webviz-subsurface-components/issues/3223) [#3139](https://github.com/equinor/webviz-subsurface-components/issues/3139) [#2838](https://github.com/equinor/webviz-subsurface-components/issues/2838) [#3152](https://github.com/equinor/webviz-subsurface-components/issues/3152) [#2838](https://github.com/equinor/webviz-subsurface-components/issues/2838) [rawify/Fraction.js#68](rawify/Fraction.js#68) [#3207](https://github.com/equinor/webviz-subsurface-components/issues/3207) [#3207](https://github.com/equinor/webviz-subsurface-components/issues/3207) [#3207](https://github.com/equinor/webviz-subsurface-components/issues/3207) [equinor#1240](equinor#1240) [#3189](https://github.com/equinor/webviz-subsurface-components/issues/3189) [#3197](https://github.com/equinor/webviz-subsurface-components/issues/3197) [#3198](https://github.com/equinor/webviz-subsurface-components/issues/3198)
* Changed to low precission for uniform in grid3D layer. ([equinor#2146](equinor#2146)) ([736f5e7](equinor@736f5e7))
* Fixes failing smoke test for axes2D layer. ([equinor#2150](equinor#2150)) ([240ea8d](equinor@240ea8d))
* semantic release not publishing ([equinor#2160](equinor#2160)) ([235c558](equinor@235c558))
* semantic release not publishing ([equinor#2164](equinor#2164)) ([9878239](equinor@9878239))
hkfb pushed a commit to hkfb/webviz-subsurface-components that referenced this issue Sep 2, 2024
## [1.1.18](https://github.com/equinor/webviz-subsurface-components/compare/group-tree-plot@1.1.17...group-tree-plot@1.1.18) (2024-07-18)

### Bug Fixes

* bump @equinor/videx-wellog from 0.9.4 to 0.10.0 in /typescript ([equinor#2120](equinor#2120)) ([614bc81](equinor@614bc81))
* bump @turf/simplify from 6.5.0 to 7.0.0 in /typescript ([equinor#2144](equinor#2144)) ([888d147](equinor@888d147)), closes [/github.com/Turfjs/turf/blob/master/CHANGELOG.md#700](https://github.com//github.com/Turfjs/turf/blob/master/CHANGELOG.md/issues/700) [equinor#2158](equinor#2158) [equinor#2237](equinor#2237) [equinor#2177](equinor#2177) [equinor#2173](equinor#2173) [equinor#2393](equinor#2393) [equinor#2166](equinor#2166) [equinor#2183](equinor#2183) [equinor#2106](equinor#2106) [equinor#2106](equinor#2106) [equinor#2247](equinor#2247) [equinor#2247](equinor#2247) [equinor#2247](equinor#2247) [#2613](https://github.com/equinor/webviz-subsurface-components/issues/2613) [equinor#1896](equinor#1896) [equinor#2217](equinor#2217) [equinor#2231](equinor#2231) [equinor#1893](equinor#1893) [equinor#2033](equinor#2033) [equinor#2338](equinor#2338) [#2415](https://github.com/equinor/webviz-subsurface-components/issues/2415) [equinor#1450](equinor#1450) [equinor#2149](equinor#2149) [equinor#2323](equinor#2323) [equinor#2142](equinor#2142) [equinor#2316](equinor#2316) [equinor#2345](equinor#2345) [equinor#2178](equinor#2178) [equinor#2168](equinor#2168) [equinor#2174](equinor#2174) [equinor#2182](equinor#2182) [equinor#2171](equinor#2171) [equinor#2171](equinor#2171) [equinor#2167](equinor#2167) [equinor#2134](equinor#2134) [equinor#2169](equinor#2169) [equinor#2195](equinor#2195) [equinor#2216](equinor#2216) [equinor#2227](equinor#2227) [equinor#2172](equinor#2172) [#2475](https://github.com/equinor/webviz-subsurface-components/issues/2475) [#2504](https://github.com/equinor/webviz-subsurface-components/issues/2504) [#2524](https://github.com/equinor/webviz-subsurface-components/issues/2524) [#2609](https://github.com/equinor/webviz-subsurface-components/issues/2609) [#2607](https://github.com/equinor/webviz-subsurface-components/issues/2607) [#2603](https://github.com/equinor/webviz-subsurface-components/issues/2603) [#2599](https://github.com/equinor/webviz-subsurface-components/issues/2599) [#2565](https://github.com/equinor/webviz-subsurface-components/issues/2565) [#2576](https://github.com/equinor/webviz-subsurface-components/issues/2576) [#2572](https://github.com/equinor/webviz-subsurface-components/issues/2572) [#2571](https://github.com/equinor/webviz-subsurface-components/issues/2571)
* bump ajv from 8.14.0 to 8.16.0 in /typescript ([equinor#2138](equinor#2138)) ([3f02100](equinor@3f02100)), closes [ajv-validator/ajv#2444](ajv-validator/ajv#2444) [ajv-validator/ajv#2415](ajv-validator/ajv#2415) [ajv-validator/ajv#2442](ajv-validator/ajv#2442) [ajv-validator/ajv#2415](ajv-validator/ajv#2415) [#2444](https://github.com/equinor/webviz-subsurface-components/issues/2444) [#2442](https://github.com/equinor/webviz-subsurface-components/issues/2442) [#2415](https://github.com/equinor/webviz-subsurface-components/issues/2415)
* bump mathjs from 12.4.2 to 13.0.0 in /typescript ([equinor#2124](equinor#2124)) ([caae3f2](equinor@caae3f2)), closes [#3223](https://github.com/equinor/webviz-subsurface-components/issues/3223) [#3139](https://github.com/equinor/webviz-subsurface-components/issues/3139) [#2838](https://github.com/equinor/webviz-subsurface-components/issues/2838) [#3152](https://github.com/equinor/webviz-subsurface-components/issues/3152) [#2838](https://github.com/equinor/webviz-subsurface-components/issues/2838) [rawify/Fraction.js#68](rawify/Fraction.js#68) [#3207](https://github.com/equinor/webviz-subsurface-components/issues/3207) [#3207](https://github.com/equinor/webviz-subsurface-components/issues/3207) [#3207](https://github.com/equinor/webviz-subsurface-components/issues/3207) [equinor#1240](equinor#1240) [#3189](https://github.com/equinor/webviz-subsurface-components/issues/3189) [#3197](https://github.com/equinor/webviz-subsurface-components/issues/3197) [#3198](https://github.com/equinor/webviz-subsurface-components/issues/3198)
* semantic release not publishing ([equinor#2160](equinor#2160)) ([235c558](equinor@235c558))
* semantic release not publishing ([equinor#2164](equinor#2164)) ([9878239](equinor@9878239))
hkfb pushed a commit to hkfb/webviz-subsurface-components that referenced this issue Sep 2, 2024
# [1.11.0](https://github.com/equinor/webviz-subsurface-components/compare/well-log-viewer@1.10.1...well-log-viewer@1.11.0) (2024-07-18)

### Bug Fixes

* bump @equinor/videx-wellog from 0.9.4 to 0.10.0 in /typescript ([equinor#2120](equinor#2120)) ([614bc81](equinor@614bc81))
* bump @turf/simplify from 6.5.0 to 7.0.0 in /typescript ([equinor#2144](equinor#2144)) ([888d147](equinor@888d147)), closes [/github.com/Turfjs/turf/blob/master/CHANGELOG.md#700](https://github.com//github.com/Turfjs/turf/blob/master/CHANGELOG.md/issues/700) [equinor#2158](equinor#2158) [equinor#2237](equinor#2237) [equinor#2177](equinor#2177) [equinor#2173](equinor#2173) [equinor#2393](equinor#2393) [equinor#2166](equinor#2166) [equinor#2183](equinor#2183) [equinor#2106](equinor#2106) [equinor#2106](equinor#2106) [equinor#2247](equinor#2247) [equinor#2247](equinor#2247) [equinor#2247](equinor#2247) [#2613](https://github.com/equinor/webviz-subsurface-components/issues/2613) [equinor#1896](equinor#1896) [equinor#2217](equinor#2217) [equinor#2231](equinor#2231) [equinor#1893](equinor#1893) [equinor#2033](equinor#2033) [equinor#2338](equinor#2338) [#2415](https://github.com/equinor/webviz-subsurface-components/issues/2415) [equinor#1450](equinor#1450) [equinor#2149](equinor#2149) [equinor#2323](equinor#2323) [equinor#2142](equinor#2142) [equinor#2316](equinor#2316) [equinor#2345](equinor#2345) [equinor#2178](equinor#2178) [equinor#2168](equinor#2168) [equinor#2174](equinor#2174) [equinor#2182](equinor#2182) [equinor#2171](equinor#2171) [equinor#2171](equinor#2171) [equinor#2167](equinor#2167) [equinor#2134](equinor#2134) [equinor#2169](equinor#2169) [equinor#2195](equinor#2195) [equinor#2216](equinor#2216) [equinor#2227](equinor#2227) [equinor#2172](equinor#2172) [#2475](https://github.com/equinor/webviz-subsurface-components/issues/2475) [#2504](https://github.com/equinor/webviz-subsurface-components/issues/2504) [#2524](https://github.com/equinor/webviz-subsurface-components/issues/2524) [#2609](https://github.com/equinor/webviz-subsurface-components/issues/2609) [#2607](https://github.com/equinor/webviz-subsurface-components/issues/2607) [#2603](https://github.com/equinor/webviz-subsurface-components/issues/2603) [#2599](https://github.com/equinor/webviz-subsurface-components/issues/2599) [#2565](https://github.com/equinor/webviz-subsurface-components/issues/2565) [#2576](https://github.com/equinor/webviz-subsurface-components/issues/2576) [#2572](https://github.com/equinor/webviz-subsurface-components/issues/2572) [#2571](https://github.com/equinor/webviz-subsurface-components/issues/2571)
* bump ajv from 8.14.0 to 8.16.0 in /typescript ([equinor#2138](equinor#2138)) ([3f02100](equinor@3f02100)), closes [ajv-validator/ajv#2444](ajv-validator/ajv#2444) [ajv-validator/ajv#2415](ajv-validator/ajv#2415) [ajv-validator/ajv#2442](ajv-validator/ajv#2442) [ajv-validator/ajv#2415](ajv-validator/ajv#2415) [#2444](https://github.com/equinor/webviz-subsurface-components/issues/2444) [#2442](https://github.com/equinor/webviz-subsurface-components/issues/2442) [#2415](https://github.com/equinor/webviz-subsurface-components/issues/2415)
* bump mathjs from 12.4.2 to 13.0.0 in /typescript ([equinor#2124](equinor#2124)) ([caae3f2](equinor@caae3f2)), closes [#3223](https://github.com/equinor/webviz-subsurface-components/issues/3223) [#3139](https://github.com/equinor/webviz-subsurface-components/issues/3139) [#2838](https://github.com/equinor/webviz-subsurface-components/issues/2838) [#3152](https://github.com/equinor/webviz-subsurface-components/issues/3152) [#2838](https://github.com/equinor/webviz-subsurface-components/issues/2838) [rawify/Fraction.js#68](rawify/Fraction.js#68) [#3207](https://github.com/equinor/webviz-subsurface-components/issues/3207) [#3207](https://github.com/equinor/webviz-subsurface-components/issues/3207) [#3207](https://github.com/equinor/webviz-subsurface-components/issues/3207) [equinor#1240](equinor#1240) [#3189](https://github.com/equinor/webviz-subsurface-components/issues/3189) [#3197](https://github.com/equinor/webviz-subsurface-components/issues/3197) [#3198](https://github.com/equinor/webviz-subsurface-components/issues/3198)
* Crash Removing Well Log in SLV ([equinor#2122](equinor#2122)) ([4139860](equinor@4139860)), closes [equinor#2114](equinor#2114)
* Property "setControllerDefaultZoom" does not exist on type "WellLogController" ([equinor#2136](equinor#2136)) ([a2390e2](equinor@a2390e2))
* semantic release not publishing ([equinor#2160](equinor#2160)) ([235c558](equinor@235c558))
* semantic release not publishing ([equinor#2164](equinor#2164)) ([9878239](equinor@9878239))
* StrictMode behaviour ([equinor#2139](equinor#2139)) ([807fff4](equinor@807fff4)), closes [equinor#2110](equinor#2110) [/github.com/equinor/issues/2053#issuecomment-2194025734](https://github.com//github.com/equinor/webviz-subsurface-components/issues/2053/issues/issuecomment-2194025734)

### Features

* color function ([equinor#2054](equinor#2054)) ([equinor#2152](equinor#2152)) ([36b85bb](equinor@36b85bb))
hkfb pushed a commit that referenced this issue Sep 3, 2024
… mounted hook (#2217)

Resolves issue #2216 

The callback manager events introduced in PR #2196 where being set up in
the _constructor_ hook, not in the `componentDidMount()` hook, which is
against React guidelines.

This PR fixes that
@hkfb hkfb added well-log-viewer bug Something isn't working labels Sep 3, 2024
hkfb pushed a commit that referenced this issue Sep 3, 2024
## [1.12.7](https://github.com/equinor/webviz-subsurface-components/compare/well-log-viewer@1.12.6...well-log-viewer@1.12.7) (2024-09-03)

### Bug Fixes

* Well Log Viewer - Moved callback subscription to well-log-viewer mounted hook ([#2217](#2217)) ([c0e5c97](c0e5c97)), closes [#2216](#2216) [#2196](#2196)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working well-log-viewer
Projects
None yet
Development

No branches or pull requests

2 participants