Skip to content

No more loading indicator on version 3 #3500

@jeromedalbert

Description

@jeromedalbert

Describe the bug

When clicking on items in the left navbar, there is no loading indicator any more. There used to be one in the older rails_admin version.

This is especially problematic when loading lists that take many seconds to load. Since there is no indicator, the user is not sure whether the page is loading or if they misclicked. So they might click again (and again, and again), but if they correctly clicked the first time, this may lead to cascading delays.

Reproduction steps

Click on any item in the left navbar that takes a little bit of time to load.

Expected behavior

A loading indicator should be shown. Here is a screenshot of the indicator from the older rails_admin version, showing at the bottom-right of the page:

Screen Shot 2022-03-24 at 7 14 08 PM

Additional context

  • rails version: 7.0.2.3
  • rails_admin version: 3.0.0

I am using config.asset_source = :sprockets in config/initializers/rails_admin.rb, but I also tried with config.asset_source = :webpacker to no avail.

Maybe the problem started to happen during the switch to Turbo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions