Giter Site home page Giter Site logo

pjax: timeout message about redaxo HOT 11 CLOSED

redaxo avatar redaxo commented on September 7, 2024
pjax: timeout message

from redaxo.

Comments (11)

staabm avatar staabm commented on September 7, 2024

@gharlan wo genau?

from redaxo.

gharlan avatar gharlan commented on September 7, 2024

Das tritt bei mir nur beim Aktivieren von Addons auf, da aber immer.
Also der Ablauf bei mir ist so:

  • "aktivieren" klicken
  • über dem Addon erscheint im normalen Messagestil "someting went wrong: timeout"
  • irgendwas lädt nochmal
  • dann wird die Message durch "AddOn ... wurde aktiviert!" ersetzt

from redaxo.

staabm avatar staabm commented on September 7, 2024

kann ich nicht nachvollziehen. bitte nochmal testen ob durch pjax/jquery update ggf. gefixed.

from redaxo.

staabm avatar staabm commented on September 7, 2024

wenn das ajax request nicht innerhalb von 650ms abgeschlossen ist, wird es abgebrochen und die seite via fullpage submit geladen:

https://github.com/defunkt/jquery-pjax/blob/master/jquery.pjax.js#L476

ggf. sollten wir das timeout erhöhen.

Der Wert an sich ist eigentlich ok, allerdings sind die Addon/Plugin Seiten und der Installer wohl allgemein zu langsam an dieser Stelle.

from redaxo.

gharlan avatar gharlan commented on September 7, 2024

Problem besteht bei mir nach dem Update weiterhin, eine Erhöhung des timeouts wird es dann aber wohl bringen.

from redaxo.

staabm avatar staabm commented on September 7, 2024

Wir sollten schauen warum diese seiten so lange laden.... Timeout erhoehen geht spaeter immernoch. Sobald das pjax requ. Abgebrochen wird und ein volles ausgeloest wird, verschenken wir den pjax vorteil

from redaxo.

staabm avatar staabm commented on September 7, 2024

defunkt/jquery-pjax#129

from redaxo.

gharlan avatar gharlan commented on September 7, 2024

Hmm, im Moment bekomme ich die timeout message gar nicht mehr. Allerdings bleibt die Seite bei keinem der pjax links an der gleichen Scrollposition, sondern ich gelange immer zum Seitenanfang. Keine Ahnung, ob bei mir jetzt die Seiten grundsätzlich vollständig neu laden. Es ist aber kein zweimaliges Laden mehr erkennbar, und die Aktionen werden recht schnell ausgeführt.

from redaxo.

staabm avatar staabm commented on September 7, 2024

das mit dem scrollen ist mir auch aufgefallen....

from redaxo.

gharlan avatar gharlan commented on September 7, 2024

die timeout message kommt nun doch wieder in der form wie oben beschrieben. (hatte nicht die aktuellen dateien, oder es waren noch alte im cache)

from redaxo.

staabm avatar staabm commented on September 7, 2024

defunkt/jquery-pjax#133

from redaxo.

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.