Skip to content

Commit d7fc8cc

Browse files
LianaHusAniket-Engg
authored andcommitted
e2e
e2e e2e
1 parent 57b2c7b commit d7fc8cc

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

apps/remix-ide/src/app/plugins/remixGuide.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ export class RemixGuidePlugin extends ViewPlugin {
124124
cell.expandViewElement
125125
}
126126
key={cell.title}
127+
id={cell.title}
127128
handleExpand={() => {
128129
this.showVideo = true
129130
this.videoID = cell.expandViewElement.videoID

apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ export class TemplatesSelectionPlugin extends ViewPlugin {
163163
plugin={this}
164164
title={item.displayName}
165165
key={item.name}
166+
id={item.name}
166167
searchKeywords={[item.displayName, item.description, template.name]}
167168
tagList={item.tagList}
168169
classList='TSCellStyle'

apps/remix-ide/src/app/providers/environment-explorer.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ export class EnvironmentExplorer extends ViewPlugin {
111111
searchKeywords={['Injected', provider.name, provider.displayName, provider.title, provider.description]}
112112
pinned={this.pinnedProviders.includes(provider.name)}
113113
key={provider.name}
114+
id={provider.name}
114115
pinStateCallback={async (pinned: boolean) => {
115116
if (pinned) {
116117
this.emit('providerPinned', provider.name, provider)
@@ -145,6 +146,7 @@ export class EnvironmentExplorer extends ViewPlugin {
145146
searchKeywords={['Remix VMs', provider.name, provider.displayName, provider.title, provider.description]}
146147
pinned={this.pinnedProviders.includes(provider.name)}
147148
key={provider.name}
149+
id={provider.name}
148150
pinStateCallback={async (pinned: boolean) => {
149151
if (pinned) {
150152
this.emit('providerPinned', provider.name, provider)
@@ -178,6 +180,7 @@ export class EnvironmentExplorer extends ViewPlugin {
178180
searchKeywords={['Externals', provider.name, provider.displayName, provider.title, provider.description]}
179181
pinned={this.pinnedProviders.includes(provider.name)}
180182
key={provider.name}
183+
id={provider.name}
181184
pinStateCallback={async (pinned: boolean) => {
182185
if (pinned) {
183186
this.emit('providerPinned', provider.name, provider)

libs/remix-ui/grid-view/src/lib/remix-ui-grid-cell.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ interface RemixUIGridCellProps {
2525
children?: ReactNode
2626
expandViewEl?: any
2727
handleExpand?: any
28+
id: string
2829
searchKeywords?: string[]
2930
}
3031

@@ -97,7 +98,7 @@ export const RemixUIGridCell = (props: RemixUIGridCellProps) => {
9798
{ filterCon.showPin && <button
9899
className={`${pinned ? 'fa-circle-check text-dark' : 'fa-circle text-secondary'}` + ` fa-regular border-0 mb-0 remixui_grid_cell_pin`}
99100
style={{ fontSize: 'large' }}
100-
data-id={`${pinned ? `${props.title}-pinned` : `${props.title}-unpinned`}`}
101+
data-id={`${pinned ? `${props.id}-pinned` : `${props.id}-unpinned`}`}
101102
onClick={async () => {
102103
if (!props.pinStateCallback) setPinned(!pinned)
103104
if (await props.pinStateCallback(!pinned)) setPinned(!pinned)

0 commit comments

Comments
 (0)