Skip to content
Merged
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
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ jobs:
with:
node-version: '22'

# Temporarily disabling this step due to formatting issues.
# Linter and prettier) currently throws numerous warnings.
# Code style checks will be re-enabled in a future PR that includes a codebase reformat.
# - name: Check code style
# run: npm run check:clean
- name: Check code style
run: npm run check:clean

- name: Build package
run: npm run package:clean
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,16 @@ The local URL will be be displayed which you can open in your browser.

To build parser: `npm run antlr4ng`, as configured in **package.json**

### Linting and code formatting

To check code quality and formatting:

```shell
npm run check
```

This command runs both eslint and prettier, as defined in **package.json**

## Philosophy

This UI's purpose is to provide an environment where once the cluster is stood up, executing queries and exploring data sets can be done right away. The idended use cases are:
Expand Down
1 change: 1 addition & 0 deletions precise/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/generated/**
5 changes: 5 additions & 0 deletions precise/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,10 @@ module.exports = {
'warn',
{ allowConstantExport: true },
],
// ❗ Temporarily disabled due to widespread use of `any` an `unused vars` in the codebase.
// Defining proper types will require significant effort.
// We will address this incrementally in future pull requests.
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': 'off',
},
}
1 change: 1 addition & 0 deletions precise/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/generated/**
7 changes: 7 additions & 0 deletions precise/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"trailingComma": "es5",
"tabWidth": 4,
"semi": false,
"singleQuote": true,
"printWidth": 120
}
19 changes: 7 additions & 12 deletions precise/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
import { useState, useEffect } from 'react';
import QueryApp from './QueryApp';

const defaultQuery = "-- enter your query here\n\nselect * from tpch.sf1.lineitem limit 2";
import QueryApp from './QueryApp'

// for now this is a defacto Tab, but we will treat this tab more as a page in the future
function App() {


return (
<div className="page">
<QueryApp />
</div>
);
return (
<div className="page">
<QueryApp />
</div>
)
}

export default App;
export default App
Loading