Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e5efead
drop node 18
timea-solid Oct 28, 2025
7704640
renamed Documentation to docs
timea-solid Oct 28, 2025
7356cce
added dist to ignore
timea-solid Oct 28, 2025
cc8eb93
improved makefile, moved all in src folder
timea-solid Oct 28, 2025
5d1a3ba
imporved scripts
timea-solid Oct 28, 2025
21bb8ee
webpack for dist, moved files, improved configs
timea-solid Oct 28, 2025
03b85ff
updated dep
timea-solid Oct 28, 2025
5aa0efb
fix webpack lint
timea-solid Oct 28, 2025
595b8c8
Update dev/context.js
timea-solid Oct 28, 2025
a771fa6
Update src/csvButton.js
timea-solid Oct 28, 2025
8dc0e86
Update Makefile
timea-solid Oct 28, 2025
0dab745
fix lint issue
timea-solid Oct 28, 2025
8fc7965
inline import instead of Makefile
timea-solid Nov 5, 2025
ab3158d
added externals, improve bundles
timea-solid Nov 6, 2025
4a35a02
peer dependencies, removed husky and lint-staged for CI linting
timea-solid Nov 6, 2025
1b680ae
fix lint
timea-solid Nov 6, 2025
eb10e99
merge main
timea-solid Nov 6, 2025
51434b0
peer deps, update configs and test dev
timea-solid Nov 7, 2025
8459298
lint fix
timea-solid Nov 7, 2025
b6734c9
improve external naming
timea-solid Nov 7, 2025
5226d98
no rdflib export form solid-ui anymore
timea-solid Nov 7, 2025
2c4ef13
merge main, update dep, fix vulnerabilities
timea-solid Nov 18, 2025
5703cb2
updated configs, updted dep
timea-solid Nov 18, 2025
ecdd335
improved readme
timea-solid Nov 18, 2025
c93be30
build only once in PR branches, update dep
timea-solid Nov 26, 2025
27fb923
update solid dependencies
bourgeoa Nov 29, 2025
12ff4c6
3.0.0
bourgeoa Nov 29, 2025
22104b6
Merge branch 'main' into newFace
bourgeoa Nov 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
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ permissions:
on:
push:
branches:
- "**"
- main
pull_request:
branches:
- "**"
- main
workflow_dispatch:

jobs:
Expand All @@ -17,7 +17,6 @@ jobs:
strategy:
matrix:
node-version:
- 18.x
- 20.x
- 22.x
steps:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ pids

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
dist

# Coverage directory used by tools like istanbul
coverage
Expand Down
34 changes: 0 additions & 34 deletions Makefile

This file was deleted.

13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,16 @@ At the moment to start a tracker you have to configure the config file in turtle

Would be good create a mintNew method to allow new ones to be created in the UI.

# Testing Guide

## Running Tests

Only ESlint is active on this repo.

```bash
# Run linting only
npm run lint

# Auto-fix linting issues
npm run lint-fix
```
5 changes: 0 additions & 5 deletions babel.config.js

This file was deleted.

21 changes: 21 additions & 0 deletions babel.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
export default {
presets: [
[
'@babel/preset-env',
{
targets: {
browsers: ['> 1%', 'last 3 versions', 'not dead']
},
},
],
],
plugins: [
[
'babel-plugin-inline-import', {
extensions: [
'.ttl'
]
}
]
]
}
14 changes: 7 additions & 7 deletions dev/context.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import { DataBrowserContext, PaneRegistry } from "pane-registry";
import { LiveStore, solidLogicSingleton, store } from "solid-logic";
import { solidLogicSingleton, store } from 'solid-logic'

export const context = {
session: {
store: store,
store,
paneRegistry: {
byName: (name) => {
return // longChatPane
// longChatPane
return null
}
},
logic : solidLogicSingleton
logic: solidLogicSingleton
},
dom: document,
getOutliner: () => null,
};
}

export const fetcher = store.fetcher;
export const fetcher = store.fetcher
37 changes: 18 additions & 19 deletions dev/index.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
import { sym } from "rdflib";
import { default as pane } from "..";
import { context, fetcher } from "./context";
import { authn, authSession } from "solid-logic";
import * as UI from "solid-ui";
import { sym } from 'rdflib'
import pane from '../src/issuePane'
import { context, fetcher } from './context'
import { authn, authSession } from 'solid-logic'
import * as UI from 'solid-ui'

const loginBanner = document.getElementById("loginBanner");
const webId = document.getElementById("webId");
const loginBanner = document.getElementById('loginBanner')
const webId = document.getElementById('webId')

loginBanner.appendChild(UI.login.loginStatusBox(document, null, {}));
loginBanner.appendChild(UI.login.loginStatusBox(document, null, {}))

async function finishLogin() {
await authSession.handleIncomingRedirect();
const session = authSession;
async function finishLogin () {
await authSession.handleIncomingRedirect()
const session = authSession
if (session.info.isLoggedIn) {
// Update the page with the status.
webId.innerHTML = "Logged in as: " + authn.currentUser().uri;
webId.innerHTML = 'Logged in as: ' + authn.currentUser().uri
} else {
webId.innerHTML = "";
webId.innerHTML = ''
}
}

finishLogin();

finishLogin()

// https://testingsolidos.solidcommunity.net/profile/card#me
// https://timbl.solidcommunity.net/profile/card#me
Expand All @@ -34,9 +33,9 @@ finishLogin();

// const targetURIToShow = "https://timbl.com/timbl/Automation/mother/tracker.n3#mother"

const targetURIToShow = "http://localhost:8080/big-tracker.ttl#this"
const targetURIToShow = new URL('./big-tracker.ttl#this', window.location.href).href

fetcher.load(targetURIToShow).then(() => {
const app = pane.render(sym(targetURIToShow), context);
document.getElementById("app").replaceWith(app);
});
const app = pane.render(sym(targetURIToShow), context)
document.getElementById('app').replaceWith(app)
})
Loading