docbrown/app/javascript
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
..
.storybook Added a theme switcher to Storybook. (#7364) 2020-04-17 10:39:05 -04:00
analytics Move Chart.js to dynamic import (#5576) [deploy] 2020-01-18 20:46:35 -05:00
article-form [deploy] Execute Reading List searches in Elasticsearch (#7440) 2020-04-24 10:30:17 -04:00
articles [deploy] Execute Feed Searches through Elasticsearch (Round 2) (#7231) 2020-04-17 08:38:07 -05:00
chat [deploy] Add codenames proof-of-concept to /connect (#7553) 2020-04-27 19:19:12 -04:00
CommentSubscription [deploy] Add comment subscription component to article page (#7205) 2020-05-05 12:50:30 -04:00
contentDisplayPolicy Migrate to streaming app shell via serviceworkers (#5020) [deploy] 2019-12-16 12:21:33 -05:00
crayons Modals (#7603) 2020-05-05 15:33:17 +02:00
githubRepos [deploy] Remove github_repos from public API (#6304) 2020-02-26 11:23:39 -05:00
icons [deploy] Add comment subscription component to article page (#7205) 2020-05-05 12:50:30 -04:00
internal [deploy] Update design and functionality of internal/articles (#7517) 2020-04-26 18:27:09 -04:00
leftSidebar Fix homepage back button flicker (#6688) [deploy] 2020-03-17 22:40:49 -04:00
listings [deploy] Remove correct tag when deselecting on listings page (#7530) 2020-04-28 18:27:58 -04:00
onboarding Modals (#7603) 2020-05-05 15:33:17 +02:00
organization Refactored to use a common <OrganizationPicker /> component (#4470) 2019-10-24 17:27:16 -04:00
packs [deploy] Add comment subscription component to article page (#7205) 2020-05-05 12:50:30 -04:00
podcasts Upgrade Storybook to 5.3.17 (#6754) 2020-03-23 09:46:50 -04:00
profileDropdown Chat: Remove Report Button from user's own profile sidebar (#4604) [deploy] 2019-12-02 16:35:47 -05:00
readingList [deploy] Execute Reading List searches in Elasticsearch (#7440) 2020-04-24 10:30:17 -04:00
responseTemplates [deploy] Add a more helpful msg for response templates (#7543) 2020-04-27 13:28:28 -04:00
searchableItemList Fix reading list pagination (#7518) 2020-04-27 09:17:50 -04:00
shared/components [deploy] Add name to tags component (#6802) 2020-04-07 09:50:45 -04:00
sidebar-widget Move user following suggestions to internal API (#6601) [deploy] 2020-03-13 13:37:24 +01:00
Snackbar [deploy] Add comment subscription component to article page (#7205) 2020-05-05 12:50:30 -04:00
src [deploy] Execute Reading List searches in Elasticsearch (#7440) 2020-04-24 10:30:17 -04:00
utilities Request Utility for Frontend (#7317) 2020-04-22 07:58:15 -04:00
.eslintrc.js [deploy] Execute Reading List searches in Elasticsearch (#7440) 2020-04-24 10:30:17 -04:00