Code Monkey home page Code Monkey logo

Comments (8)

cheapsteak avatar cheapsteak commented on May 12, 2024 1

thanks so much for the thoughtful steps in the screencapture 🙏

We're able to reliably reproduce the issue, have identified the problem and have a PR awaiting review

from apollo-server.

mayakoneval avatar mayakoneval commented on May 12, 2024

Hello! Thank you for this bug report. We will look into and update when we find a resolution.

from apollo-server.

cheapsteak avatar cheapsteak commented on May 12, 2024

Hi there, thanks so much for the bug report

Could you please help confirm a few things so we can make sure we're looking at the right thing? 🙏

Is it the case that the page is refreshing by itself, with no user interaction?
The codepaths that trigger a refresh are currently all in button click handlers, I can't imagine how that could be possible 🤔
It is the case that if you have multiple tabs open, clicking on "update" in one tab will trigger updates across all tabs, might that be what you experienced?

Wrt losing time and effort, we use localStorage to persist state, refreshing shouldn't cause lost work.
Was sandbox being opened in your browser's incognito mode?
Does refreshing a tab normally cause contents to be lost, or only if it was from an update? (how do you know the page refreshed from an update?)

from apollo-server.

habovh avatar habovh commented on May 12, 2024

Hi @cheapsteak,

To answer your question yes, the page is refreshing itself with no user interaction, that is, the user didn't request the page refresh. I have never seen any "update" button you're referring to, but having one and installing updates only when clicked or on manual page refresh would very much fix this issue.

As shown by this screen capture, you can see it takes roughly 10 seconds from the moment I access the page for the first time and the moment it reloads. I even used Incognito mode to make sure no extension or any other tab is interfering.

I have time to start building my document, and the page refreshes before showing again in its default empty state.

Untitled.2.mov

Now, I'm aware I can configure the embed to keep its state between refreshes with the persistExplorerState option, but in my opinion it's not a valid solution since it's still disruptive, and I'd like to avoid storing authorisation headers in the local storage.

from apollo-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.