这是indexloc提供的服务,不要输入任何密码
Skip to content

Console support for enums #2767

@dsandip

Description

@dsandip

In reference to the on-going work for Enums, the following UI and other updates are need:

Edit: Let's just use the reload_metadata endpoint for now

API enhancements

Given that the current reload_metadata call can sometimes be very expensive and the console encourages reloading on atomic operations (like adding new rows to the Enum table, etc.), we should have a more granular reload option for Enums too.

From @lexi-lambda :

We could also add a fit-for-purpose reload_enum_metadata API to just reload the enum table

Console changes

The idea is to let developers mark a new/existing table as an Enum table, provided it meets the criterion for it (documented in the PR referenced above). Additionally, you should also be able to refresh Enums' metadata when adding rows to such a table or, if you've added said rows outside the console, in the Browse rows section.

  1. Create Table
    a) Compatible table: https://app.moqups.com/0eepEW20UV/view/page/aeaf81dcc?ui=0&fit_width=1
    b) Incompatible table: https://app.moqups.com/0eepEW20UV/view/page/ab6cc8017?ui=0&fit_width=1

  2. Modify Table
    a) Compatible table: https://app.moqups.com/0eepEW20UV/view/page/a0888ce28?ui=0&fit_width=1
    b) Incompatible table: https://app.moqups.com/0eepEW20UV/view/page/abdb3fb84?ui=0&fit_width=1

  3. Insert rows (for only those tables marked as Enum): https://app.moqups.com/0eepEW20UV/view/page/a4aad660e?ui=0&fit_width=1

  4. Browse rows(for only those tables marked as Enum): https://app.moqups.com/0eepEW20UV/view/page/a769f8e37?ui=0&fit_width=1

Metadata

Metadata

Assignees

Labels

c/consoleRelated to consolec/serverRelated to serverp/highcandidate for being included in the upcoming sprint

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions