Easy self-onboarding has been hardest to get right in complex business
apps, even though we have worked on this for long long time we have no
clear idea on how well it works, or if it's severly lacking.
We want to improve this by first understanding how efficient current
system is.
This PR adds basic telemetry for which steps are being completed, which
are skipped and what onboarding group is dismissed completely.
refactor: clean up code to py39+ supported syntax
- f-strings instead of format
- latest typing support instead of pre 3.9 TitleCase
- remove UTF-8 declarations.
- many more changes
Powered by https://github.com/asottile/pyupgrade/ + manual cleanups
Bugs:
- Clicking on + button multiple time opens multiple block list
- Resizing Onboarding block breaks design
- In edit mode links should not be clickable
- While creating new page we cannot revisit it from sidebar
- While adding multiple links in card getting error
Refactor:
- All Sidebar actions happens while you do it, no need to click Save Customization button
- Updating Sidebar, Creating New Page, Duplicating every action is much faster
- Most of the actions are happening in background while rending page using cached data
The license.txt file has been replaced with LICENSE for quite a while
now. INAL but it didn't seem accurate to say "hey, checkout license.txt
although there's no such file". Apart from this, there were
inconsistencies in the headers altogether...this change brings
consistency.
* Remove six for PY2 compatability since our dependencies are not, PY2
is legacy.
* Removed usages of utils from future/past libraries since they are
deprecated. This includes 'from __future__ ...' and 'from past...'
statements.
* Removed compatibility imports for PY2, switched from six imports to
standard library imports.
* Removed utils code blocks that handle operations depending on PY2/3
versions.
* Removed 'from __future__ ...' lines from templates/code generators
* Used PY3 syntaxes in place of PY2 compatible blocks. eg: metaclass