Skip to content
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

Adding editor for schema designer. #18689

Draft
wants to merge 78 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
c9d8190
Adding edge table support in table designer
aasimkhan30 Jan 15, 2025
54d9e7b
Making sure general group is expanded for edge constraints
aasimkhan30 Jan 15, 2025
850367f
adding some comments
aasimkhan30 Jan 15, 2025
f0a202f
Updating sts version
aasimkhan30 Jan 16, 2025
9f70eb2
Vbumping to add editor apis
aasimkhan30 Feb 5, 2025
da31da6
Fixing icons and adding new callbacks
aasimkhan30 Feb 6, 2025
c2c9270
Fixing editor pos
aasimkhan30 Feb 6, 2025
1c18950
1. Fixing entity position logic.
aasimkhan30 Feb 7, 2025
4e33376
Fixing compilation error
aasimkhan30 Feb 7, 2025
9f7f331
remove log statements
aasimkhan30 Feb 7, 2025
0da0a43
Fixing editor z index
aasimkhan30 Feb 7, 2025
698bfb1
Adding more editor stuff
aasimkhan30 Feb 9, 2025
34fe179
Fixing loc
aasimkhan30 Feb 9, 2025
9f93833
Fixing node editing
aasimkhan30 Feb 9, 2025
d685c20
Basic foreign key elements
aasimkhan30 Feb 11, 2025
16075be
Pushing loc files
aasimkhan30 Feb 11, 2025
d32d947
Added ability to edit edges
aasimkhan30 Feb 11, 2025
8f4dc6f
loc
aasimkhan30 Feb 11, 2025
4c7e6e9
Fixing some mutation bugs
aasimkhan30 Feb 11, 2025
6b12d14
Fixing undo redo
aasimkhan30 Feb 12, 2025
33aa1e5
Update azdataGraph dependency to version 0.0.85 to fix editing
aasimkhan30 Feb 12, 2025
65f2c37
Update azdataGraph dependency to version 0.0.86 and refactor schema d…
aasimkhan30 Feb 12, 2025
67dc645
Update azdataGraph dependency to version 0.0.87
aasimkhan30 Feb 12, 2025
086d8c0
fixing apis with vbump
aasimkhan30 Feb 12, 2025
de5d268
Merge remote-tracking branch 'origin' into aasim/feat/editor
aasimkhan30 Feb 12, 2025
5242420
Fixing partially visible editor
aasimkhan30 Feb 13, 2025
e32f4a1
Update azdataGraph dependency to version 0.0.89 and adjust schema des…
aasimkhan30 Feb 14, 2025
2c945c1
Update azdataGraph dependency to version 0.0.90 and refactor editor p…
aasimkhan30 Feb 14, 2025
eada895
Fixing compile issues
aasimkhan30 Feb 14, 2025
345667b
Fixing focusing logic by not relying on timeouts
aasimkhan30 Feb 16, 2025
f70597e
Fixing dimension for outline
aasimkhan30 Feb 16, 2025
e88638c
Fixing rending keys and focusing logic for empty foreign keys
aasimkhan30 Feb 16, 2025
f8d878d
Update azdataGraph dependency to version 0.0.95 and refactor schema d…
aasimkhan30 Feb 19, 2025
46371e4
Update azdataGraph dependency to version 0.0.96
aasimkhan30 Feb 20, 2025
39dcf59
Update azdataGraph dependency to version 0.0.97 and implement model r…
aasimkhan30 Feb 20, 2025
93ca831
Add publish method to schema designer
aasimkhan30 Feb 20, 2025
79bdfd6
Some publish schema contracts
aasimkhan30 Feb 21, 2025
4c6e779
Merge branch 'origin/main' into aasim/feat/editor
aasimkhan30 Feb 21, 2025
ab77164
Merge remote-tracking branch 'origin' into aasim/feat/editor
aasimkhan30 Feb 21, 2025
dacfa42
Update azdataGraph dependency to version 0.0.103 and refactor schema …
aasimkhan30 Feb 24, 2025
bbcea63
Refactor schema designer reducers to include saveAs functionality and…
aasimkhan30 Feb 25, 2025
694c6db
Update azdataGraph dependency to version 0.0.104 and enhance exportAs…
aasimkhan30 Feb 25, 2025
f0a9e81
Update azdataGraph dependency to version 0.0.108 and enhance schema m…
aasimkhan30 Feb 27, 2025
ea48a6b
Update azdataGraph dependency to version 0.0.110 and adjust schema de…
aasimkhan30 Feb 28, 2025
39c2187
Add schemaDesignerToolbar component and adjust graphContainer height …
aasimkhan30 Feb 28, 2025
74bcd7c
Update azdataGraph dependency to version 0.0.111
aasimkhan30 Feb 28, 2025
3b83c2e
Refactor SchemaDesigner toolbar: update button icons, add publish and…
aasimkhan30 Feb 28, 2025
0ea8100
Update azdataGraph dependency to version 0.0.112 and set showToolbar …
aasimkhan30 Feb 28, 2025
146e70e
Update azdataGraph dependency to version 0.0.114
aasimkhan30 Feb 28, 2025
0bdb04b
Add toolbar components for Schema Designer: Search, Add Table, Export…
aasimkhan30 Mar 1, 2025
0e80689
Add zoom controls and export functionality to Schema Designer; update…
aasimkhan30 Mar 2, 2025
c4f7b2f
Add localization for "Export" and "Save As" in l10n files
aasimkhan30 Mar 2, 2025
70d98f9
Implement drag-and-drop functionality for Add Table button in Schema …
aasimkhan30 Mar 2, 2025
201eb47
Renaming classes and interfaces and some code cleanup
aasimkhan30 Mar 5, 2025
ce3fea0
Pushing loc files
aasimkhan30 Mar 5, 2025
2654aec
Merge remote-tracking branch 'origin' into aasim/feat/editor
aasimkhan30 Mar 5, 2025
cf5f68d
Update launch configuration and clean up unused imports in locConstants
aasimkhan30 Mar 5, 2025
5b8e75f
Enhance Schema Designer: add report retrieval, update CSS positioning…
aasimkhan30 Mar 5, 2025
f00a4b5
Update localization files: add new UI strings for table management an…
aasimkhan30 Mar 6, 2025
82a7fd0
Add clipboard and editor functionality to Schema Designer: implement …
aasimkhan30 Mar 6, 2025
98dcf7f
Update localization files: add new UI strings for "Open in Editor" an…
aasimkhan30 Mar 6, 2025
fcb20a7
Add delete nodes functionality to Schema Designer: implement DeleteNo…
aasimkhan30 Mar 7, 2025
d8d1564
Update localization files: add new UI string for "Delete Node"
aasimkhan30 Mar 7, 2025
db7bcdf
Update Schema Designer: enhance column properties and add code panel …
aasimkhan30 Mar 12, 2025
dae8ab0
Update localization files: add new UI strings for error messages and …
aasimkhan30 Mar 12, 2025
9a9a047
Refactor Schema Designer: restore validation for referenced columns a…
aasimkhan30 Mar 12, 2025
f813558
Update Schema Designer: enhance schema handling and add tableName to …
aasimkhan30 Mar 13, 2025
fadb4e3
Update Schema Designer: add identity properties and enhance compatibi…
aasimkhan30 Mar 14, 2025
a0ede6e
Update Schema Designer: upgrade azdataGraph version, enhance foreign …
aasimkhan30 Mar 14, 2025
9921f9a
Update localization files: improve error message clarity and consiste…
aasimkhan30 Mar 14, 2025
64fe3f3
Update Schema Designer: enhance cyclic foreign key detection and add …
aasimkhan30 Mar 14, 2025
9ed88d2
Update Schema Designer: implement SchemaDesignerWebviewManager for im…
aasimkhan30 Mar 14, 2025
7373d08
Update Schema Designer: add openInEditorWithConnection functionality …
aasimkhan30 Mar 14, 2025
ed9118f
Update PublishChangesDialogButton: add warning to SQL script before o…
aasimkhan30 Mar 14, 2025
d18d16e
Update Schema Designer: fix schema name handling to include table sch…
aasimkhan30 Mar 15, 2025
c30aa58
Update Schema Designer: sort schema names in session response for con…
aasimkhan30 Mar 15, 2025
26a3647
Add SearchableDropdown component and integrate into Schema Designer
aasimkhan30 Mar 15, 2025
f8ce5a7
Merge branch 'aasim/feat/editor' of https://github.com/microsoft/vsco…
aasimkhan30 Mar 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
// Uncomment this to use a specified version of STS, see
// https://github.com/microsoft/vscode-mssql/blob/main/DEVELOPMENT.md#using-mssql_sqltoolsservice-environment-variable
// for more details
// "MSSQL_SQLTOOLSSERVICE": "<Path to STS>"
"MSSQL_SQLTOOLSSERVICE": "/Users/aasimkhan/src/sqltoolsservice/src/Microsoft.SqlTools.ServiceLayer/bin/Debug/net8.0/osx-arm64/publish"
}
},
{
Expand Down
90 changes: 90 additions & 0 deletions localization/l10n/bundle.l10n.json
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,93 @@
"Search...": "Search...",
"Maximize": "Maximize",
"Restore": "Restore",
"Add new column": "Add new column",
"Table": "Table",
"Save": "Save",
"Add new foreign key": "Add new foreign key",
"Foreign Key {0}/{0} is the index of the foreign key": {
"message": "Foreign Key {0}",
"comment": [
"{0} is the index of the foreign key"
]
},
"Source Column": "Source Column",
"Target Table": "Target Table",
"Export": "Export",
"Add Table": "Add Table",
"Auto Arrange": "Auto Arrange",
"Filter": "Filter",
"Refresh": "Refresh",
"Publish Changes": "Publish Changes",
"View Code": "View Code",
"Edit Table": "Edit Table",
"Open in Editor": "Open in Editor",
"Changed Tables": "Changed Tables",
"Delete Node": "Delete Node",
"Create As Script": "Create As Script",
"Table '{0}' not found/{0} is the table name": {
"message": "Table '{0}' not found",
"comment": [
"{0} is the table name"
]
},
"Referenced table '{0}' not found/{0} is the table name": {
"message": "Referenced table '{0}' not found",
"comment": [
"{0} is the table name"
]
},
"Column '{0}' not found/{0} is the column name": {
"message": "Column '{0}' not found",
"comment": [
"{0} is the column name"
]
},
"Referenced column '{0}' not found/{0} is the column name": {
"message": "Referenced column '{0}' not found",
"comment": [
"{0} is the column name"
]
},
"Data type mismatch: '{0}' in column '{1}' incompatible with '{2}' in '{3}'/{0} is source data type{1} is source column{2} is target data type{3} is target column": {
"message": "Data type mismatch: '{0}' in column '{1}' incompatible with '{2}' in '{3}'",
"comment": [
"{0} is source data type",
"{1} is source column",
"{2} is target data type",
"{3} is target column"
]
},
"Length mismatch: Column '{0}' ({1}) incompatible with '{2}' ({3})/{0} is source column{1} is source length{2} is target column{3} is target length": {
"message": "Length mismatch: Column '{0}' ({1}) incompatible with '{2}' ({3})",
"comment": [
"{0} is source column",
"{1} is source length",
"{2} is target column",
"{3} is target length"
]
},
"Precision/scale mismatch between '{0}' and '{1}'/{0} is source column{1} is target column": {
"message": "Precision/scale mismatch between '{0}' and '{1}'",
"comment": [
"{0} is source column",
"{1} is target column"
]
},
"Column '{0}' must be a primary key or have a unique constraint/{0} is the referenced column": {
"message": "Column '{0}' must be a primary key or have a unique constraint",
"comment": [
"{0} is the referenced column"
]
},
"Circular reference detected: '{0}' → '{1}' creates a cycle/{0} is source table{1} is target table": {
"message": "Circular reference detected: '{0}' → '{1}' creates a cycle",
"comment": [
"{0} is source table",
"{1} is target table"
]
},
"Cannot create foreign key": "Cannot create foreign key",
"{0} (Preview)/{0} is the editor title": {
"message": "{0} (Preview)",
"comment": [
Expand Down Expand Up @@ -815,6 +902,9 @@
},
"General": "General",
"Schema Compare": "Schema Compare",
"Loading Schema Designer Model...": "Loading Schema Designer Model...",
"Schema Designer Model is ready. Changes can now be published.": "Schema Designer Model is ready. Changes can now be published.",
"Save As": "Save As",
"Azure sign in failed.": "Azure sign in failed.",
"Select subscriptions": "Select subscriptions",
"Error loading Azure subscriptions.": "Error loading Azure subscriptions.",
Expand Down
Loading
Loading