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
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ ThingsCode (or **ticode** for short) is the interactive development studio built

**1. Download the latest version:**

- [Linux (amd64)](https://github.com/thingsdb/ThingsCode/releases/download/v1.0.1/ticode-linux-amd64-1.0.1.tar.gz)
- [Linux (arm64)](https://github.com/thingsdb/ThingsCode/releases/download/v1.0.1/ticode-linux-arm64-1.0.1.tar.gz)
- [Darwin (amd64)](https://github.com/thingsdb/ThingsCode/releases/download/v1.0.1/ticode-darwin-amd64-1.0.1.tar.gz)
- [Darwin (arm64)](https://github.com/thingsdb/ThingsCode/releases/download/v1.0.1/ticode-darwin-arm64-1.0.1.tar.gz)
- [Windows (amd64)](https://github.com/thingsdb/ThingsCode/releases/download/v1.0.1/ticode-windows-amd64-1.0.1.tar.gz)
- [Windows (arm64)](https://github.com/thingsdb/ThingsCode/releases/download/v1.0.1/ticode-windows-arm64-1.0.1.tar.gz)
- [Linux (amd64)](https://github.com/thingsdb/ThingsCode/releases/download/v1.0.2-alpha0/ticode-linux-amd64-1.0.2-alpha0.tar.gz)
- [Linux (arm64)](https://github.com/thingsdb/ThingsCode/releases/download/v1.0.2-alpha0/ticode-linux-arm64-1.0.2-alpha0.tar.gz)
- [Darwin (amd64)](https://github.com/thingsdb/ThingsCode/releases/download/v1.0.2-alpha0/ticode-darwin-amd64-1.0.2-alpha0.tar.gz)
- [Darwin (arm64)](https://github.com/thingsdb/ThingsCode/releases/download/v1.0.2-alpha0/ticode-darwin-arm64-1.0.2-alpha0.tar.gz)
- [Windows (amd64)](https://github.com/thingsdb/ThingsCode/releases/download/v1.0.2-alpha0/ticode-windows-amd64-1.0.2-alpha0.tar.gz)
- [Windows (arm64)](https://github.com/thingsdb/ThingsCode/releases/download/v1.0.2-alpha0/ticode-windows-arm64-1.0.2-alpha0.tar.gz)

**2. Extract the contents of the archive using a tool like `tar`. Here's an example for Linux (amd64):**

```bash
tar -xzvf ticode-linux-amd64-1.0.1.tar.gz
tar -xzvf ticode-linux-amd64-1.0.2-alpha0.tar.gz
```

**3. Install:**
Expand Down Expand Up @@ -69,27 +69,27 @@ npm run build

mkdir -p bin/darwin-amd64
GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -o bin/darwin-amd64/ticode
tar -zcf bin/ticode-darwin-amd64-1.0.1.tar.gz -C ./bin/darwin-amd64/ ticode
tar -zcf bin/ticode-darwin-amd64-1.0.2-alpha0.tar.gz -C ./bin/darwin-amd64/ ticode

mkdir -p bin/darwin-arm64
GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 go build -trimpath -o bin/darwin-arm64/ticode
tar -zcf bin/ticode-darwin-arm64-1.0.1.tar.gz -C ./bin/darwin-arm64/ ticode
tar -zcf bin/ticode-darwin-arm64-1.0.2-alpha0.tar.gz -C ./bin/darwin-arm64/ ticode

mkdir -p bin/linux-amd64
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -o bin/linux-amd64/ticode
tar -zcf bin/ticode-linux-amd64-1.0.1.tar.gz -C ./bin/linux-amd64/ ticode
tar -zcf bin/ticode-linux-amd64-1.0.2-alpha0.tar.gz -C ./bin/linux-amd64/ ticode

mkdir -p bin/linux-arm64
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -trimpath -o bin/linux-arm64/ticode
tar -zcf bin/ticode-linux-arm64-1.0.1.tar.gz -C ./bin/linux-arm64/ ticode
tar -zcf bin/ticode-linux-arm64-1.0.2-alpha0.tar.gz -C ./bin/linux-arm64/ ticode

mkdir -p bin/windows-amd64
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -o bin/windows-amd64/ticode.exe
tar -zcf bin/ticode-windows-amd64-1.0.1.tar.gz -C ./bin/windows-amd64/ ticode.exe
tar -zcf bin/ticode-windows-amd64-1.0.2-alpha0.tar.gz -C ./bin/windows-amd64/ ticode.exe

mkdir -p bin/windows-arm64
GOOS=windows GOARCH=arm64 CGO_ENABLED=0 go build -trimpath -o bin/windows-arm64/ticode.exe
tar -zcf bin/ticode-windows-arm64-1.0.1.tar.gz -C ./bin/windows-arm64/ ticode.exe
tar -zcf bin/ticode-windows-arm64-1.0.2-alpha0.tar.gz -C ./bin/windows-arm64/ ticode.exe
```

## Update
Expand Down
2 changes: 1 addition & 1 deletion app/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package app

const Version = "1.0.1" // And update package.json
const Version = "1.0.2-alpha0" // And update package.json
3 changes: 2 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ export default defineConfig([
globals: globals.browser,
},
rules: {
"semi": ["error", "always"]
"semi": ["error", "always"],
"indent": ["error", 2]
}
},
]);
106 changes: 53 additions & 53 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ticode",
"version": "1.0.1",
"version": "1.0.2-alpha0",
"private": true,
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function Root() {
overflowX: 'hidden'
}}
>
<WorkspaceProvider appearance={appearance}>
<WorkspaceProvider>
<App />
</WorkspaceProvider>
</Box>
Expand Down
4 changes: 2 additions & 2 deletions src/components/AboutModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface AboutModalProps {

export default function AboutModal({ isOpen, onOpenChange }: AboutModalProps) {
const { appearance } = useTheme();
const appVersion = version || '1.0.1';
const appVersion = version || '1.0.2-alpha0';

return (
<Dialog.Root open={isOpen} onOpenChange={onOpenChange}>
Expand Down Expand Up @@ -61,7 +61,7 @@ export default function AboutModal({ isOpen, onOpenChange }: AboutModalProps) {
If you like using ThingsCode, please give us a star on our official GitHub organization page!
</Text>

<Button size="1" color="gray" variant="classic" mt="1" asChild style={{ cursor: 'pointer' }}>
<Button size="1" color="gray" variant="classic" mt="1" asChild className="cursor-pointer">
<a href="https://github.com/thingsdb" target="_blank" rel="noopener noreferrer" style={{ gap: '6px' }}>
<GitHubLogoIcon width="13" height="13" />
Star on GitHub
Expand Down
4 changes: 2 additions & 2 deletions src/components/ConfirmDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default function ConfirmDialog({
<Flex gap="3" justify="end">
{/* Cancel Trigger Box */}
<AlertDialog.Cancel>
<Button variant="soft" color="gray" style={{ cursor: 'pointer' }}>
<Button variant="soft" color="gray" className="cursor-pointer">
{cancelText}
</Button>
</AlertDialog.Cancel>
Expand All @@ -43,7 +43,7 @@ export default function ConfirmDialog({
variant="solid"
color={colorVariant}
onClick={onConfirm}
style={{ cursor: 'pointer' }}
className="cursor-pointer"
>
{confirmText}
</Button>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ConnectionOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function ConnectionOverlay() {
const [showOverlay, setShowOverlay] = useState(() => status !== 'connected');
const [prevStatus, setPrevStatus] = useState(status);

if (status !== prevStatus) {
if (status !== prevStatus) {
setPrevStatus(status);
if (status !== 'connected') {
setShowOverlay(true);
Expand Down
4 changes: 2 additions & 2 deletions src/components/FieldsTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ export default function FieldsTab({ tp, onNavigateToType }: FieldsTabProps) {

const cardinalityColor =
cardinality === '1:1' ? 'iris' :
cardinality === '1:N' ? 'orange' :
cardinality === 'N:1' ? 'yellow' : 'pink';
cardinality === '1:N' ? 'orange' :
cardinality === 'N:1' ? 'yellow' : 'pink';

return (
<React.Fragment key={name}>
Expand Down
4 changes: 2 additions & 2 deletions src/components/NewWorkspaceModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export default function NewWorkspaceModal() {
variant="ghost"
color="gray"
onClick={() => setShowToken(!showToken)}
style={{ cursor: 'pointer' }}
className="cursor-pointer"
>
{showToken ? <EyeNoneIcon width="16" height="16" /> : <EyeOpenIcon width="16" height="16" />}
</IconButton>
Expand All @@ -244,7 +244,7 @@ export default function NewWorkspaceModal() {
variant="ghost"
color="gray"
onClick={() => setShowPassword(!showPassword)}
style={{ cursor: 'pointer' }}
className="cursor-pointer"
>
{showPassword ? <EyeNoneIcon width="16" height="16" /> : <EyeOpenIcon width="16" height="16" />}
</IconButton>
Expand Down
Loading