[core#8535] Pro rate limit upsell #1962
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Relevant issue(s)
mysociety/alaveteli#8535
What does this do?
Adds Pro rate limited upsell
Why was this needed?
Converting non-pro users into subscribers.
Implementation notes
3 different versions to choose from. Eventually this will be move to core view and the style that are embedded moved to the core stylesheets.
Notes to reviewer
@lucascumsille do you have any thoughts on the design of these and the options proposed? There maybe better ways of doing the styles too?
Screenshots
V1:![image](https://private-user-images.githubusercontent.com/5426/409529651-e187412e-ad4a-48f1-88f3-7bd59c1ca894.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MzA5NzcsIm5iZiI6MTczODkzMDY3NywicGF0aCI6Ii81NDI2LzQwOTUyOTY1MS1lMTg3NDEyZS1hZDRhLTQ4ZjEtODhmMy03YmQ1OWMxY2E4OTQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMTIxNzU3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjQ1YjkwZWQzMjAwNmVhMTI0ZmM0NWFiMzU1ZmU3MGFmYzZiOGI3ZTE5NDMyMGMzY2NhMjVkNWViMTA4ZWY5ZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.pqR1y7CUB8lseoPPBIDJDpCg8uoCEQubtRi8scVzwZ0)
![image](https://private-user-images.githubusercontent.com/5426/409529782-df9381d8-4fe1-41c5-ac9d-8592876b596f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MzA5NzcsIm5iZiI6MTczODkzMDY3NywicGF0aCI6Ii81NDI2LzQwOTUyOTc4Mi1kZjkzODFkOC00ZmUxLTQxYzUtYWM5ZC04NTkyODc2YjU5NmYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMTIxNzU3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YzdiYTc1OGRjNmM5YzE0NjdjYWY4ODdmMzVhY2U5ZDMxZjRlYTlmODhhYjJlN2U5MTdhODdhYWMwOWFjM2EyNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.dLf2R9BQRbtDYIIMpFdIE366aRmwPfm3nkhIFiUlnQg)
![image](https://private-user-images.githubusercontent.com/5426/409529886-d921f27f-5cd7-415a-80ff-2c1690cebed8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImt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