-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
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_metadataAPI 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.
-
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 -
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 -
Insert rows (for only those tables marked as Enum): https://app.moqups.com/0eepEW20UV/view/page/a4aad660e?ui=0&fit_width=1
-
Browse rows(for only those tables marked as Enum): https://app.moqups.com/0eepEW20UV/view/page/a769f8e37?ui=0&fit_width=1