amplify-studio icon indicating copy to clipboard operation
amplify-studio copied to clipboard

Admin UI not visible while using @seachable directive

Open athulprathap opened this issue 2 years ago • 11 comments

Before opening, please confirm:

App Id

d188470ikqnhki

Region

No response

Environment name

production

Amplify CLI Version

7.5

If applicable, what version of Node.js are you using?

v15

What operating system are you using?

windows

Browser type?

chrome

Describe the bug

Recently amplify launched a new feature that disables the visual editor if you are using any schema directives, types or parameters that aren’t yet supported in the Visual editor. We have implemented the @searchable on amplify graphql schema, it was running perfectly fine but it is not showing data model in the UI now, and popping out this error “you are using an unsupported directive @searchable”.Admin UI is not working with @searchable directive.The admin UI issue is repeating in other @directives as well amplifyissue

Expected behavior

Admin UI should be properly visible and we should be able to make the edits in the tables even with @searchable directives

Reproduction steps

  1. Open the Admin Panel of the project in amplify console 2.Try opening the data models ,make sure that @searchable directive is included in the query

Additional information

No response

athulprathap avatar Apr 02 '22 15:04 athulprathap

Hello @athulprathap, thank you for bringing this up. Currently, the visual editor in Studio does not fully support the @searchable directive, hence why it is disabled for your schema. We are working on expanding the visual editor to support this and will let you know when it is available.

adilahkb avatar Apr 04 '22 18:04 adilahkb

I am getting the same error but mine is for the @index directive

scottmanny avatar Apr 11 '22 18:04 scottmanny

I am getting the same error but mine is for the @index directive

Same thing for me.

charbono avatar May 09 '22 17:05 charbono

I am getting the same error but mine is for the @index directive

Same for me

tomyates avatar May 17 '22 16:05 tomyates

Same re: @index. Literally just generated my first, fairly trivial schema and the UI is no longer available.

minirobotdan avatar Jul 16 '22 18:07 minirobotdan

I am getting the same error but mine is for the @index directive

Same Here, the visual editor just stop working. Any suggestions?

ori9998 avatar Jul 18 '22 10:07 ori9998

I am getting the same error but mine is for the @index directive

Same thing for me

tyarai avatar Jul 30 '22 18:07 tyarai

@tyarai and others - similarly to @searchable, we don't support the @index directive today. However, we are working on expanding the Visual Editor to support a number of additional directives, including both of these. This is high on our priority list!

wrpeck avatar Sep 29 '22 16:09 wrpeck

I am getting this error for @primaryKey directive. Is that going to be supported? @wrpeck

digihunch avatar Oct 03 '22 21:10 digihunch

@digihunch - yep, we are also working on custom primary key management support for Studio, along with a lot more!

wrpeck avatar Oct 03 '22 21:10 wrpeck

Is there any word on the priority of this? The @index directive was added BY Studio when I created my data model in the UI. This has been a big hinderance to some new changes I need to make.

foobarnes avatar Mar 27 '23 19:03 foobarnes