Commit graph

177 commits

Author SHA1 Message Date
Ankush Menat
fa6dc03cc8
refactor: frappe.cache() usage to frappe.cache (#21282) 2023-06-08 11:47:17 +05:30
Shariq Ansari
d08b0fa477 fix: allow custom html block based on roles applied
if roles table is empty it will allow access
2023-05-17 17:39:08 +05:30
Shariq Ansari
001425f71b fix: backend to create workspace custom block and update workspace 2023-05-17 14:59:19 +05:30
Ankush Menat
cbbb6a7d85 chore: track onboarding progress
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.
2023-05-05 12:54:14 +05:30
Shariq Ansari
41d43b2a06 fix: allow url type shortcut 2023-04-19 23:17:23 +05:30
Shariq Ansari
d46ff2ed24 fix: include number_card in cleanup logic 2023-02-28 13:41:21 +05:30
Shariq Ansari
8780503191 chore: code reformatting 2023-02-28 10:49:17 +05:30
Rohan Bansal
2af64893a3 feat: allow number cards in workspaces 2023-02-17 14:44:54 +05:30
Shariq Ansari
97a57f7105 feat: hide/unhide workspace from sidebar 2023-01-09 17:51:25 +05:30
Rucha Mahabal
14a84793a8
fix: Show quick list only if user has access (#18102) 2022-09-13 16:09:33 +05:30
Ankush Menat
2eec621e95 chore: db.get_all -> get_all
Reduces 1 pointless function call.
Function calls are also not "super cheap" in python.
2022-08-22 11:35:14 +05:30
Nabin Hait
53c22b0493 feat: Enable mentions and notify users from any text field 2022-07-22 15:26:37 +05:30
Ankush Menat
81b37cb7d2
refactor: clean up code to py310 supported features (#17367)
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
2022-07-01 11:51:05 +05:30
Shariq Ansari
78489cd700
feat: Quick List Block for Workspace (#16887) 2022-05-13 15:34:35 +05:30
Rushabh Mehta
6e6fe9521e fix(linting): no single quotes :'| 2022-04-18 17:29:03 +05:30
Rushabh Mehta
57a55e4225 feat(minor): Add document reference to Error Log and doc.log_error 2022-04-18 17:29:03 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black (#16453)
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
Shariq Ansari
3dfd2f2174 fix: removed is_page_allowed method while getting sidebar items (method is useless) 2022-01-24 14:18:29 +05:30
Shariq Ansari
4c994aeca2 fix: updated code to make workspace responsive 2022-01-24 10:50:37 +05:30
Shariq Ansari
b85d5bd483 chore: renamed wspace to workspace 2022-01-12 16:21:14 +05:30
Shariq Ansari
db3870151a fix: Workspace Sidebar, Edit, New Page Fixes
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
2022-01-04 15:35:57 +05:30
Shariq Ansari
5d00602f06 fix: Removing unused code for worspace 2021-09-20 21:27:14 +05:30
Gavin D'souza
3446026555 chore: Update header: license.txt => LICENSE
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.
2021-09-03 12:02:59 +05:30
shariquerik
013f1f471d fix: Switch Public-Private, Change Customize to Edit, Add Settings button to redirect to workspace document 2021-08-17 11:11:15 +05:30
shariquerik
84f195ca19 fix: Resolved Conflicts 2021-08-03 17:53:14 +05:30
shariquerik
8739b5e3ad fix: Added Onboarding Block 2021-07-20 16:33:13 +05:30
shariquerik
4a05697cfe fix: Role based access to workspace 2021-07-19 11:04:12 +05:30
mergify[bot]
d8c4ad379c
Merge pull request #13488 from shariquerik/custom-report-link-fix
fix: Invalid Custom Report link on Workspace
2021-07-12 12:10:08 +00:00
shariquerik
098005b305 fix: minor fix 2021-07-08 16:52:51 +05:30
Shariq Ansari
29616c080e
Merge branch 'develop' into wiki-based-desk 2021-07-06 22:38:59 +05:30
shariquerik
afe1dbe0f8 fix: Workspace 2.0 2021-07-06 22:05:37 +05:30
leela
b7fb1d475e fix: workspace loading error
Workspace loads to fail if there are no links in any extended workspaces.
2021-06-26 09:43:34 +05:30
Shariq Ansari
c7ee966acc
Merge branch 'develop' into wiki-based-desk 2021-06-22 18:17:47 +05:30
shariquerik
b124fb0fcf fix: Invalid Custom Report link on Workspace 2021-06-14 11:58:37 +05:30
shariquerik
769fadac0f fix: Multiple Workspace creation fix 2021-06-09 21:43:37 +05:30
shariquerik
a8a813623b fix: updating workspace of public page fix 2021-06-09 18:12:44 +05:30
shariquerik
afd44ea349 fix: sider fix 2021-06-09 13:42:07 +05:30
shariquerik
32eb4f7c22 fix: Public & Private Pages 2021-06-07 12:39:05 +05:30
shariquerik
c36f0631ee fix: User based Wiki Pages fix 2021-06-02 16:52:00 +05:30
shariquerik
915f778538 fix: minor fix 2021-06-02 15:15:54 +05:30
shariquerik
6596dd612f fix: User based Wiki Pages 2021-06-01 20:33:04 +05:30
Gavin D'souza
e407b78506 chore: Drop dead and deprecated code
* 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
2021-05-26 15:31:29 +05:30
Shariq Ansari
8165961343
Merge branch 'develop' into wiki-based-desk 2021-05-25 21:20:06 +05:30
shariquerik
aa0151ce74 fix: Drag, Delete sidebar page 2021-05-19 16:28:40 +05:30
shariquerik
c6c2eeed72 fix: Add, Edit & Delete Chart 2021-05-18 17:54:42 +05:30
shariquerik
ca89fa6a32 fix: Edit & Delete Card 2021-05-18 14:31:34 +05:30
shariquerik
e07fb1f736 fix: Edit Shortcut 2021-05-17 15:50:39 +05:30
shariquerik
80db1a715a fix: Add New Card 2021-05-12 13:23:47 +05:30
shariquerik
4b7a1488b5 fix: Add New Shortcut 2021-05-11 17:35:59 +05:30
nikhilponnuru
cd4fff5daf fix: Workspace not found error that happens when a workspace which was deleted when still in use and hence won't let the user to use the desk page 2021-05-07 00:44:02 +05:30