Connections: only show "Views" for databases that have views

Open Beginner friendly
#15,871 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

Start in the new Data Connections UI and trace the database expansion rendering for the always-visible "Views" entry. Verify the behavior with a database that has no defined views and one that does; done means the entry appears only for the latter.

Written by the indexing model from the issue text.

Description

area: connections area: ui

In our new Data Connections UI, we show "Views" all the time in all databases:

Image

Is it possible to only show the views if the database has some defined, when you expand it?

Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 5h
Merged PRs (30d)
186

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from posit-dev/positron

All issues in posit-dev/positron

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.