giseldo/neodataset huggingface dataset:
Bring sanity to our modals

Our modal system is very confusing. We have many ways to instantiate modals, and they all have different callbacks and ways of passing and returning data. Some modals stack, some do not.

Particularly annoying is the `LazyModal` that doesn't have the means to return **any** data at all. It also throws a nasty exception when the modal is dismissed, even if it was successful. 

- [ ] Have a single modal interface that can easily return data/callback to the called
- [ ] Allow modals to stack

Story points: 35.0
Revised web navigation design


Latest design links:
* Desktop - https://www.sketch.com/s/0c0b6cff-4a1a-4adf-8899-359668617f9d/a/25D1eQe
* Responsive Mobile - https://www.sketch.com/s/0c0b6cff-4a1a-4adf-8899-359668617f9d/a/jgYyrnD

* Only the navigation items are visible within the top-level nav
* To reduce noise as much possible, any auxiliary links should be viewable within the more menu -> https://www.sketch.com/s/0c0b6cff-4a1a-4adf-8899-359668617f9d/a/MyzrMRl
* Note the hover states on the `more menu` -> https://www.sketch.com/s/0c0b6cff-4a1a-4adf-8899-359668617f9d/a/MyzrMRl


* As the navigation now only contains a single link to `Analytics`, analytics should contain internal navigation to the other analytic pages -> https://www.sketch.com/s/0c0b6cff-4a1a-4adf-8899-359668617f9d/a/R1RVALx

Story points: 3.0
Create customize content modal

