mashlib 2.1.5-test.2 → 2.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -15,7 +15,6 @@ A colorful dependency tree can be seen [here](https://github.com/solidos/solidos
15
15
  - [Developing mashlib](#developing-mashlib)
16
16
  - [Goals](#goals)
17
17
  - [Typical uses](#typical-uses)
18
- - [Generative AI usage](#generative-ai-usage)
19
18
 
20
19
  ### Documentation
21
20
 
@@ -37,8 +36,6 @@ A colorful dependency tree can be seen [here](https://github.com/solidos/solidos
37
36
  - [Solid-ui & Solid-logic related:](#solid-ui--solid-logic-related)
38
37
  - [The databrowser hack: upgrading your browser](#the-databrowser-hack-upgrading-your-browser)
39
38
 
40
- ### [Generative AI usage](#generative-ai-usage)
41
-
42
39
  ## Developing mashlib
43
40
 
44
41
  As part of the SolidOS stack, mashlib can be developed locally by setting up the SolidOS code. Read more about that on the [SolidOS Readme](https://github.com/solidos/solidos#-getting-started-with-the-solidos-code).
@@ -154,11 +151,3 @@ The mashlib part of SolidOS Databrowser Frontend is *read-write;* that is, the u
154
151
 
155
152
  A major limitation of this data browser hack is that current web browsers are made to distrust any code loaded from one domain that uses data from another domain. This makes it hard, strangely complicated, and sometimes impossible to do some things.
156
153
 
157
- ## Generative AI usage
158
- The SolidOS team is using GitHub Copilot integrated in Visual Studio Code.
159
- We have added comments in the code to make it explicit which parts are 100% written by AI.
160
-
161
- ### Prompt usage history:
162
- * Auto model: Looking at these 2 files (databrowser.html and index.ts), I want to redesign mashlib and underlying panes. I have a design for web and one for mobile. How would I go about making sure I can also have a mobile version?
163
-
164
- * Claude-Opes 4.6: I don't think this is correct. Mashlib is bundling together all the panes. I do not need to add mashlib.layout or theme to the globals. I can just call the render of each pane with an interface of values or?
@@ -2,7 +2,6 @@
2
2
  <html id="docHTML">
3
3
  <head>
4
4
  <meta content="text/html; charset=UTF-8" http-equiv="content-type">
5
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
6
5
  <script>
7
6
  // Suppress harmless ResizeObserver loop errors that block the UI
8
7
  window.addEventListener('error', function(e) {
@@ -101,9 +100,9 @@ document.addEventListener('DOMContentLoaded', function() {
101
100
  </head>
102
101
  <body>
103
102
  <header id="PageHeader" role="banner" class="header-mash">
104
- SolidOS Databrowser
103
+ The SolidOS Databrowser
105
104
  </header>
106
- <main id="MainContent" role="main" tabindex="-1" aria-live="polite">
105
+ <main id="mainContent" tabindex="-1">
107
106
 
108
107
  <div class="input-row" id="inputArea">
109
108
  Viewing <input id="uriField" type="text" class="uri-field" placeholder="enter a pod address e.g. https://you.solidcommunity.net/"/> <input type="button" id="goButton" value="Go" />
@@ -112,22 +111,22 @@ document.addEventListener('DOMContentLoaded', function() {
112
111
  As user <span id="webId">&lt;public user></span>
113
112
  <span id="loginButtonArea"></span>
114
113
  </div>
114
+ </div>
115
115
 
116
- <section
117
- id="OutlineView"
118
- class="outline-view"
119
- aria-label="Resource browser"
120
- >
121
- </section>
122
-
123
- <section
124
- id="GlobalDashboard"
125
- class="global-dashboard"
126
- aria-label="Dashboard"
127
- hidden
128
- >
129
- </section>
130
-
116
+ <div class="TabulatorOutline" id="DummyUUID">
117
+ <table id="outline">
118
+ <thead>
119
+ <tr>
120
+ <th id="outlineHeader" scope="col"></th>
121
+ <!-- Add more <th> as needed for columns -->
122
+ </tr>
123
+ </thead>
124
+ <tbody>
125
+ <!-- Table rows injected by JS -->
126
+ </tbody>
127
+ </table>
128
+ <div id="GlobalDashboard" aria-label="Global Dashboard"></div>
129
+ </div>
131
130
  </main>
132
131
 
133
132
  <footer id="PageFooter" role="contentinfo"></footer>
@@ -164,5 +163,4 @@ document.addEventListener('DOMContentLoaded', function() {
164
163
  }
165
164
  </style>
166
165
 
167
- </body>
168
- </html>
166
+ </body></html>
package/dist/browse.html CHANGED
@@ -2,7 +2,6 @@
2
2
  <html id="docHTML">
3
3
  <head>
4
4
  <meta content="text/html; charset=UTF-8" http-equiv="content-type">
5
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
6
5
  <script>
7
6
  // Suppress harmless ResizeObserver loop errors that block the UI
8
7
  window.addEventListener('error', function(e) {
@@ -101,9 +100,9 @@ document.addEventListener('DOMContentLoaded', function() {
101
100
  </head>
102
101
  <body>
103
102
  <header id="PageHeader" role="banner" class="header-mash">
104
- SolidOS Databrowser
103
+ The SolidOS Databrowser
105
104
  </header>
106
- <main id="MainContent" role="main" tabindex="-1" aria-live="polite">
105
+ <main id="mainContent" tabindex="-1">
107
106
 
108
107
  <div class="input-row" id="inputArea">
109
108
  Viewing <input id="uriField" type="text" class="uri-field" placeholder="enter a pod address e.g. https://you.solidcommunity.net/"/> <input type="button" id="goButton" value="Go" />
@@ -112,22 +111,22 @@ document.addEventListener('DOMContentLoaded', function() {
112
111
  As user <span id="webId">&lt;public user></span>
113
112
  <span id="loginButtonArea"></span>
114
113
  </div>
114
+ </div>
115
115
 
116
- <section
117
- id="OutlineView"
118
- class="outline-view"
119
- aria-label="Resource browser"
120
- >
121
- </section>
122
-
123
- <section
124
- id="GlobalDashboard"
125
- class="global-dashboard"
126
- aria-label="Dashboard"
127
- hidden
128
- >
129
- </section>
130
-
116
+ <div class="TabulatorOutline" id="DummyUUID">
117
+ <table id="outline">
118
+ <thead>
119
+ <tr>
120
+ <th id="outlineHeader" scope="col"></th>
121
+ <!-- Add more <th> as needed for columns -->
122
+ </tr>
123
+ </thead>
124
+ <tbody>
125
+ <!-- Table rows injected by JS -->
126
+ </tbody>
127
+ </table>
128
+ <div id="GlobalDashboard" aria-label="Global Dashboard"></div>
129
+ </div>
131
130
  </main>
132
131
 
133
132
  <footer id="PageFooter" role="contentinfo"></footer>
@@ -164,5 +163,4 @@ document.addEventListener('DOMContentLoaded', function() {
164
163
  }
165
164
  </style>
166
165
 
167
- </body>
168
- </html>
166
+ </body></html>
@@ -1,3 +1,3 @@
1
- <!doctype html><html><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover"/><title>SolidOS</title><script>document.addEventListener('DOMContentLoaded', function() {
1
+ <!doctype html><html><head><meta charset="utf-8"/><title>SolidOS Web App</title><script>document.addEventListener('DOMContentLoaded', function() {
2
2
  panes.runDataBrowser()
3
- })</script><script defer="defer" src="/mashlib.min.js"></script><link href="/mash.css" rel="stylesheet"></head><body id="PageBody" data-app-shell="databrowser"><a href="#MainContent" class="skip-link">Skip to main content</a><header id="PageHeader" role="banner"></header><main id="MainContent" role="main" tabindex="-1" aria-live="polite"><section id="OutlineView" class="outline-view" aria-label="Resource browser"></section><section id="GlobalDashboard" class="global-dashboard" aria-label="Dashboard" hidden></section></main><footer id="PageFooter" role="contentinfo"></footer></body></html>
3
+ })</script><script defer="defer" src="/mashlib.min.js"></script><link href="/mash.css" rel="stylesheet"></head><body id="PageBody"><header id="PageHeader" role="banner"></header><main id="mainContent" tabindex="-1"><div class="TabulatorOutline" id="DummyUUID"><table id="outline"><thead><tr><th id="outlineHeader" scope="col"></th></tr></thead><tbody></tbody></table><div id="GlobalDashboard" aria-label="Global Dashboard"></div></div></main><footer id="PageFooter" role="contentinfo"></footer></body></html>