Skip to content

Remove database path display from table view UI#27

Merged
jonathanbossenger merged 2 commits intomainfrom
copilot/remove-database-path-ui
Nov 2, 2025
Merged

Remove database path display from table view UI#27
jonathanbossenger merged 2 commits intomainfrom
copilot/remove-database-path-ui

Conversation

Copy link
Contributor

Copilot AI commented Nov 2, 2025

Removes the database path and table count information displayed below the WordPress Studio directory text field in the table view.

Changes

  • DatabaseViewer.js: Removed JSX rendering the database path line (Database: {path} (N tables))

The component still loads database info internally but no longer displays it in the UI. Only the WordPress Studio directory path remains visible in the header section.

// Before
<p className="bg-white px-4 py-2.5 rounded-md ...">
  {directory}
</p>
{databaseInfo && (
  <p className="mt-2 text-sm text-gray-600">
    Database: {databaseInfo.path} ({databaseInfo.tableCount} tables)
  </p>
)}

// After
<p className="bg-white px-4 py-2.5 rounded-md ...">
  {directory}
</p>
Original prompt

This section details on the original issue you should resolve

<issue_title>Table view UI updates</issue_title>
<issue_description>Remove the path to the database below the WordPress Studio directory text field</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: jonathanbossenger <180629+jonathanbossenger@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove database path from table view UI Remove database path display from table view UI Nov 2, 2025
@jonathanbossenger jonathanbossenger marked this pull request as ready for review November 2, 2025 18:04
@jonathanbossenger jonathanbossenger merged commit df166ee into main Nov 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Table view UI updates

2 participants