Skip to content

Conversation

@Spoffy
Copy link
Contributor

@Spoffy Spoffy commented Oct 21, 2025

Context

When a record card is opened for a row that is unavailable (blocked by access control), currently it shows a "random" record.

This occurs because Cursor refuses to be set to non-existent row ids, and instead maintains the current rowIndex. This is usually the last one viewed, or rowIndex 0.

Proposed solution

This solution is option 1 of 2.

This enables a notification when Cursor is set to an unavailable cursor position, and shows the 'new' blank record instead.

Related issues

#1896 - Option 2 - Show a message on the record card by treating Cursors null rowIndex as an invalid record state

Has this been tested?

  • 👍 yes, I added tests to the test suite
  • [] 💭 no, because this PR is a draft and still needs work
  • 🙅 no, because this is not relevant here
  • 🙋 no, because I need help

Screenshots / Screencasts

image

@Spoffy Spoffy added the preview Launch preview deployment of this PR label Oct 21, 2025
@Spoffy
Copy link
Contributor Author

Spoffy commented Oct 25, 2025

Option #1896 was chosen instead.

@Spoffy Spoffy closed this Oct 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview Launch preview deployment of this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants