Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module.exports = {
tabWidth: 4,
endOfLine: 'auto',
trailingComma: 'none',
plugins: ['prettier-plugin-bootstrap'],
overrides: [
{
files: ['*.yml', '*.yaml'],
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2910,7 +2910,8 @@
"typescript": "^5.8.3",
"unicode-properties": "^1.3.1",
"utf-8-validate": "^5.0.8",
"util": "^0.12.4"
"util": "^0.12.4",
"prettier-plugin-bootstrap": "^0.3.1"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<!doctype html>
<html>
<body>

<h1>Hello {{ value_from_server }}!</h1>
<h1>Hello {{ another_value_from_server }}!</h1>

</body>
<body>
<h1>Hello {{ value_from_server }}!</h1>
<h1>Hello {{ another_value_from_server }}!</h1>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<!doctype html>
<html>
<body>

<h1>Hello {{ value_from_server }}!</h1>
<h1>Hello {{ another_value_from_server }}!</h1>

</body>
<body>
<h1>Hello {{ value_from_server }}!</h1>
<h1>Hello {{ another_value_from_server }}!</h1>
</body>
</html>
667 changes: 334 additions & 333 deletions src/webviews/webview-side/data-explorer/index.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -138,14 +138,14 @@ export const DataframeRenderer = memo(function DataframeRenderer({

return (
<div className="w-full">
<div className="w-full overflow-x-auto">
<div className="flex border-l border-[var(--vscode-panel-border)]">
<div className="overflow-x-auto w-full">
<div className="border-l border-[var(--vscode-panel-border)] flex">
{filteredColumns.map((column) => {
const rows = data.rows.map((row) => row[column.name]);

return (
<div key={column.name} className="flex-none flex-grow-1">
<div className="flex gap-[4px] p-[4px] border-b border-r border-t border-[var(--vscode-panel-border)] font-mono">
<div className="border-b border-r border-t border-[var(--vscode-panel-border)] p-[4px] gap-[4px] flex font-mono">
Comment thread
coderabbitai[bot] marked this conversation as resolved.
<div className="font-[600]">{column.name}</div>
<div className="">{column.dtype}</div>
</div>
Expand All @@ -168,8 +168,8 @@ export const DataframeRenderer = memo(function DataframeRenderer({
})}
</div>
</div>
<div className="px-[8px] py-[12px] flex justify-between items-center border-l border-r border-b border-[var(--vscode-panel-border)] font-mono">
<div className="flex gap-[4px] items-center">
<div className="border-l border-r border-b border-[var(--vscode-panel-border)] px-[8px] py-[12px] flex justify-between items-center font-mono">
<div className="gap-[4px] flex items-center">
<div>
{getLocString('dataframeRowsColumns', `{0} rows, {1} columns`)
.replace('{0}', String(numberOfRows))
Expand All @@ -187,7 +187,7 @@ export const DataframeRenderer = memo(function DataframeRenderer({
</div>
</div>

<div className="flex gap-[12px] items-center">
<div className="gap-[12px] flex items-center">
<IconButton
aria-label={getLocString('dataframePreviousPage', 'Previous page')}
className={`
Expand Down Expand Up @@ -228,7 +228,7 @@ export const DataframeRenderer = memo(function DataframeRenderer({
</div>

<div>
<div className="flex items-center gap-[4px]">
<div className="gap-[4px] flex items-center">
<IconButton
aria-label={getLocString('dataframeCopyTable', 'Copy table')}
title={getLocString('dataframeCopyTable', 'Copy table')}
Expand Down
667 changes: 334 additions & 333 deletions src/webviews/webview-side/plot/index.html

Large diffs are not rendered by default.

667 changes: 334 additions & 333 deletions src/webviews/webview-side/variable-view/index.html

Large diffs are not rendered by default.