aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLeandro Alves <leandroalves@yahooinc.com>2022-06-24 09:01:44 +0200
committerLeandro Alves <leandroalves@yahooinc.com>2022-06-24 09:01:44 +0200
commit137acdd6a2af47d90c541730a24425ef77292eea (patch)
tree3f23e4080b4b153e9f87f374200d719b59aaf714 /client
parentd7bafd148a1e5da0e93f19a26911f9079a1b1ded (diff)
Add TODOs
Diffstat (limited to 'client')
-rw-r--r--client/js/app/src/app/components/icon/icon.jsx2
-rw-r--r--client/js/app/src/app/components/link/link.jsx2
-rw-r--r--client/js/app/src/app/pages/home/home.jsx2
3 files changed, 6 insertions, 0 deletions
diff --git a/client/js/app/src/app/components/icon/icon.jsx b/client/js/app/src/app/components/icon/icon.jsx
index d0a25124273..e860d293cce 100644
--- a/client/js/app/src/app/components/icon/icon.jsx
+++ b/client/js/app/src/app/components/icon/icon.jsx
@@ -3,6 +3,8 @@ import { library } from '@fortawesome/fontawesome-svg-core';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faArrowsToDot, faChartGantt } from '@fortawesome/free-solid-svg-icons';
+// TODO: use dynamic import
+
library.add(faArrowsToDot, faChartGantt);
export function Icon({ name, type = 'solid', ...rest }) {
diff --git a/client/js/app/src/app/components/link/link.jsx b/client/js/app/src/app/components/link/link.jsx
index 288174d21be..dc454b347d7 100644
--- a/client/js/app/src/app/components/link/link.jsx
+++ b/client/js/app/src/app/components/link/link.jsx
@@ -2,6 +2,8 @@ import React from 'react';
import { Link as InternalLink } from 'react-router-dom';
import { Anchor } from '@mantine/core';
+// TODO: adapt it according to new Console link component
+
export const isInternalLink = (link) => {
if (!link) return false;
return !/^[a-z]+:\/\//.test(link);
diff --git a/client/js/app/src/app/pages/home/home.jsx b/client/js/app/src/app/pages/home/home.jsx
index 05e8d91f81f..737b07acf3a 100644
--- a/client/js/app/src/app/pages/home/home.jsx
+++ b/client/js/app/src/app/pages/home/home.jsx
@@ -2,6 +2,8 @@ import React from 'react';
import { Container, SimpleGrid, Space } from '@mantine/core';
import { Link, CardLink, Icon } from 'app/components';
+// TODO: move SimpleGrid to components
+
export function Home() {
return (
<Container>