mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Clean up legacy references to Kontena (#216)
Signed-off-by: Miska Kaipiainen <miska.kaipiainen@gmail.com>
This commit is contained in:
parent
2fba3411d8
commit
758034f61a
2
.github/ISSUE_TEMPLATE/enhancement.md
vendored
2
.github/ISSUE_TEMPLATE/enhancement.md
vendored
@ -5,7 +5,7 @@ labels: enhancement
|
||||
---
|
||||
<!-- Please only use this template for submitting enhancement requests -->
|
||||
<!--
|
||||
Check already existing enhancement request on this list: https://github.com/kontena/lens/issues?q=is%3Aissue+is%3Aopen+label%3Aenhancement
|
||||
Check already existing enhancement request on this list: https://github.com/lensapp/lens/issues?q=is%3Aissue+is%3Aopen+label%3Aenhancement
|
||||
If similar request already exists, please add comments on the existing issue.
|
||||
-->
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Local express.js & kontena endpoints
|
||||
// Local express.js endpoints
|
||||
export * from "./config.api"
|
||||
export * from "./cluster.api"
|
||||
export * from "./kubeconfig.api"
|
||||
|
||||
@ -11,7 +11,7 @@ export function browserCheck() {
|
||||
Notifications.info(
|
||||
<p>
|
||||
<Trans>
|
||||
<b>Your browser does not support all Kontena Lens features. </b>{" "}
|
||||
<b>Your browser does not support all Lens features. </b>{" "}
|
||||
Please consider using another browser.
|
||||
</Trans>
|
||||
</p>
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
align-self: center;
|
||||
|
||||
.LineProgress {
|
||||
color: $kontenaBlue;
|
||||
color: $lensBlue;
|
||||
}
|
||||
}
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
align-self: center;
|
||||
|
||||
.LineProgress {
|
||||
color: $kontenaMagenta;
|
||||
color: $lensMagenta;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
align-self: center;
|
||||
|
||||
.LineProgress {
|
||||
color: $kontenaBlue;
|
||||
color: $lensBlue;
|
||||
}
|
||||
}
|
||||
|
||||
@ -38,7 +38,7 @@
|
||||
align-self: center;
|
||||
|
||||
.LineProgress {
|
||||
color: $kontenaMagenta;
|
||||
color: $lensMagenta;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -40,7 +40,7 @@
|
||||
}
|
||||
|
||||
.ace_constant {
|
||||
color: $kontenaBlue !important;
|
||||
color: $lensBlue !important;
|
||||
}
|
||||
|
||||
.ace_keyword {
|
||||
|
||||
@ -38,7 +38,7 @@ export class AppInit extends React.Component<Props> {
|
||||
return (
|
||||
<div className="AppInit flex column center">
|
||||
<div className="box flex column gaps">
|
||||
<h5>Kontena Lens - {_i18n._(t`Loading`)}..</h5>
|
||||
<h5>Lens - {_i18n._(t`Loading`)}..</h5>
|
||||
{serviceWaitingList.length > 0 && (
|
||||
<p className="waiting-services">
|
||||
{_i18n._(t`Waiting services to be running`)}: <em className="text-secondary">{serviceNames}</em>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
.Checkbox {
|
||||
--checkbox-color: #{$textColorPrimary}; // tick color [√]
|
||||
--checkbox-color-active: #{$contentColor};
|
||||
--checkbox-bgc-active: #{$kontenaBlue};
|
||||
--checkbox-bgc-active: #{$lensBlue};
|
||||
|
||||
flex-shrink: 0;
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
// default
|
||||
}
|
||||
&-light {
|
||||
--checkbox-color-active: #{$kontenaBlue};
|
||||
--checkbox-color-active: #{$lensBlue};
|
||||
--checkbox-bgc-active: none;
|
||||
}
|
||||
}
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
cursor: pointer;
|
||||
|
||||
.param-link-text {
|
||||
color: $kontenaBlue;
|
||||
color: $lensBlue;
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
@ -51,7 +51,7 @@
|
||||
}
|
||||
|
||||
.drawer-title {
|
||||
background: $kontenaBlue;
|
||||
background: $lensBlue;
|
||||
color: $drawerTitleText;
|
||||
padding: $padding $padding * 2.5;
|
||||
word-break: break-all;
|
||||
|
||||
@ -38,8 +38,8 @@ export class ErrorBoundary extends React.Component<Props, State> {
|
||||
render() {
|
||||
const { error, errorInfo } = this.state;
|
||||
if (error) {
|
||||
const slackLink = <a href="https://slack.kontena.io" target="_blank">Kontena Slack</a>
|
||||
const githubLink = <a href="https://github.com/kontena/lens/issues" target="_blank">Kontena Github</a>
|
||||
const slackLink = <a href="https://join.slack.com/t/kontenacommunity/shared_invite/enQtOTc5NjAyNjYyOTk4LWU1NDQ0ZGFkOWJkNTRhYTc2YjVmZDdkM2FkNGM5MjhiYTRhMDU2NDQ1MzIyMDA4ZGZlNmExOTc0N2JmY2M3ZGI" target="_blank">Slack</a>
|
||||
const githubLink = <a href="https://github.com/lensapp/lens/issues" target="_blank">Github</a>
|
||||
const pageUrl = location.href;
|
||||
return (
|
||||
<div className="ErrorBoundary flex column gaps">
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
margin: auto;
|
||||
|
||||
svg * {
|
||||
fill: $kontenaBlue;
|
||||
fill: $lensBlue;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
.Sidebar {
|
||||
$iconSize: 24px;
|
||||
$activeBgc: $kontenaBlue;
|
||||
$activeBgc: $lensBlue;
|
||||
$activeTextColor: $sidebarActiveColor;
|
||||
$itemSpacing: floor($unit / 2.6) floor($unit / 1.6);
|
||||
|
||||
|
||||
@ -1,17 +1,17 @@
|
||||
.Slider {
|
||||
.track {
|
||||
background: $kontenaBlue;
|
||||
background: $lensBlue;
|
||||
}
|
||||
|
||||
.thumb {
|
||||
background: $kontenaBlue;
|
||||
background: $lensBlue;
|
||||
|
||||
&.activated, &.jumped, &.focused {
|
||||
box-shadow: 0 0 0 $unit * 2 rgba($kontenaBlue, 0.16)!important;
|
||||
box-shadow: 0 0 0 $unit * 2 rgba($lensBlue, 0.16)!important;
|
||||
}
|
||||
|
||||
&:hover{
|
||||
box-shadow: 0 0 0 $unit rgba($kontenaBlue, 0.16);
|
||||
box-shadow: 0 0 0 $unit rgba($lensBlue, 0.16);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "Kontena Dark",
|
||||
"name": "Lens Dark Theme",
|
||||
"type": "dark",
|
||||
"author": "Kontena, Inc.",
|
||||
"author": "Lakend Labs",
|
||||
"colors": {
|
||||
"blue": "#3d90ce",
|
||||
"magenta": "#c93dce",
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "Kontena Light",
|
||||
"name": "Lens Light Theme",
|
||||
"type": "light",
|
||||
"author": "Kontena, Inc.",
|
||||
"author": "Lakend Labs",
|
||||
"colors": {
|
||||
"blue": "#3d90ce",
|
||||
"magenta": "#c93dce",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// Base colors
|
||||
$kontenaBlue: var(--blue);
|
||||
$kontenaMagenta: var(--magenta);
|
||||
$lensBlue: var(--blue);
|
||||
$lensMagenta: var(--magenta);
|
||||
$golden: var(--golden);
|
||||
$halfGray: var(--halfGray);
|
||||
$primary: var(--primary);
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Kubernetes Dashboard / Kontena Lens</title>
|
||||
<title>Lens - The Kubernetes IDE</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="<%= require('./client/favicon/apple-touch-icon.png') %>">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="<%= require('./client/favicon/favicon-32x32.png') %>">
|
||||
|
||||
@ -26,8 +26,8 @@ msgid "<0>Filtered</0>: {itemsCount} / {allItemsCount}"
|
||||
msgstr "<0>Filtered</0>: {itemsCount} / {allItemsCount}"
|
||||
|
||||
#: client/browser-check.tsx:11
|
||||
msgid "<0>Your browser does not support all Kontena Lens features. </0> Please consider using another browser."
|
||||
msgstr "<0>Your browser does not support all Kontena Lens features. </0> Please consider using another browser."
|
||||
msgid "<0>Your browser does not support all Lens features. </0> Please consider using another browser."
|
||||
msgstr "<0>Your browser does not support all Lens features. </0> Please consider using another browser."
|
||||
|
||||
#: client/components/dock/create-resource.tsx:56
|
||||
msgid "<0>{0}</0> successfully created"
|
||||
|
||||
@ -27,8 +27,8 @@ msgid "<0>Filtered</0>: {itemsCount} / {allItemsCount}"
|
||||
msgstr "<0>Отфильтровано</0>: {itemsCount} / {allItemsCount}"
|
||||
|
||||
#: client/browser-check.tsx:11
|
||||
msgid "<0>Your browser does not support all Kontena Lens features. </0> Please consider using another browser."
|
||||
msgstr "<0>Ваш браузер не поддерживает все возможности Kontena Lens. </0> Пожалуйста рассмотрите использование другого современного браузера."
|
||||
msgid "<0>Your browser does not support all Lens features. </0> Please consider using another browser."
|
||||
msgstr "<0>Ваш браузер не поддерживает все возможности Lens. </0> Пожалуйста рассмотрите использование другого современного браузера."
|
||||
|
||||
#: client/components/dock/create-resource.tsx:56
|
||||
msgid "<0>{0}</0> successfully created"
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "kontena-lens",
|
||||
"name": "lens-app-dashboard",
|
||||
"version": "0.0.0",
|
||||
"scripts": {
|
||||
"dev": "webpack-cli --watch --cache --progress --output-path ../static/build/client/",
|
||||
|
||||
@ -43,7 +43,7 @@ export const config = {
|
||||
USER_MANAGEMENT_ENABLED: JSON.parse(process.env.USER_MANAGEMENT_ENABLED || "false"),
|
||||
CHARTS_ENABLED: JSON.parse(process.env.CHARTS_ENABLED || "false"),
|
||||
|
||||
// kontena namespaces
|
||||
// namespaces
|
||||
LENS_NAMESPACE: process.env.LENS_NAMESPACE || "kontena-lens",
|
||||
STATS_NAMESPACE: process.env.STATS_NAMESPACE || "kontena-stats",
|
||||
|
||||
|
||||
@ -45,7 +45,7 @@ export default () => {
|
||||
extractComments: {
|
||||
condition: "some",
|
||||
banner: [
|
||||
`Lens. Copyright ${new Date().getFullYear()} by Lakend Labs, Inc. All rights reserved.`
|
||||
`Lens - The Kubernetes IDE. Copyright ${new Date().getFullYear()} by Lakend Labs, Inc. All rights reserved.`
|
||||
].join("\n")
|
||||
}
|
||||
})
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
},
|
||||
"copyright": "© 2020, Lakend Labs, Inc.",
|
||||
"license": "MIT",
|
||||
"description": "The Kubernetes IDE",
|
||||
"description": "Lens - The Kubernetes IDE",
|
||||
"version": "3.2.0",
|
||||
"main": "main.ts",
|
||||
"config": {
|
||||
|
||||
@ -184,7 +184,7 @@ export default function initMenu(opts: MenuOptions, promiseIpc: any) {
|
||||
{
|
||||
label: 'Report an Issue',
|
||||
click: async () => {
|
||||
shell.openExternal('https://github.com/kontena/lens/issues');
|
||||
shell.openExternal('https://github.com/lensapp/lens/issues');
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// from Kontena Lens UI
|
||||
// from Lens Dashboard
|
||||
$lens-main-bg: #1e2124 !default; // dark bg
|
||||
$lens-pane-bg: #262b2f !default; // all panels main bg
|
||||
$lens-dock-bg: #2E3136 !default; // terminal and top menu bar
|
||||
@ -6,7 +6,7 @@ $lens-menu-bg: #36393E !default; // sidemenu on left
|
||||
$lens-menu-hl: #414448 !default; // sidemenu on left, top left corner
|
||||
$lens-text-color: #87909c !default;
|
||||
$lens-text-color-light: #a0a0a0 !default;
|
||||
$kontena-blue: #3d90ce !default;
|
||||
$lens-primary: #3d90ce !default;
|
||||
|
||||
// export as css variables
|
||||
* {
|
||||
@ -17,7 +17,7 @@ $kontena-blue: #3d90ce !default;
|
||||
--lens-menu-hl: #{$lens-menu-hl}; // sidemenu on left, top left corner
|
||||
--lens-text-color: #{$lens-text-color};
|
||||
--lens-text-color-light: #{$lens-text-color-light};
|
||||
--kontena-blue: #{$kontena-blue};
|
||||
--lens-primary: #{$lens-primary};
|
||||
}
|
||||
|
||||
// Base grayscale colors definitions
|
||||
@ -46,7 +46,7 @@ $teal: #20c997 !default;
|
||||
$cyan: #6ca5b7 !default;
|
||||
|
||||
// Theme color default definitions
|
||||
$primary: $kontena-blue !default;
|
||||
$primary: $lens-primary !default;
|
||||
$secondary: $gray-600 !default;
|
||||
$success: $green !default;
|
||||
$info: $cyan !default;
|
||||
|
||||
@ -64,7 +64,7 @@ export default {
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 20px;
|
||||
background-color: var(--kontena-blue);
|
||||
background-color: var(--lens-primary);
|
||||
z-index: 2000;
|
||||
}
|
||||
#workspace-area {
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<div class="settings-section">
|
||||
<b>Metrics</b>
|
||||
<p class="description">
|
||||
Enable timeseries data visualization (Prometheus stack) for your cluster. Install this only if you don't have existing Prometheus stack installed. You can see preview of manifests <a href="https://github.com/kontena/lens/tree/master/src/features/metrics">here</a>.
|
||||
Enable timeseries data visualization (Prometheus stack) for your cluster. Install this only if you don't have existing Prometheus stack installed. You can see preview of manifests <a href="https://github.com/lensapp/lens/tree/master/src/features/metrics">here</a>.
|
||||
</p>
|
||||
<div class="actions">
|
||||
<b-button @click="install" v-if="!settings.installed" :disabled="!cluster.isAdmin || isProcessing || !canInstall" variant="primary">
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
<div class="col-12">
|
||||
<div class="cluster-settings-section">
|
||||
<b>Prometheus</b>
|
||||
<p>Use pre-installed Prometheus service for metrics. Please refer to the <a href="https://github.com/kontena/lens/blob/master/troubleshooting/custom-prometheus.md">guide</a> for possible configuration changes.</p>
|
||||
<p>Use pre-installed Prometheus service for metrics. Please refer to the <a href="https://github.com/lensapp/lens/blob/master/troubleshooting/custom-prometheus.md">guide</a> for possible configuration changes.</p>
|
||||
<b-form-group
|
||||
label="Prometheus service address."
|
||||
description="A path to an existing Prometheus installation (<namespace>/<service>:<port>)."
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
Welcome, {{ greetingName }}!
|
||||
</h1>
|
||||
<p v-if="clusters.length === 0" class="text-center">
|
||||
Get started by associating one or more clusters to Kontena Lens.
|
||||
Get started by associating one or more clusters to Lens.
|
||||
</p>
|
||||
</b-col>
|
||||
</b-row>
|
||||
|
||||
@ -116,7 +116,7 @@
|
||||
<h2>Telemetry & Usage Tracking</h2>
|
||||
<b-form-group
|
||||
label-for="checkbox-allow-telemetry"
|
||||
description="Telemetry & usage data is collected to continuously improve the Kontena Lens experience."
|
||||
description="Telemetry & usage data is collected to continuously improve the Lens experience."
|
||||
>
|
||||
<b-form-checkbox
|
||||
id="checkbox-allow-telemetry"
|
||||
|
||||
@ -133,7 +133,7 @@ h2 {
|
||||
border-bottom: 1px solid var(--lens-pane-bg);
|
||||
padding-left: 0;
|
||||
h5 {
|
||||
color: var(--kontena-blue)
|
||||
color: var(--lens-primary)
|
||||
}
|
||||
h5:hover {
|
||||
text-decoration: underline;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user