chore: ai agent workspace CE part (#39734)

## Description
CE part of ai agent as entity [EE
PR](https://github.com/appsmithorg/appsmith-ee/pull/6504).

## Automation

/ok-to-test tags="@tag.Sanity"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/13857419094>
> Commit: 71c9c3c39dcd4794467f35adc98cd97b7c35bf5a
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13857419094&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Fri, 14 Mar 2025 13:59:30 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Expanded the icon library with several new dynamic icons for enhanced
visual options.
- Updated application labeling by replacing “New Applications” with “AI
Agents” and introducing a Beta tag.
- Refined the display of application listings and templates by
streamlining their content for a clearer user experience.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Valera Melnikov 2025-03-14 17:12:37 +03:00 committed by GitHub
parent 1835e053fb
commit f420384dee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
13 changed files with 116 additions and 63 deletions

View File

@ -204,6 +204,9 @@ const RightArrowIcon2 = importRemixIcon(
const RocketIcon = importRemixIcon(
async () => import("remixicon-react/RocketLineIcon"),
);
const RobotIcon = importRemixIcon(
async () => import("remixicon-react/RobotLineIcon"),
);
const Save2LineIcon = importRemixIcon(
async () => import("remixicon-react/Save2LineIcon"),
);
@ -1130,6 +1133,28 @@ const StateInspectorIcon = importSvg(
async () => import("../__assets__/icons/ads/state-inspector.svg"),
);
const BoxIcon = importSvg(
async () => import("../__assets__/icons/ads/box.svg"),
);
const ConfluenceIcon = importSvg(
async () => import("../__assets__/icons/ads/confluence.svg"),
);
const DropboxIcon = importSvg(
async () => import("../__assets__/icons/ads/dropbox.svg"),
);
const FreshdeskIcon = importSvg(
async () => import("../__assets__/icons/ads/freshdesk.svg"),
);
const IntercomIcon = importSvg(
async () => import("../__assets__/icons/ads/intercom.svg"),
);
const OnedriveIcon = importSvg(
async () => import("../__assets__/icons/ads/onedrive.svg"),
);
const SharepointIcon = importSvg(
async () => import("../__assets__/icons/ads/sharepoint.svg"),
);
const MdFileIcon = importSvg(
async () => import("../__assets__/icons/ads/md-file.svg"),
);
@ -1161,6 +1186,9 @@ const TsvFileIcon = importSvg(
const XlsFileIcon = importSvg(
async () => import("../__assets__/icons/ads/xls-file.svg"),
);
const Robot2LineIcon = importSvg(
async () => import("../__assets__/icons/ads/robot-2-line.svg"),
);
import PlayIconPNG from "../__assets__/icons/control/play-icon.png";
@ -1529,6 +1557,8 @@ const ICON_LOOKUP = {
reaction: Reaction,
refresh: RefreshLineIcon,
rocket: RocketIcon,
robot: RobotIcon,
"robot-2": Robot2LineIcon,
save: Save2LineIcon,
search: SearchIcon,
setting: SettingIcon,
@ -1569,6 +1599,13 @@ const ICON_LOOKUP = {
"google-drive": GoogleDriveIcon,
salesforce: SalesforceIcon,
"state-inspector": StateInspectorIcon,
box: BoxIcon,
confluence: ConfluenceIcon,
dropbox: DropboxIcon,
freshdesk: FreshdeskIcon,
intercom: IntercomIcon,
onedrive: OnedriveIcon,
sharepoint: SharepointIcon,
};
export const IconCollection = Object.keys(ICON_LOOKUP);

View File

@ -0,0 +1,3 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10.4653 8.78343C10.4813 8.52259 10.4448 8.26119 10.3583 8.01533C10.2717 7.76946 10.1369 7.54436 9.96212 7.35389C9.78734 7.16342 9.5763 7.01162 9.34202 6.90785C9.10774 6.80409 8.85518 6.75056 8.59991 6.75056C8.34464 6.75056 8.09208 6.80409 7.8578 6.90785C7.62352 7.01162 7.41248 7.16342 7.2377 7.35389C7.06292 7.54436 6.9281 7.76946 6.84155 8.01533C6.755 8.26119 6.71856 8.52259 6.73448 8.78343C6.76412 9.26934 6.97356 9.7254 7.32014 10.0588C7.66672 10.3921 8.12437 10.5777 8.59991 10.5777C9.07545 10.5777 9.5331 10.3921 9.87968 10.0588C10.2263 9.7254 10.4357 9.26934 10.4653 8.78343ZM11.709 8.78343C11.6966 9.48251 11.4595 10.1579 11.0344 10.7051C10.6092 11.2523 10.0198 11.6408 9.35723 11.8104C8.69468 11.9799 7.99601 11.9212 7.36937 11.6432C6.74273 11.3652 6.22307 10.8835 5.89085 10.2726C5.56104 10.8802 5.04579 11.3605 4.424 11.6397C3.80221 11.919 3.10815 11.982 2.44809 11.8189C1.78803 11.6559 1.19835 11.2759 0.769343 10.7371C0.340333 10.1982 0.0956392 9.53031 0.0727265 8.83555H0V3.57139C0.0166056 3.41442 0.0892715 3.26926 0.204041 3.1638C0.318811 3.05833 0.467593 3 0.621812 3C0.77603 3 0.924812 3.05833 1.03958 3.1638C1.15435 3.26926 1.22702 3.41442 1.24362 3.57139V6.26676C1.60094 5.98944 2.01268 5.79463 2.45054 5.69572C2.88839 5.59682 3.34197 5.59616 3.7801 5.69379C4.21822 5.79143 4.6305 5.98504 4.98859 6.26132C5.34667 6.5376 5.64208 6.88999 5.85448 7.29427C6.17777 6.66431 6.69814 6.1636 7.33231 5.87229C7.96647 5.58098 8.67777 5.5159 9.35233 5.68749C10.0269 5.85907 10.6257 6.25739 11.053 6.81869C11.4803 7.37999 11.7112 8.07181 11.709 8.78343ZM4.97449 8.78343C4.99041 8.52259 4.95397 8.26119 4.86742 8.01533C4.78087 7.76946 4.64605 7.54436 4.47127 7.35389C4.29649 7.16342 4.08545 7.01162 3.85117 6.90785C3.61688 6.80409 3.36432 6.75056 3.10906 6.75056C2.85379 6.75056 2.60123 6.80409 2.36695 6.90785C2.13267 7.01162 1.92163 7.16342 1.74685 7.35389C1.57207 7.54436 1.43724 7.76946 1.3507 8.01533C1.26415 8.26119 1.22771 8.52259 1.24362 8.78343C1.27327 9.26934 1.48271 9.7254 1.82929 10.0588C2.17587 10.3921 2.63352 10.5777 3.10906 10.5777C3.58459 10.5777 4.04225 10.3921 4.38883 10.0588C4.73541 9.7254 4.94484 9.26934 4.97449 8.78343ZM15.8835 10.9576C15.9589 11.0692 15.9995 11.2016 15.9998 11.3373C16.001 11.4358 15.9792 11.5331 15.9362 11.6212C15.8931 11.7092 15.8302 11.7855 15.7526 11.8436C15.6446 11.924 15.5151 11.9682 15.3817 11.9702C15.2925 11.9749 15.2035 11.9586 15.1216 11.9224C15.0396 11.8863 14.9668 11.8313 14.9089 11.7617L13.5199 9.87796L12.1453 11.7617C12.0867 11.8362 12.0124 11.8962 11.9281 11.9375C11.8438 11.9787 11.7515 12.0001 11.6581 12C11.5205 11.996 11.3868 11.9521 11.2726 11.8734C11.197 11.8122 11.1361 11.734 11.0945 11.645C11.0529 11.556 11.0317 11.4584 11.0326 11.3597C11.0357 11.2267 11.0761 11.0975 11.149 10.9874L12.7271 8.78343L11.149 6.60182C11.0719 6.49388 11.031 6.36324 11.0326 6.22953C11.0334 6.13218 11.0553 6.03623 11.0968 5.94865C11.1383 5.86107 11.1984 5.78406 11.2726 5.72322C11.4047 5.62316 11.5696 5.57965 11.7325 5.60189C11.8954 5.62412 12.0434 5.71036 12.1453 5.84235L13.5199 7.71868L14.9089 5.84235C14.9562 5.77716 15.0157 5.72227 15.0839 5.6809C15.1522 5.63953 15.2278 5.61251 15.3063 5.60141C15.3849 5.59032 15.4648 5.59538 15.5414 5.61629C15.618 5.63721 15.6898 5.67356 15.7526 5.72322C15.8313 5.78366 15.8949 5.86249 15.9379 5.95314C15.9809 6.0438 16.0021 6.14366 15.9998 6.24442C16.0015 6.37357 15.9605 6.4995 15.8835 6.60182L14.298 8.78343L15.8835 11.0172V10.9576Z" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -0,0 +1,3 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.5267 1.34209C10.6125 1.18815 10.7558 1.07445 10.9252 1.02585C11.0946 0.97725 11.2764 0.997709 11.4307 1.08275L14.6554 2.86015C14.7323 2.90258 14.8001 2.95979 14.8548 3.02849C14.9095 3.09719 14.9501 3.17602 14.9743 3.26046C14.9984 3.3449 15.0057 3.43328 14.9956 3.52053C14.9855 3.60777 14.9582 3.69216 14.9154 3.76885L13.8434 5.69225C13.1451 6.9476 12.0058 7.89907 10.646 8.36235L14.5908 10.5364C14.6677 10.5788 14.7355 10.636 14.7903 10.7046C14.8451 10.7733 14.8858 10.8521 14.91 10.9366C14.9342 11.021 14.9415 11.1094 14.9315 11.1967C14.9214 11.284 14.8942 11.3684 14.8514 11.4451L13.0647 14.6519C12.9788 14.8059 12.8354 14.9196 12.6658 14.9681C12.4963 15.0166 12.3144 14.9959 12.1601 14.9106L7.64666 12.4225C7.45901 12.3186 7.23786 12.2931 7.03151 12.3517C6.82516 12.4103 6.65037 12.5481 6.54531 12.7352L5.4733 14.6579C5.38749 14.8118 5.24422 14.9256 5.07481 14.9741C4.90541 15.0227 4.72365 15.0023 4.56929 14.9172L1.34457 13.1405C1.26768 13.0981 1.19993 13.0409 1.14521 12.9722C1.09049 12.9035 1.04988 12.8246 1.02572 12.7402C1.00156 12.6558 0.994323 12.5674 1.00442 12.4801C1.01452 12.3929 1.04176 12.3085 1.08457 12.2318L2.15659 10.3084C2.85488 9.05307 3.99425 8.10159 5.35396 7.63832L1.40924 5.46424C1.33229 5.42187 1.26447 5.3647 1.20969 5.29602C1.1549 5.22735 1.11423 5.14853 1.09 5.06408C1.06578 4.97964 1.05848 4.89124 1.06854 4.80397C1.07859 4.7167 1.10579 4.63227 1.14857 4.55554L2.93526 1.34876C3.02119 1.19475 3.16463 1.08107 3.33418 1.03258C3.50374 0.984103 3.6856 1.00478 3.83994 1.09009L8.354 3.57817C8.74668 3.79485 9.23935 3.65151 9.45402 3.26616L10.5274 1.34209H10.5267ZM11.3687 2.5708L10.6194 3.91485C10.3426 4.40945 9.88136 4.77447 9.33641 4.93023C8.79146 5.08598 8.20702 5.01983 7.71066 4.74622L3.77727 2.57814L2.63993 4.61955L6.56731 6.78429C8.74068 7.98233 11.4774 7.19964 12.6794 5.04289L13.4261 3.70418L11.3694 2.5708H11.3687ZM9.43335 9.21638C7.25999 8.01833 4.52328 8.80103 3.32127 10.9578L2.57459 12.2965L4.63195 13.4299L5.3813 12.0858C5.65796 11.5911 6.11918 11.2259 6.66418 11.0702C7.20918 10.9144 7.79369 10.9807 8.29 11.2544L12.2227 13.4225L13.3607 11.3811L9.43335 9.21638Z" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -0,0 +1,10 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_6_35)">
<path d="M15.8359 3.88317L13.3035 5.99025L15.3275 7.60738C15.389 7.6564 15.4381 7.71927 15.4707 7.79086C15.5033 7.86246 15.5185 7.94075 15.5151 8.01934C15.5116 8.09793 15.4897 8.1746 15.451 8.24309C15.4123 8.31159 15.3579 8.36996 15.2924 8.41344L13.0009 9.9389C13.0035 9.95894 13.013 9.97647 13.013 9.99701V12.4959C13.013 12.5782 12.9927 12.6592 12.9538 12.7318C12.9149 12.8043 12.8586 12.8661 12.79 12.9117L8.28531 15.9105C8.26828 15.922 8.24874 15.927 8.23071 15.936C8.21417 15.9445 8.19864 15.9531 8.18111 15.9596C8.12589 15.9815 8.06718 15.9934 8.00778 15.9946C7.94836 15.9934 7.88965 15.9816 7.83444 15.9596C7.81691 15.9531 7.80138 15.9445 7.78434 15.936C7.76631 15.927 7.74727 15.922 7.73024 15.9105L3.22551 12.9117C3.15693 12.8661 3.10069 12.8043 3.06179 12.7318C3.0229 12.6592 3.00255 12.5782 3.00258 12.4959V9.99701C3.00258 9.97647 3.0121 9.95894 3.0141 9.9389L0.723161 8.41344C0.657607 8.36996 0.603264 8.31159 0.564568 8.24309C0.525871 8.1746 0.503917 8.09793 0.500498 8.01934C0.497079 7.94075 0.512291 7.86246 0.544893 7.79086C0.577495 7.71927 0.626564 7.6564 0.688093 7.60738L2.71201 5.99025L0.179608 3.88317C0.119935 3.83332 0.0726984 3.77025 0.0416447 3.69896C0.0105911 3.62767 -0.00342526 3.55013 0.000707442 3.47249C0.00484015 3.39484 0.0270082 3.31923 0.0654533 3.25164C0.103898 3.18405 0.157563 3.12635 0.222191 3.08312L4.72692 0.0843069C4.81671 0.0243434 4.92351 -0.00493845 5.03133 0.000840931C5.13915 0.00662032 5.24221 0.0471503 5.32508 0.116369L8.00778 2.34869L10.6905 0.116369C10.7733 0.0470753 10.8764 0.0064967 10.9842 0.000716246C11.0921 -0.00506421 11.1989 0.0242649 11.2886 0.0843069L15.7929 3.08312C15.8576 3.12624 15.9114 3.18389 15.9499 3.25146C15.9885 3.31903 16.0108 3.39466 16.0149 3.47234C16.0191 3.55003 16.0051 3.62761 15.974 3.69893C15.943 3.77025 15.8957 3.83334 15.8359 3.88317ZM14.1677 7.96107L12.4854 6.61696L8.85492 9.03365L10.5372 10.3778L14.1677 7.96107ZM8.50824 14.5609L12.012 12.2283V10.5977L10.7882 11.4123C10.6996 11.471 10.5948 11.5001 10.4887 11.4955C10.3826 11.4909 10.2806 11.4528 10.1975 11.3867L8.50824 10.0371V14.5609ZM8.00778 8.39641L11.6103 5.99827L8.00778 3.60012L4.4053 5.99827L8.00778 8.39641ZM4.00352 12.2283L7.50731 14.5609V10.0371L5.81753 11.3867C5.73467 11.4532 5.63277 11.4915 5.52664 11.4961C5.42052 11.5007 5.31569 11.4713 5.22739 11.4123L4.00352 10.5977V12.2283ZM5.47837 10.3778L7.16063 9.03365L3.5301 6.61696L1.84784 7.96107L5.47837 10.3778ZM4.97139 1.12282L1.33535 3.54401L3.53661 5.37556L7.17266 2.95487L4.97139 1.12282ZM11.0442 1.12282L8.84289 2.95487L12.4789 5.37556L14.6802 3.54401L11.0442 1.12282Z" fill="black"/>
</g>
<defs>
<clipPath id="clip0_6_35">
<rect width="16" height="16" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -0,0 +1,11 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_6_5)">
<path d="M7.97236 7.50111e-05H13.9816C14.2473 -0.00222543 14.5108 0.0484079 14.7567 0.149022C15.0026 0.249635 15.226 0.398215 15.4139 0.58609C15.6018 0.773965 15.7504 0.997375 15.851 1.24328C15.9516 1.48919 16.0022 1.75268 15.9999 2.01836V8.02739C15.9994 10.1417 15.1592 12.1693 13.6642 13.6643C12.1691 15.1593 10.1414 15.9995 8.02707 16H7.98173C6.93402 16.0012 5.89635 15.7959 4.92801 15.3959C3.95968 14.9959 3.07965 14.409 2.33823 13.6687C1.59686 12.9284 1.00874 12.0492 0.607523 11.0814C0.206304 10.1135 -0.000140664 9.07607 7.19075e-08 8.02837C7.19075e-08 3.61032 3.56353 0.046897 7.97285 0.00155327L7.97236 7.50111e-05Z" fill="black"/>
<path d="M8.53255 4.01569C7.60086 4.01569 6.70733 4.40874 6.04852 5.10837C5.38972 5.80801 5.01961 6.75691 5.01961 7.74635V10.283C5.02658 10.6097 5.15191 10.921 5.36952 11.1521C5.58712 11.3832 5.88025 11.5163 6.18791 11.5237H7.18182V8.61264H5.83959V7.79804C5.92135 6.26372 7.11659 5.06417 8.56374 5.06417C10.0109 5.06417 11.2104 6.26874 11.2879 7.79804V8.61264H9.92817V11.5237H10.8261V11.5699C10.8216 11.8728 10.7063 12.162 10.5046 12.3762C10.3028 12.5905 10.0305 12.7129 9.74527 12.7177H8.67244C8.58548 12.7177 8.48954 12.7639 8.48954 12.8567C8.49426 12.9571 8.57319 13.0465 8.67244 13.051H9.75331C10.1225 13.0485 10.4758 12.8916 10.7369 12.6144C10.9979 12.3372 11.1456 11.9619 11.148 11.5699V11.4775C11.4043 11.4154 11.633 11.2622 11.7962 11.0434C11.9595 10.8246 12.0476 10.5531 12.046 10.2739V7.79302C12.0946 5.69104 10.5256 4.01569 8.53255 4.01569Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_6_5">
<rect width="16" height="16" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -0,0 +1,10 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_6_17)">
<path d="M0 0V16H16V0H0ZM1.45455 1.45455H14.5455V14.5455H1.45455V1.45455ZM8.00142 2.90909C7.76997 2.90909 7.53835 3.06277 7.53835 3.36932V10.0724C7.53835 10.6855 8.46449 10.6855 8.46449 10.0724V3.36932C8.46449 3.06277 8.23288 2.90909 8.00142 2.90909ZM5.68892 3.14063C5.45747 3.14063 5.22585 3.29431 5.22585 3.60085V9.77699C5.22585 10.3901 6.15057 10.3901 6.15057 9.77699V3.60085C6.15057 3.29431 5.92038 3.14063 5.68892 3.14063ZM10.3111 3.14063C10.0796 3.14063 9.84801 3.29431 9.84801 3.60085V9.77699C9.84801 10.3901 10.7741 10.3901 10.7741 9.77699V3.60085C10.7741 3.29431 10.5425 3.14063 10.3111 3.14063ZM3.375 4.06676C3.14355 4.06676 2.91335 4.22044 2.91335 4.52699V8.68466C2.91335 9.29775 3.83807 9.29775 3.83807 8.68466V4.52699C3.83807 4.22044 3.60645 4.06676 3.375 4.06676ZM12.6236 4.06676C12.3921 4.06676 12.1605 4.22044 12.1605 4.52699V8.68466C12.1605 9.29775 13.0866 9.29775 13.0866 8.68466V4.52699C13.0866 4.22044 12.855 4.06676 12.6236 4.06676ZM12.6776 10.7628C12.5635 10.7468 12.4393 10.7766 12.3239 10.8764C10.3675 12.5455 5.71756 12.5884 3.67756 10.8764C3.21283 10.4801 2.61198 11.1832 3.0767 11.5795C5.4418 13.6043 10.6709 13.5301 12.9247 11.5795C13.2711 11.2801 13.0197 10.8106 12.6776 10.7628Z" fill="black"/>
</g>
<defs>
<clipPath id="clip0_6_17">
<rect width="16" height="16" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -0,0 +1,3 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.7389 2.52365C6.76058 2.03833 7.9072 1.88527 9.01936 2.08576C10.1315 2.28625 11.1539 2.83032 11.9445 3.64233C12.5996 4.31524 13.0685 5.14446 13.3101 6.04772C14.0052 6.21405 14.6382 6.59185 15.1187 7.13684C15.7346 7.83541 16.0493 8.75145 15.9937 9.68345C15.9381 10.6155 15.5167 11.4871 14.8223 12.1066C14.134 12.7205 13.2333 13.037 12.3153 12.9881H4.60097C3.48011 13.072 2.37084 12.7093 1.51295 11.9774C0.646546 11.2384 0.107507 10.1833 0.0144164 9.04445C-0.0786747 7.90558 0.281807 6.77616 1.01656 5.90464C1.66271 5.13822 2.55176 4.62646 3.52679 4.4505C4.0738 3.61906 4.83805 2.95157 5.7389 2.52365ZM8.74536 3.62371C7.95096 3.48051 7.13194 3.58983 6.40217 3.93649C5.6724 4.28315 5.06813 4.84991 4.67338 5.55798C4.54705 5.78457 4.31702 5.93317 4.05962 5.95446C3.33801 6.01414 2.66951 6.35974 2.20121 6.91521C1.7329 7.47068 1.50314 8.19054 1.56248 8.91642C1.62181 9.64229 1.96537 10.3147 2.51759 10.7858C3.0698 11.2569 3.78544 11.488 4.50705 11.4283C4.52822 11.4265 4.54945 11.4257 4.5707 11.4257H12.3371C12.3526 11.4257 12.3681 11.4261 12.3836 11.4271C12.899 11.4582 13.4054 11.2821 13.7917 10.9375C14.1779 10.593 14.4123 10.1082 14.4432 9.58988C14.4741 9.07152 14.2991 8.56204 13.9566 8.17351C13.614 7.78498 13.1321 7.54924 12.6168 7.51814C12.2528 7.49617 11.953 7.22238 11.8962 6.86003C11.7704 6.05812 11.3994 5.31555 10.8347 4.73554C10.2701 4.15554 9.53976 3.76692 8.74536 3.62371Z" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13.5 2C13.5 2.44425 13.3069 2.84339 13 3.11805V5H18C19.6569 5 21 6.34315 21 8V18C21 19.6569 19.6569 21 18 21H6C4.34315 21 3 19.6569 3 18V8C3 6.34315 4.34315 5 6 5H11V3.11805C10.6931 2.84339 10.5 2.44425 10.5 2C10.5 1.17157 11.1716 0.5 12 0.5C12.8284 0.5 13.5 1.17157 13.5 2ZM6 7C5.44772 7 5 7.44772 5 8V18C5 18.5523 5.44772 19 6 19H18C18.5523 19 19 18.5523 19 18V8C19 7.44772 18.5523 7 18 7H13H11H6ZM2 10H0V16H2V10ZM22 10H24V16H22V10ZM9 14.5C9.82843 14.5 10.5 13.8284 10.5 13C10.5 12.1716 9.82843 11.5 9 11.5C8.17157 11.5 7.5 12.1716 7.5 13C7.5 13.8284 8.17157 14.5 9 14.5ZM15 14.5C15.8284 14.5 16.5 13.8284 16.5 13C16.5 12.1716 15.8284 11.5 15 11.5C14.1716 11.5 13.5 12.1716 13.5 13C13.5 13.8284 14.1716 14.5 15 14.5Z"></path></svg>

After

Width:  |  Height:  |  Size: 823 B

View File

@ -0,0 +1,3 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.29132 11.6571H1.5902C1.26424 11.6571 1 11.3843 1 11.0478V4.95226C1 4.61568 1.26424 4.34284 1.5902 4.34284H3.56724C3.81967 1.90149 5.82091 0 8.2523 0C10.6985 0 12.7095 1.92493 12.9417 4.3879C14.7146 4.9649 16 6.6752 16 8.69669C16 10.9904 14.3442 12.8848 12.1995 13.1751C11.8386 14.7936 10.435 16 8.75824 16C6.80795 16 5.22697 14.3675 5.22697 12.3537C5.22697 12.1155 5.24909 11.8826 5.29132 11.6571ZM11.5709 4.17997C11.2624 2.5785 9.89383 1.37143 8.2523 1.37143C6.5555 1.37143 5.15037 2.66106 4.90615 4.34284H7.49346C7.8194 4.34284 8.08362 4.61568 8.08362 4.95226V6.04493C8.86875 4.92872 10.1368 4.19806 11.5709 4.17997ZM8.08362 10.1873V11.0478C8.08362 11.3843 7.8194 11.6571 7.49346 11.6571H6.66034C6.59207 11.8768 6.55515 12.1108 6.55515 12.3537C6.55515 13.6101 7.54154 14.6286 8.75824 14.6286C9.9312 14.6286 10.8905 13.6816 10.9576 12.4882C10.9601 12.4438 10.9613 12.399 10.9613 12.3537C10.9613 11.0974 9.97494 10.0789 8.75824 10.0789C8.5545 10.0789 8.35819 10.1072 8.17243 10.16C8.14259 10.1685 8.11292 10.1776 8.08362 10.1873ZM12.2456 11.777C11.9778 10.0373 10.5184 8.70747 8.75824 8.70747C8.69821 8.70747 8.63844 8.70903 8.57912 8.71214L8.57903 8.69669C8.57903 6.95936 9.94298 5.55106 11.6254 5.55106C11.8153 5.55106 12.0005 5.5689 12.1797 5.60287C13.5975 5.8716 14.6718 7.15529 14.6718 8.69669C14.6718 10.2145 13.6307 11.4812 12.2456 11.777ZM3.18551 7.53536C3.27342 7.69024 3.39447 7.82235 3.53936 7.92155C3.72741 8.04919 3.9273 8.15707 4.13608 8.24375C4.39851 8.35776 4.59719 8.44965 4.73212 8.51931C4.84906 8.57627 4.9559 8.65317 5.04819 8.7467C5.12239 8.82277 5.16374 8.92645 5.16287 9.03442C5.16622 9.18958 5.08663 9.33394 4.95576 9.41019C4.76894 9.51104 4.55894 9.55703 4.34858 9.54331C4.12129 9.53966 3.89569 9.50235 3.67867 9.4325C3.46091 9.36997 3.25542 9.26866 3.0715 9.13298V9.9776C3.26391 10.0638 3.46592 10.1252 3.67293 10.1601C3.9181 10.203 4.16638 10.224 4.41503 10.2228C4.69217 10.2272 4.96821 10.1858 5.23269 10.1002C5.45755 10.0283 5.65697 9.88983 5.80614 9.70176C5.95578 9.49723 6.03165 9.24526 6.02066 8.98917C6.02861 8.78281 5.98197 8.5781 5.88574 8.39698C5.79188 8.23735 5.66262 8.10286 5.50862 8.00485C5.30525 7.87794 5.09174 7.76923 4.87041 7.67991C4.84712 7.66802 4.82298 7.65797 4.79823 7.64992C4.57335 7.55401 4.40469 7.47712 4.29224 7.41934C4.1912 7.37061 4.09972 7.30304 4.02239 7.22011C3.95692 7.14971 3.92061 7.05582 3.92119 6.95817C3.9215 6.79735 4.01426 6.65198 4.15732 6.58825C4.34261 6.49499 4.54732 6.45019 4.75336 6.45806C4.94874 6.4576 5.14345 6.48174 5.33321 6.52974C5.50809 6.57216 5.67543 6.64265 5.82906 6.73874V5.93767C5.47547 5.81883 5.10439 5.76517 4.73278 5.77919C4.45021 5.77605 4.16905 5.82101 3.90062 5.91224C3.66509 5.98903 3.45441 6.13093 3.29143 6.32256C3.13632 6.51392 3.0548 6.75749 3.06239 7.00699C3.05787 7.19113 3.10033 7.37335 3.18551 7.53536Z" fill="#1F2328"/>
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -210,7 +210,7 @@ export const PARTNER_PROGRAM_CALLOUT_LINK = () =>
export const NEW_APPLICATION = () => `New application`;
export const APPLICATIONS = () => `Applications`;
export const FIXED_APPLICATIONS = () => `Classic Applications`;
export const ANVIL_APPLICATIONS = () => `New Applications`;
export const AI_AGENTS_APPLICATIONS = () => `AI Agents`;
export const USER_PROFILE_PICTURE_UPLOAD_FAILED = () =>
"Unable to upload display picture.";
@ -272,8 +272,6 @@ export const APPLICATION_CARD_LIST_ZERO_STATE = () =>
`There are no applications in this workspace.`;
export const NEW_APPLICATION_CARD_LIST_ZERO_STATE = () =>
`There are no new applications in this workspace.`;
export const CLASSIC_APPLICATION_CARD_LIST_ZERO_STATE = () =>
`There are no classic applications in this workspace.`;
export const TRY_GUIDED_TOUR = () => `Try guided tour`;
export const JOIN_OUR_DISCORD = () => `Join our discord`;
export const WHATS_NEW = () => `What's new?`;

View File

@ -8,14 +8,11 @@ import {
} from "ee/actions/workspaceActions";
import type { UpdateApplicationPayload } from "ee/api/ApplicationApi";
import {
ANVIL_APPLICATIONS,
AI_AGENTS_APPLICATIONS,
APPLICATIONS,
CLASSIC_APPLICATION_CARD_LIST_ZERO_STATE,
CREATE_A_NEW_WORKSPACE,
createMessage,
FIXED_APPLICATIONS,
INVITE_USERS_PLACEHOLDER,
NEW_APPLICATION_CARD_LIST_ZERO_STATE,
NO_APPS_FOUND,
NO_WORKSPACE_HEADING,
WORKSPACES_HEADING,
@ -282,12 +279,9 @@ const TitleTag = styled(Tag)`
max-width: fit-content;
`;
// A static component that is a tag signifying Anvil applications
// This will be passed down to the ApplicationCardsList component
// in the titleTag prop.
const AnvilTitleTag = (
const BetaTag = (
<TitleTag isClosable={false} onClose={() => {}}>
Anvil α
Beta
</TitleTag>
);
@ -771,7 +765,7 @@ export function ApplicationsSection(props: any) {
) {
createNewApplication(
getNextEntityName(
isAnvilEnabled ? "AI app " : "Untitled application ",
"Untitled application ",
// TODO: Fix this the next time the file is edited
// eslint-disable-next-line @typescript-eslint/no-explicit-any
applications.map((el: any) => el.name),
@ -902,39 +896,10 @@ export function ApplicationsSection(props: any) {
<ResourceListLoader isMobile={isMobile} resources={applications} />
) : (
<>
{isAnvilEnabled && ( // Anvil Applications list
<ApplicationCardList
applications={anvilApplications}
canInviteToWorkspace={canInviteToWorkspace}
deleteApplication={deleteApplication}
emptyStateMessage={createMessage(
NEW_APPLICATION_CARD_LIST_ZERO_STATE,
)}
enableImportExport={enableImportExport}
hasCreateNewApplicationPermission={
hasCreateNewApplicationPermission
}
hasManageWorkspacePermissions={hasManageWorkspacePermissions}
isMobile={isMobile}
onClickAddNewButton={onClickAddNewAppButton}
title={createMessage(ANVIL_APPLICATIONS)}
titleTag={AnvilTitleTag}
updateApplicationDispatch={updateApplicationDispatch}
workspaceId={activeWorkspace.id}
/>
)}
<ApplicationCardList
applications={nonAnvilApplications}
canInviteToWorkspace={canInviteToWorkspace}
deleteApplication={deleteApplication}
emptyStateMessage={
// We let the original message includded in the ApplicationCardList component
// show if Anvil is not enabled. If Anvil is enabled, we need to pass the message
// to make them appropriate to the context.
isAnvilEnabled
? createMessage(CLASSIC_APPLICATION_CARD_LIST_ZERO_STATE)
: undefined
}
enableImportExport={enableImportExport}
hasCreateNewApplicationPermission={
hasCreateNewApplicationPermission
@ -942,15 +907,31 @@ export function ApplicationsSection(props: any) {
hasManageWorkspacePermissions={hasManageWorkspacePermissions}
isMobile={isMobile}
onClickAddNewButton={onClickAddNewAppButton}
title={
// The title is different based on whether Anvil is enabled or not
createMessage(
isAnvilEnabled ? FIXED_APPLICATIONS : APPLICATIONS,
)
}
title={createMessage(APPLICATIONS)}
updateApplicationDispatch={updateApplicationDispatch}
workspaceId={activeWorkspace.id}
/>
{isAnvilEnabled &&
anvilApplications.length > 0 && ( // AI Agents list
<ApplicationCardList
applications={anvilApplications}
canInviteToWorkspace={canInviteToWorkspace}
deleteApplication={deleteApplication}
enableImportExport={enableImportExport}
hasCreateNewApplicationPermission={
hasCreateNewApplicationPermission
}
hasManageWorkspacePermissions={
hasManageWorkspacePermissions
}
isMobile={isMobile}
onClickAddNewButton={onClickAddNewAppButton}
title={createMessage(AI_AGENTS_APPLICATIONS)}
titleTag={BetaTag}
updateApplicationDispatch={updateApplicationDispatch}
workspaceId={activeWorkspace.id}
/>
)}
<PackageCardList
isMobile={isMobile}
packages={packages}

View File

@ -113,7 +113,6 @@ import {
} from "ee/selectors/selectedWorkspaceSelectors";
import equal from "fast-deep-equal";
import { getFromServerWhenNoPrefetchedResult } from "sagas/helper";
import { getIsAnvilLayoutEnabled } from "layoutSystems/anvil/integrations/selectors";
import type { Page } from "entities/Page";
import type { ApplicationPayload } from "entities/Application";
@ -580,17 +579,6 @@ export function* createApplicationSaga(
layoutSystemType: LayoutSystemTypes.FIXED, // Note: This may be provided as an action payload in the future
};
// SPECIAL HANDLING FOR ANVIL DURING EXPERIMENTATION
// Check if Anvil is enabled for the user, If so, default to using
// Anvil as the layout system for the new app. Also, we want to hide the navbar for anvil apps
const isAnvilEnabled: boolean = yield select(getIsAnvilLayoutEnabled);
if (isAnvilEnabled) {
request.layoutSystemType = LayoutSystemTypes.ANVIL;
request.showNavbar = false;
}
/** EO SPECIAL HANDLING FOR ANVIL DURING EXPERIMENTATION */
const response: CreateApplicationResponse = yield call(
ApplicationApi.createApplication,
request,

View File

@ -123,9 +123,14 @@ export function TemplateContent(props: TemplateContentProps) {
const isLoading = isFetchingApplications || isFetchingTemplates;
const filterWithAllowPageImport = props.filterWithAllowPageImport || false;
const templates = useSelector(getSearchedTemplateList).filter((template) =>
filterWithAllowPageImport ? !!template.allowPageImport : true,
);
const templates = useSelector(getSearchedTemplateList)
.filter((template) =>
filterWithAllowPageImport ? !!template.allowPageImport : true,
)
// We are using AI Agent template for creating ai agent app,
// so we are not showing it in the templates list.
// TODO: Once we have a new entity for ai agent, we need to remove this filter.
.filter((template) => template.title !== "AI Agent");
if (isLoading) {
return <LoadingScreen text="Loading templates" />;