briefercloud / briefercloud/briefer
Download as CSV button not working as expected
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 290
- PR merge metrics
- No merged PRs in 30d
Description
Currently, I have two problems related to this feature:
First, when using the example "Welcome to Briefer," I clicked on the "Download as CSV" button for the first query. The loading took a while and then returned the message "Something went wrong."
This is because I hadn’t run the query. The button should be disabled in this scenario and display a message like "Please run the query."
Second, when using a personal database in an SQL block, my "Download as CSV" button didn’t appear, as you can see in the screenshot below.

In the "Welcome to Briefer" example, the div containing the button looks like this:

But when I use my personal database, it appears as follows:

Current workaround: Change "relative hidden" to just "relative," and the button appears. It works as expected, and the CSV downloads correctly.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce both cases in the “Welcome to Briefer” example and in a personal database SQL block, then inspect where the “Download as CSV” button is rendered and how its visibility and query state are handled. Done means an unrun query disables the button with a helpful message, while a personal-database SQL block displays a working CSV download button.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100