-
Notifications
You must be signed in to change notification settings - Fork 176
Add tags support for pivot tables #9514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
34438d1
feat: tag support in pivot table sidebar
nishantmonu51 493f6dc
chore: fix prettier formatting
nishantmonu51 ee01b86
refactor: address review on pivot tag bulk-add
nishantmonu51 7619b23
fix: restore exploreName imports in DragList for sidebar chip clicks
nishantmonu51 9f89c9b
fix: declare dragOffset with $state in PivotTagRow
nishantmonu51 500a4f9
refactor: address follow-up review on pivot tag bulk-add
nishantmonu51 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| <script lang="ts"> | ||
| import * as Tooltip from "@rilldata/web-common/components/tooltip-v2"; | ||
| import CancelCircle from "../icons/CancelCircle.svelte"; | ||
|
|
||
| type Props = { | ||
| tagName: string; | ||
| onClear: () => void; | ||
| }; | ||
|
|
||
| let { tagName, onClear }: Props = $props(); | ||
| </script> | ||
|
|
||
| <div class="flex items-center gap-x-1.5 px-3 py-1.5 bg-popover-accent border-b"> | ||
| <span class="text-xs text-fg-secondary flex-none">Filter:</span> | ||
| <span class="truncate text-xs text-fg-primary font-medium flex-1 min-w-0"> | ||
| {tagName} | ||
| </span> | ||
| <Tooltip.Root delayDuration={200}> | ||
| <Tooltip.Trigger> | ||
| {#snippet child({ props })} | ||
| <button | ||
| {...props} | ||
| type="button" | ||
| class="flex-none text-icon-muted hover:text-fg-primary transition-colors" | ||
| onclick={onClear} | ||
| aria-label="Clear tag filter" | ||
| > | ||
| <CancelCircle size="14px" /> | ||
| </button> | ||
| {/snippet} | ||
| </Tooltip.Trigger> | ||
| <Tooltip.Content | ||
| side="top" | ||
| class="bg-popover text-fg-primary z-popover text-xs px-2 py-1" | ||
| > | ||
| Clear filter | ||
| </Tooltip.Content> | ||
| </Tooltip.Root> | ||
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.