Skip to content

Add attention banner - #311

Merged
wonder-sk merged 2 commits into
masterfrom
attention-banner
Nov 17, 2021
Merged

Add attention banner#311
wonder-sk merged 2 commits into
masterfrom
attention-banner

Conversation

@tomasMizera

Copy link
Copy Markdown
Contributor

PR REQUIRES NEW VERSION OF MERGIN_PY_CLIENT!

This PR adds action required banner to plugin.

/v1/user/service endpoint is used to find out if the banner should be visible based on action_required key. API call has been added to mergin py client.

Banner is shown inside Qgis message bar as error message without timer. It is shown each time user logs in or starts QGIS while being logged in automatically.

Screenshots:

image (1)

image (2)

Note: latter message grammar errors will be fixed on Mergin side

Comment thread Mergin/plugin.py
Comment thread Mergin/plugin.py Outdated
Comment thread Mergin/plugin.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Action required banner

3 participants