Commit graph

14 commits

Author SHA1 Message Date
Suhail
e51af704cd
fix(billing): better check for setup_complete (#33475)
Earlier we used to have 1 or 0, but now it returns `true` or `false`. Changing the code so that it can support both cases.
2025-07-29 06:49:42 +00:00
Suhail
3cd9b577e2
fix(fc-billing): switch manage billing to a button instead of div (#32248) 2025-04-22 11:43:59 +00:00
Suhail
5886234b53
refactor: sign up flow changes (#31205)
* fix: logout to site login page if the site is on Frappe Cloud

* fix: check if the site user is logged in before rendering trial banner

* fix: show dropdown even if the site is not on trial plan

* refactor: don't expose communication secret in boot

* feat: show install app button for fc sites

* fix: remove auth from desk

we can simplify it and let user do auth in fc

* fix: install app button condition

* refactor: use `is_fc_site` method

* fix: return boolean value for `is_fc_site` function

* fix: add install app button in /apps page

* fix: don't generate otp for login to fc

* fix: remove install app option from desk

* fix: design changes for trial banner

* fix: add more details to the `current_site_info` endpoint

also don't render trial banner if trial end date is passed

* fix: don't route user to welcome page

always put them on the site's dashboard

* fix: override base_url when needed

also remove misleading class

* fix: show banner to normal user to contact system admin for plan upgrade

* refactor: redirect from /login instead of every /logout code

* fix: rename login to fc to manage billing

also move it above the divider

* refactor: separate out site-login url from login.py
2025-03-03 16:36:15 +00:00
Bread Genie
fb8731e10c fix: add horizontal padding to banner 2025-01-30 18:52:38 +05:30
Bread Genie
278e0e954b refactor: remove and change fc billing endpoints to accomodate new signup changes
- also make relevant changes in billing.bundle.js
2025-01-30 18:47:12 +05:30
Bread Genie
0e61d4e84e fix: don't add login to fc option in dropdown
for now
2025-01-15 12:53:13 +05:30
Bread Genie
94c24c77a3 fix: formatting and semgrep errors 2024-12-13 13:28:57 +05:30
Bread Genie
bf97db2de9 refactor: remove billing pages and navigate user to Frappe Cloud directly 2024-12-13 13:13:12 +05:30
Shariq Ansari
67decb2323 style: changed upgrade button color 2024-11-18 16:00:26 +05:30
Shariq Ansari
14cca922b8 fix: empty state for card listview 2024-11-18 12:44:18 +05:30
Shariq Ansari
23883096cf fix: changed upgrade button variant to outline in desk trial banner 2024-11-16 16:13:25 +05:30
Shariq Ansari
eb55ff194a fix: removed TrialBanner component and used css variables instead of hard coded values 2024-11-15 18:24:52 +05:30
Shariq Ansari
5bfc2e7f58 refactor: trial banner class naming 2024-11-15 16:46:44 +05:30
Shariq Ansari
1001f1fe0e fix: added trial banner in desk 2024-11-15 16:09:17 +05:30