From b620cb1372a709ba001bda412eef693c22fb06e3 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Fri, 8 May 2020 22:17:19 -0400 Subject: [PATCH] Progress --- .../gabsocial/actions/notifications.js | 2 + .../components/autosuggest_textbox.js | 10 +- .../gabsocial/components/back_button.js | 48 +++++ .../gabsocial/components/comment_list.js | 10 +- .../gabsocial/components/composer.js | 5 +- app/javascript/gabsocial/components/dummy.js | 5 + .../gabsocial/components/error_boundary.js | 2 +- .../gabsocial/components/group_header.js | 99 +++++++-- app/javascript/gabsocial/components/icon.js | 2 +- .../components/logged_out_navigation_bar.js | 80 +++++++ .../gabsocial/components/navigation_bar.js | 2 +- .../components/panel/group_info_panel.js | 11 +- .../gabsocial/components/panel/lists_panel.js | 16 +- .../components/panel/media_gallery_panel.js | 2 +- .../components/panel/profile_info_panel.js | 15 +- .../components/panel/profile_stats_panel.js | 26 ++- .../gabsocial/components/profile_header.js | 200 ++++++++++++++---- .../components/profile_navigation_bar.js | 41 ++++ app/javascript/gabsocial/components/search.js | 5 +- .../gabsocial/components/sidebar.js | 12 +- app/javascript/gabsocial/components/status.js | 7 +- .../gabsocial/components/tab_bar.js | 8 +- .../gabsocial/components/tab_bar_item.js | 2 +- .../gabsocial/components/user_stat.js | 25 ++- .../gabsocial/containers/status_container.js | 20 +- .../components/compose_extra_button.js | 9 + .../compose/components/compose_form.js | 8 +- app/javascript/gabsocial/features/search.js | 12 +- app/javascript/gabsocial/features/ui/ui.js | 29 ++- .../gabsocial/layouts/group_layout.js | 58 +++-- app/javascript/gabsocial/layouts/layout.js | 23 +- .../gabsocial/layouts/profile_layout.js | 110 ++++++++-- app/javascript/gabsocial/pages/group_page.js | 23 +- app/javascript/gabsocial/pages/home_page.js | 57 ++--- .../gabsocial/pages/notifications_page.js | 5 +- .../gabsocial/pages/profile_page.js | 13 +- app/javascript/gabsocial/pages/search_page.js | 2 + app/javascript/styles/global.css | 7 + 38 files changed, 734 insertions(+), 277 deletions(-) create mode 100644 app/javascript/gabsocial/components/back_button.js create mode 100644 app/javascript/gabsocial/components/dummy.js create mode 100644 app/javascript/gabsocial/components/logged_out_navigation_bar.js create mode 100644 app/javascript/gabsocial/components/profile_navigation_bar.js diff --git a/app/javascript/gabsocial/actions/notifications.js b/app/javascript/gabsocial/actions/notifications.js index 95b23810..437326f8 100644 --- a/app/javascript/gabsocial/actions/notifications.js +++ b/app/javascript/gabsocial/actions/notifications.js @@ -157,6 +157,8 @@ export function expandNotifications({ maxId } = {}, done = noOp) { return; } + console.log("activeFilter:", activeFilter) + const params = { max_id: maxId, exclude_types: activeFilter === 'all' ? null : excludeTypesFromFilter(activeFilter), diff --git a/app/javascript/gabsocial/components/autosuggest_textbox.js b/app/javascript/gabsocial/components/autosuggest_textbox.js index b65ac6bc..2746e2f4 100644 --- a/app/javascript/gabsocial/components/autosuggest_textbox.js +++ b/app/javascript/gabsocial/components/autosuggest_textbox.js @@ -236,7 +236,6 @@ export default class AutosuggestTextbox extends ImmutablePureComponent { outlineNone: 1, lineHeight125: 1, colorPrimary: 1, - height100PC: small, width100PC: !small, pt15: !small, px15: !small, @@ -253,7 +252,6 @@ export default class AutosuggestTextbox extends ImmutablePureComponent { default: 1, maxWidth100PC: 1, flexGrow1: small, - height100PC: small, justifyContentCenter: small, }) @@ -261,7 +259,7 @@ export default class AutosuggestTextbox extends ImmutablePureComponent { return (
-