Calendar back runtime

Hi,

I hope you can reproduce, i have updated my discourse, and on pressing back after the second (or later) on the browser when browsing Upcoming Events, runtime is excessive

This deosn’t seem a major bug to me, you can just close the PWA and re-open, but i feel better to make a bug report now than later

How many event do you have?

Can you share some information from network tab in Chrome, is there some network activity running in a loop?

Can you share some screenshots?

about 70 in events plugin and 12 in calendar (and event) plugin

i’d need to use a desktop/laptop since apple webkit is being used in the Safari PWA where this bug occured.

Is there an error in the console?

none today, i have experienced this bug today

Let’s hold a few days on this, @j.jaffeux is working on an upgrade for the full calendar control. It may (or may not) resolve this issue as a side effect.

We are quite a distance away from the current version of this library. An upgrade my sort out some quirks.

1 Like

Hi Sam,

Thank you for your response. I really like the new system.

As my copy of Discourse nears sync’ing with University events on this calendar system, this is an issue that would be particularly annoying.

If i’m going through the maths in different topics and accessing it through this calendar each evening, ideally i don’t want to be refreshing or opening/closing the PWA

As a Physics student, i’m not particularly skilled in Discourse programming yet,

it would be nice to know how far we are through the implementation of the library?

We have a PR for the fullcalendar upgrade in progress (and finished), hoping to land it some time next week.

Noting, that we will do our best but for various reasons (release timeline, handling side effects of these changes in other projects), it might be in August.

1 Like

Fixes on this have been merged and your situation should feel better once you update, let us know how it goes please.

2 Likes

Hi, I’ve been running into something that looks related.

  • Environment: iPhone , iOS < iOS 18.6.2 (22G100) >
  • Discourse: < latest-release +296>, self-hosted with default theme
  • Symptom: When installed as a Safari PWA (Add to Home Screen), the app consistently collapses the calendar after
  1. opening left side panel

  2. press “Upcoming events”

  3. press > multiple times

  4. notice collapse to the side, so page needs to be refreshed

    • Control tests:
    • Safari browser (no PWA): works fine, even without Safe Mode.
    Safe Mode in Safari: works fine. Didn’t raise any JavaScript deprecation errors in /logs despite enabling
    • PWA: reproducibly collapses.

So far this points to a Safari PWA/WebKit interaction, rather than a component/theme problem.

Recording: I’ve captured short repros of
1. Normal Safari (works)
2. Safari Safe Mode (works)
3. PWA (collapses)

1 Like


my last couple of attempts to reproduce didn’t yield an issue

just reproduced this issue on a desktop, chromium, but pressing the back button on FullCalendar did solve the problem;

Yes I have seen a few times, not sure yet what is causing this, will dig.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.