Skip to content

[2.x] Flag and GDPR Requests get refreshed #4437

@GreXXL

Description

@GreXXL

Current Behavior

Currently a new flag, or a solved flag do not update the icon and list in the dropdown. They remain there until a hard page refresh has been made. That is the same for the requests coming in via the GDPR ereausre requests.

Ideally this icons GDPR, Flags, Messages and Notifications also would be updated by Realtime.

Steps to Reproduce

Create a new flagged post
Check as an admin user if the flag gets visible witout a hard page refresh
If the flag has been handled check if the flag gets removed from the top icon without a hard page refresh

Expected Behavior

Information displayed without hard page refresh

Screenshots

No response

Environment

  • Flarum version: x.y.z
  • Website URL: http://example.com
  • Webserver: [e.g. apache, nginx]
  • Hosting environment: [e.g. shared, vps]
  • PHP version: x.y.z
  • Browser: [e.g. chrome 67, safari 11]

Output of php flarum info

Output of "php flarum info", run this in terminal in your Flarum directory.

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions