mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix removal of langci from repo (#2204)
- Move all strings of the form {`...`} to use just ""
- Fix RoleBindingDetails not rendering the name of the role binding
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
83d7e4550c
commit
5258aab0d2
35 files changed
+78
-78
No files matched your search
@@ -77,7 +77,7 @@ export class CreateResource extends React.Component<Props> {
|
||||
tabId={tabId}
|
||||
error={error}
|
||||
submit={create}
|
||||
submitLabel={`Create`}
|
||||
submitLabel="Create"
|
||||
showNotifications={false}
|
||||
/>
|
||||
<EditorPanel
|
||||
|
||||
@@ -68,7 +68,7 @@ export class DockTab extends React.Component<DockTabProps> {
|
||||
{!pinned && (
|
||||
<Icon
|
||||
small material="close"
|
||||
title={`Close (Ctrl+W)`}
|
||||
title="Close (Ctrl+W)"
|
||||
onClick={prevDefault(this.close)}
|
||||
/>
|
||||
)}
|
||||
|
||||
@@ -98,8 +98,8 @@ export class EditResource extends React.Component<Props> {
|
||||
tabId={tabId}
|
||||
error={error}
|
||||
submit={save}
|
||||
submitLabel={`Save`}
|
||||
submittingMessage={`Applying..`}
|
||||
submitLabel="Save"
|
||||
submittingMessage="Applying.."
|
||||
controls={(
|
||||
<div className="resource-info flex gaps align-center">
|
||||
<span>Kind:</span> <Badge label={kind}/>
|
||||
|
||||
@@ -125,17 +125,17 @@ export class InstallChart extends Component<Props> {
|
||||
<div className="flex gaps align-center">
|
||||
<Button
|
||||
autoFocus primary
|
||||
label={`View Helm Release`}
|
||||
label="View Helm Release"
|
||||
onClick={prevDefault(this.viewRelease)}
|
||||
/>
|
||||
<Button
|
||||
plain active
|
||||
label={`Show Notes`}
|
||||
label="Show Notes"
|
||||
onClick={() => this.showNotes = true}
|
||||
/>
|
||||
</div>
|
||||
<LogsDialog
|
||||
title={`Helm Chart Install`}
|
||||
title="Helm Chart Install"
|
||||
isOpen={this.showNotes}
|
||||
close={() => this.showNotes = false}
|
||||
logs={this.releaseDetails.log}
|
||||
@@ -148,7 +148,7 @@ export class InstallChart extends Component<Props> {
|
||||
const panelControls = (
|
||||
<div className="install-controls flex gaps align-center">
|
||||
<span>Chart</span>
|
||||
<Badge label={`${repo}/${name}`} title={`Repo/Name`} />
|
||||
<Badge label={`${repo}/${name}`} title="Repo/Name" />
|
||||
<span>Version</span>
|
||||
<Select
|
||||
className="chart-version"
|
||||
@@ -167,8 +167,8 @@ export class InstallChart extends Component<Props> {
|
||||
onChange={this.onNamespaceChange}
|
||||
/>
|
||||
<Input
|
||||
placeholder={`Name (optional)`}
|
||||
title={`Release name`}
|
||||
placeholder="Name (optional)"
|
||||
title="Release name"
|
||||
maxLength={50}
|
||||
value={releaseName}
|
||||
onChange={this.onReleaseNameChange}
|
||||
@@ -183,8 +183,8 @@ export class InstallChart extends Component<Props> {
|
||||
controls={panelControls}
|
||||
error={this.error}
|
||||
submit={install}
|
||||
submitLabel={`Install`}
|
||||
submittingMessage={`Installing...`}
|
||||
submitLabel="Install"
|
||||
submittingMessage="Installing..."
|
||||
showSubmitClose={false}
|
||||
/>
|
||||
<EditorPanel
|
||||
|
||||
@@ -68,13 +68,13 @@ export const LogSearch = observer((props: Props) => {
|
||||
/>
|
||||
<Icon
|
||||
material="keyboard_arrow_up"
|
||||
tooltip={`Previous`}
|
||||
tooltip="Previous"
|
||||
onClick={onPrevOverlay}
|
||||
disabled={jumpDisabled}
|
||||
/>
|
||||
<Icon
|
||||
material="keyboard_arrow_down"
|
||||
tooltip={`Next`}
|
||||
tooltip="Next"
|
||||
onClick={onNextOverlay}
|
||||
disabled={jumpDisabled}
|
||||
/>
|
||||
|
||||
@@ -123,8 +123,8 @@ export class UpgradeChart extends React.Component<Props> {
|
||||
tabId={tabId}
|
||||
error={error}
|
||||
submit={upgrade}
|
||||
submitLabel={`Upgrade`}
|
||||
submittingMessage={`Updating..`}
|
||||
submitLabel="Upgrade"
|
||||
submittingMessage="Updating.."
|
||||
controls={controlsAndInfo}
|
||||
/>
|
||||
<EditorPanel
|
||||
|
||||
Reference in new issue
Block a user