Skip to content

Releasing 2.2#164

Merged
gabegma merged 22 commits intomainfrom
dev
Jul 11, 2022
Merged

Releasing 2.2#164
gabegma merged 22 commits intomainfrom
dev

Conversation

@gabegma
Copy link
Copy Markdown
Contributor

@gabegma gabegma commented Jul 11, 2022

Description:

Checklist:

You should check all boxes before the PR is ready. If a box does not apply, check it to acknowledge
it.

  • PRE-COMMIT. You ran pre-commit on all commits, or else, you
    ran pre-commit run --all-files at the end.
  • FRONTEND TYPES. Regenerate the front-ent types if you played with types and routes.
    Run cd webapp && yarn types while the back-end is running.
  • USER CHANGES. The changes are added to CHANGELOG.md and the documentation, if they impact
    our users.
  • DEV CHANGES.
    • Update the documentation if this PR changes how to develop/launch on the app.
    • Update the README files and our wiki for any big design decisions, if relevant.
    • Add unit tests, docstrings, typing and comments for complex sections.

gabegma and others added 22 commits June 3, 2022 12:43
* Fix unexpected borders in Table as `Table sx={{...}}` was overwriting the `sx` defined inside `Table`.
* Clean up
  - Select only classes below `&` prevent styling from "bleeding" out of the component and into other components with the same class names.
# Conflicts:
#	CHANGELOG.md
* Toggle Normalized button in confusion matrix

* % removed for not normalize

* added changelog

* read normalized from API rsponse

* added toggle closer to plot

* organized and clean up backend changes

* backend test cases and added param to modules

* name changes on the title description of API

* name change and added default normalized value

* test code clean up

* Reorder query state fields alphabetically

* Fix loosing normalized state when clicking top words

* Fix non-normalized matrix having all numbers white

* Do one check to `normalized` instead of two

* Use query parameter as default value for `normalized`

which is our best guess of what the `normalized` state will be.

Co-authored-by: joseph.marinier <joseph.marinier@servicenow.com>
* Clean up
* Offer hiding columns
  - Hide filter options (with handy boolean attribute)
  - Hide sort options since they are already available via the sorting button
* Have columns flex to accommodate hiding columns. Also taking this opportunity to adjust the widths to new outcome names.
* Show columns separator in headers to avoid ambiguity with which column the menu button belongs to.
* Refine sorting
  - Show the initial sort
  - Disable `sortingOrder=null` as it is redundant with sorting by `utteranceCount` `desc`
* Set `maxWidth` so that columns stop getting wider going under 6 columns.
* Fix typo in breadcrumbs
* Clean up
* Move confidence threshold out of `/dataset_info` and into `/bins` and `/utterances`. The idea is to remove pipeline-specific info from `/dataset_info`.
* Use `Generic`s for `PerFilterModules`
* Split `ValuePerFilter` into `ValuePerDatasetFilter` and `ValuePerPipelineFilter` so that no field has to be `Optional` / `nullable`.
* Generalize smart tags to strings to support dynamic smart tags in the future.
* Fix tooltips preventing moving cursor down as cursor was going over the tooltip and keeping it popped.

Co-authored-by: fr.branchaud-charron <fr.branchaud-charron@servicenow.com>
* Add F1 to default config.
* Use outcomes' icons as headers of the Performance Overview table instead of the outcomes' full names.
* Fix table "overall" row not on top at initial load, by controlling the sort model instead of trying to keep a reference to it (and setting the initial state).

Co-authored-by: fr.branchaud-charron <fr.branchaud-charron@servicenow.com>
* Initial work on displaying descriptions

* rebased dev

* final code check

* added unit test cases and set default export

* Latest changes after design feedback

* resolved conflicts by rebase

* alignment fix for i icon

* added changelog

* Applied review comments

* review comments on utterance details page

* review comments on utterance details page

* Do the same in `DatasetDistribution`

* Reorder imports alphabetically

* Revert unnecessary changes

* Adjust plot right labels placement

by wrapping it inside a `<Box height={0}` to avoid hardcoding any non-zero vertical dimension (like `marginTop: -1`, `marginY: -4px` and `lineHeight: 1`).

* InsertLink to Link Icon

* Polish tests

Co-authored-by: joseph.marinier <joseph.marinier@servicenow.com>
* Regenerate frontend types
* Add pipeline comparison smart tag family with `pipeline_disagreement` and `incorrect_for_all_pipelines` smart tags
* Test that all smart tags have a family
* Final changes of visual bars

* added a reusable module

* Fixed alignment of value

* some rework on visualbar width

* name change to appropriate word

* code cleanup and added changelog

* added valuegetter back and some comments applied

* modified the hardcoded color to theme in similarity column

* some review changes added

* some review changes added

* name changed to appropriate word

* some css review comments

* removed unused import

* CSS to align content to end

* grid css work for width

* text align to right considering small details

* Change model-free distribution bars to `primary.main` color

instead of the new very light `primary.light` color.

* Revert bars in similar utterances

to add it later with careful design

* Tweak columns widths

* Type `VisualBar["color"]` as `BoxProps["bgcolor"]`

to avoiding the need for `useTheme`.

Also remove `visualBarPercentage()` to make definitions more straightforward and avoid some typing.

* Use flex instead of grid

Co-authored-by: joseph.marinier <joseph.marinier@servicenow.com>
* Dashboard
  - Fix sorting numbers as strings
* One-line descriptions
  - Shorten behavioral testing description and remove duplication
  - Add description to Post-processing Analysis page
* Utterances table
  - Make proposed action selector wider in footer and narrower in column, making everything fit on a MacBook Pro 17.
  - The width of the selector in the table column is no longer hardcoded thanks to the `fullWidth` prop. The width in the table footer still needs to be fixed though, so I set it to the longest option "augment_with_similar".
* Add smart tag family icons

* Incorporate changes from last release

* Add release notes and change version

* Update screenshots and change slightly wording of some one-liner

* Revert change. Will be tackled in another PR.

* Revert "Add smart tag family icons"

This reverts commit 0558e7e.

* Add smart tag family icons

* Apply suggestions from code review

Co-authored-by: Joseph Marinier <joseph.marinier@servicenow.com>

* Tweak smart tag family icon sizes

* Update CITATION.cff

Co-authored-by: joseph.marinier <joseph.marinier@servicenow.com>
@gabegma gabegma enabled auto-merge July 11, 2022 13:31
@gabegma gabegma disabled auto-merge July 11, 2022 13:51
@gabegma gabegma merged commit 8557baf into main Jul 11, 2022
@JosephMarinier JosephMarinier deleted the dev branch July 19, 2022 14:56
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.

4 participants