Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

chore: updates Molecula references to FeatureBase #2186

Closed
wants to merge 1 commit into from
Closed
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
Binary file modified lattice/public/favicon.ico
100755 → 100644
Binary file not shown.
Binary file modified lattice/public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 0 additions & 7 deletions lattice/public/favicon.svg

This file was deleted.

3 changes: 1 addition & 2 deletions lattice/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.svg" type="image/svg+xml" />
<link rel="icon" href="%PUBLIC_URL%/favicon.png" type="image/png" />
<meta
name="viewport"
Expand All @@ -24,7 +23,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Molecula</title>
<title>FeatureBase</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
4 changes: 2 additions & 2 deletions lattice/public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"short_name": "Molecula",
"name": "Molecula Demo App",
"short_name": "FeatureBase",
"name": "FeatureBase Demo App",
"icons": [
{
"src": "favicon.ico",
Expand Down
2 changes: 1 addition & 1 deletion lattice/src/App/AuthFlow/AuthFlow.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}

.logo {
height: 85px;
height: 50px;
margin: 16px;
}

Expand Down
4 changes: 2 additions & 2 deletions lattice/src/App/AuthFlow/Signin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Card from '@material-ui/core/Card';
import CardContent from '@material-ui/core/CardContent';
import CardHeader from '@material-ui/core/CardHeader';

import { ReactComponent as MLogo } from 'assets/m-bug-alt.svg';
import { ReactComponent as FeatureBaseIcon } from 'assets/featurebase-icon.svg';
import css from './AuthFlow.module.scss';
import SignInButton from './SignInButton';

Expand All @@ -20,7 +20,7 @@ function Signin(props) {
<div className={css.main}>
<div className={css.loginForm}>
<div className={css.logoContainer}>
<MLogo className={css.logo} />
<FeatureBaseIcon className={css.logo} />
</div>
{renderLoginForm()}
</div>
Expand Down
2 changes: 1 addition & 1 deletion lattice/src/App/Home/ClusterHealth/Metrics/Metrics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export const Metrics: FC<MetricsProps> = ({ open, node, onClose }) => {
</DialogTitle>
<DialogContent>
<div className={css.infoMessage}>
Molecula provides metrics for use with Prometheus. Instantaneous
FeatureBase provides metrics for use with Prometheus. Instantaneous
metrics are shown here for convenience; to take full advantage of this
feature, consider using a Prometheus instance, perhaps with a{' '}
<Link
Expand Down
4 changes: 2 additions & 2 deletions lattice/src/App/Home/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export const Home: FC = () => (
<Typography variant="h6" color="textPrimary" align="center" style={{padding: 30, paddingBottom: 0}}>
Try FeatureBase Cloud at
<span> </span>
<Link href="https://app.molecula.cloud/" underline="always">
app.molecula.cloud
<Link href="https://cloud.featurebase.com/" underline="always">
cloud.featurebase.com
</Link>
</Typography>
<ClusterHealth/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import Fuse from 'fuse.js';
import Highlighter from 'react-highlight-words';
import Link from '@material-ui/core/Link';
import map from 'lodash/map';
import moment from 'moment';
import OrderBy from 'lodash/orderBy';
import Table from '@material-ui/core/Table';
import TableBody from '@material-ui/core/TableBody';
Expand Down Expand Up @@ -131,14 +130,14 @@ export const MoleculaTable: FC<MoleculaTableProps> = ({
<TableCell className={css.tableHeader}>
<span
className={classNames(css.sortable, {
[css.currentSort]: sort === 'name',
[css.currentSort]: sort === 'name'
})}
onClick={() => onSortClick('name')}
>
Name{' '}
<ArrowDropDownIcon
className={classNames(css.sortArrow, {
[css.asc]: sortDir === 'asc',
[css.asc]: sortDir === 'asc'
})}
/>
</span>
Expand All @@ -151,7 +150,7 @@ export const MoleculaTable: FC<MoleculaTableProps> = ({
{filteredFields
.slice(sliceStart, sliceStart + resultsPerPage)
.map((field) => {
const { name, options, cardinality } = field;
const { name, options } = field;
const { type, keys, bitDepth, ...rest } = options;
const showKeys = ['set', 'time', 'mutex'].includes(type);

Expand Down
2 changes: 1 addition & 1 deletion lattice/src/App/QueryBuilder/QueryBuilderContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export const QueryBuilderContainer = () => {
type: 'text/plain;charset=utf-8',
});
element.href = URL.createObjectURL(file);
element.download = `molecula-${results?.index}-${dateTime}.csv`;
element.download = `featurebase-${results?.index}-${dateTime}.csv`;
document.body.appendChild(element);
element.click();
exportRows = [];
Expand Down
1 change: 0 additions & 1 deletion lattice/src/assets/darkTheme/MoleculaBug.svg

This file was deleted.

1 change: 0 additions & 1 deletion lattice/src/assets/darkTheme/MoleculaLogo.svg

This file was deleted.

1 change: 1 addition & 0 deletions lattice/src/assets/darkTheme/featurebase-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading