1
0
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:
Miska Kaipiainen 2020-04-11 14:38:53 +03:00 committed by GitHub
parent 2fba3411d8
commit 758034f61a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
32 changed files with 47 additions and 47 deletions

View File

@ -5,7 +5,7 @@ labels: enhancement
--- ---
<!-- Please only use this template for submitting enhancement requests --> <!-- 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. If similar request already exists, please add comments on the existing issue.
--> -->

View File

@ -1,4 +1,4 @@
// Local express.js & kontena endpoints // Local express.js endpoints
export * from "./config.api" export * from "./config.api"
export * from "./cluster.api" export * from "./cluster.api"
export * from "./kubeconfig.api" export * from "./kubeconfig.api"

View File

@ -11,7 +11,7 @@ export function browserCheck() {
Notifications.info( Notifications.info(
<p> <p>
<Trans> <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. Please consider using another browser.
</Trans> </Trans>
</p> </p>

View File

@ -12,7 +12,7 @@
align-self: center; align-self: center;
.LineProgress { .LineProgress {
color: $kontenaBlue; color: $lensBlue;
} }
} }
@ -21,7 +21,7 @@
align-self: center; align-self: center;
.LineProgress { .LineProgress {
color: $kontenaMagenta; color: $lensMagenta;
} }
} }

View File

@ -30,7 +30,7 @@
align-self: center; align-self: center;
.LineProgress { .LineProgress {
color: $kontenaBlue; color: $lensBlue;
} }
} }
@ -38,7 +38,7 @@
align-self: center; align-self: center;
.LineProgress { .LineProgress {
color: $kontenaMagenta; color: $lensMagenta;
} }
} }

View File

