giseldo/neodataset huggingface dataset:
Block in groups does not update until refresh

<!---
Please read this!

Before opening a new issue, make sure to search for keywords in the issues
filtered by the "T - Bug" label and verify the issue you're about to submit isn't a duplicate.
--->

### Summary

Block in groups does not update until refresh. It should be live. 

### Steps to reproduce

1. Make a group.
2. Join a group with another account.
3. Post with the new account.
4. Ban your new account
5. Refresh new accounts. Can still post, which may be intentional, but you can also still see the user you've banned until you refresh.

### Platform information 

Cross-platform web.

### What is the current *bug* behavior?

Ban in groups does not update until refresh

### What is the expected *correct* behavior?

User should not be able to post

### Relevant logs and/or screenshots

(Paste any relevant logs - please use code blocks (```) to format console output,
logs, and code as it's very hard to read otherwise.)

### Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Story points: 4.0
Unable to de-select focused hashtag

<!---
Please read this!

Before opening a new issue, make sure to search for keywords in the issues
filtered by the "T - Bug" label and verify the issue you're about to submit isn't a duplicate.
--->

### Summary

Once you focus on a hashtag, you can not then unselect it.

![Screen_Recording_2019-12-16_at_20.27.06](/uploads/7294d7106033cb8392ad890307acc33b/Screen_Recording_2019-12-16_at_20.27.06.mov)

### Steps to reproduce

- Go to discovery
- Click on a hashtag
- Click again to unfocus
- Url does not change

### Platform information 

(Browser, device, system stats, screen size)
Chrome 78, MacOS

### What is the current *bug* behavior?

Above

### What is the expected *correct* behavior?

You should be able to unselect a hashtag and have the correct results.

### Relevant logs and/or screenshots

![Screen_Recording_2019-12-16_at_20.27.06](/uploads/7294d7106033cb8392ad890307acc33b/Screen_Recording_2019-12-16_at_20.27.06.mov)

### Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Story points: 2.0
Disable Reminding Posts awaiting moderation

### Summary

A post can be reminded while awaiting moderation

### Steps to reproduce

1. Create a post in a moderated group with a media attachment.
2. Click on the media to bring up media modal.
3. Press enter on the url bar to go to the media url.
4. Remind option is available. Remind post.

### Platform information 

Browser

### What is the current *bug* behavior?

Posts awaiting moderation can be reminded.

### What is the expected *correct* behavior?

Interactions with a post awaiting moderation should be restricted to editing and deleting.

### Relevant logs and/or screenshots

![even_smaller_remind_moderation](/uploads/2daf5393f9dbf8c569a1a72a10faccbd/even_smaller_remind_moderation.mp4)

Story points: 4.0
Implement new phone number dropdown


https://gitlab.com/minds/front/issues/2395

- [x] Add in the phone number verification widgets to the new wallet
- [x] Make it a new component so we don't break anything
- [x] Have them call the onboarding phone number verification (so we don't ask for their phone number again)
- [x] Make sure it's in the new onboarding phone number verification

Update the `m-phone-input` component so it is easier to use/navigate the gigantic country list. 

- [x] Dropdown should close on blur instead of requiring user to click the 2 arrows next to the flag icon 
- [x] Country list dropdown should be aligned with form input and have the same box-shadow
- [x] Restrict height
- [x] Option should have a visual indicator when you are hovering over it
- [x] Key controls.  You should be able to: 
  - [x] Start typing the country name to scroll to or narrow down results
  - [x] navigate results with up/down keys
  - [x] hit enter to select/close the drop down


**Testing**
- Check it out at /onboarding/info slide
- go to /v2wallet/tokens as a new user whose phone number has not been collected yet. Click step 1 of the onboarding steps to see the popup with the phone number input box

Story points: 8.0
Replace our existing onboarding suggested channels with top feeds based on the selected hashtags

https://www.evernote.com/l/AGvHKp_LCVVCh4FB5GyBgPPC5jBKFlXj43QB/image.png

Make our onboarding process apply the user selected hashtags here

And supply them to the top feeds algorithm and use the returned channels to populate the next step

https://www.evernote.com/l/AGsJ2LB7CfdKdYcJZXrKvpMoUijvgL0fr94B/image.png

- [ ] Save the hashtags to the user
- [ ] Use the selected hashtags to call the top feed
- [ ] Populate the subscribe to some popular channels with those results
- [ ] Unit tests
- [ ] E2E tests

It should not include any NSFW channels

Story points: 6.0
Change hashtag detection regex to disregard non-tags.

<!---
Please read this!

Before opening a new issue, make sure to search for keywords in the issues
filtered by the "T - Bug" label and verify the issue you're about to submit isn't a duplicate.
--->

### Summary

A hashtag in the URL within a post will count as one of the 5 permitted hashtags.

### Steps to reproduce

1. Create a post
2. Insert a link with a hashtag in its URL
3. Try creating 5 hashtags for that post
4. Error appears

### Relevant logs and/or screenshots

https://www.minds.com/newsfeed/1051859070102446080

Story points: 4.0
Tokens or Over text on channel editor overflows sidebar and double UI

<!---
Please read this!

Before opening a new issue, make sure to search for keywords in the issues
filtered by the "T - Bug" label and verify the issue you're about to submit isn't a duplicate.
--->

### Summary

There are UI issues with the sidebar rewards selector component

### Steps to reproduce

1. Setup some rewards on your channel
2/ You'll see the blow out on the right hand side 
3. And you'll see the double input box

### Platform information 

Firefox only; MacOS and Ubuntu replicated.
Overflow not happening in Chromium, double rewards still there though.

### What is the current *bug* behavior?

Two reward buttons are shown for add reward in the sidebar, which makes little sense. Also the text overflows out of the container **on firefox**.

### What is the expected *correct* behavior?

* Text container should wrap onto a new line if there is no space. 
* There should be only one submit button.

### Relevant logs and/or screenshots

![https://www.evernote.com/l/AGu3js5KzKdNVbU4evLki_CyjbqYfVZSaLIB/image.png](https://www.evernote.com/l/AGu3js5KzKdNVbU4evLki_CyjbqYfVZSaLIB/image.png)

![image](/uploads/2437e3daec677ab2988a5099b8bb7f02/image.png)

### Possible fixes

Fix using Firefox but double check Chrome. Maybe try a flex-wrap on `.m-wire-channel--reward-amount`

/label ~"T \- Bug" ~"S \- Triage:new" 


Story points: 4.0
Pro Video page layout skewed by long titles

<!---
Please read this!

Before opening a new issue, make sure to search for keywords in the issues
filtered by the "T - Bug" label and verify the issue you're about to submit isn't a duplicate.
--->

### Summary

Pro Video page layout skewed by long titles.

### Steps to reproduce

- Visit https://www.minds.com/pro/radio_baloney/videos
- Check page layout

### Platform information 

- Firefox 70 on Pop!_OS 19.10
- 1920x1080

### What is the current *bug* behavior?

Video tiles are too big and cause grid to go out of screen width.

### What is the expected *correct* behavior?

2-column grid that doesn't overflow the screen width.

### Relevant logs and/or screenshots

![image](/uploads/7b361fb06c9bd8494ae9987fbdf9f244/image.png)

### Possible fixes

- `<h2>` tags with line clamp on the video title are causing tiles to grow bigger than intended.
- Override fixed `height` CSS property on video thumbnail with `100%`

Story points: 4.0
Improve our title tag for SEO

Right our now our title tag is very accurate, but very sparse.


On newsfeed, it says
Newsfeed | Minds

On discovery, it says
Newsfeed | Minds

Etc

One of the SEO suggestions is to have meaningful titles as much specific content in our meta tags as possible.

Creating this card to start the discussion on what titles and metadata we want to use

- [ ] Wrap our light bulb logo in an H1 with a hidden span and alt text matching the title.
- [ ] Audit the hard links on the site and make sure they have descriptive titles over 36 characters long

# List of titles and urls
https://docs.google.com/spreadsheets/d/143y5mzROBIJjdZrYai-CGv6VUQza-DZDB0EI6MGVzYg/edit?usp=sharing

Story points: 8.0
CKEditor 5 PoC

- [x] Setup a "new-blog-editor" feature flag
- [x] Allow loading of old blogs using the old components
- [x] Install CKEditor 5 and use the inline mode to make it resemble our existing medium-editor as much as possible
- [x] Install the CKeditor 5 plugins that allows conversion of markdown into our medium html
- [x] Limit the styles and functionality as much as possible. We want to create a bloat-free experience with minimum toolbars and chrome that fits into the overall site. 
- [x] Users should only be to chose from predetermined styles.
- [x] Make sure we provide the ability to quickly create bulleted lists and numeric lists
- [x] Make sure we can easily copy text from wordpress sites and other rich copy sources
- [x] New blogs should be tagged with an attribute that marks them as "version2" 
- [x] New blogs should load in the new editor
- [x] Old blogs should load in the old editor
- [x] Make sure we can save on the backend

We're going to roll this out as a POC behind a feature flag

We'll create a card to stand up a built package repo for a blog editor with all our plugins packaged and minified

If the v1 blogs can be displayed and saved with the new editor, we can just turn it on with the FF

If we can't successfully redisplay working blogs, we'll tag the new blogs with v2 on the backend

We need to change this MR to point to an epic branch: epic/blogs-34 and get this merged in so we can start iterating on the look and feel and build / bundle next sprint

Story points: 24.0
Implement token rewards onboarding

Onboarding component should look like this:

| state | mockup |
| ------ | ------ |
| completely fresh | ![image](/uploads/c0ae214f1fcbdcdb80bc542552069413/image.png) |
| entering ph | ![image](/uploads/87e88c9eaf2d98bb2fcfb7a170788981/image.png) |
| verified ph | ![image](/uploads/962da94cf412b40f8fee33d0ad0c54a0/image.png) |
| enter a code | ![image](/uploads/7e152b318d59c28c1eed8d487a52dcdb/image.png)|  
| invalid code | ![image](/uploads/7e476917fbb57e16018a3a20750e1334/image.png)|

It should only be shown when user is not signed up for rewards already (`!session.getLoggedInUser().rewards`).


Story points: 8.0
On strike creation create a copy of flagged content for potential jury assessment

### Summary

Channels can edit content during strike appeal process making it impossible for jurors to assess if a community guidelines strike was given fairly.

### Steps to reproduce

Give a post a community guideline strike, trigger an appeal and immediately edit the post. 

### Platform information 

Browser

### What is the current *bug* behavior?

Jury process can easily be manipulated by editing flagged post.

### What is the expected *correct* behavior?

Jurors should see a copy of the entire post as the admin say the post when the community guideline strike was given.

### Relevant logs and/or screenshots

![image](/uploads/17cf39715209ebee79fa6eb988ff0521/image.png)

### Possible fixes

On the creation of a community guideline strike create a copy of the content for the jury to review so a jury will see exactly what the admin saw when the community guidline strike was given. This archive of violation flagged content could also be useful for future assessments consistency of rule application.

Note the attached backend card to make this possible.

On the current moderation admin screen, we want to empower the admins to make better decisions by displaying the original offending post and the current version
- [ ] Display the saved copy on 1323 as "original"
- [ ] Display the current post as "current"



Story points: 4.0
Implement groups membership sidebar for the navigation menu

While the new designs are being finalized, we can started on our new epic

We'll be using this mock as a starting point. We're going to have to fit each section of the site into the existing format the best we can and we'll be fixing each section as they go.

### git lab mocks
https://design.minds.com/hosted/web/michael/front%232148-navigation/#artboard0

### responsive
https://design.minds.com/hosted/web/michael/front%232148-navigation/#artboard6

https://design.minds.com/hosted/web/michael/front%232148-navigation/#artboard7

### Opened menu
https://design.minds.com/hosted/web/michael/front%232148-navigation/#artboard8

- [x] Implement a "redesign" feature flag that will control how we load the css / new site designs
- [x] Display the list of groups a user is subscribed to on the left hand side
- [ ] End to end tests to make sure the groups navigation works

Story points: 4.0
Setup superstructure for new navigation

While the new designs are being finalized, we can started on our new epic

We'll be using this mock as a starting point. We're going to have to fit each section of the site into the existing format the best we can and we'll be fixing each section as they go.

https://projects.invisionapp.com/d/main#/console/18532170/396329346/preview
- [x] Implement a "redesign" feature flag that will control how we load the css / new site designs
- [x] Implement new header bar
- [x] Implement three column layout
- [x] Implement side bar navigation
   - [x] Newsfeed link should go to the existing newsfeed
   - [x] Discover link should go to the existing discover
   - [x] Wallet link should go to the existing wallet page
   - [x] Profile should go to the user's channel page
   - [x] Analysis should go to the analytics page
   - [x] Settings should go to the existing setting page under the hamburger menu
- [ ] End to end tests should be updated to work, keeping in mind that this epic will be around until all the screens are done and we'll be able to make everything work together.

Story points: 14.0
E2E tests for the feed selectors

Write three sets of spec tests fort the feed.

- [ ] Hot
   - [ ] All selector
   - [ ] Image selector
   - [ ] Video selector
   - [ ] Blog selector 
   - [ ] Group selector
   - [ ] NSFW selector
- [ ] Top - 12h
   - [ ] All selector
   - [ ] Image selector
   - [ ] Video selector
   - [ ] Blog selector 
   - [ ] Group selector
   - [ ] NSFW selector
- [ ] Top - 24h
   - [ ] All selector
   - [ ] Image selector
   - [ ] Video selector
   - [ ] Blog selector 
   - [ ] Group selector
   - [ ] NSFW selector
- [ ] Top - 7D
   - [ ] All selector
   - [ ] Image selector
   - [ ] Video selector
   - [ ] Blog selector 
   - [ ] Group selector
   - [ ] NSFW selector
- [ ] Top - 30D
   - [ ] All selector
   - [ ] Image selector
   - [ ] Video selector
   - [ ] Blog selector 
   - [ ] Group selector
   - [ ] NSFW selector
- [ ] Latest

- [ ] Hashtag and preferred filter 

Don't worry about the issues with the cron job and the feed. @markeharding will be getting those sorted out.

Story points: 8.0
(bug): Tokens showing double after a withdrawal

<!---
Please read this!

Before opening a new issue, make sure to search for keywords in the issues
filtered by the "T - Bug" label and verify the issue you're about to submit isn't a duplicate.
--->

### Summary

I withdrew from offchain to onchain, note my receiver address and the onchain address are the same.. its counting it twice.

### Steps to reproduce

1. Set receiver address to your active metamask address if it isn't already (make a note of the old one for yourself)
2. Make a withdrawal
3. See the balance is counted twice 

### Platform information
 
Cross platform - web

### What is the current *bug* behavior?

Onchain and reciever address are added together when they are the same address.

### What is the expected *correct* behavior?

The value should be half this.

### Relevant logs and/or screenshots

![image](/uploads/aac76e0c015f1fdd4d51608e1507f3e9/image.png)
![image](/uploads/61edfb8179a862ab0bc5d1d2049d53e2/image.png)

### Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Story points: 5.0
Modal pager for all content

For MVP:
- [x] Ability to go back and forth images/videos/blogs (media objects) for a certain container (user or group).

---

Original scope:

The media modal needs to load all of our entities - video, images, blogs, activities

When we're loading the modal pager from a feed, the modal pager needs to move left and right through the selected feed.

When we're loading the modal pager from a url directly, the modal pager needs to move left and right through the channel who owns the content.

Add left and right arrows to the media view, loading the appropriate feed.

If the user loads the media view from the feed, the left and right arrows should swipe through the news feed

If the user loads the media view from the channel feed, the left and right arrows should swipe the the channel feed

If the user loads the media view from the group feed, the left and right arrows should swipe through the group feed.

The media modal should load with the settings from discovery and use the hashtags, 



Story points: 12.0
(bug): Remind not immediately removed after delete

<!---
Please read this!

Before opening a new issue, make sure to search for keywords in the issues
filtered by the "T - Bug" label and verify the issue you're about to submit isn't a duplicate.
--->

### Summary

A remind not immediately removed after delete.

### Steps to reproduce

1. Make a remind.
2. Delete it.

### Platform information 

Chrome (Replicated).

### What is the current *bug* behavior?

Remind not removed until refresh.

### What is the expected *correct* behavior?

After deletion completes, post should be removed.

### Relevant logs and/or screenshots

(Paste any relevant logs - please use code blocks (```) to format console output,
logs, and code as it's very hard to read otherwise.)

### Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Story points: 2.0
(refactor): Homepage (Mk2)

Homepage should feature:
- 1 Row with a 4x span tile containing the newest (sorted by publication date) pinned content
- 1 Row with two 2x span tiles containing more pinned content (if needed)
- N Rows with four 1x span tiles containing more pinned content (if needed)
- N Sections containing 3 Top Content tiles for each category, using the category as subheading

Story points: 6.0
(bug) Fix the mangled output of cypress in gitlab

The current output for the e2e tasks is a hard to read mess. @markeharding reports that it used to be readable and that gitlab must have done something to break the output.

This may not be something we can fix beyond reporting the issue to gitlab.

So find the root cause of the problem in the output.
See if this is something we can fix with the output (different format from Cypress or maybe a prettifier)
If we can't fix it, file a bug with gitlab

Story points: 5.0
(feature) Wallet phone verification

https://projects.invisionapp.com/share/QDTF1ZN4SKU#/screens/378589352

https://projects.invisionapp.com/share/QDTF1ZN4SKU#/screens/378589351

https://projects.invisionapp.com/share/QDTF1ZN4SKU#/screens/378589348

https://projects.invisionapp.com/share/QDTF1ZN4SKU#/screens/378589347

Implement the new wallet SMS verification flow using our existing design language

Story points: 5.0
Investigate blog indexing

Merged 2 issues into this to keep conversation history at hand for the issue.

@GailMcGowanMellor and others report that their blogs have disappeared, and it appears that the link generates a thumbnail but does not display. Links to the H&S queries:

* https://www.minds.com/newsfeed/1027241242382958592

Long chat here https://gitlab.com/minds/front/issues/1701.

* https://www.minds.com/newsfeed/1027238853722636288

No links in here but I've commented asking for some examples. 

* https://www.minds.com/newsfeed/1028001840414859264

User has not responded to questions.

Story points: 3.0
(bug): TypeError: Cannot read property 'style' of null

Sentry Issue: [FRONT-4R](https://sentry.io/organizations/minds-inc/issues/1179927414/?referrer=gitlab_integration)

```
TypeError: Cannot read property 'style' of null
  at apply (./src/app/common/components/editors/plugins/buttons.plugin.ts:225:16)
...
(4 additional frame(s) were not displayed)
```

Story points: 3.0
(qa): dev testing

**Cases to test:**

*Activities*
* [ ]  Post a scheduled activity, it should appear in the newsfeed with a message saying that is scheduled to X time. 
* [ ]  In user channel, the shceduled post counter should show the correct number
* [ ]  If filter by scheduled post, it should appear the just created activity
* [ ]  We should be able to edit the just created activity
* [ ]  We should be able to access the just created activity
* [ ]  Other users shouldn't be able to see o access the just created activity

*Blogs*
* [ ]  Post a scheduled blog, it should appear in the newsfeed with a message saying that is scheduled to X time. 
* [ ]  In user channel, the shceduled post counter should show the correct number
* [ ]  If filter by scheduled post, it should appear the just created blog
* [ ]  We should be able to edit the just created blog
* [ ]  We should be able to access the just created blog
* [ ]  Other users shouldn't be able to see o access the just created blog
  

Story points: 4.0
(bug): Diagnostics tool re-initializing on every tick

# Testing
- Load sandbox site
- Press `Shift+Esc`, then order by CPU usage.
- Open DevTools. Look (or filter) for a console message starting with `Diagnostics ID`. Should contain your GUID (or `null` if logged out).
- Log out (or log in with an user)
- Look for another `Diagnostics ID` message.
- Log out (or log in with another user)
- Look for another `Diagnostics ID` message.
- Ensure CPU usage for Minds tab is not excessive (e.g. 100% constantly. There might be spikes, but high usage should not be constant).

Story points: 4.0
(fix) after schedule a post, not show that post in newsfeed

Based on Jack's [feedback](https://gitlab.com/minds/mobile-native/merge_requests/326#note_211248363).

>  When you do a scheduled post from the newsfeed, it briefly appears on the newsfeed above the Boostfeed link. When you refresh, it disappears. It should probably just not show up there.

Story points: 6.0
(regression): Groups sidebar conversions have a grey bar and hide behind groups

Regression introduced with https://gitlab.com/minds/front/commit/9f4057ca09af3f30f261fcac0fb1dfdc43e125ae 

![Screen_Shot_2019-08-28_at_10.16.22_AM](/uploads/04717ef252d1bbabf150e01b92490112/Screen_Shot_2019-08-28_at_10.16.22_AM.png)

Story points: 2.0
TypeError: Cannot read property 'parentElement' of null

Sentry Issue: [FRONT-4S](https://sentry.io/organizations/minds-inc/issues/1179943197/?referrer=gitlab_integration)

```
TypeError: Cannot read property 'parentElement' of null
  at apply (./src/app/common/components/editors/plugins/embed-image.plugin.ts:183:29)
  at apply (./src/app/common/components/editors/plugins/buttons.plugin.ts:476:19)
...
(18 additional frame(s) were not displayed)
```

Story points: 4.0