docbrown/app/javascript/packs
Nick Taylor a71d78df6e
[deploy] Add comment subscription component to article page (#7205)
* wip

* Right aligned the comment subscription panel.

* Cleaned up the comment area on the article page so it uses crayon margin classes.

* Updated tests

* Removed old UI for comment subscriptions.

* Made Discussion text bigger and bolder.

* Fixed some layout issues as per PR comments.

* Fixed some layout issues as per PR comments.

* Updated Storybook stories, tests and snapshots

* wip

* Everything works now, just need to integrate snackbar.

* Removed setTimeout I was debugging with.

* Using the new utilities/http/request utility now.

* Added the <SnackbarPoller />

* Now when unsubscribed, the subscription type resets to all comments.

* Removed overflow hidden from .home CSS class so comment subscription component displays properly.

* Now unsuccessful subscribes/unsubscribes error properly.

* Changed button text from Done to Subscribe

* Merged the <SnackbarPoller /> component into the <Snackbar /> component.

* Fixed a propType issue.

* Fixed a test.

* Removed snackbar tests for now. Need to figure out polling in tests.

* Now comment subscription component is only loaded for logged on users.

* Added a comment.

* Updated some storybook stories.

* Fixed a small formatting issue.

* Reduced snackbar item lifespans to 3 seconds.

* Extracted <CogIcon /> to it's own file because other features are going to need it.

* Added some Storybook stories and tests for the <CogIcon /> component.

* Revert "Extracted <CogIcon /> to it's own file because other features are going to need it."

This reverts commit b30406a50e491c53c3dce5be03bcdf8112b043df.

* Put back <CogIcon /> component.

* Added some error handling if the component doesn't load.

* Moving some things around.

* Rename the article pack file.

* Changed wording from "article" to "post".

* Fixed false negative CSS issue. It was a dangling div tag.

* Add the option to add an optional close button to snackbar items.

* Fixed z-index of subscription type options panel so it is always visible on mobile.

* Reworked the comment subsciption utilities a bit.

* Added test for comment subscription utilities.

* Fixed a broken test from a refactor.

* Added more tests for comment subscription utiltities.

* Fixed comments footer bottom padding.

* Fixed issue with stale find in comment subscription test.

* Update app/javascript/packs/articlePage.jsx

Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>

* Update app/assets/stylesheets/article-show.scss

Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>

* Changed close button wording to Dismiss.

* Fixed padding to use utility variable instead.

* Added missing import for SASS file.

Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
2020-05-05 12:50:30 -04:00
..
analyticsArticle.js Display stats for organization article (#3232) 2019-06-19 09:17:35 -04:00
analyticsDashboard.js Dashboard Pro: support InstantClick and show org analytics (#3102) 2019-06-12 09:40:42 -04:00
articleForm.jsx [deploy] Refactor to create a helper for the mailer links (#7502) 2020-04-27 09:18:16 -04:00
articlePage.jsx [deploy] Add comment subscription component to article page (#7205) 2020-05-05 12:50:30 -04:00
Chat.jsx [WIP] Connect misc improvements/debugs (#2880) 2019-05-20 10:08:51 -04:00
clipboardCopy.js Comment out mishandled imports (#6815) [deploy] 2020-03-24 13:13:48 -04:00
colorPicker.js Fix colorPicker's lints (#4109) [ci skip] 2019-09-27 09:43:51 -04:00
colorPreview.js Fix gotchas with color preview and some style adjustments and add documentation (#4322) 2019-10-08 21:32:31 -04:00
contentDisplayPolicy.js Hide comment feature (#4944) 2019-12-10 15:09:47 -05:00
feedIcons.js.erb Nickytonline/homepage main feed component (#6164) [deploy] 2020-02-28 14:14:47 -05:00
githubRepos.jsx REF: React eslint (#2432) 2019-04-16 17:28:19 -04:00
homePage.jsx [deploy] Remove ALL Algolia Code (#7577) 2020-04-29 10:11:57 -05:00
homePageFeed.jsx Nickytonline/homepage main feed component (#6164) [deploy] 2020-02-28 14:14:47 -05:00
internal.js Add StimulusJS and Refactor Internal article_script (#5539) deploy] 2020-01-24 16:00:24 -05:00
listingDashboard.jsx Listings Dashboard (#3014) 2019-06-18 14:52:59 -04:00
listingForm.jsx Use new classified listing categories (#7250) 2020-04-23 10:06:58 +07:00
listings.jsx Classified Listings (#2545) 2019-04-24 16:17:01 -04:00
notificationSubscriptionHandler.js Fix lints in notificationSubscriptionHander.js (#4172) [ci skip] 2019-10-04 13:08:59 -04:00
Onboarding.jsx Remove unused function (#4467) 2019-10-17 08:07:49 -04:00
onboardingRedirectCheck.jsx fix cannot read privacy policy redirect to onboarding (#6636) 2020-03-16 08:53:32 -04:00
orgCreditsSelector.js Feature/refactored onboarding (#3333) 2019-07-26 15:53:32 -04:00
profileDropdown.js New Feature: Block Users (#4411) 2019-10-23 17:14:28 -04:00
readingList.jsx History and reading list refactoring (#3338) 2019-07-02 09:22:21 -04:00
responseTemplates.js [deploy] Finalize and add response templates feature (#7068) 2020-04-16 15:53:29 -04:00
Search.jsx Crayons'ifizing Header (#6780) [deploy] 2020-03-26 12:21:53 -04:00
sidebarWidget.jsx Fix lints for sidebarwidget and sidebaruser (#4418) [ci skip] 2019-10-14 14:43:26 -04:00
validateFileInputs.js [deploy] Add valiation for file name length to file uploads (#6918) 2020-03-27 18:54:27 -04:00
videoChat.jsx [deploy] Add codenames proof-of-concept to /connect (#7553) 2020-04-27 19:19:12 -04:00
webShare.js Comment out mishandled imports (#6815) [deploy] 2020-03-24 13:13:48 -04:00