bb-plane-fork/apps/web/core/components
Aaryan Khandelwal 83679806fd
[WIKI-419] chore: new asset duplicate endpoint added (#7172)
* chore: new asset duplicate endpoint added

* chore: change the type in url

* chore: added rate limiting for image duplication endpoint

* chore: added rate limiting per asset id

* chore: added throttle class

* chore: added validations for entity

* chore: added extra validations

* chore: removed the comment

* chore: reverted the frontend code

* chore: added the response key

* feat: handle image duplication for web

* feat: custom image duplication update

* fix: remove paste logic for image

* fix : remove entity validation

* refactor: remove entity id for duplication

* feat: handle duplication in utils

* feat: add asset duplication registry

* chore: update the set attribute method

* fix: add ref for api check

* chore :remove logs

* chore : add entity types types

* refactor: rename duplication success status value

* chore: update attribute to enums

* chore: update variable name

* chore: set uploading state

* chore : update enum name

* chore : update replace command

* chore: fix retry UI

* chore: remove default logic

* refactor: optimize imports in custom image extension files and improve error handling in image duplication

* fix:type error

* Update packages/editor/src/core/extensions/custom-image/components/node-view.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix: enhance asset duplication handler to ignore HTTP sources

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com>
Co-authored-by: VipinDevelops <vipinchaudhary1809@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-11-20 15:05:01 +05:30
..
account [WEB-5404] chore: update next images with html default images (#8101) 2025-11-13 18:33:18 +05:30
analytics [WEB-5404] chore: update next images with html default images (#8101) 2025-11-13 18:33:18 +05:30
api-token [WEB-5404] chore: update next images with html default images (#8101) 2025-11-13 18:33:18 +05:30
archives [WEB-5134] refactor: update web ESLint configuration and refactor imports to use type imports (#7957) 2025-10-14 16:45:07 +05:30
auth-screens [WEB-5404] chore: update next images with html default images (#8101) 2025-11-13 18:33:18 +05:30
automation [WEB-5188 | WEB-5190] chore: layout and properties icon revamp (#7980) 2025-10-24 19:53:36 +05:30
base-layouts [WEB-5390] refactor: gantt layout support in base layouts (#8089) 2025-11-13 14:33:24 +05:30
chart [WEB-5134] refactor: update web ESLint configuration and refactor imports to use type imports (#7957) 2025-10-14 16:45:07 +05:30
comments [WIKI-419] chore: new asset duplicate endpoint added (#7172) 2025-11-20 15:05:01 +05:30
common [WEB-5404] chore: update next images with html default images (#8101) 2025-11-13 18:33:18 +05:30
core [WEB-5404] chore: update next images with html default images (#8101) 2025-11-13 18:33:18 +05:30
cycles [WEB-5423] fix: typescript errors and add types check step to pull request workflow (#8110) 2025-11-14 16:18:36 +05:30
dropdowns [WEB-5305] refactor: migrate emoji and logo components to propel and remove duplication (#8038) 2025-11-06 17:33:06 +05:30
editor [WIKI-419] chore: new asset duplicate endpoint added (#7172) 2025-11-20 15:05:01 +05:30
empty-state [WEB-5404] chore: update next images with html default images (#8101) 2025-11-13 18:33:18 +05:30
estimates [WEB-5191 | WEB-5197] chore: actions and arrows icon revamp (#7984) 2025-10-29 20:13:08 +05:30
exporter [WEB-5000] feat: enhance exports settings with rich filters (#8124) 2025-11-19 14:31:48 +05:30
gantt-chart [WEB-5390] refactor: gantt layout support in base layouts (#8089) 2025-11-13 14:33:24 +05:30
global [WEB-5134] refactor: update web ESLint configuration and refactor imports to use type imports (#7957) 2025-10-14 16:45:07 +05:30
home [WEB-5305] refactor: migrate emoji and logo components to propel and remove duplication (#8038) 2025-11-06 17:33:06 +05:30
icons [WEB-5423] fix: typescript errors and add types check step to pull request workflow (#8110) 2025-11-14 16:18:36 +05:30
inbox [WIKI-419] chore: new asset duplicate endpoint added (#7172) 2025-11-20 15:05:01 +05:30
instance [WEB-5404] chore: update next images with html default images (#8101) 2025-11-13 18:33:18 +05:30
integration [WEB-5404] chore: update next images with html default images (#8101) 2025-11-13 18:33:18 +05:30
issues [WIKI-419] chore: new asset duplicate endpoint added (#7172) 2025-11-20 15:05:01 +05:30
labels [WEB-5191 | WEB-5197] chore: actions and arrows icon revamp (#7984) 2025-10-29 20:13:08 +05:30
license [WEB-5134] refactor: update web ESLint configuration and refactor imports to use type imports (#7957) 2025-10-14 16:45:07 +05:30
modules [WEB-5404] chore: update next images with html default images (#8101) 2025-11-13 18:33:18 +05:30
onboarding [WEB-5404] chore: update next images with html default images (#8101) 2025-11-13 18:33:18 +05:30
pages [WIKI-788] fix: editor markdown copy rules (#8140) 2025-11-20 14:46:12 +05:30
power-k [WEB-5423] fix: typescript errors and add types check step to pull request workflow (#8110) 2025-11-14 16:18:36 +05:30
preferences chore: move all services inside the apps folder (#7321) 2025-07-03 00:44:13 +05:30
profile [WEB-5305] refactor: migrate emoji and logo components to propel and remove duplication (#8038) 2025-11-06 17:33:06 +05:30
project [WEB-5423] fix: typescript errors and add types check step to pull request workflow (#8110) 2025-11-14 16:18:36 +05:30
project-states [WEB-5191 | WEB-5197] chore: actions and arrows icon revamp (#7984) 2025-10-29 20:13:08 +05:30
readonly [WEB-5188 | WEB-5190] chore: layout and properties icon revamp (#7980) 2025-10-24 19:53:36 +05:30
rich-filters [WEB-5191 | WEB-5197] chore: actions and arrows icon revamp (#7984) 2025-10-29 20:13:08 +05:30
settings [WEB-5305] refactor: migrate emoji and logo components to propel and remove duplication (#8038) 2025-11-06 17:33:06 +05:30
sidebar [WEB-5141] chore: project features refactor (#7960) 2025-10-23 00:27:16 +05:30
stickies [WIKI-419] chore: new asset duplicate endpoint added (#7172) 2025-11-20 15:05:01 +05:30
ui [WEB-5404] chore: update next images with html default images (#8101) 2025-11-13 18:33:18 +05:30
user [WEB-5134] refactor: update web ESLint configuration and refactor imports to use type imports (#7957) 2025-10-14 16:45:07 +05:30
views [WEB-5305] refactor: migrate emoji and logo components to propel and remove duplication (#8038) 2025-11-06 17:33:06 +05:30
web-hooks [WEB-5404] chore: update next images with html default images (#8101) 2025-11-13 18:33:18 +05:30
work-item-filters [WEB-5379] fix: optimize filter handling in work item components (#8079) 2025-11-07 20:28:10 +05:30
workspace [WEB-5442] fix: favorites list on workspace switch (#8131) 2025-11-18 13:52:29 +05:30
workspace-notifications [WEB-5043] feat: web vite migration (#7973) 2025-11-06 14:08:48 +05:30