Skip to content

Commit b0b88da

Browse files
committed
update unnecessary ai comments
1 parent 378b8bc commit b0b88da

5 files changed

Lines changed: 0 additions & 35 deletions

File tree

README.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -120,17 +120,5 @@ I want the menu to have a tiny button on the bottom margin left with an arrow to
120120

121121
* Raptor mini: Please always keep the footer at the bottom of the menu
122122

123-
* GPT-5.3-Codex in GitHub Copilot: This is the comment I got from copilot, but suggested fix remove the dark class as well The nested table shading logic checks UI.utils.ancestor(newTable, 'TABLE') immediately after creating newTable, but at that moment newTable typically has no
124-
parent in the DOM yet. This makes parentTable null and will
125-
always apply dataContentPaneNestedLight, preventing the
126-
intended alternating light/dark nested backgrounds.
127-
Consider assigning the class after appending newTable into
128-
its parent table, or pass the parent table (or current nesting depth) into objectTree() so the decision can be made reliably. can you help me fix this without removing the dark altering
129-
130-
* GPT-5.4 Model: Make this (n3Pane) look good on mobile by indenting the lines that wrap.
131-
132-
* GPT-5.4 Model: Generate TypeScript types for the default pane.
133-
134123
* GPT-5.4 Model: Add a compatibility shim in the form pane for mixed `ui:Group` plus field typing.
135124

136-
* AI GPT-5.4 Model: After friend is added when mutual checkbox is checked refresh mutual and header sections */

src/dataContentPane.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -68,22 +68,6 @@ export const dataContentPane = {
6868
return store.whether(subject, UI.ns.rdf('type'), UI.ns.link('RDFDocument'))
6969
},
7070
*/
71-
/* This code was generated by Generative AI (GPT-5.3-Codex in GitHub Copilot) based on the following prompt:
72-
Only the class assignments of data-content-pane__nested-table--light and
73-
data-content-pane__nested-table--dark
74-
are the only things added by AI.
75-
76-
This is the comment I got from copilot, but suggested fix remove the dark
77-
class as well The nested table shading logic checks
78-
UI.utils.ancestor(newTable, 'TABLE') immediately after
79-
creating newTable, but at that moment newTable typically has no
80-
parent in the DOM yet. This makes parentTable null and will
81-
always apply data-content-pane__nested-table--light, preventing the
82-
intended alternating light/dark nested backgrounds.
83-
Consider assigning the class after appending newTable into
84-
its parent table, or pass the parent table (or current nesting
85-
depth) into objectTree() so the decision can be made reliably.
86-
can you help me fix this without removing the dark altering */
8771
statementsAsTables: function statementsAsTables (
8872
sts: Statement[],
8973
context: DataBrowserContext,

src/defaultPane.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ import type { BlankNode, Literal, NamedNode, Statement } from 'rdflib'
1212
import './defaultPane.css'
1313

1414
const ns = UI.ns
15-
/* Types were generated by Generative AI (GPT-5.4 in GitHub Copilot) based on the following prompt:
16-
Generate TypeScript types for the default pane. */
1715
type DefaultPaneSubject = NamedNode | BlankNode | Literal
1816

1917
type DefaultPaneDefinition = {

src/n3Pane.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ type N3PaneLike = {
2020
render: (subject: NamedNode, context: DataBrowserContext) => HTMLDivElement
2121
}
2222

23-
/* This code was generated by Generative AI (GPT-5.4 in GitHub Copilot) based on the following prompt:
24-
Make this look good on mobile by indenting the lines that wrap. */
2523
function leadingIndentWidth (line: string): number {
2624
if (line.trim().length === 0) {
2725
return 0

src/social/socialPane.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -511,9 +511,6 @@ export const socialPane = {
511511
requestsPanel.setAttribute('aria-hidden', String(!showRequests))
512512
requestsPanel.hidden = !showRequestsTab || !showRequests
513513
}
514-
/* The following function was generated by AI GPT-5.4 Model
515-
Prompt: After friend is added when mutual checkbox is checked refresh
516-
mutual and header sections */
517514
const rebuildMutualSection = function () {
518515
if (!me || thisIsYou) return
519516

0 commit comments

Comments
 (0)