Skip to content

Commit

Permalink
feat: Newsletter subscription for new and old users (#2511)
Browse files Browse the repository at this point in the history
* Update LS version

* Signup

* Rename

* More

* Add heidi

* Add newsletters to base.html

* Support null

* Working

* Notify user about subscription in settings

Show blue dot and add call to action to avatar and dropdown menu

* Also add blue dot to this new menu item

* Show only for null, don't show on account page

* Fixes

* Fixes

* More fixes

Co-authored-by: hlomzik <hlomzik@gmail.com>
  • Loading branch information
makseq and hlomzik committed Jun 15, 2022
1 parent 53211d2 commit 12e091e
Show file tree
Hide file tree
Showing 20 changed files with 178 additions and 111,721 deletions.
2 changes: 1 addition & 1 deletion label_studio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
package_name = 'label-studio'

# Package version
__version__ = '1.5.0rc3'
__version__ = '1.5.0rc5'

# pypi info
__latest_version__ = None
Expand Down
2 changes: 1 addition & 1 deletion label_studio/core/static/css/users.css
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ button.blinking-status.blink::after {
}


#organization table td {
.block-info table td {
font-size: 100%;
padding: 5px 0;
}
Binary file added label_studio/core/static/images/heidi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions label_studio/core/utils/contextlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def create_payload(self, request, response, body):
'method': request.method,
'values': request.GET.dict(),
'json': body,
'advanced_json': request.advanced_json if hasattr(request, 'advanced_json') else None,
'language': request.LANGUAGE_CODE,
'content_type': request.content_type,
'content_length': int(request.environ.get('CONTENT_LENGTH')) if request.environ.get('CONTENT_LENGTH') else None,
Expand Down
107,743 changes: 2 additions & 107,741 deletions label_studio/frontend/dist/react-app/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion label_studio/frontend/dist/react-app/index.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 12e091e

Please sign in to comment.