@ -40,7 +40,7 @@
} }
.ace_constant { .ace_constant {
color: $kontenaBlue !important; color: $lensBlue !important;
} }
.ace_keyword { .ace_keyword {

View File

@ -38,7 +38,7 @@ export class AppInit extends React.Component<Props> {
return ( return (
<div className="AppInit flex column center"> <div className="AppInit flex column center">
<div className="box flex column gaps"> <div className="box flex column gaps">
<h5>Kontena Lens - {_i18n._(t`Loading`)}..</h5> <h5>Lens - {_i18n._(t`Loading`)}..</h5>
{serviceWaitingList.length > 0 && ( {serviceWaitingList.length > 0 && (
<p className="waiting-services"> <p className="waiting-services">
{_i18n._(t`Waiting services to be running`)}: <em className="text-secondary">{serviceNames}</em> {_i18n._(t`Waiting services to be running`)}: <em className="text-secondary">{serviceNames}</em>

View File

@ -2,7 +2,7 @@
.Checkbox { .Checkbox {
--checkbox-color: #{$textColorPrimary}; // tick color [] --checkbox-color: #{$textColorPrimary}; // tick color []
--checkbox-color-active: #{$contentColor}; --checkbox-color-active: #{$contentColor};
--checkbox-bgc-active: #{$kontenaBlue}; --checkbox-bgc-active: #{$lensBlue};
flex-shrink: 0; flex-shrink: 0;
@ -11,7 +11,7 @@
// default // default
} }
&-light { &-light {
--checkbox-color-active: #{$kontenaBlue}; --checkbox-color-active: #{$lensBlue};
--checkbox-bgc-active: none; --checkbox-bgc-active: none;
} }
} }

View File

@ -7,7 +7,7 @@
cursor: pointer; cursor: pointer;
.param-link-text { .param-link-text {
color: $kontenaBlue; color: $lensBlue;
text-decoration: underline; text-decoration: underline;
} }
} }

View File

@ -51,7 +51,7 @@
} }
.drawer-title { .drawer-title {
background: $kontenaBlue; background: $lensBlue;
color: $drawerTitleText; color: $drawerTitleText;
padding: $padding $padding * 2.5; padding: $padding $padding * 2.5;
word-break: break-all; word-break: break-all;

View File

@ -38,8 +38,8 @@ export class ErrorBoundary extends React.Component<Props, State> {
render() { render() {
const { error, errorInfo } = this.state; const { error, errorInfo } = this.state;
if (error) { if (error) {
const slackLink = <a href="https://slack.kontena.io" target="_blank">Kontena Slack</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/kontena/lens/issues" target="_blank">Kontena Github</a> const githubLink = <a href="https://github.com/lensapp/lens/issues" target="_blank">Github</a>
const pageUrl = location.href; const pageUrl = location.href;
return ( return (
<div className="ErrorBoundary flex column gaps"> <div className="ErrorBoundary flex column gaps">

View File

@ -10,7 +10,7 @@
margin: auto; margin: auto;
svg * { svg * {
fill: $kontenaBlue; fill: $lensBlue;
} }
} }

View File

@ -1,6 +1,6 @@
.Sidebar { .Sidebar {
$iconSize: 24px; $iconSize: 24px;
$activeBgc: $kontenaBlue; $activeBgc: $lensBlue;
$activeTextColor: $sidebarActiveColor; $activeTextColor: $sidebarActiveColor;
$itemSpacing: floor($unit / 2.6) floor($unit / 1.6); $itemSpacing: floor($unit / 2.6) floor($unit / 1.6);

View File

@ -1,17 +1,17 @@
.Slider { .Slider {
.track { .track {
background: $kontenaBlue; background: $lensBlue;
} }
.thumb { .thumb {
background: $kontenaBlue; background: $lensBlue;
&.activated, &.jumped, &.focused { &.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{ &:hover{
box-shadow: 0 0 0 $unit rgba($kontenaBlue, 0.16); box-shadow: 0 0 0 $unit rgba($lensBlue, 0.16);
} }
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "Kontena Dark", "name": "Lens Dark Theme",
"type": "dark", "type": "dark",
"author": "Kontena, Inc.", "author": "Lakend Labs",
"colors": { "colors": {
"blue": "#3d90ce", "blue": "#3d90ce",
"magenta": "#c93dce", "magenta": "#c93dce",

View File

@ -1,7 +1,7 @@
{ {
"name": "Kontena Light", "name": "Lens Light Theme",
"type": "light", "type": "light",
"author": "Kontena, Inc.", "author": "Lakend Labs",
"colors": { "colors": {
"blue": "#3d90ce", "blue": "#3d90ce",
"magenta": "#c93dce", "magenta": "#c93dce",

View File

@ -1,6 +1,6 @@
// Base colors // Base colors
$kontenaBlue: var(--blue); $lensBlue: var(--blue);
$kontenaMagenta: var(--magenta); $lensMagenta: var(--magenta);
$golden: var(--golden); $golden: var(--golden);
$halfGray: var(--halfGray); $halfGray: var(--halfGray);
$primary: var(--primary); $primary: var(--primary);

View File

@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <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"> <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="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') %>"> <link rel="icon" type="image/png" sizes="32x32" href="<%= require('./client/favicon/favicon-32x32.png') %>">

View File

@ -26,8 +26,8 @@ msgid "<0>Filtered</0>: {itemsCount} / {allItemsCount}"
msgstr "<0>Filtered</0>: {itemsCount} / {allItemsCount}" msgstr "<0>Filtered</0>: {itemsCount} / {allItemsCount}"
#: client/browser-check.tsx:11 #: client/browser-check.tsx:11
msgid "<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 Kontena 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 #: client/components/dock/create-resource.tsx:56
msgid "<0>{0}</0> successfully created" msgid "<0>{0}</0> successfully created"

View File

@ -27,8 +27,8 @@ msgid "<0>Filtered</0>: {itemsCount} / {allItemsCount}"
msgstr "<0>Отфильтровано</0>: {itemsCount} / {allItemsCount}" msgstr "<0>Отфильтровано</0>: {itemsCount} / {allItemsCount}"
#: client/browser-check.tsx:11 #: client/browser-check.tsx:11
msgid "<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>Ваш браузер не поддерживает все возможности Kontena Lens. </0> Пожалуйста рассмотрите использование другого современного браузера." msgstr "<0>Ваш браузер не поддерживает все возможности Lens. </0> Пожалуйста рассмотрите использование другого современного браузера."
#: client/components/dock/create-resource.tsx:56 #: client/components/dock/create-resource.tsx:56
msgid "<0>{0}</0> successfully created" msgid "<0>{0}</0> successfully created"

View File

@ -1,5 +1,5 @@
{ {
"name": "kontena-lens", "name": "lens-app-dashboard",
"version": "0.0.0", "version": "0.0.0",
"scripts": { "scripts": {
"dev": "webpack-cli --watch --cache --progress --output-path ../static/build/client/", "dev": "webpack-cli --watch --cache --progress --output-path ../static/build/client/",

View File

@ -43,7 +43,7 @@ export const config = {
USER_MANAGEMENT_ENABLED: JSON.parse(process.env.USER_MANAGEMENT_ENABLED || "false"), USER_MANAGEMENT_ENABLED: JSON.parse(process.env.USER_MANAGEMENT_ENABLED || "false"),
CHARTS_ENABLED: JSON.parse(process.env.CHARTS_ENABLED || "false"), CHARTS_ENABLED: JSON.parse(process.env.CHARTS_ENABLED || "false"),
// kontena namespaces // namespaces
LENS_NAMESPACE: process.env.LENS_NAMESPACE || "kontena-lens", LENS_NAMESPACE: process.env.LENS_NAMESPACE || "kontena-lens",
STATS_NAMESPACE: process.env.STATS_NAMESPACE || "kontena-stats", STATS_NAMESPACE: process.env.STATS_NAMESPACE || "kontena-stats",

View File

@ -45,7 +45,7 @@ export default () => {
extractComments: { extractComments: {
condition: "some", condition: "some",
banner: [ 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") ].join("\n")
} }
}) })

View File

@ -7,7 +7,7 @@
}, },
"copyright": "© 2020, Lakend Labs, Inc.", "copyright": "© 2020, Lakend Labs, Inc.",
"license": "MIT", "license": "MIT",
"description": "The Kubernetes IDE", "description": "Lens - The Kubernetes IDE",
"version": "3.2.0", "version": "3.2.0",
"main": "main.ts", "main": "main.ts",
"config": { "config": {

View File

@ -184,7 +184,7 @@ export default function initMenu(opts: MenuOptions, promiseIpc: any) {
{ {
label: 'Report an Issue', label: 'Report an Issue',
click: async () => { click: async () => {
shell.openExternal('https://github.com/kontena/lens/issues'); shell.openExternal('https://github.com/lensapp/lens/issues');
}, },
}, },
{ {

View File

@ -1,4 +1,4 @@
// from Kontena Lens UI // from Lens Dashboard
$lens-main-bg: #1e2124 !default; // dark bg $lens-main-bg: #1e2124 !default; // dark bg
$lens-pane-bg: #262b2f !default; // all panels main bg $lens-pane-bg: #262b2f !default; // all panels main bg
$lens-dock-bg: #2E3136 !default; // terminal and top menu bar $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-menu-hl: #414448 !default; // sidemenu on left, top left corner
$lens-text-color: #87909c !default; $lens-text-color: #87909c !default;
$lens-text-color-light: #a0a0a0 !default; $lens-text-color-light: #a0a0a0 !default;
$kontena-blue: #3d90ce !default; $lens-primary: #3d90ce !default;
// export as css variables // 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-menu-hl: #{$lens-menu-hl}; // sidemenu on left, top left corner
--lens-text-color: #{$lens-text-color}; --lens-text-color: #{$lens-text-color};
--lens-text-color-light: #{$lens-text-color-light}; --lens-text-color-light: #{$lens-text-color-light};
--kontena-blue: #{$kontena-blue}; --lens-primary: #{$lens-primary};
} }
// Base grayscale colors definitions // Base grayscale colors definitions
@ -46,7 +46,7 @@ $teal: #20c997 !default;
$cyan: #6ca5b7 !default; $cyan: #6ca5b7 !default;
// Theme color default definitions // Theme color default definitions
$primary: $kontena-blue !default; $primary: $lens-primary !default;
$secondary: $gray-600 !default; $secondary: $gray-600 !default;
$success: $green !default; $success: $green !default;
$info: $cyan !default; $info: $cyan !default;

View File

@ -64,7 +64,7 @@ export default {
left: 0; left: 0;
width: 100%; width: 100%;
height: 20px; height: 20px;
background-color: var(--kontena-blue); background-color: var(--lens-primary);
z-index: 2000; z-index: 2000;
} }
#workspace-area { #workspace-area {

View File

@ -2,7 +2,7 @@
<div class="settings-section"> <div class="settings-section">
<b>Metrics</b> <b>Metrics</b>
<p class="description"> <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> </p>
<div class="actions"> <div class="actions">
<b-button @click="install" v-if="!settings.installed" :disabled="!cluster.isAdmin || isProcessing || !canInstall" variant="primary"> <b-button @click="install" v-if="!settings.installed" :disabled="!cluster.isAdmin || isProcessing || !canInstall" variant="primary">

View File

@ -19,7 +19,7 @@
<div class="col-12"> <div class="col-12">
<div class="cluster-settings-section"> <div class="cluster-settings-section">
<b>Prometheus</b> <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 <b-form-group
label="Prometheus service address." label="Prometheus service address."
description="A path to an existing Prometheus installation (<namespace>/<service>:<port>)." description="A path to an existing Prometheus installation (<namespace>/<service>:<port>)."

View File

@ -12,7 +12,7 @@
Welcome, {{ greetingName }}! Welcome, {{ greetingName }}!
</h1> </h1>
<p v-if="clusters.length === 0" class="text-center"> <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> </p>
</b-col> </b-col>
</b-row> </b-row>

View File

@ -116,7 +116,7 @@
<h2>Telemetry & Usage Tracking</h2> <h2>Telemetry & Usage Tracking</h2>
<b-form-group <b-form-group
label-for="checkbox-allow-telemetry" 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 <b-form-checkbox
id="checkbox-allow-telemetry" id="checkbox-allow-telemetry"

View File

@ -133,7 +133,7 @@ h2 {
border-bottom: 1px solid var(--lens-pane-bg); border-bottom: 1px solid var(--lens-pane-bg);
padding-left: 0; padding-left: 0;
h5 { h5 {
color: var(--kontena-blue) color: var(--lens-primary)
} }
h5:hover { h5:hover {
text-decoration: underline; text-decoration: underline;