-
Notifications
You must be signed in to change notification settings - Fork 190
feat: DAG Behavioral Changes (Canvas resource, Source Models, ... buttons) #8715
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
Open
royendo
wants to merge
150
commits into
main
Choose a base branch
from
feat/dag-changes
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
150 commits
Select commit
Hold shift + click to select a range
8a6a2f6
canvas resource DAG
royendo 769ef52
Update ResourceGraphOverlay.svelte
royendo 1058a08
overwrite source as model
royendo 98b6a7b
Merge branch 'main' into feat/dag-canvas
royendo 94b8fcc
https://www.loom.com/share/f21f8e222af24cc78f843d87d0611d0e
royendo 4e8954b
bring back source, rename to source model. change logic for model pag…
royendo d3c6ef3
code review fixes/ prettier
royendo 548bede
code qual
royendo 92b53a6
code qual
royendo 600ce9f
cherry pick dag-canvas into branch
royendo 0a04220
Node Badges!
royendo 8bb2889
prettier + functionality
royendo f9178b2
Merge branch 'main' into feat/dag-changes
royendo 582356d
variant tooltip
royendo b3ffeeb
SIDEBARRR
royendo e264299
Merge branch 'main' into feat/dag-changes
royendo f6a2676
Update GraphInspector.svelte
royendo b98548e
styling and button fixes
royendo 8c0ebaf
connector fix
royendo 5158421
search and filter
royendo 87d1a97
Update +page.svelte
royendo 53ed800
design
royendo 7f495a1
local PR change review
royendo 1b4db0b
Merge branch 'main' into feat/dag-changes
royendo 4c1cedd
code qual
royendo 2b0b36c
web code qual
royendo cf5dc60
Update connector-icon-mapping.ts
royendo eda7c17
fix
royendo 898fc6a
new node page,
royendo 0473b86
Merge branch 'main' into feat/dag-changes
royendo 125ba76
describe node
royendo 20bca57
hide lineage button when on lineage view
royendo 9e61404
prettier
royendo e32ef95
local PR reivew
royendo 121c8c5
round2
royendo 5475e43
round3
royendo 641eef8
clean up
royendo 2acdb79
Merge branch 'main' into feat/dag-changes
royendo 2d29e12
similar UI as rill cloud resources
royendo d8f174f
nit behavioral changes, dont show ..., rmeove lineage
royendo 807d10e
remove connector from DAG, it makes it very confusing
royendo 1a71317
code qual
royendo 2ab88ab
must + should fixe
royendo e8cd30e
nit, dont default to metrics for views, add OK
royendo 790fa14
PR review fixes
royendo 061b728
Merge branch 'main' into feat/dag-changes
royendo d84d8d9
more contexual nodes, better formatting of describe
royendo c46b13a
remove --preview, just --preview-locked is enough
royendo a8a5eee
Pr reiview fixes
royendo 57f8e74
fix overlay CSS
royendo 5f11941
prettier / code qual
royendo c1ff8ed
Update ResourceGraphOverlay.svelte
royendo b338ac7
Fixes 1-8
royendo dfbb115
web code qual
royendo 361f563
missed code qual
royendo 79aae23
nit describe fix
royendo cd45ed8
olap connector node
royendo 285db57
filter and dropdown fixes
royendo 29a40a7
rmeove node anchors, add some connector info
royendo 69f342e
fix duck --> model, only top level
royendo 44a1683
node fixes, upgrades
royendo 1c3c16f
additional hover states
royendo cdd0b28
Resource, Web code qual, prettier, fix redirect to Graph
royendo 5439bd3
first pass
royendo b0dad6e
Merge branch 'main' into feat/dag-changes
royendo 235ca3b
simplify UI, clean up
royendo 4c35236
PR review fixes
royendo c711a5c
CSS changes, simplify UI
royendo d6b56d1
disconnect filter from DAG, only dropdown
royendo d476219
web code
royendo 259a2fe
prettier, code qual
royendo 3f678de
IA and UX review
royendo 375a7b1
prettier
royendo 0ff5eee
Update ResourceNode.svelte
royendo 564dabf
more reviewers
royendo a474a64
remove warn icon from error/warn state
royendo 0af9211
UX review fixes
royendo aa67f67
clean up
royendo 212bd67
DAG tool bar consistnecy
royendo d2268e9
unify resources and DAG pages options, search filters, refresh
royendo 17f16b8
wrap trees, materialized
royendo a3e5eae
remove connector from all views expect explicit
royendo 749bf8b
see other connectors, change css for loading
royendo 75fe70e
prettier
royendo 1fdaaa4
ux/code local passes
royendo 76878e4
Merge branch 'main' into feat/dag-changes
royendo c390982
fix checks
royendo c954cd3
Update ConnectorMenuItems.svelte
royendo be15053
web code qual
royendo 291e139
min node width, set max view of graph to width of container, dynamic …
royendo 7cb3873
review fixes
royendo ff44104
Make graph navigation configurable via Svelte context
royendo b84500e
Hide "Go to Resource" when no openFile handler is provided
royendo 219617d
Remove horizontal padding from graph toolbar bar
royendo 160e485
Remove file path hover tooltip from graph nodes
royendo 52f763d
in rill cloud ;)
royendo 74ee987
fix default view
royendo 99091e3
prettier
royendo c94cfe8
Merge branch 'main' into feat/dag-changes
royendo c148220
code wual
royendo af9e33e
first pass
royendo 3625cce
node name show full; move DAG next to AI first class citizen
royendo 0a11276
only icon and additional legend
royendo 2c09d2b
close on scroll;
royendo 5287633
Merge remote-tracking branch 'origin/main' into feat/dag-changes
royendo 35590df
migrate to svelte
royendo 606c34b
revert to orignal right click modal
royendo 95244bf
close modal on drag event
royendo 07b62a3
fix url in modal
royendo e81ad39
fix status filter;
royendo 66ee7c1
web fix
royendo 1eaa45f
code qual
royendo d578811
qa fixes; refresh not updating UI; remove reconcile/error modal and r…
royendo 4faa3a9
Update ResourceGraph.svelte
royendo 81951c7
Merge branch 'main' into feat/dag-changes
royendo 1a5a9a9
Merge branch 'main' into feat/dag-changes
royendo b9401c9
nit for siloed nodes clean up view; show isolated node toggle
royendo d3c3d94
prettier
royendo 8de5b13
Update ContentContainer.svelte
royendo f879cab
Update ContentContainer.svelte
royendo ae6df13
Di Feedback
royendo a923e0b
fix
royendo acfa23f
Update GraphCanvas.svelte
royendo 523e6f2
dag final fixes
royendo e6808b4
local code review
royendo 52af5b0
round 2
royendo ee79a0f
prettier
royendo 83d1823
remove debug
royendo 8ac5719
Update GraphCanvas.svelte
royendo 537f25f
Merge branch 'main' into feat/dag-changes
royendo 8d30298
Merge branch 'main' into feat/dag-changes
royendo 15b0ac5
Merge branch 'main' into feat/dag-changes
royendo f0526ec
code qual
royendo 28cffd7
Merge branch 'main' into feat/dag-changes
royendo e61058c
connector
royendo 91cde30
TODO
royendo 5d68436
TODO
royendo 9d3695d
remove double icons
royendo a693baf
Merge branch 'main' into feat/dag-changes
royendo 2a3525c
remove icon
royendo 0c047b8
Merge branch 'main' into feat/dag-changes
royendo e9f70e7
fix edge cases where no dashboard, default to metrics instead
royendo 4791098
Merge `main` into `feat/dag-changes`
royendo c7ed53d
revert: remove "Open in editor" `NodeToolbar` from `ResourceNode`
royendo 6d074bd
fix: hide connector nodes from the resource graph canvas
royendo bd125bc
fix: resolve refs by name when `kind` is missing in resource graph
royendo ee9d153
fix: import `goto` in `MetricsViewMenuItems` and `SourceMenuItems`
royendo 7a050f4
fix Edit button regression with --preview mode
royendo 68bba35
Benjamin feedback, remove canvas parsing
royendo 0759c35
Update graph-builder.spec.ts
royendo 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
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
50 changes: 0 additions & 50 deletions
50
...rc/features/projects/status/resource-table/RefreshAllSourcesAndModelsConfirmDialog.svelte
This file was deleted.
Oops, something went wrong.
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
36 changes: 36 additions & 0 deletions
36
web-admin/src/routes/[organization]/[project]/-/status/resources/+layout.svelte
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,36 @@ | ||
| <script lang="ts"> | ||
| import { page } from "$app/stores"; | ||
|
|
||
| $: basePath = `/${$page.params.organization}/${$page.params.project}/-/status/resources`; | ||
| $: isGraphView = $page.route.id?.endsWith("/graph") ?? false; | ||
| </script> | ||
|
|
||
| <div class="flex flex-col size-full min-w-0 gap-y-4"> | ||
| <div class="flex items-center justify-between"> | ||
| <h2 class="text-lg font-medium">Resources</h2> | ||
| <div class="view-toggle"> | ||
| <a href={basePath} class="toggle-btn" class:active={!isGraphView}> | ||
| List | ||
| </a> | ||
| <a href="{basePath}/graph" class="toggle-btn" class:active={isGraphView}> | ||
| Graph | ||
| </a> | ||
| </div> | ||
| </div> | ||
| <slot /> | ||
| </div> | ||
|
|
||
| <style lang="postcss"> | ||
| .view-toggle { | ||
| @apply flex rounded-sm border border-gray-200 overflow-hidden; | ||
| } | ||
| .toggle-btn { | ||
| @apply px-3 py-1 text-sm font-medium text-fg-secondary no-underline; | ||
| } | ||
| .toggle-btn:hover { | ||
| @apply bg-surface-hover; | ||
| } | ||
| .toggle-btn.active { | ||
| @apply bg-primary-100 text-primary-600; | ||
| } | ||
| </style> |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The remaining backend changes are no-ops (same behavior as before) as far as I can tell, so would prefer no diff at all then on the backend.