Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
62e3f45
set package.json to private
danmarshall Jul 25, 2025
10ee443
add RendererCommonOptions and RenderRequestMessage interfaces
danmarshall Jul 25, 2025
362d534
refactor exports in index.ts for improved clarity and organization
danmarshall Jul 25, 2025
54b06ba
refactor: update RenderRequestMessage usage to import from common
danmarshall Jul 25, 2025
db765d8
refactor: clarify comment on legacy dataPrefix handling in createSpec…
danmarshall Jul 25, 2025
813359d
bump build order
danmarshall Jul 25, 2025
49d567a
add host-test package
danmarshall Jul 25, 2025
26dc227
rename Host message types
danmarshall Jul 25, 2025
11bd4e5
SandboxApproval message types
danmarshall Jul 26, 2025
72b938d
use preceding script tag
danmarshall Jul 26, 2025
d243703
rename message types
danmarshall Jul 26, 2025
0f06ff7
Add hostStatus type to HostStatusMessage and update related message h…
danmarshall Jul 26, 2025
e71a339
move editor message types
danmarshall Jul 26, 2025
1e1aff7
add approval handler
danmarshall Jul 26, 2025
dda0530
Merge pull request #29 from microsoft/application-json-tags
danmarshall Jul 26, 2025
056dd00
Add hydratesBefore property to Plugin interface and sort plugins by h…
danmarshall Jul 26, 2025
9043154
use json object, vaga-lite uses vega
danmarshall Jul 26, 2025
bf91027
suppress emptyoutdir message
danmarshall Jul 26, 2025
5ffd210
use specs from schema
danmarshall Jul 27, 2025
7955bf9
fix missing semicolon
danmarshall Jul 27, 2025
98133ad
fix for schema
danmarshall Jul 27, 2025
e090d64
config container
danmarshall Jul 27, 2025
4eafc9a
rename flaggables
danmarshall Jul 27, 2025
9f91ca1
hydrate specs
danmarshall Jul 28, 2025
d1d3b0d
onApprove handler
danmarshall Jul 28, 2025
8898fbc
move to dev typescript
danmarshall Jul 28, 2025
25cfdc2
use approve handler
danmarshall Jul 28, 2025
45a70c0
add logging for peer registration in SignalBus
danmarshall Jul 28, 2025
8de67e8
remove approve method
danmarshall Jul 28, 2025
423789d
flatten approval interface
danmarshall Jul 28, 2025
ce4bf4c
remove unused
danmarshall Jul 28, 2025
d0cd693
rename to RawFlaggableSpec
danmarshall Jul 28, 2025
d149fd5
spec approval
danmarshall Jul 28, 2025
254e6b6
collect reasons
danmarshall Jul 28, 2025
dbc8639
rename to SpecReview
danmarshall Jul 28, 2025
e19ca08
rename to specs
danmarshall Jul 28, 2025
261a6ab
rename to specs
danmarshall Jul 28, 2025
500b9c6
rename to specs
danmarshall Jul 28, 2025
ad088ff
rename to specs
danmarshall Jul 28, 2025
750eeb8
remove comment
danmarshall Jul 28, 2025
6f8a128
remove console.log, add policy comments
danmarshall Jul 28, 2025
8fba108
Merge pull request #31 from microsoft/hydrate-config
danmarshall Jul 28, 2025
2481390
expose AppProps, previewer optional
danmarshall Jul 28, 2025
76fb4dd
add appProps to sandbox script for component rendering
danmarshall Jul 28, 2025
df822d7
web package from typescript
danmarshall Jul 28, 2025
6b57afc
remove typeRoots configuration from tsconfig files
danmarshall Jul 28, 2025
0d36adc
change console.warn to console.debug
danmarshall Jul 28, 2025
f4a26f4
change comment
danmarshall Jul 28, 2025
7b8a96b
common render function
danmarshall Jul 28, 2025
b10e7bb
show specs in console
danmarshall Jul 28, 2025
58a937d
reset renderer before rendering HTML
danmarshall Jul 28, 2025
9cb5f6a
use flaggable specs
danmarshall Jul 28, 2025
93ab514
slider & textbox plugins
danmarshall Jul 28, 2025
c8bb872
normalize elementProps
danmarshall Jul 29, 2025
27a2ee9
fix tabulatorOptions
danmarshall Jul 29, 2025
da50e83
correct tavble schema
danmarshall Jul 29, 2025
badc2d8
correct table schema
danmarshall Jul 29, 2025
8a83cb8
new build
danmarshall Jul 29, 2025
346e498
remove empty tabulatorOptions
danmarshall Jul 29, 2025
0cf3264
normalize spec creation
danmarshall Jul 29, 2025
3a2319f
rebuild
danmarshall Jul 29, 2025
500ce88
use typed pluginNames
danmarshall Jul 29, 2025
7a8ce2b
unpack object
danmarshall Jul 29, 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
3 changes: 2 additions & 1 deletion docs/assets/examples/grocery-list.idoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@
"## Select the items you want to buy\n",
{
"type": "table",
"variableId": "itemsData_selected",
"dataSourceName": "itemsData",
"options": {
"tabulatorOptions": {
"autoColumns": true,
"layout": "fitColumns",
"minHeight": "200px",
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/examples/seattle-weather/4.idoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{
"type": "table",
"dataSourceName": "seattle_weather",
"options": {}
"variableId": "seattle_weather_selected"
},
"Here is a stacked bar chart of Seattle weather:\nEach bar represents the count of weather types for each month.\nThe colors distinguish between different weather conditions such as sun, fog, drizzle, rain, and snow.",
{
Expand Down
4 changes: 2 additions & 2 deletions docs/assets/examples/seattle-weather/4.idoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ Data table:

```json tabulator
{
"dataSignalName": "seattle_weather",
"options": {}
"dataSourceName": "seattle_weather",
"variableId": "seattle_weather_selected"
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/examples/seattle-weather/5.idoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{
"type": "table",
"dataSourceName": "seattle_weather",
"options": {}
"variableId": "seattle_weather_selected"
},
"Here is a stacked bar chart of Seattle weather:\nEach bar represents the count of weather types for each month.\nThe colors distinguish between different weather conditions such as sun, fog, drizzle, rain, and snow.",
{
Expand Down
4 changes: 2 additions & 2 deletions docs/assets/examples/seattle-weather/5.idoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Data table:

```json tabulator
{
"dataSignalName": "seattle_weather",
"options": {}
"dataSourceName": "seattle_weather",
"variableId": "seattle_weather_selected"
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/examples/seattle-weather/6.idoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
{
"type": "table",
"dataSourceName": "seattle_weather",
"options": {}
"variableId": "seattle_weather_selected"
},
"Here is a stacked bar chart of Seattle weather:\nEach bar represents the count of weather types for each month.\nThe colors distinguish between different weather conditions such as sun, fog, drizzle, rain, and snow.",
{
Expand Down
4 changes: 2 additions & 2 deletions docs/assets/examples/seattle-weather/6.idoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ Data table:

```json tabulator
{
"dataSignalName": "seattle_weather",
"options": {}
"dataSourceName": "seattle_weather",
"variableId": "seattle_weather_selected"
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/examples/seattle-weather/7.idoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
{
"type": "table",
"dataSourceName": "seattle_weather",
"options": {}
"variableId": "seattle_weather_selected"
},
"Here is a stacked bar chart of Seattle weather:\nEach bar represents the count of weather types for each month.\nThe colors distinguish between different weather conditions such as sun, fog, drizzle, rain, and snow.",
{
Expand Down
4 changes: 2 additions & 2 deletions docs/assets/examples/seattle-weather/7.idoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ Data table:

```json tabulator
{
"dataSignalName": "seattle_weather",
"options": {}
"dataSourceName": "seattle_weather",
"variableId": "seattle_weather_selected"
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/examples/seattle-weather/8.idoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
{
"type": "table",
"dataSourceName": "seattle_weather",
"options": {}
"variableId": "seattle_weather_selected"
},
"Here is a stacked bar chart of Seattle weather:\nEach bar represents the count of weather types for each month.\nThe colors distinguish between different weather conditions such as sun, fog, drizzle, rain, and snow.",
{
Expand Down
4 changes: 2 additions & 2 deletions docs/assets/examples/seattle-weather/8.idoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ Data table:

```json tabulator
{
"dataSignalName": "seattle_weather",
"options": {}
"dataSourceName": "seattle_weather",
"variableId": "seattle_weather_selected"
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/examples/seattle-weather/9.idoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
{
"type": "table",
"dataSourceName": "seattle_weather",
"options": {}
"variableId": "seattle_weather_selected"
},
"Here is a stacked bar chart of Seattle weather:\nEach bar represents the count of weather types for each month.\nThe colors distinguish between different weather conditions such as sun, fog, drizzle, rain, and snow.",
{
Expand Down
4 changes: 2 additions & 2 deletions docs/assets/examples/seattle-weather/9.idoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ Data table:

```json tabulator
{
"dataSignalName": "seattle_weather",
"options": {}
"dataSourceName": "seattle_weather",
"variableId": "seattle_weather_selected"
}
```

Expand Down
3 changes: 2 additions & 1 deletion docs/assets/examples/slides.idoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@
{
"type": "table",
"dataSourceName": "itemsData",
"options": {
"variableId": "itemsData_selected",
"tabulatorOptions": {
"autoColumns": true,
"layout": "fitColumns",
"minHeight": "200px",
Expand Down
11 changes: 11 additions & 0 deletions docs/assets/js/edit.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
window.addEventListener('DOMContentLoaded', () => {
const appProps = {
onApprove: (message) => {
// TODO look through each spec and override policy to approve unapproved for https://microsoft.github.io/chartifact/
const { specs } = message;
return specs;
}
};
const root = ReactDOM.createRoot(document.getElementById("app"));
root.render(React.createElement(IDocs.editor.App, appProps));
});
15 changes: 15 additions & 0 deletions docs/assets/js/view.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
window.addEventListener('DOMContentLoaded', () => {
host = new IDocs.host.Listener({
app: 'main',
loading: '#loading',
help: '#help',
uploadButton: '#upload-btn',
fileInput: '#file-input',
textarea: '#textarea',
onApprove: (message) => {
// TODO look through each spec and override policy to approve unapproved for https://microsoft.github.io/chartifact/
const { specs } = message;
return specs;
},
});
});
Loading