Skip to content
Open
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
44 changes: 22 additions & 22 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 src/attach/attachPane.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default {
QU('Transaction') in kb.findSuperClassesNT(subject) ||
kb.holds(subject, WF('attachment'))
) {
return 'attachments'
return 'Attachments'
}
return null
},
Expand Down
2 changes: 1 addition & 1 deletion src/defaultPane.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const defaultPane: DefaultPaneDefinition = {
audience: [ns.solid('Developer')],

label: function (_subject: DefaultPaneSubject): string {
return 'about '
return 'About '
},

render: function (
Expand Down
2 changes: 1 addition & 1 deletion src/home/homePane.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const HomePaneSource: PaneDefinition = {
// yes, always!
//
label: function () {
return 'home'
return 'Home'
},

audience: [ns.solid('PowerUser')],
Expand Down
6 changes: 3 additions & 3 deletions src/humanReadablePane.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type HumanReadableIcon = string | Promise<string>
type HumanReadablePaneDefinition = {
icon: (subject: NamedNode, context: DataBrowserContext) => HumanReadableIcon
name: string
label: (subject: NamedNode, context: DataBrowserContext) => 'view' | 'View' | null
label: (subject: NamedNode, context: DataBrowserContext) => 'Webpage' | 'View' | null
render: (subject: NamedNode, context: DataBrowserContext) => HTMLDivElement
}

Expand Down Expand Up @@ -105,7 +105,7 @@ const humanReadablePane: HumanReadablePaneDefinition = {
label: function (
subject: NamedNode,
context: DataBrowserContext
): 'view' | 'View' | null {
): 'Webpage' | 'View' | null {
const kb = context.session.store

// See also the source pane, which has lower precedence.
Expand Down Expand Up @@ -157,7 +157,7 @@ const humanReadablePane: HumanReadablePaneDefinition = {
if (!subject.uri) return null // no bnodes

const t = kb.findTypeURIs(subject)
if (t[ns.link('WebPage').uri]) return 'view'
if (t[ns.link('WebPage').uri]) return 'Webpage'

// Check file extension for markdown files
if (isMarkdownFile(subject.uri)) {
Expand Down
2 changes: 1 addition & 1 deletion src/imagePane.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const imagePane: ImagePane = {
if (contentTypeMatch(store, subject, suppressed)) {
return null
}
return 'view'
return 'Image'
},

render: function (subject: NamedNode, context: DataBrowserContext): HTMLDivElement {
Expand Down
2 changes: 1 addition & 1 deletion src/internal/internalPane.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const pane: PaneDefinition = {
name: 'internal',

label: function () {
return 'under the hood' // There is often a URI even of no statements
return 'Under The Hood' // There is often a URI even of no statements
Comment thread
SharonStrats marked this conversation as resolved.
},

render: function (subject, context) {
Expand Down
2 changes: 1 addition & 1 deletion src/pad/padPane.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const paneDef: PaneDefinition = {
// @ts-ignore
const t = (context.session.store as Store).findTypeURIs(subject)
if (t['http://www.w3.org/ns/pim/pad#Notepad']) {
return 'pad'
return 'Notepad'
}
return null // No under other circumstances
},
Expand Down
2 changes: 1 addition & 1 deletion src/playlist/playlistPane.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default {
return null
}

return 'playlist slot'
return 'Playlist Slot'
},

render: function (subject, context) {
Expand Down
4 changes: 2 additions & 2 deletions src/sharing/sharingPane.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ const sharingPane = {
function getNoun () {
const t = store.findTypeURIs(subject)
if (t[ns.ldp('BasicContainer').uri] || t[ns.ldp('Container').uri]) {
return 'folder'
return 'Folder'
}
return 'file'
return 'File'
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/transaction/period.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default {
label: function (subject, context) {
const kb = context.session.store
const t = kb.findTypeURIs(subject)
if (t['http://www.w3.org/2000/10/swap/pim/qif#Period']) return 'period'
if (t['http://www.w3.org/2000/10/swap/pim/qif#Period']) return 'Period'
return null // No under other circumstances (while testing at least!)
},

Expand Down
Loading