- [ ] Include customize content form (#4906)
- [ ] Include hashtag selector form
- [ ] Own module that others can lay load in
- [ ] Basic spec tests
- [ ] Cypress end to end tests

## Current Modal content
![Screenshot_2021-11-03_at_17.15.43](/uploads/a5e13d8fa507c0ac77574f0332d2b47e/Screenshot_2021-11-03_at_17.15.43.png)

## Mockups
https://gitlab.com/minds/front/-/issues/4887

https://www.sketch.com/s/fa301655-276b-4d88-9247-9c61363c1eae/a/ygepO9A

Story points: 40.0
Create customise content slider forms

- [ ] Allow to be extensible (ie. make the slider rows a component, the parent can call via a *ngFor loop
- [ ] Reside in its own module that others can import (lazy loadable)
- [ ] Basic spec tests

## Mockup

https://www.sketch.com/s/fa301655-276b-4d88-9247-9c61363c1eae/a/DPqE472/play

Story points: 5.0
Create reusable 'collapsible' component

- [ ] Create a reusable component that can expand out
- [ ] Allow for `<ng-content>` tags over input variables. Eg. don't use [title] but allow for html to be injected
- [ ] Basic spec tests

## Mockup

https://www.sketch.com/s/fa301655-276b-4d88-9247-9c61363c1eae/v/bM9zkz/a/agzbK0A/r/zzPW9e

Story points: 2.0
Create a variant of the homepage that is discovery

- [ ] Use the experiments directive
- [x] DO NOT redirect. Instead make the discovery content on the / page

Design https://www.sketch.com/s/fa301655-276b-4d88-9247-9c61363c1eae/a/9Pmxp5z/play

- [x] Remove tabs from top
- [x] Create bottom banner with dismissal logic
- [x] Modify sidebar where links that remain open in modal, but only some links show when not logged in (as in design).
- [x] It'd be good to build space for the build your algorithm section and maybe the components, but the backend is not ready - this will need to be hidden for release. 
= [ ] Scan https://gitlab.com/minds/front/-/issues/4887#discovery-mindscom

Story points: 1.0
Upgrade CKEditor

<!---
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

(Summarize the bug encountered concisely)

### Steps to reproduce

(How one can reproduce the issue - this is very important)

### Platform information 

(Browser, device, system stats, screen size)

### What is the current *bug* behavior?

(What actually happens)

### What is the expected *correct* behavior?

(What you should see instead)

### 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: 1.0
Change 2FA recovery code placeholder

<!---
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

Incorrectly says to enter a 6 digit code.

### Steps to reproduce

Login with a 2fa account and try to recover it.

### Platform information 

Web

### What is the current *bug* behavior?

Incorrectly says to enter a 6 digit code.

### What is the expected *correct* behavior?

Placeholder should probably just read "Enter your recovery code" or something similar.

### Relevant logs and/or screenshots

![image](/uploads/15193592e3dd8422e6b4ee0f32d3a0cc/image.png)

### Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Story points: 1.0
Address how boost impressions are currently being displayed

### Notes

* Currently the post boost rotator is displayed as the first item in the newsfeed
* Placing it in the first position could be deemed as somewhat intrusive, as the first item in the newsfeed should ideally be something known / useful.
* It is feared that moving the rotating boost feed down into second place could result in fewer impressions overall.
* The the above was indeed the case, how could we further increase the overall number of impressions throughout the UI.
* Channel boosts are displayed only in one place (newsfeed sidebar) where there tends to be none displayed, or too many displayed. Could we widen where boosted channels are displayed.
* Possible to widen where sidebar post boosts are displayed? Currently this appears really to be in only one place.


Original issue title (Switch boost rotator to second spot in feed)

Twitter does this 

![Screenshot_20210712-190711_Twitter](/uploads/5d8fe252d66d87076a114db03fb1b738/Screenshot_20210712-190711_Twitter.jpg)

Story points: 5.0
(bug) Boost | Tooltip text is missleading

Tooltips for token values are strange. I looked at tooltips I get from the token field, and they are strange.

## Token Tooltip
When value is smaller than 1:

![image](/uploads/4aef1de59d5c2008819f6c15a7fa3e13/image.png)

When value is floating point:

![image](/uploads/e136743c239069b3e4d0b1ee9a1855a3/image.png)

seems to be happening for all types of boost

## Views tooltip
A bit of less problem:
For less than 500 views, the tooltip is right ("you need to choose more or equal to 500")

If I put more than 5000 though, I get the red letter message it's too much, but tooltip disappears. (I noticed tooltip seems to disappear when the value is "correct"

Story points: 1.0
Incorrect currency shown in success modal after Transak purchase

<!---
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

[\@SpinFlight ](https://minds.com/SpinFlight/) reports

Value is hardcoded to "Minds tokens" - so if a user purchased ETH, the modal incorrectly tells them they purchased MINDS.

https://gitlab.com/minds/front/blob/afa6554acd816dddc8176b7ca8386a841f54ae6c/src/app/modules/blockchain/token-purchase/v2/order-received/order-received-modal.component.html#L7

### Steps to reproduce

Make order through Transak and buy ETH

### Platform information 

Probable to be platform-agnostic for web.

### What is the current *bug* behavior?

Incorrect currency shown

### What is the expected *correct* behavior?

Can we grab the currency purchased back from Transak? If we cannot we should remove the amount.

### Relevant logs and/or screenshots

![image](/uploads/d06aafe8806335ef134abcba4ee990b2/image.png)

### Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Story points: 1.0
Comment delete requires a refresh for erasure

### Summary

When you delete a comment from your own feed, the comment will not erase until it the page is refreshed. 

### Steps to reproduce

Delete a comment on your post and notice it will not erase until a refresh

### Platform information 

win10 / chrome

### What is the current *bug* behavior?

After you clock to delete conmment... nothing erases


### What is the expected *correct* behavior?

Comment should erase without refresh

### Relevant logs and/or screenshots


### Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Story points: 5.0
(bug): Notification for rejected boost offer missing a space and notification for rejected/accepted boost offer missing the word "token" after the token amount.

<!---
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

NOTE: Canary mode is turned on.

### Steps to reproduce

1. Send two boost offers to your secondary channel.
2. Log in to your secondary channel.
3. Accept one boost and reject the other.
4. Log back in to your primary account.
5. Click on the notifications button.

### Platform information 

Windows 10 / Chrome (Version 73.0.3683.86)

### What is the current *bug* behavior?

Notification for rejected boost offer missing a space and notification for rejected/accepted boost offer missing the word "token" after the token amount.

### What is the expected *correct* behavior?

There should be a space between "post" and "You" and it should say "token" after the token amount.

### Relevant logs and/or screenshots

![3](/uploads/71ac82e100c9faa65385f3e1c39de361/3.png)

### Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Story points: 1.0
(bug): The "Recurring Payments" page in settings doesn't list any recurring payments despite having currently active recurring payments.

<!---
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

NOTE: Canary mode is turned on.

### Steps to reproduce

1. Sign up for Minds Plus.
2. Go to Settings --> Recurring Payments.

### Platform information 

Windows 10 / Chrome (Version 73.0.3683.86)

### What is the current *bug* behavior?

The "Recurring Payments" page in settings doesn't list any recurring payments despite having currently active recurring payments.

### What is the expected *correct* behavior?

It should list all currently active recurring payments.

### 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: 5.0
(bug): There is a misspelled word on the "Deactivate Channel" page in settings.

<!---
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

It says "Your username will be reserved incase you return to Minds." It should say "Your username will be reserved in case you return to Minds."

NOTE: Canary mode is turned on.

### Steps to reproduce

1. Go to abbeyroad.minds.com/settings/disable

### Platform information 

Windows 10 / Chrome (Version 73.0.3683.86)

### What is the current *bug* behavior?

It says "Your username will be reserved incase you return to Minds."

### What is the expected *correct* behavior?

It should say "Your username will be reserved in case you return to Minds."

### Relevant logs and/or screenshots

![18](/uploads/ca4a5ccb916d727f5e104b100491084c/18.png)

### Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Story points: 1.0
(bug): Paywalls within blogs don't work.

<!---
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

It appears that the paywall is not working for blogs, when set within the blog posting screen its self. You can set the paywall and it will work if you do it by editing the post on your newsfeed however.

NOTE: Canary mode is turned on.

### Steps to reproduce
1. Create a new blog
2. Add a title, upload a banner image and type "test" in the content input field.
3. Click the "Paywall" button and put the blog behind a 1 token paywall.
4. Click "Publish".
5. Log out and log into a different account which has never wired tokens to the first account.
6. Go to the first users newsfeed
7. Observe the blog is not hidden behind a paywall

[original steps]
1. Create a new blog.
2. Add a title, upload a banner image and type "test" in the content input field.
3. Click the "Paywall" button and put the blog behind a 1 token paywall.
4. Click "Publish".
5. Log out and log into a different account which has never wired tokens to the first account.
6. Open the blog posted by the first account.
7. Click "Unlock".

### Platform information 

Windows 10 / Chrome (Version 73.0.3683.86)

### What is the current *bug* behavior?

Paywalls within blogs don't work. Users who have never wired tokens to you can unlock the paywall which can be set within a blog.

### What is the expected *correct* behavior?

Users who have never wired tokens to you should not be able to unlock the paywall which can be set within a blog.

### Relevant logs and/or screenshots

![image](https://imgur.com/vc5a2xn)
![image](/uploads/1a9dd00a1bc9c385d20b22da96d36175/image.png)

See on right hand side, the blog screen does show a paywall as having been set, on the left however on a fresh account the blog is still visible.
### Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Story points: 3.0
(bug): Retrospectively paywalled posts do not apply the paywall to attachements

<!---
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

The problem is they can access paywalled images, videos and blogs by simply clicking on the thumbnail in the gallery widget or by viewing the gallery and then clicking the thumbnail.

NOTE: Canary mode is turned on.

See for example on https://www.minds.com/bhayward
Image https://www.minds.com/media/977926766784184320 

### Steps to reproduce

1. Go to the channel for your primary account.
2. Click "Attach" and upload an image.
3. Click "Post".
4. Edit the post.
5. Put it behind a 1 token paywall.
6. Log out and log in to your secondary account.
7. Visit channel for your primary account.
8. Scroll down to the image gallery widget.
9. Click "View More".
10. Click on the thumbnail for the image.

### Platform information 

* Windows 10 / Chrome (Version 73.0.3683.86)
* replicated Manjaro / Chromium

### What is the current *bug* behavior?

When you post an image, video or blog and then put it behind a paywall, it is still visible in your image/video/blog gallery for other users.

### What is the expected *correct* behavior?

If you put an image/video/blog behind a paywall after you already posted it to your channel, it shouldn't be visible and accessible to users who do not meet the paywall threshold for that content. Either that or it should appear for other users but behind the paywall mask and I think both you and other users should be able to filter the image/video/blog gallery by paywalled content. Perhaps just add a button called "Exclusive Content" at the top of each gallery.

### Relevant logs and/or screenshots

![image](/uploads/474f2ed5ec596e8b57bcab4357dd61cc/image.png)
![image](/uploads/8b25587b42fbd3a08a924d939210b139/image.png)

##### Video
https://imgur.com/yRzqylz

### Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Story points: 2.0
(bug): When you put an image, video or blog behind a paywall, it doesn't appear in your image/video/blog gallery when viewing your own channel.

<!---
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

When viewing your own channel.

NOTE: Canary mode is turned on.

### Steps to reproduce

1. Go to your channel.
2. Click "Attach" and upload an image.
3. Put it behind a 1 token paywall.
4. Click "Post".
5. Refresh the page.
6. Scroll down to your image gallery widget.
7. Click "View More".

### Platform information 

Windows 10 / Chrome (Version 73.0.3683.86)

### What is the current *bug* behavior?

When you put an image, video or blog behind a paywall, it doesn't appear in your image/video/blog gallery when viewing your own channel.

### What is the expected *correct* behavior?

When you put an image, video or blog behind a paywall, it should appear in your image/video/blog gallery when viewing your own channel. I think it should also appear for other users but behind the paywall mask and I think both you and other users should be able to filter the image/video/blog gallery by paywalled content. Perhaps just add a button called "Exclusive Content" at the top of each gallery.

### Relevant logs and/or screenshots

https://imgur.com/O5HKViJ

### Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Story points: 5.0
(bug): Sending an OnChain token to a user doesn't cause the "YOU SENT" count to increase.

<!---
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

NOTE: Canary mode is turned on.

### Steps to reproduce

1. Visit a user's channel, one who has already created an OnChain wallet.
1. Send one OnChain token to this user.
2. Refresh the page.

### Platform information 

Windows 10 / Chrome (Version 73.0.3683.86)

### What is the current *bug* behavior?

Sending an OnChain token to a user doesn't cause the "YOU SENT" count to increase.

### What is the expected *correct* behavior?

Sending an OnChain token to a user should cause the "YOU SENT" count to increase and shouldn't require the page to be refreshed. This is how OffChain wires work.

### Relevant logs and/or screenshots

https://imgur.com/QybxHym

### Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Story points: 2.0
(chore): Legacy 'Top' links should redirect to /Discovery

<!---
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 think this is because Discovery was updated and the old top image/video/blog feeds are no longer being used.

NOTE: Same issue with my video gallery and blog gallery.

NOTE: Canary mode is turned on.

### Steps to reproduce

1. Go to your channel.
2. Click "View More" in the Images widget.
3. Click "Top".
4. Click the gear box at the top right.

### Platform information 

Windows 10 / Chrome (Version 73.0.3683.86)

### What is the current *bug* behavior?

The gear icon on the top images page (accessed from the image gallery) lists no options in its drop down menu.

### What is the expected *correct* behavior?

It should either list some options in its drop down menu or this button shouldn't be there.

### Relevant logs and/or screenshots

https://imgur.com/Be9nlC1

### Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Story points: 2.0
(bug): When selecting hashtags for your channel from the existing ones it jumps to the bottom of the list.

<!---
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

This might confuse users and it prevents them from quickly selecting a bunch of hashtags. They have to scroll back up each time.

NOTE: This would likely only be a problem for users who have already selected a bunch of custom hashtags in their settings.

NOTE: Canary mode is turned on.

### Steps to reproduce

1. Visit your channel.
2. Click the edit button.
3. Click the "Hashtags" button.
4. Click on a hashtag.

### Platform information 

Windows 10 / Chrome (Version 73.0.3683.86)

### What is the current *bug* behavior?

When selecting hashtags for your channel from the existing ones it jumps to the bottom of the list.

### What is the expected *correct* behavior?

It shouldn't jump to the bottom of the list.

### Relevant logs and/or screenshots

https://imgur.com/CjHsz2B

### Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Story points: 3.0
(chore): Remove plus from Wallet Transactions contracts dropdown

<!---
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

The transactions for Plus appear under Offchain Wire only.

NOTE: Canary mode is turned on.

### Steps to reproduce

1. Sign up for Minds Plus at abbeyroad.minds.com/plus
2. Go to abbeyroad.minds.com/wallet/tokens/transactions
3. Click "Contracts" and then click "Plus".

### Platform information 

Windows 10 / Chrome (Version 73.0.3683.86)

### What is the current *bug* behavior?

When searching for All Addresses --> Plus on the Transactions page, no transactions load despite having paid for plus multiple times.

### What is the expected *correct* behavior?

It should list all transactions for when Minds Plus was purchased within the date range.

### Relevant logs and/or screenshots

https://imgur.com/Qi0iKtf

### Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Story points: 1.0
(bug): There is a misspelled word in the offchain address tooltip on the wallet page.

<!---
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

It says "These transaction will not appear on the blockchain." It should be "These transactions..."

NOTE: Canary mode is turned on.

### Steps to reproduce

1. Click on the "Wallet" tab in the navigation bar.
2. Hover over the question mark next to "OffChain Address" in the sidebar.

### Platform information 

Windows 10 / Chrome (Version 73.0.3683.86)

### What is the current *bug* behavior?

It says "These transaction will not appear on the blockchain."

### What is the expected *correct* behavior?

It should say "These transactions..."

### Relevant logs and/or screenshots

![12](/uploads/30e488994de8535a023c9d04a1ab6314/12.png)

### Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Story points: 1.0