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

Allow to save metadata editor default column layout #6245

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

thomaslow
Copy link
Collaborator

Fixes #5888. This pull request enables the "wrench" button if the metadata editor is opened from the process list (without any task context). The layout is stored in the database table with a null value in the column task_id.

Demo:

2024-10-01.17-31-27.mp4

String galleryWithId = "metadataEditorLayoutForm:galleryWidth";

Function<String, Double> getValue =
(id) -> Double.parseDouble(Browser.getDriver().findElement(By.id(id)).getAttribute("value"));

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException Note test

Potential uncaught 'java.lang.NumberFormatException'.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Removed parseDouble and changed assert statements to check the string instead.

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.

Add option to save default data editor layout
1 participant