Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(schema): interactive docs for profiles (poc) #3725

Merged
merged 14 commits into from
May 27, 2024

Conversation

mswertz
Copy link
Member

@mswertz mswertz commented May 12, 2024

What are the main changes you did:

  • added a proof of concept 'profile manager' to the schema app

how to test:

todo:

  • tbd

@mswertz
Copy link
Member Author

mswertz commented May 12, 2024

You will see something like

image

Copy link
Member

@joerivandervelde joerivandervelde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few small comments

@@ -25,7 +25,7 @@ public Schema(SchemaMetadata schema, boolean minimal) {
.map(entry -> new Setting(entry.getKey(), entry.getValue()))
.toList();
List<TableMetadata> list = new ArrayList<>();
list.addAll(schema.getTablesIncludingExternal());
list.addAll(schema.getTables());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the impact of this core behaviour change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the same point as previous. Should not be an issue. Tests are green so that is promising. Just a bit of smoke testing with data explorer and forms to verify.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was previously reverted due to issues on certain pages ( please check pr history for notes on revert)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, I will carefully review. Supposedly that should be fixed by now in the client but double check in order if there are other apps still depending on it (e.g. old catalogue components).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I indeed found an issue in the client where it still depended on this (in getColumnIds, nested columns from refTables in other schemas couldn't be found; fix included for that too).

@joerivandervelde joerivandervelde self-requested a review May 23, 2024 13:42
Copy link
Member

@joerivandervelde joerivandervelde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for clarifying the open issues!

@connoratrug
Copy link
Contributor

Why is this app/view not coded using components ? it makes the ui feel a bit more an art project than part of the emx2 ui, i.e. what is this code supposed to do ?

@mswertz
Copy link
Member Author

mswertz commented May 23, 2024

Why is this app/view not coded using components ? it makes the ui feel a bit more an art project than part of the emx2 ui, i.e. what is this code supposed to do ?

thx for review.

This is indeed like an art project aiming to produce visual documentation. It really is a template, not really an 'app' (although it has some interactivity). I will convert into components only when components are used multiple times.

@mswertz mswertz changed the title feat(schema): interactive docs for profiles (poc)Feat/UI create schema from profiles feat(schema): interactive docs for profiles (poc) May 27, 2024
Copy link

sonarcloud bot commented May 27, 2024

@mswertz mswertz merged commit 6314cef into master May 27, 2024
5 of 6 checks passed
@mswertz mswertz deleted the feat/ui_create_schema_from_profiles branch May 27, 2024 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants