Skip to content

Context menu in exploration cells #4466

Open
@seancolsen

Description

@seancolsen

As described in the Exploration Display Improvements

Add a context menu on all data cells

Every data cell should have a context menu containing the following options:

  • Set to null (will always be disabled, until DML is possible)
  • Open linked record page (when in FK column)

There should not be a context menu on row header cells or column header cells (for now).

Rationale:

  • The purpose for this change is to allow the user to navigate to the record page for linked records, potentially in another tab. This opens up a workflow for DML on linked records.
  • Even though most cells will only have a "Set to null" option (which does nothing), we should still add the context menu to all data cells so in order to try (perhaps in vain) to help users discover the "Open linked record page" option on FK cells.
  • Note that we'd like to iron this flow out later by providing the option to open/edit a linked record in a modal, but it's not strictly necessary right now. And when we make that improvement later on, we can make it such that it applies to all FK cells (in the table page and data explorer).

Metadata

Metadata

Assignees

Labels

readyReady for implementationtype: enhancementwork: frontendRelated to frontend code in the mathesar_ui directory

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions