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

Feature for Phase 2 Refactor: Transform Heuristics for continuous values are now selectable by column #372

Merged
merged 7 commits into from
Mar 6, 2023

Conversation

jarmoza
Copy link
Contributor

@jarmoza jarmoza commented Mar 6, 2023

This PR implements #336.

  1. The annot-continuous-values component (that is used on the annotation page tab, currently exclusively for 'Age'-categorized columns) now features one tab per column
  2. Each tab lists the data for that column with an original value and preview value column
  3. Each contains a dropdown featuring all of the app's transformation heuristics for continuous values - including a default blank with which no transformation has yet taken place
  4. Unit tests in annot-continuous-values.cy.js have been reworked and extended for the new feature

NOTE: @rmanaem There was something happening in the testing that I could not explain. The reason that the store variable is initialized each time in the beforeEach function is because its function definitions in store.getters were seemingly being wiped by (at least) the first individual test. This is difficult to debug because JSON.stringify will not display functions defined on an object. Not sure this is necessarily worth our time to looking into, but if you can see something that might have caused that behavior please point it out.

@jarmoza jarmoza added annotation page data store feat:improve Incremental, user facing improvements of an existing feature. maint:refactor Simplifying or restructuring existing code or documentation. labels Mar 6, 2023
@jarmoza jarmoza requested a review from rmanaem March 6, 2023 17:16
@rmanaem
Copy link
Contributor

rmanaem commented Mar 6, 2023

@jarmoza Regarding the issue with testing, was it the same issue we had in the past the one we have in cypress-bug branch?

Copy link
Contributor

@rmanaem rmanaem left a comment

Choose a reason for hiding this comment

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

🧑‍🍳

@jarmoza
Copy link
Contributor Author

jarmoza commented Mar 6, 2023

Thanks @rmanaem. Will take a look at that branch's tests and see if I can note any similarities.

@jarmoza jarmoza merged commit c4d58ea into dev_components_talk_to_store_directly Mar 6, 2023
@jarmoza jarmoza deleted the jarmoza-336 branch March 6, 2023 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
annotation page data store feat:improve Incremental, user facing improvements of an existing feature. maint:refactor Simplifying or restructuring existing code or documentation.
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants