Commit Graph

53 Commits

Author SHA1 Message Date
Henit Chobisa
dbe330e304 feat: silo importers and integrations (#1811)
* SIlo's GitHub and Gitlab Integrations, with Sync and Magic Words  (#1585)

* fix: silo service initial setup

* feat: moved controllers inside runner

* feat: created core definations for apps and context

* feat: added interfaces required for apps

* feat: moved shared definations

* feat: added logger as an injection for apps

* feat: changes to controllers

* feat: added vm based app execution inside manager

* feat: added dummy implementations for core constructs

* feat: moved controllers to routes

* feat: created worker moduler for processing message queue requests

* feat: added task manager defination

* feat: added context and manager separations

* feat: created defaults for the defination implementation

* feat: added async task management inside apps

* feat: removed unnecessary arguments in function calls

* feat: added context builder for app instances

* feat: added runtime type safety with zod

* feat: added packaged definition structure for silo apps

* feat: added package based configuration for engine and definitions

* feat: added custom eslint rule for throws decorator

* feat: added custom eslint rule for try catch

* feat: removed custom eslint config

* feat: added authentication controller inside engine

* feat: added auth in silo engine

* feat: migrated jira ui module to plane

* chore: removed jira app

* chore: moved engine components into src_engine directory

* feat: added base template inside new src directory

* feat: migrated worker interface with mq and redis store inside new src

* feat: created jira migrator and jira importer types

* chore: migrated worker's helper inside the base directory

* feat: added logic for booting up root worker

* feat: added jira and jira auth service inside jira app

* feat: added all transformers inside jira package

* feat: added authorization types for jira

* feat: added jira authentication oauth class

* feat: added jira transformer and pull mechanisms inside jira app

* feat: addded batching logic inside jira migrator

* feat: embedded silo sdk inside jira migrator

* feat: added plane migrator inside engine

* feat: added plane migrator for push inside migration controller

* feat: added controller methods for migration

* feat: added credentials and job routes in controller

* feat: added linear importer

* feat: added linear pull function as importer

* feat: added transformation for linear data

* feat: added pull mechanism for linear

* feat: attached linear data importer with migration controller

* fix: removed hardcoded jira from cycle and module migrator

* feat: fixed build errors

* chore: addeed example env

* feat: added authentication routes for jira

* feat: added linear route controller

* fix: restructuring

* fix: sdk configs setup

* fix: merge conflicts

* fix: sdk setup

* chore: added jira and linear importers and separate packages

* feat: moved transformation parts to linear package

* feat: decoupled jira logical parts with worker

* fix: linear silo app to use linear package

* fix: build errors and dependency resolution with packages in silo

* fix: module build errors in silo

* fix: linear authorization flow

* feat: added logic for segregated workers

* feat: attached task manager with the base starter

* feat: added migrations, query and schema into db directory

* feat: added linear importer and jira importer app structure

* feat: added silo core package

* chore: migrated worker and main engine controller inside apps

* fix: made linear integration working

* silo: added cors

* feat: added base64 state changes with jira

* chore: updated silo env

* fix: jira token cookie

* feat: added issue attachments in linear job

* feat: added credentials controller

* feat: added github package inside silo packages

* feat: added resource fetching in jira api service

* feat: added credentials locking

* feat: created resources endpoint for jira

* feat: added endpoints for getting jira data

* fix: credentials not working

* chore: exported jira types

* chore: added jira states

* fix: jira project pagination issue

* chore: initiated silo folder in web

* feat: added github routes and services in silo app

* feat: improvided auth service and added background worker for github

* feat: added task manager for github

* fix: build updates

* fix: updated plane sdk and updated jira importer

* chore: updated the importer layout

* chore: removed as any from table component

* chore: integrated importer dashboard

* fix: tsup fixes

* fix: removed unnecessary files

* fix: removing tsup for building silo packages

* fix: build related issues

* feat: modified project and issue sdk service to add more methods

* feat: added installation webhook hook handler

* feat: added issue comment handler

* feat: added issue events handler interface

* feat: added pull request interface handler

* feat: added github worker for handling bg tasks

* feat: attached manager into main controller

* fix: build issues

* fix: eslint fixes

* fix: silo build errors

* fix: silo app build errors types

* fix: reverting the cloud branch

* fix: updated package json in silo service

* fix: branch build cloud updated

* fix: build errors in apps while using sdk due to ts-alias paths

* fix: branch build cloud workflow fixes

* feat: added user mentions with github sync

* fix: docker compose setup updates

* fix: bot user comments with github

* feat: initialized github plane worker

* fix: docker compose build fixes

* fix: docker build fixes envs updated in example file

* feat: added plane github webhook worker

* chore: updates folder structure and handled job services

* chore: resolved build errors in silo chore

* fix: docker compose cloud added

* feat: added issue handler with labels

* fix: build process docker compose

* feat: added issue edit and comment edits in github sync

* chore: updated jira workflow

* feat: added plane webhook types

* feat: added plane webhook event handlers

* feat: added workspace connection schema

* chore: handled the job start and jira dashboard

* feat: added query for getting entity connection

* chore: updated constants, file naming convention

* chore: resolved merge conflicts

* feat: added worspace and entity connection tables

* feat: added workspace and entity connections for pr, comment as well

* fix: github import with usermapping

* feat: added plane issue synce to github

* chore: integrated linear and updated jobs query

* feat: added hostname changes

* conflict: updated jira config and added issue transformation count in dashboard

* conflict: updated job

* chore: updated Jira status

* chore: updated Jira status

* fix: batch processing

* fix: batch key release

* chore: updated workflow for building images

* fix: detached silo build

* chore: updates linear and resolved build errors

* fix: batch key missing

* fix: merge issues with Credential types

* fix: issues with github mereg

* fix: linear workflow

* chore: updated linear queries

* feat: updated plane bg tasks to send webhook on desc change

* feat: added plane transformations for github

* feat: added connection schema and comment handler inside github worker

* chore: modified dashboard labels

* fix: docker compose fixed for running silo services

* feat: added key based deduping for webhook events

* feat: added schema based tables

* feat: added redis based payload dispatch and dedup

* feat: added migrations and changed connection table schema

* feat: modified github etl for changed webhook process

* feat: implemented redis ttl based arch with github

* feat: implemented gitlab silo package

* feat: added github user authentication

* feat: modified linear dashboard and services

* feat: changed yarn lock

* feat: added user auth into comments as well

* feat: addded gitlab authentication service

* fix: state activity not being reconized by external apis

* feat: added gitlab package for apis and sdk

* feat: added gitlab merge request integration

* fix: code cleanup for gitlab

* feat: added title references to gitlab

* feat: added magic words in github integration

* chore: removed logging token response

---------

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
Co-authored-by: gurusainath <gurusainath007@gmail.com>

* fix: env variables

* fix: silo schema migrations

* fix: drizzle migrations

* fix: adding migrator script

* fix: migrator command update in migrator

* fix: migrator changes

* fix: wait db updated

* chore: silo imports integrations (#1610)

* fix: silo service initial setup

* feat: moved controllers inside runner

* feat: created core definations for apps and context

* feat: added interfaces required for apps

* feat: moved shared definations

* feat: added logger as an injection for apps

* feat: changes to controllers

* feat: added vm based app execution inside manager

* feat: added dummy implementations for core constructs

* feat: moved controllers to routes

* feat: created worker moduler for processing message queue requests

* feat: added task manager defination

* feat: added context and manager separations

* feat: created defaults for the defination implementation

* feat: added async task management inside apps

* feat: removed unnecessary arguments in function calls

* feat: added context builder for app instances

* feat: added runtime type safety with zod

* feat: added packaged definition structure for silo apps

* feat: added package based configuration for engine and definitions

* feat: added custom eslint rule for throws decorator

* feat: added custom eslint rule for try catch

* feat: removed custom eslint config

* feat: added authentication controller inside engine

* feat: added auth in silo engine

* feat: migrated jira ui module to plane

* chore: removed jira app

* chore: moved engine components into src_engine directory

* feat: added base template inside new src directory

* feat: migrated worker interface with mq and redis store inside new src

* feat: created jira migrator and jira importer types

* chore: migrated worker's helper inside the base directory

* feat: added logic for booting up root worker

* feat: added jira and jira auth service inside jira app

* feat: added all transformers inside jira package

* feat: added authorization types for jira

* feat: added jira authentication oauth class

* feat: added jira transformer and pull mechanisms inside jira app

* feat: addded batching logic inside jira migrator

* feat: embedded silo sdk inside jira migrator

* feat: added plane migrator inside engine

* feat: added plane migrator for push inside migration controller

* feat: added controller methods for migration

* feat: added credentials and job routes in controller

* feat: added linear importer

* feat: added linear pull function as importer

* feat: added transformation for linear data

* feat: added pull mechanism for linear

* feat: attached linear data importer with migration controller

* fix: removed hardcoded jira from cycle and module migrator

* feat: fixed build errors

* chore: addeed example env

* feat: added authentication routes for jira

* feat: added linear route controller

* fix: restructuring

* fix: sdk configs setup

* fix: merge conflicts

* fix: sdk setup

* chore: added jira and linear importers and separate packages

* feat: moved transformation parts to linear package

* feat: decoupled jira logical parts with worker

* fix: linear silo app to use linear package

* fix: build errors and dependency resolution with packages in silo

* fix: module build errors in silo

* fix: linear authorization flow

* feat: added logic for segregated workers

* feat: attached task manager with the base starter

* feat: added migrations, query and schema into db directory

* feat: added linear importer and jira importer app structure

* feat: added silo core package

* chore: migrated worker and main engine controller inside apps

* fix: made linear integration working

* silo: added cors

* feat: added base64 state changes with jira

* chore: updated silo env

* fix: jira token cookie

* feat: added issue attachments in linear job

* feat: added credentials controller

* feat: added github package inside silo packages

* feat: added resource fetching in jira api service

* feat: added credentials locking

* feat: created resources endpoint for jira

* feat: added endpoints for getting jira data

* fix: credentials not working

* chore: exported jira types

* chore: added jira states

* fix: jira project pagination issue

* chore: initiated silo folder in web

* feat: added github routes and services in silo app

* feat: improvided auth service and added background worker for github

* feat: added task manager for github

* fix: build updates

* fix: updated plane sdk and updated jira importer

* chore: updated the importer layout

* chore: removed as any from table component

* chore: integrated importer dashboard

* fix: tsup fixes

* fix: removed unnecessary files

* fix: removing tsup for building silo packages

* fix: build related issues

* feat: modified project and issue sdk service to add more methods

* feat: added installation webhook hook handler

* feat: added issue comment handler

* feat: added issue events handler interface

* feat: added pull request interface handler

* feat: added github worker for handling bg tasks

* feat: attached manager into main controller

* fix: build issues

* fix: eslint fixes

* fix: silo build errors

* fix: silo app build errors types

* fix: reverting the cloud branch

* fix: updated package json in silo service

* fix: branch build cloud updated

* fix: build errors in apps while using sdk due to ts-alias paths

* fix: branch build cloud workflow fixes

* feat: added user mentions with github sync

* fix: docker compose setup updates

* fix: bot user comments with github

* feat: initialized github plane worker

* fix: docker compose build fixes

* fix: docker build fixes envs updated in example file

* feat: added plane github webhook worker

* chore: updates folder structure and handled job services

* chore: resolved build errors in silo chore

* fix: docker compose cloud added

* feat: added issue handler with labels

* fix: build process docker compose

* feat: added issue edit and comment edits in github sync

* chore: updated jira workflow

* feat: added plane webhook types

* feat: added plane webhook event handlers

* feat: added workspace connection schema

* chore: handled the job start and jira dashboard

* feat: added query for getting entity connection

* chore: updated constants, file naming convention

* chore: resolved merge conflicts

* feat: added worspace and entity connection tables

* feat: added workspace and entity connections for pr, comment as well

* fix: github import with usermapping

* feat: added plane issue synce to github

* chore: integrated linear and updated jobs query

* feat: added hostname changes

* conflict: updated jira config and added issue transformation count in dashboard

* conflict: updated job

* chore: updated Jira status

* chore: updated Jira status

* fix: batch processing

* fix: batch key release

* chore: updated workflow for building images

* fix: detached silo build

* chore: updates linear and resolved build errors

* fix: batch key missing

* fix: merge issues with Credential types

* fix: issues with github mereg

* fix: linear workflow

* chore: updated linear queries

* feat: updated plane bg tasks to send webhook on desc change

* feat: added plane transformations for github

* feat: added connection schema and comment handler inside github worker

* chore: modified dashboard labels

* fix: docker compose fixed for running silo services

* feat: added key based deduping for webhook events

* feat: added schema based tables

* feat: added redis based payload dispatch and dedup

* feat: added migrations and changed connection table schema

* feat: modified github etl for changed webhook process

* feat: implemented redis ttl based arch with github

* feat: implemented gitlab silo package

* feat: added github user authentication

* feat: modified linear dashboard and services

* feat: changed yarn lock

* feat: added user auth into comments as well

* feat: addded gitlab authentication service

* fix: state activity not being reconized by external apis

* feat: added gitlab package for apis and sdk

* feat: added gitlab merge request integration

* fix: code cleanup for gitlab

* feat: added title references to gitlab

* feat: added magic words in github integration

* chore: removed logging token response

* feat: added slack authentication flow

* feat: added user and team level authentication for slack

* feat: added services for slack integration

* feat: added blockkit components inside slack interaction

* feat: modified slack service for addded thread ephemeral messages

* feat: added handlers and views

* feat: asana importer.
* fix: build errors.

* feat: added thread sync to slack

* feat: added changes with merge

* chore: handle asana token refresh.

* fix: builder for giving warning

* chore: remove console logs.

---------

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

* fix: feature flags implementation

* fix: build errorsg

* fix: build errors

* chore: add missing silo packages.

* fix: updating package version for build issues in docker

* Added PAT based authentication for Jira Integration and Private bucket attachment uploads (#1642)

* feat: added pat authentication for jira service

* feat: added jira oauth and pat authentication strategy

* feat: added PAT auth for linear sdk

* feat: blocked routes for jira oauth

* fix: added OAuth Enabled key for authentication route

* feat: added PAT routes for linear and jira

* feat: added default value to job status

* feat: added credentials PAT filter

* feat: added credential fetch condition for PAT token

* chore: basic PAT token UI.

* fix: pat token implementation for jira

* chore: Jira personal access token form.

* fix: controller jira projects

* chore: handle migration steps without resourceId

* fix: jira project logo

* fix: migrator and attachment

* chore: update issue attachment external apis

* fix: attachments private bucket changes for silo

---------

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

* chore: Asana importer UI. (#1630)

* chore: UI improvements for Jira importer personal access token authentication (#1648)

* feat: added pat authentication for jira service

* feat: added jira oauth and pat authentication strategy

* feat: added PAT auth for linear sdk

* feat: blocked routes for jira oauth

* fix: added OAuth Enabled key for authentication route

* feat: added PAT routes for linear and jira

* feat: added default value to job status

* feat: added credentials PAT filter

* feat: added credential fetch condition for PAT token

* chore: basic PAT token UI.

* fix: pat token implementation for jira

* chore: Jira personal access token form.

* fix: controller jira projects

* chore: handle migration steps without resourceId

* fix: jira project logo

* fix: migrator and attachment

* chore: update issue attachment external apis

* fix: attachments private bucket changes for silo

* chore: minor UI improvements

* chore: ui improvement

* chore: fix importer list

---------

Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>

* fix: github package dependency with silo (#1622)

* fix/deps

* fix: axios

* chore: fix formatting.

---------

Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>

* Runway silo store (#1672)

* chore: silo store init

* chore: infra update for maintenance mode (#5963)

* [WEB-2728] improvement: add `true-transparent` variant for textarea. (#5960)

* fix: renaming and formatting

* chore: app sidebar behaviour (#5964)

* chore: infra update for maintenance mode (#1667)

* [WEB-2728] improvement: new UI for custom property settings. (#1663)

* chore: importer store integration for jira and resolved build error

---------

Co-authored-by: pushya22 <130810100+pushya22@users.noreply.github.com>
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
Co-authored-by: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com>

* Basic Jira issue type and custom properties migration (#1676)

* chore: issue type migration.

* chore: update issue types api for pagination

* chore: update jira migrator for issue types

* chore: issue type sdk types and service updates

* typo: issue service files name update

* typo: issue service files name update

* fix: issue type fetch and create request.

* fix: build

* fix: issue type migration

* chore: minor improvements

* chore: issue property fetch for jira

* chore: issue property fetch

* fix: type errors

* chore: temp fix for batches completion logic.

* chore: add issue type check

* chore: issue property basic migration.

* fix: updated base silo base url

* remove console log.

---------

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

* chore: add silo base url and silo base path in dockerfile

* chore: update in runway silo

* chore: custom field attributes structure.

* chore: helper for test settings config.

* chore: add logo props

* chore: custom field migrations

* chore: all simple properties migrations.

* chore: issue property options

* chore: update could not fetch feature

* chore: feature flag service in packages silo core

* chore: feature flagging

* chore: issue property values.

* [WEB-2742] chore: issue link ui revamp (#5971)

* chore-issue-link-ui

* chore: issue link ui revamp

* chore: upload image in the intake form (#1677)

* fix: editor user config (#1679)

* fix: editor user config (#5974)

* fix: pi chat bug fixes (#1670)

* chore: pi empty state

* fix: response change handled

* fix: handled api failure

* fix: formatted ai messages

* fix: reverted the pi pallete

* fix: integrated  models api

* fix: disabled regenerating new chat

* fix: page loading fixed

* fix: dynamically imported markdown

* fix: removed extras

* fix: minor css

* fix: handled pi chat in bulk ops

* [WEB-2706] fix: Add fallback when db initialisation fails (#5973)

* Add fallback when db initialization fails

* add checks for instance.exec

* chore: convert issue boolean fields to actual boolean value.

* change instance exec code

* sync issue to local db when inbox issue is accepted and draft issue is moved to project

* chore: added project and workspace keys

---------

Co-authored-by: rahulramesha <rahulramesham@gmail.com>
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>

* fix related to activity (#5972)

* fix: renamed inbox to intake (#5967)

* feat: intake

* chore: intake model migration changes

* dev: update dummy data

* dev: add duplicate apis for inbox

* dev: fix external apis

* fix: external apis

* chore: migration file changes

---------

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

* chore: removed the validation in patch request (#1680)

* chore: changed inbox to intake (#1682)

* chore: fix custom fields option fetch logic.

* fix: renamed inbox to intake (#5967)

* feat: intake

* chore: intake model migration changes

* dev: update dummy data

* dev: add duplicate apis for inbox

* dev: fix external apis

* fix: external apis

* chore: migration file changes

---------

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

* fix: intake loading (#5966)

* fix: intake loading

* fix: image upload in space

* chore: silo feature flag service

* fix: jira issue pull logic

* chore: map user picker custom property using display names.

* fix: silo github package dependencies.

* fix: silo github package

* chore: add lucide icons mappings

* fix: removed constants

* fix: package.json dependency fix for silo

* chore: update batching logic to handle trees

* chore: take job hostname from .env

* fix: build issues

* chore: fix migrations

* chore: asana custom field import

* chore: remove unused values

* chore: update oauth enabled envs

* chore: fix builds

* chore: asana batching logic.

* chore: asana PAT auth endpoint

* chore: delete credential endpoint

* fix: silo jira importer

* chore: fix silo refresh token callback

* chore: update linear batching logic

* dev: jira store migration

* chore: fetching jobs

* chore: updating job store

* chore: build error in store

* chore: job store updates

* chore: returning the jira resource details

* chore: add pat token validation

* chore: updated URL in the silo

* chore: issues count

* chore: fix merge conflicts

* dev: resolved merge conflict

* chore: removed logs

* feat: added comment import with linear

* chore: build fixes

* chore: add missing status class

* chore: updated Jira

* chore: loader in summary

* chore: Asana importer improved UI with mobx store

* fix: jobs api

* chore: make dashboard view true

* chore: updating the jira dashboard toggler

* chore: minor ui improvements.

* chore: fix job order logic.

* chore: Linear integration

* fix: slack linkback workflow

* chore: update service token logic

* chore: deactivate credentials

* dev: updated linear states mapping

* chore: asana priority mapping.

* chore: updated linear config

* fix:images not loading when issue is imported

* chore: asana comments

* chore: asana attachements

* chore: linear attachements pull

* chore: deactivating the importers

* chore: minor bug fix in priority mapping

* chore: handled feature flag, reload jobs and dashboard load

* chore: handled verfication check in start and re-run job

* chore: code cleanup

* feat: added controller routes for disconnecting and getting current status

* chore: update silo to be a single service

* fix: credentials

* chore: handled map states and map priority on worksapce and project change of importers

* chore: handled loaders in importers

* chore: updating linear team details

* chore: update assets

* chore: replaced migration

* fix: condition for credential availability

* chore: slack integration

* chore: handled modal confirmation and linear issue count in summary

* chore: github UI (#1721)

* chore: typos integrations and importers

* chore: github integration base

* fix: github integration context updates

* chore: resolved build errors

* fix: issue migrator to handle linear image component

* fix: issue serializer fixes

---------

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
Co-authored-by: gurusainath <gurusainath007@gmail.com>
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: pushya22 <130810100+pushya22@users.noreply.github.com>
Co-authored-by: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com>
Co-authored-by: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com>
Co-authored-by: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com>
Co-authored-by: Akshita Goyal <36129505+gakshita@users.noreply.github.com>
Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
Co-authored-by: rahulramesha <rahulramesham@gmail.com>
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: rahulramesha <71900764+rahulramesha@users.noreply.github.com>
2024-11-23 23:38:31 +05:30
Akshita Goyal
8e0a919750 fix: pi chat bug fixes (#1670)
* chore: pi empty state

* fix: response change handled

* fix: handled api failure

* fix: formatted ai messages

* fix: reverted the pi pallete

* fix: integrated  models api

* fix: disabled regenerating new chat

* fix: page loading fixed

* fix: dynamically imported markdown

* fix: removed extras

* fix: minor css

* fix: handled pi chat in bulk ops
2024-11-08 13:33:00 +05:30
Anmol Singh Bhatia
d787f9f79e [PULSE-1, PULSE-9] feat: Pi Chat and Dedupes (#1627)
* [HACK-5] feat: de dupe implementation (#1600)

* chore: plane ai icon added

* chore: de-dupe services, constants and types added

* chore: de-dupe constants and types updated

* dev: de-dupe ui component added and implementation

* chore: pi services and types updated

* chore: useDebouncedDuplicateIssues hook added

* chore: jsx to string helper function added

* chore: useDebouncedDuplicateIssues implementation

* chore-pi-color-variable

* chore: pi service base url added

* chore: pi endpoint updated

* chore: pi endpoint updated

* chore: pi endpoint updated

* [HACK-5] chore: de dupe issue actions and code refactor (#1606)

* chore: de-dupe action implementation and code refactoring

* chore: code refactor

* chore: pi color updated (#1608)

* chore: structuring and UI components (#1596)

* chore: structuring and UI components

* fix: cleaning

* fix: chat api integrations

* fix: build issues

* wip: pi editor

* fix: integrated all apis

* fix: integrational changes

* fix: integrational changes

* fix: build issues

* fix: commented toolbar in history

* fix: added streaming to pi messages

* fix: scroll into view

* chore: pi chat header and side panel improvements

* fix: removed logs

---------

Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
Co-authored-by: Anmol Singh Bhatia <anmolsinghbhatia@plane.so>

* chore: pi chat history (#1615)

* chore: structuring and UI components

* fix: cleaning

* fix: chat api integrations

* fix: build issues

* wip: pi editor

* fix: integrated all apis

* fix: integrational changes

* fix: integrational changes

* fix: build issues

* fix: commented toolbar in history

* fix: added streaming to pi messages

* chore: pi chat header and side panel improvements

* chore: pi chat history ui

* chore: code refactor

---------

Co-authored-by: gakshita <akshitagoyal1516@gmail.com>

* Chore: pi improvement (#1619)

* chore: de-dupe debounce time updated

* chore: pi chat head title updated

* chore: de-dupe button label and modal ux updated

* fix: issue modal width

* fix: pi-chat side panel

* chore: added pi chat to side bar

* chore: de-dupe modal

---------

Co-authored-by: gakshita <akshitagoyal1516@gmail.com>

* Fix build issue

* chore: de-dupe modal theme (#1620)

* fix: pi chat bug fixes and improvement (#1623)

* fix: getAnswer error handling

* fix: pi-chat layout and code refactor

* fix: user message trim

* chore: pi theme updated

* chore: pi chat services update

* chore: code refactor

* chore: de-dupe modal transition added and height bug fixed (#1626)

* chore: de dupe code splitting (#1628)

* chore: code splitting

* chore: code splitting

* chore: code refactor

* chore: code refactor

* Fix: pi chat bug fixes and improvements (#1629)

* fix: editor css + messages css

* fix: submit on enter + mentions partial

* fix: colors minor fixes

* fix: build fixed

* fix: enter key + editor css + shift key + feedback toast

* fix: mentions dropdown untested

* fix: css

* fix: css

* fix: build issues

* fix: added latest conversation to history + layout fixing

* fix: mentions key

* fix: cn import in the pi editor

* Fix build error

* Fix pi chat api auth

* chore: pi services endpoint updated

* chore: code refactor

* Fix  floatin bot feature flag (#1651)

* fix: floating bot + feature flagging

* fix: minor fixes

* fix: removed pi chat from community verison

* fix: pi chat flag

* chore de dupe flagging (#1657)

* chore: de dupe feature flagging

* chore: code refactor

* chore: code refactor

* chore: code refactor

---------

Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
Co-authored-by: Pushya Mitra Thiruvooru <pushya@Pushyas-MacBook-Pro.local>
Co-authored-by: Akshita Goyal <36129505+gakshita@users.noreply.github.com>
Co-authored-by: gakshita <akshitagoyal1516@gmail.com>
2024-11-05 19:39:28 +05:30
Anmol Singh Bhatia
149eed991a [WEB-2677] chore: draft issue issue type (#1506)
* chore: draft issue custom properties endpoint

* chore: draft issue type services added

* chore: draft issue custom types

* chore: draft issue property value

* fix: draft issue type create

* chore: removed the workspace active cycle filter

* chore: changed the cycle id

* chore: code refactor

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com>
2024-10-16 16:12:06 +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
sriram veeraghanta
fa3e7fefb4 Merge branch 'master' of github.com:makeplane/plane-ee into uat 2024-10-07 20:09:59 +05:30
guru_sainath
1b0f45aaec chore: mobile web view authentication signout cache in browser (#1361) 2024-10-07 17:12:38 +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
Aaryan Khandelwal
5a8bf1cbf7 chore: live server fallback for workspace pages (#1225) 2024-09-23 18:12:12 +05:30
Prateek Shourya
624f09e4a5 chore remove unused seats (#1147)
* chore: remove unused seats

* chore: add more seats/ remove unused seats.

* fix: imports

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-09-17 13:04:45 +05:30
Prateek Shourya
434e4c936c [WEB-2332] chore: add desktop app provider. (#1052)
* [WEB-2332] chore: add desktop app provider.

* chore: improve layout.

* chore: export `EstimateService` class.
2024-09-06 16:49:03 +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
Satish Gandham
7a9505098b Merge pull request #1032 from makeplane/uat
sync: preview to uat
2024-09-04 13:20:31 +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
Nikhil
6040408d90 dev: primev2 (#1005)
* feat: added cron for updating feature flags on interval

* feat: added logic for updating seats in monitor

* feat: updated sync handler for using prime sync endpoint

* feat: added instance initialization on monitor boot

* chore: added new vars for monitor

* fix: license seats purchase validation flow

* dev: update invite return response

* remove: workspace license task to avoid creation of duplicate licenses

* dev: add more seats flow.

* fix: resync licenses

* chore: subscription portal endpoint

---------

Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
2024-09-02 15:28:43 +05:30
Aaryan Khandelwal
1f9f306608 feat: workspace pages version history (#963) 2024-08-27 20:09:45 +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
Prateek Shourya
c5dae5038e dev: issue custom properties activity. (#859)
* chore: update logic to check if issue type is enabled for the project or not.
* minor improvement in enable issue type logic.

* dev: issue custom properties activity.

* chore: add issue property logo component.
* revert back changes in ui package logo componenet.

* chore: fetch property activities after last activity `created_at` timestamp.

---------

Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
2024-08-19 14:00:36 +05:30
sriram veeraghanta
a3871922d1 fix: merge conflicts from uat 2024-08-16 18:45:43 +05:30
Prateek Shourya
162fbcfb7e [WEB-2195] dev: move issue types to workspace level (#852)
* chore: move issues types to workspace

* fix: add project id to issue type get endpoint.

* dev: multi project issue types

* chore: update issue types to support multiple project.

* dev: update default project issue type

* fix: issue type activity

* chore: order issue types by `created_at` date.

* dev: add filter by issue types.

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-08-16 18:27:11 +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
878a71563b fix: merge conflicts resolved 2024-08-14 13:16:21 +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
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
guru_sainath
3e4fa21ee2 [WEB-1986] Feat: Project Grouping (#715)
* feat: project grouping migrations

* chore: implemented workspace features

* chore: updated worksapce feature import in types

* chore: project states endpoint

* chore: updated migration file

* chore: migration file changes

* chore: workspace project states

* feat: project states

* fix: project states

* chore: replaced base modal with project base modal in project attribute

* chore: removed 002 migration

* chore: project attribute migration

* chore: project states feature flagged

* chore: project state marking as default

* chore: code cleanup

* chore: updated the project attributes operations in the project crud endpoints

* fix: wip

* chore: feature flag validation on project create and update.

* fix: sync develope

* dev: project state feature flag and removed read only fields from serializer

* wip

* chore: updated project id and project validation when we toggle the workspace project_grouping feature is true

* wip: layouts

* chore: updated project filter store

* wip: default screens

* chore: filters update

* chore: filters updates

* chore: display filter updates

* wip: state dropdown

* chore: seperated project components for CE

* chore: splitted the code for project creation form

* fix: code structure optimization

* chore: handled project filters

* wip: gallery layout for projects

* wip: spreadsheet filters

* chore: added state and priority filters

* fix: project page root moved

* fix: synced with preview

* dev: updated sorting

* wip: role based permissions

* fix: header sorting fixed

* fix: project types + state filter

* fix: optimizations

* fix: optimizations

* fix: partial feature flagging

* fix: project states

* fix: css

* fix: css foxes

* fix:

* chore: handled board layout in project grouping

* fix: post ce sync changes

* fix: gantt permissions + member bugs

* fix: mobile header + layout fixes

* fix: workspace sidebar + archives

* fix: build errors

* fix: dark theme handling

* fix: archive fix + miscellaneous

* Fix: build errors

* fix: kandban drag and drop + miscellaneous

* fix: kanban drag and drop

* fix: imports

* fix: drag & drop + project dropdown

* fix: merge changes

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: gakshita <akshitagoyal1516@gmail.com>
Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
2024-08-12 21:08:16 +05:30
Prateek Shourya
2540f93e90 chore: property options create/ update settings revamp. (#809)
* chore: property options create/ update settings revamp.

* chore: update logic to omit __uuid__ in sortable.
2024-08-12 18:39:35 +05:30
Prateek Shourya
de0652991f chore: issue property create options endpoint revamp (#803)
* dev: update the issue property option endpoint

* chore: optimize create options API call and some bug fixes.

* fix: issue type switch on create more toggle.

* chore: add loader for issue properties.

* chore; fix issue type name and description overflow.

* chore: delete property confirmation modal.

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-08-12 13:09:08 +05:30
sriram veeraghanta
6600342f82 fix: merge conflicts 2024-08-09 21:08:44 +05:30
Prateek Shourya
f2ef245557 improvement: issue types and properties (#792)
* chore: issue type icon picker and issue identifier updates.

* chore: update `issue type and properties` update action logic.

* chore: UI / UX copy updates.

* chore: remove search from issue and property type dropdown.

* chore: minor improvements for disabled mandatory field toggle.

* chore: update logic to improve syncing with server.

* chore: update paragraph order and minor UI fix.

* chore: update issue type collapsible to open only one collapsible at a time.

* chore: minor improvements.

* dev: update issue property messages

* fix: issue type overflow.

* dev: update field validation on issue property update

* chore: update enable issue type logic.

* chore: update issue identifier logo size.

* chore: minor improvements.

* chore: update tooltip position.

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-08-09 15:08:04 +05:30
M. Palanikannan
983a1b9acc feat: iframe jira importer (#778)
* feat: iframe added for jira

* feat: added iframe

* fix: not modal

* feat: add dashboard screen

* feat: added theme support to match that of our apps

* chore: import ui improvement

* fix: removed unnecessary code from old importer

* feat: added silo base url for config

* feat: silo iframe with theme changes and service token createion

* fix: iframe fixed while switching themes

* feat: silo base url from config

* fix: dev server port

* fix: loading states for iframe

* fix: make ui usable

* chore: remove commented code

* fix: added correct query params

* fix: redundant id

* fix: added iframe to ee

* fix: constants moved to ee

* fix: seperated more changes into ee

* fix: base api path fixed for jira import

* fix: desc

---------

Co-authored-by: Anmol Singh Bhatia <anmolsinghbhatia@plane.so>
Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
2024-08-08 19:27:11 +05:30
Nikhil
f41e4dce25 chore: property validations (#784)
* chore: add required property validations on create issue modal.

* chore: fix issue type list item default open state.

* chore: fix boolean field default value and mandatory field validations.

* fix: default value and mandatory field validations for dropdown property.

* fix: unused code removed.

* chore: add `type_id` to create issue endpoint response.

* chore: minor height fix for readonly text property.

* chore: improve additional properties loader in create/ update issue modal.

* chore: update `getProjectDefaultIssueTypeId` function to get the entire issue type instance instead of just Id.

* chore: remove logic to expand issue type list.

* chore: update logic to expand default issue type.

* chore: minor UI fixes.

* fix: typo

* chore: open issue modal if default issue type has mandatory properties on quick add.

* dev: update issue property validation

* chore: fix values validation.

* fix: create issue form validation.

* chore: issue type icon for all layouts.

---------

Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
2024-08-08 15:01:43 +05:30
sriram veeraghanta
baffce9918 fix: merg conflicts 2024-08-05 15:53:03 +05:30
Prateek Shourya
9ef8ffa786 fix: show initial workspace loader only if feature flags API doesn't has error. (#745) 2024-08-05 14:08:05 +05:30
Prateek Shourya
91d23dabe3 [WEB-1185] feat: issue types and issue properties (#719)
* dev: setup basic store structure for issue types and custom properties.

* dev: create issue types and add back migration for existing issues

* dev: fix save

* dev: fix migration for issue types

* dev: create page version

* dev: add page versioning migrations

* dev: create page version endpoints

* WIP: issue types.

* chore: update issue types & properties store structure.

* dev: add is_default value in issue type

* dev: implement create, update, list and delete for issue-types. (#584)

* dev: implement create, update, list and delete for issue-types.

* dev: issue properties root.

* dev: rename model

* dev: create issue property and related models

* dev: create issue property and issue types api

* dev: issue type endpoint

* dev: add issue type feature flagging

* dev: issue property options

* dev: issue properties creation and updation.

* dev: add fields to project and issue types

* dev: issue property and issue types api

* dev: update issue type migrations

* dev: issue types enabled

* dev: update folder structure and move default issue type validation

* dev: update values endpoint to return arrays

* dev: rename value to values

* chore: API integration for issue types and properties settings.

* dev: rename urls

* dev: issue type values endpoint

* dev: remove print logs

* dev: create issue property activity task

* dev: return dictionary on issue values list endpoint

* fix: boolean types

* dev: add issue type validation

* fix: issue create with different type

* dev: issue types settings and user side flow.

* chore: add option to enable/ disable issue property.

* chore: fix property attribute popover position

* chore: add validation to remove default value for mandatory properties.

* chore: add validation to disable editing property core attributes.
* allow editing if no issue is attached to the issue type.

* chore: update issue type loader logic.

* chore:minor UI & UX improvements.

* chore: add option to enable/ disable issue types.

* chore: add property title dropdown to allow adding description while creating property.

* chore: minor code restructuring.

* chore: add `scrollIntoView` when adding new properties.

* chore: update enable/ disable issue type logic.

* chore: add property type icon.

* chore: improve property values loader.

* chore: add validation to only show issue types in projects where it's enabled.

* fix: quick add.

* chore: create/ update issue modal components restructuring.

* fix: global issue update through modal on inital load.

* chore: add validations to remove `default_value` when `is_required` is set to True.

* fix: build errors.

* chore: create/ update draft issue with custom properties.

* chore: add logic to get issue property values while creating issue copy.

* dev: remove default issue type creation

* dev: issue property activity endpoint

* chore: set property `is_active` to false by default.

* chore: minor improvements

* chore: refactor logic to render display name in member picker.

* chore:minor improvement to issue types loader and data fetching.

* fix: type declarations.

* chore: add property options for dropdown property type. (#737)

* chore: add property options for dropdown property type.

* chore: components restructuring.

* improvement: issue types and properties (#742)

* chore: add property options for dropdown property type.

* chore: components restructuring.

* chore: UI improvements and minor fixes.

* chore: issue types and properties store refactor.

* chore: improve UX copy of properties and attributes.

* chore: improve enable/ disable issue type flow.

* chore: rename `Issue Extra Property` to `Issue Additional Property`

* chore: update `handleCreateDataUpdate` to `updateCreateListData`.

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
2024-08-02 19:52:37 +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
rahulramesha
5ccc9fbc45 [WEB-1255] feat: publish views (#684)
* chore: views publish endpoints

* fix: members and cycles endpoint

* chore: added issue count and attachment count

* chore: resolved build errors

* chore: added created at and updated at in issue response

* chore: comments, votes and reaction endpoints

* chore: removed the comment, votes and reaction endpoint

* feat Publish views

* chore: added import statement

* revert back unnecessary non ee changes

* fix gantt layout

* fix view issues

* fix lints and remove unncessary code

* revert back yarn.lock

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
2024-07-24 14:32:18 +05:30
rahulramesha
dafa2c3ab9 fix: Build and Lint errors (#682)
* fix build and lints

* revert back lint fix in CE
2024-07-23 11:51:03 +05:30
guru_sainath
65d4bee539 [WEB-1846] feat: time tracking (#608)
* chore: integrated time traking enabled/disabled feature on project settings and updated the pro icon as a component

* chore: Showing the toggle and disabled to make any operations on project features

* chore: default exports in constants

* chore: seperated isEnabled and isPro

* chore: updated time traking key

* chore: issue worklog endpoint

* chore: added work log issue

* chore: csv worklog downloads

* chore: acitvity listing

* chore: added workspace in export issues

* chore: initialised services, contants, and store

* chore: integrated worklog hooks

* chore: changed types in worklog type

* chore: worklog response changes

* chore: serializer changes

* chore: corrected the import statement

* chore: Worklog components and page updates

* fix: download csv and excel

* chore: implemented pagination for table and updated worklog downloads

* chore: updated pagination and updated the api for worklog download filter param

* chore: download response change

* chore: import errors resolved in issue worklog

* chore: handled loaders and empty states in worklog settings

* chore: ui, typos and cleanup

* chore: resolved merge conflicts

* chore: updating the time tracking on issue detail page

* chore: updated the ui worklog issue property button

* chore: removed create from the worklog header

* chore: updated default filters from constants

* chore: resolved ce code updates

* chore: ce cleanup

* chore: worklogs in issue activity

* ui: updated UI for peek overview and issue detail for worklog property

* fix: exporter type

* ui: handled the typos

* ui: loader ui height changes

* chore: resolved merge conflicts

* chore: handled the project worklogs enabled/disabled in the issues

* chore: handled empty screen for worklog

* chore: typo

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
2024-07-22 19:43:49 +05:30
Bavisetti Narayan
4066fd515c chore: workspace page access control (#655)
* chore: workspace page access control

* chore: workspace pages access endpoint updated

---------

Co-authored-by: Anmol Singh Bhatia <anmolsinghbhatia@plane.so>
2024-07-19 19:57:01 +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
d98a3a06e6 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 16:07:30 +05:30
rahulramesha
07ab92076a [WEB-1255] feat: Public and Private Views (#516)
* chore: added lock unlock and access controls in views

* Private Views Changes

* chore: handling multiple request

* chore: handling multiple request

* chore: preventing race condition

* fix minor view form modal bug

* revert yarn lock

* revert yarn lock

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
2024-06-28 18:37:38 +05:30
Satish Gandham
db28296764 Merge pull request #510 from makeplane/sync/ce-ee
sync: community changes
2024-06-27 16:29:20 +05:30
rahulramesha
aa6ad4d712 [WEB-1255] chore: Replicate the existing services to fix build (#4954)
* replicate the existing services to fix build

* reexport from CE instead of redeclare
2024-06-27 16:14:35 +05:30
guru_sainath
2a7f9aa718 [WEB-522] chore: Updated the estimates store and service on the ee (#455)
* fix: validating and showing proper alert estimate point has to be taken greater than 0 in create and update

* chore: updated estimate store and service in ee

* chore: updated estimate store

* chore: resolved lint errors

* chore: updated the lint errors and added ce in ts config
2024-06-20 20:17:11 +05:30
Satish Gandham
be10a23f20 Merge pull request #453 from makeplane/sync/ce-ee
sync: community changes
2024-06-20 19:32:43 +05:30
guru_sainath
c0ad5952df [WEB-522] chore: Move the estimates store and service out of core (#4896)
* chore: moved the estimate store from core to ce and ee

* chore: moved the estimate service from core to ce and ee

* chore: updated constructors from private to public in estimate store

* chore: exported estimate service
2024-06-20 19:29:09 +05:30
sriram veeraghanta
bb6fbeaec8 Merge branch 'develop' of github.com:makeplane/plane-ee into develop 2024-06-19 20:26:27 +05:30
sriram veeraghanta
acfea71772 fix: sperating out plane one and cloud badges 2024-06-19 20:26:14 +05:30