From 787ea80ba663f4697037f308978381127adfef48 Mon Sep 17 00:00:00 2001 From: Wille Marcel Date: Thu, 13 Apr 2023 11:15:25 -0300 Subject: [PATCH] Improve UI on Teams, Saved Filters, Watch & Trusted users pages --- src/components/customURL.js | 14 +++++-- src/components/teams/new_team.js | 28 +++++++++---- src/components/user/save_user.js | 7 +++- src/components/user/watchlist_user.js | 19 ++++----- src/views/navbar_sidebar.js | 12 +++--- src/views/saved_filters.js | 57 +++++++++++++++------------ src/views/teams.js | 15 ++++--- src/views/trusted_users.js | 16 +++++--- src/views/watchlist.js | 17 ++++---- 9 files changed, 110 insertions(+), 75 deletions(-) diff --git a/src/components/customURL.js b/src/components/customURL.js index 2c00efa4..fa6c9fd2 100644 --- a/src/components/customURL.js +++ b/src/components/customURL.js @@ -1,19 +1,27 @@ import React from 'react'; -export function CustomURL({ href, children, iconName, className }: Object) { +export function CustomURL({ + href, + children, + iconName, + className, + title +}: Object) { return ( {iconName && ( - + )} + {children} ); } diff --git a/src/components/teams/new_team.js b/src/components/teams/new_team.js index 96b8ad01..5c317e2b 100644 --- a/src/components/teams/new_team.js +++ b/src/components/teams/new_team.js @@ -184,24 +184,30 @@ const NewTeam = props => { disabled={!props.userIsOwner} /> -