Skip to content

Comment UI remains visible when "Allow adding comments" is disabled #95

Description

@gidila91

When the "Allow adding comments" toggle is turned off in the Inline Actions settings, the "+ New Comment" button and the "Comments are restricted" input box remain visible in the app interface. This leads to a cluttered UI where users see buttons they cannot use.

Severity: Medium

Steps to Reproduce
Open a Glide project and select a Collection or Detail view.

In the right-hand configuration panel, navigate to Inline Actions.

Locate the "Allow adding comments" toggle and set it to OFF (grayed out).

Observe the component in the app preview.

Current Behavior
The blue "+ New Comment" button (or "+ הערה חדשה") remains visible and active. Below it, the comment input field displays a "Comments are restricted" placeholder but is not hidden from the user.

Expected Behavior
If "Allow adding comments" is disabled, all UI elements related to creating a new comment (the top button and the restricted input bar) should be completely hidden to provide a clean user experience.

Screenshots/Evidence
(The user provided an annotated screenshot showing the toggle in the OFF position while the comment button and restricted field are still visible on the left.)

Size Estimate
[x] Small

[ ] Medium

[ ] Large

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions