Commit Graph

55 Commits

Author SHA1 Message Date
Prateek Shourya
95ca90c569 chore: update billing page UI/ UX for offline payments. (#1503) 2024-10-21 17:49:20 +05:30
Akshita Goyal
159ca21249 [WEB-2380] Chore: Cycle graphs updated (#1198)
* chore: graph based on dummy data

* fix: progress donut

* feat: created new cycle analytics

* wip: dropdowns

* chore: migration changes

* chore: changed the calculation of cycle analytics

* fix: integrational changes

* fix: reference line for today

* fix: code cleaning

* fix: added loaders

* fix: type removed

* chore: sidebar width and spacing improvement

* chore: sidebar improvement

* fix: handled empty state

* chore: cycle sidebar graph

* chore: live update on cycle analytics

* chore: removed the unused variable

* fix: chart minor issues

* chore: cycle sidebar graph improvement

* fix: chart minor bugs

* fix: code-splitting for active cycles

* fix: routing with dynamic import

* fix: peekoverview

* fix: responsiveness

* fix: handled run time updates in cycle chart

* fix: feature flagging for sidebar

* fix: added scope delta + fixed sidebar dropdown

* fix: sidebar chart

* fix: build errors

* fix: cycle store ee added

* fix: cycle chart update api

* fix: removed custom date time functions

* fix: ideal line formula updated

* fix: feature flagging condition

* fix: build errors

* fix: chart label

* chore: moved the migraion to ee

* chore: removed the unused variable

* fix: sentry error sample rate updated

* fix: cycles import issues for ee (#5732) (#1312)

Co-authored-by: Akshita Goyal <36129505+gakshita@users.noreply.github.com>
Co-authored-by: Satish Gandham <satish.iitg@gmail.com>

* fix: cycle api formatting for v1 data

* chore: bulk estimate changes

* chore: update reaction changes

* chore: cycle sidebar improvement

* fix: cycle graph build bugs (#1327)

* fix: build error

* chore: import order and unused variable refactor

* chore: update reaction changes

* fix: data formatting for v1 and v2

* fix: lint errors

* [WEB-2108] chore: 12 users restriction for cloud users. (#1330)

* [WEB-2108] chore: 12 users restriction for cloud users.

* chore: update total_seats count.

* fix:props for active cycle root component

* fix: removed dependency from root package.json

* fix: chart minor fixes

* fix: minor code fixes

* chore: comments listing

* fix: handled no data state

* fix: removed hardcoded version

* fix: order fixed

* fix: added comments

* chore: code splitting and refactoring

* chore: removed the unqiue constraint

* fix: minor css issues + swr fixed + chart data

* fix: ideal formula fixed

* fix: added version while creating a cycle

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: Anmol Singh Bhatia <anmolsinghbhatia@plane.so>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
Co-authored-by: pushya22 <130810100+pushya22@users.noreply.github.com>
Co-authored-by: Plane Bot <146718762+plane-bot@users.noreply.github.com>
Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
Co-authored-by: Pushya Mitra Thiruvooru <pushya@Pushyas-MacBook-Pro.local>
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
2024-10-08 20:03:42 +05:30
Prateek Shourya
ad09cbff11 [WEB-2108] chore: 12 users restriction for cloud users. (#1330)
* [WEB-2108] chore: 12 users restriction for cloud users.

* chore: update total_seats count.
2024-10-04 19:59:08 +05:30
Prateek Shourya
9ef5b73c81 [WEB-2524] feat: license sync and deactivation (#1245)
* feat: added manual sync handler for license refetch

* chore: add workspace license refresh endpoint

* chore: license sync request endpoint

* feat: added delink route inside monitor

* feat: added license delink route for delinking license

* chore: license delink endpoint

* feat: added delink route

* chore: license deactivation

* chore: license sync and deactivation for self managed users.

* chore: license sync and deactivation changes

* feat: handle case for free workspace

* chore: UI and UX updates.

* style: minor UI improvement.

---------

Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-10-03 17:28:18 +05:30
Prateek Shourya
3e134f97eb [WEB-2489] fix: overlapping issues for trial banner (#1178) (#1240)
* fix overplaping issues for trial banner

* fix css

Co-authored-by: Ketan Sharma <sharma01ketan@gmail.com>
2024-09-23 17:11:43 +05:30
Prateek Shourya
9e0c1ddd3a [WEB-2522] fix: application crashing error when visiting invite page from a workspace with trial banner. (#1238) 2024-09-23 16:50:51 +05:30
Henit Chobisa
8786675b3c feat: added prices and plans endpoint inside monitor, and prime ecosystem (#1146)
* feat: added endpoint for retrieving plans

* feat: added routes for retrieving and generating payment link

* chore: self-hosted upgrade.

* chore: self-hosted one upgrade.

* chore: product and payment link generation

* chore: count workspace members

* chore: activation modal.

* chore: self managed instance workspace upgrade modal.

* chore: billable members.

* chore: remove changelogs redirection from workspace pages header.

* chore: update seat count logic

* fix: exit process if monitor fails to decrypt feature flags

* chore: added docker compose rule to restart the monitor container for only 5 attempts

---------

Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-09-17 13:03:54 +05:30
Prateek Shourya
57542cdada [WEB-2112 | WEB-2113 | WEB-2395] dev: billing and product updates. (#1130)
* chore: add current period start date

* chore: is trial ended

* chore: Billing page and Product updates.

* fix: seat purchase

* chore: self-hosted `env` updates.

* fix: lint error.

* fix: bugfixes in types package

* fix: build errors.

* chore: update yarn.lock file.

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2024-09-16 19:12:58 +05:30
Prateek Shourya
095eddb368 fix: lint errors across enterprise repo. (#1053)
* fix: lint errors across enterprise repo.

* fix: lint errors in seats banner.

* fix: build error in auto close automation.

* fix: more lint errors
2024-09-12 18:23:42 +05:30
Anmol Singh Bhatia
ee5b0f8d9b fix: build error 2024-09-11 19:08:45 +05:30
Prateek Shourya
80cb440509 [WEB-2396] chore: selfhost licensing improvements. (#1067)
* style: fix plane one billing page.

* chore: subscription update endpoint

* chore: manage current plan seats and workspace activation improvement.

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-09-07 14:30:58 +05:30
guru_sainath
b4811d8547 chore: UI and member count validation in free plan member banner in workspace settings (#1063) 2024-09-06 19:34:12 +05:30
guru_sainath
c59b6e4ba2 chore: free plan validation on workspace settings (#1061) 2024-09-06 19:09:01 +05:30
Prateek Shourya
c001e15edd [WEB-2376 | WEB-2396 | WEB-2387] dev: plane self hosted updates. (#1050)
* [WEB-2376] chore: workspace activation logic update.

* [WEB-2396] chore: fix upgrade button for self hosted users and update pro features upgrade CTA.

* [WEB-2396] chore: Plane selfhosted billing page.

* chore: update plane one changelog.

* [WEB-2387] chore: add seats validation.

* [WEB-2387] chore: member invitation validation for selfhosted pro plan.

* chore: update purchased seats.

* fix: member restriction

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-09-06 14:19:52 +05:30
Prateek Shourya
b3cd35c2ec [WEB-2384] chore: current plan badge UI improvement. (#1039) 2024-09-05 16:18:48 +05:30
Prateek Shourya
b50cbb2c71 fix: build error. (#1028) 2024-09-03 19:51:37 +05:30
Prateek Shourya
437535a9a6 dev: merge payment endpoint. (#1023)
* fix: payment link endpoint

* fix: trial remaining days

* chore: merge payment endpoint and code cleanup.

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-09-03 17:38:07 +05:30
Prateek Shourya
bf4aa53816 dev: current plan logic update (#1020)
* dev: update current plan apis

* fix: is_on_trial logic.

* chore: payment flow logic update.

* chore: workspace license refetch on process

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-09-03 15:44:29 +05:30
Prateek Shourya
8fdb2c4e52 fix: paid plan trial logic. (#1015) 2024-09-02 23:46:02 +05:30
Prateek Shourya
d86b2a8fe1 [WEB-2368] chore: allow default issue type update. (#1013)
* chore: alert before enabling issue type.

* [WEB-2368] chore: allow default issue type update.
2024-09-02 21:28:33 +05:30
Ketan Sharma
30bc285204 add negative check (#997) 2024-08-30 17:10:30 +05:30
Nikhil
ea5e249157 dev: primev2 (#962)
* dev: new license activation workflow for one and pro users  (#739)

* feat: added feature flag package for decrypting and refreshing the feature flags value

* feat: added feature flagging route for route handlers

* feat: added feature flag worker for managing and distributing feature flags

* feat: implemented feature flag api implementation inside ff handler

* feat: added exponential retry interval inside feature flagging

* fix: route pattern of feature flag endpoint from monitor

* feat: created endpoint to activate workspace from monitor

* feat: made changes to accomodate db and activate endpoint

* dev: update multi tenant environment settings

* dev: workspace license activation flow

* dev: update license activate endpoint

* dev: update workspace license activate endpoint

* feat: added feature flag user sync logic

* feat: added constants and sync logic with private key inside

* feat: added port as env variable

* feat: added modification for removing license key in healthcheck

* feat: example env pushed

* fix: update monitor endpoints and license activation function

* dev: initiate free workspace only for self hosted instances

* dev: self hosting license endpoint updates

* dev: remove monitor db

* dev: update handlers

* dev: self hosted license subscription web

* dev: removed computed in self hosted subscription

* fix: prime server url and delete old license while creating new license in sqlite

* chore: subscription activation alert after successfull activation.

* dev: update feature flag endpoints

* fix: handled several cases of feature flags

* fix: linting errors

* dev: update monitor to handle workspace activation

* dev: update decryption algorithm

* feat: separated activation payload with the sync payload

* dev: update feature flags endpoint

* dev: change type for workspace sync

* feat: added isActive flag for user activation

* feat: removed creation of free users in monitor

* feat: added method for workspace product

* dev: add user email in types

* feat: added method for workspace product

* fix: uer license feature flag fetch

* fix: handler fixed for feature key

* chore: self managed license activation

* chore: update validation license flow.

* chore: license activation success.

* dev: resync workspace license on activation

* chore: plane one success modal.

* feat: added constructs to inject private key build time

* feat: updated the docker file with private key build argument

* feat: added consumption od DEFAULT_PRIVATE_KEY when building monitor

* dev: update private key

---------

Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
Co-authored-by: gurusainath <gurusainath007@gmail.com>
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>

* fix: prime workflow fix for private key generation

* dev: remove license check and update release notes

* fix: build args for build ci (#916)

* fix: GitHub ci build for monitor (#919)

* fix: errors in github ci

* fix: added base 64 private key

* fix: instance register script

* fixed monitor for CGO startup failure (#923)

* chore: current plan api and server base urls

* fix: monitor startup failure

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>

* fix: monitor feature flagging (#926)

* feat: added startup flag handler inside monitor (#927)

* feat: added logs for debugging (#929)

* fix: parsing of private key with base64 (#932)

* fix: private key parsing for monitor (#934)

* fix: throw error if private key is not parsable

* fix: printing private key

* fix: added print of private key in handler

* feat: optimized build for monitor

* feat: removed debug statements

* feat: added volume for compose

* fix: monitor build issues (#935)

* fix: success modal fix for self hosted users. (#928)

* feat: Added refresh worker job inside monitor for refreshing licenses (#937)

* dev: add instance validation endpoints

* feat: added startup refresh handler for getting new licenses

* feat: updated title

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>

* chore: clear workspace license on restart (#939)

* fix: product check endpoint for license creation (#941)

* feat: added constraints for db models in monitor (#946)

* feat: added constraints for db models in monitor

* feat: updated constraints

* fix: model constraint for db (#948)

* fix: one users need to be active for sync (#950)

* fix: one users need to be active for sync

* fix: added isolation for files for handlers

* fix: workspace offline activation for syncing users

* fix: update license over syncing in monitor (#954)

---------

Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
Co-authored-by: gurusainath <gurusainath007@gmail.com>
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
Co-authored-by: pushya22 <130810100+pushya22@users.noreply.github.com>
2024-08-27 19:22:27 +05:30
Aaryan Khandelwal
7438fd680c fix: pages app layout height (#925) 2024-08-26 11:40:17 +05:30
Prateek Shourya
8d82f33905 [WEB-1185] fix: minor improvements and disable PI AI (#878)
* chore: minor issue types improvements.

* chore: disable PI AI.

* chore: remove renew data for offline paymenets.
2024-08-20 15:53:21 +05:30
Nikhil
0f9cb41a85 fix: license sync endpoint (#866)
* dev: update licence subscription sync

* fix: refresh interval on workspace license

* chore: display trial end date on billing page.

---------

Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
2024-08-19 16:09:14 +05:30
Prateek Shourya
99ee309e6a fix: list products enpoint not being called. (#864) 2024-08-19 14:19:57 +05:30
Nikhil
bb7dbc6900 fix: current plan api and return subscription id (#860)
* fix: workspace current plan endpoint

* dev: return workspace license

* dev: add subscription details in user workspace website endpoint

* chore: handled validation for subscription

---------

Co-authored-by: gurusainath <gurusainath007@gmail.com>
2024-08-19 10:37:31 +05:30
guru_sainath
d7d84535b1 chore: pricing and trial upgrade in cloud (#842)
* fix: updated payment validation for pro-cloud

* fix: removed logs

* fix: ui and calculated pricing on the button

* dev: trial upgrades

* chore: fix workspace licenses

* chore: upgrade free trial subscriptions

* fix: updated and handled pro and trial for pro workspaces list

* chore: handled offline payment in pro cloud workspaces

* chore: handled offline payment in cloud badge

* chore: updated the offline_payment logic

* fix: error messages

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-08-16 13:19:13 +05:30
guru_sainath
6d8649fdbf chore: trial subscription endpoint update (#839)
* fix: updated trial subscription endpoint

* chore: trial subscription

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-08-14 21:31:40 +05:30
sriram veeraghanta
3796766487 fix: upgrade disco calculation 2024-08-14 20:51:45 +05:30
guru_sainath
782eac875d chore: resolved function call in pricing (#837) 2024-08-14 20:19:46 +05:30
guru_sainath
c87b35d65d chore: updated pricing validation for yearly and typo on cloud badge (#836)
* chore: updated pricing validation for yearly and typo on cloud badge

* fix: updated pricing in the request payload
2024-08-14 20:10:29 +05:30
Nikhil
89deba4591 Chore workspace license trial (#834)
* chore: workspace trial and payment method subscription

* dev: updated trial validation

* dev: payment button validation

* chore: updated typo

* chore: removed logs

---------

Co-authored-by: gurusainath <gurusainath007@gmail.com>
2024-08-14 19:29:05 +05:30
guru_sainath
6928724a0b chore: fetching feature flags and current plan parallel once the trial subscription is success (#824)
* chore: fetching feature flags once the trial subscription is success

* chore: Updated text and calculated pricing based on pricing
2024-08-14 12:39:51 +05:30
Nikhil
8241bf7c42 chore: free trial (#821)
* chore: free trail subscription

* fix: slug remove from the data and convert uuid to string for members_list

* chore: implemented free trail in subscription

* chore: handled error and success modal

* chore: pro plan loader and error handling

---------

Co-authored-by: gurusainath <gurusainath007@gmail.com>
2024-08-13 18:57:17 +05:30
Anmol Singh Bhatia
36a5ad6833 feat pricing changes (#819)
* chore: current plan is_offline_payment added

* chore: upgrade flow improvement
2024-08-13 15:46:53 +05:30
Nikhil
cef277a9c9 chore: workspace license model and comment out the validation logic (#813)
* chore: workspace license model and comment out the validation logic

* dev: save free seats

* dev: remove prints
2024-08-12 23:08:32 +05:30
Prateek Shourya
0106a3672c fix: cursor for paid plan success modal. 2024-08-06 15:36:26 +05:30
Prateek Shourya
1d5d491791 chore: update plane logo in pro success modal. (#757) 2024-08-06 00:17:19 +05:30
Prateek Shourya
d89b317926 chore: remove upgrade to pro yearly logic. (#744) 2024-08-04 19:34:02 +05:30
Prateek Shourya
1daa9fd3b2 chore: remove disco base url from products api. (#725) 2024-07-30 20:37:22 +05:30
Prateek Shourya
f1e9ed96de [WEB-1960] chore: update upgrade to paid plans flow. (#671)
* dev: workspace price upgrade endpoint

* [WEB-1960] chore: update `upgrade to paid plans` flow.

* chore: delete workspace and cancel subscription UX copy updates.

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2024-07-30 18:31:32 +05:30
sriram veeraghanta
7e7dffa464 fix: replacing the disco url with instance config 2024-07-29 20:40:35 +05:30
Prateek Shourya
42115deadb chore: add back enterprise billing page. (#603) 2024-07-11 16:48:23 +05:30
Nikhil
4e8bfe0024 dev: feature flagging implementation (#443)
* dev: initialize feature flagging

* dev: feature flagging workspace active cycles

* dev: update feature flag implementation

* dev: add `FEATURE_FLAG_SERVER_AUTH_TOKEN` env

* dev: add feature flagging for backend apis

* dev: setup feature flags store and hooks. (#558)

* dev: setup feature flags store and hooks.

* minor improvements for swr key and flags enum.

* dev: workspace active cycles feature flag. (#562)

* dev: add task for cancelling the workspace subscription when the workspace is deleted

* dev: rename feaure flagging component

* dev: update feature flagging function for spaces

* dev: add feature flags for bulk ops, issue embeds and page publish. (#589)

* dev: add logging for member sync task

* dev: restrict workspace from deleting if the subscription is active

* dev: workspace delete check endpoint

* dev: subscription endpoint check

* dev: update subscriptions

* chore: plane pro billing and plans page updates.

* dev: update pro pill display logic.

* dev: fix feature flagging

* chore: minor improvement in cloud-badge to avoid API calls to `products` endpoint if user has PRO subscription.

---------

Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2024-07-11 15:14:18 +05:30
Prateek Shourya
08df0b2ef5 chore: add error toast for members trying to generate payment link. (#598)
* minor ui fix in cloud upgrade page.
2024-07-09 16:36:56 +05:30
Prateek Shourya
36ded97c45 dev: pro plan upgrade screens. (#563)
* dev: pro plan upgrade screens.

* dev: website upgrade workflow

* chore: plan upgrade API integration.

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-07-05 14:51:59 +05:30
sriram veeraghanta
bd45210152 fix: adding change log link in plane one 2024-07-04 17:12:36 +05:30
Prateek Shourya
712a3f0a80 chore: update current-plan API SWR config to avoid unwanted API calls. (#525) 2024-07-01 13:02:47 +05:30
Prateek Shourya
62ce1fb321 style: add modal for plane pro early adopters. (#467) 2024-06-21 19:41:33 +05:30