briefercloud / briefercloud/briefer

duplicate query blocks should increment counter in dataframe name (but should still work on duplicate document)

Open
#146 3 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
TypeScript
Stars
4.3k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

1. Create a query block (gets named as `query_1`)
2. Duplicate this block (it gets named as `query_1` too, but it should be named as `query_2`)

Note: If the name has been changed, let's say to `my_df`, and then you duplicate it, it should be `query_3`.

We should still keep the original names when duplicating the block while duplicating the entire parent document.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the query-block duplication entry point and the logic that assigns dataframe names. Reproduce the issue steps for an unchanged name and a renamed `my_df`, then verify that duplicating a whole parent document preserves original names while standalone duplication increments the counter.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.