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

Bugfixes/review pr 1687 #1745

Merged
merged 24 commits into from
Oct 5, 2022
Merged

Bugfixes/review pr 1687 #1745

merged 24 commits into from
Oct 5, 2022

Commits on Oct 3, 2022

  1. feat(Client): validate token classification annotations in client (#1709

    )
    
    Closes #1579
    
    (cherry picked from commit 6d82717)
    frascuchon committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    ff6bfa2 View commit details
    Browse the repository at this point in the history
  2. feat(Datasets): restrict dataset deletion only to creators and super-…

    …users (#1713)
    
    * feat(Datasets): restrict dataset deletion only to creators and super-users
    
    * tests: add tests for datasets deletion check
    
    * chore: improve deletion error message
    
    Co-authored-by: Daniel Vila Suero <daniel@recogn.ai>
    
    * Format long strings
    
    Co-authored-by: Daniel Vila Suero <daniel@recogn.ai>
    
    (cherry picked from commit c5ab270)
    fix: handle separately 401 and 403 api errors in UI (#1740)
    
    Since the changes included in #1713, users without permission trying to delete datasets from UI will hit into a re-login operation.
    
    This PR handles separate authentication errors (401) and forbidden errors (403).
    
    We should find a better way to handle error codes and info in general.
    frascuchon committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    3cd1e3a View commit details
    Browse the repository at this point in the history
  3. ci: set a proper cleanlab version for tests

    (cherry picked from commit 7272d60)
    frascuchon committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    202df1a View commit details
    Browse the repository at this point in the history
  4. feat(Datasets): delete records by query (#1721)

    Closes #1714
    
    (cherry picked from commit be4e92c)
    
    fix: delete records feature (#1737)
    
    Some problems detected:
    
    Change from httpx.delete to httpx.request with method="DELETE", since the delete method does not accept body param (data or json)
    Fix response data when no records match for deletion
    frascuchon committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    f066518 View commit details
    Browse the repository at this point in the history
  5. ci: HF tests only for master and releases branches (#1720)

    Since several memory errors occurs running test related to the hf hub, those tests will be only launched for master and release branches.
    
    Test for contributors' branches can be executed without problems.
    
    (cherry picked from commit d75675e)
    frascuchon committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    da35728 View commit details
    Browse the repository at this point in the history
  6. ci: closing inactive issues (#1716)

    * ci: closing inactive issues
    
    * exclude some issues by tag
    
    (cherry picked from commit 58b99c1)
    frascuchon committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    91d2359 View commit details
    Browse the repository at this point in the history
  7. ci: automatic insert license header (#1710)

    * ci: auto insert license-header
    
    * ci: add insert-headers pre-commit
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * ci: add missing license header
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    (cherry picked from commit cd24d7d)
    frascuchon committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    5a36849 View commit details
    Browse the repository at this point in the history
  8. refactor: accept flat text as input for token classification mapper (#…

    …1686)
    
    Closes #482
    
    (cherry picked from commit 379ac56)
    Ankush-Chander authored and frascuchon committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    19acc1a View commit details
    Browse the repository at this point in the history
  9. feat(Client): expose client extra headers in init function (#1715)

    * feat(Client): expose client extra headers in init function
    
    * tests: adding missing tests
    
    * docs: include some example of how to use additional headers
    
    * Apply suggestions from code review
    
    Co-authored-by: Daniel Vila Suero <daniel@recogn.ai>
    
    Co-authored-by: Daniel Vila Suero <daniel@recogn.ai>
    
    Closes #1706
    
    (cherry picked from commit 994494f)
    frascuchon committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    d973eac View commit details
    Browse the repository at this point in the history
  10. style: Align App UI with the design system (#1672)

    This PR adds entity label component in entities selector, also includes kebab-case in some nuxt-link
    
    * rename core folder to base
    
    * fix checkbox margin
    
    * remove unused prop
    
    * decorator
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * fix copy text
    
    * force commit
    
    * update test snapshot
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    
    Closes #1670
    
    (cherry picked from commit 52bbceb)
    leiyre authored and frascuchon committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    5bd7586 View commit details
    Browse the repository at this point in the history
  11. docs: Add interpret tutorial with Transformers (#1728)

    * docs(explain): add model interpret tutorials
    
    * docs(explain): polish tuto
    
    * docs(explain): polish tuto 2
    
    * docs(explain): add explain to explanation
    
    * docs(explain): add deps
    
    * revert files
    
    * revert file
    
    Closes #1729
    
    (cherry picked from commit 47645d9)
    dvsrepo authored and frascuchon committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    82fe331 View commit details
    Browse the repository at this point in the history
  12. [pre-commit.ci] pre-commit autoupdate (#1712)

    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/pre-commit/pre-commit-hooks: v2.3.0 → v4.3.0](pre-commit/pre-commit-hooks@v2.3.0...v4.3.0)
    - [github.com/psf/black: 21.9b0 → 22.8.0](psf/black@21.9b0...22.8.0)
    - [github.com/pycqa/isort: 5.9.3 → 5.10.1](PyCQA/isort@5.9.3...5.10.1)
    - [github.com/alessandrojcm/commitlint-pre-commit-hook: v2.2.0 → v9.1.0](alessandrojcm/commitlint-pre-commit-hook@v2.2.0...v9.1.0)
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    (cherry picked from commit a9076dc)
    pre-commit-ci[bot] authored and frascuchon committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    3af102f View commit details
    Browse the repository at this point in the history
  13. chore: upgrade version

    frascuchon committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    4e78d79 View commit details
    Browse the repository at this point in the history
  14. docs: fixing the active learning tutorial with small-text (#1726)

    * docs: fixing the active learning tutorial with `small-text`
    
    * docs: using a tiny model
    
    * docs: Change tutorial title
    
    * docs: Change active learning title in card
    
    (cherry picked from commit f4f2289)
    
    Closes #1693
    frascuchon committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    a64fd6c View commit details
    Browse the repository at this point in the history
  15. fix: search tag reset prior annotation (#1736)

    Closes #1711
    
    Also, add some none regression unit test with Jest
    
    (cherry picked from commit fcd6c81)
    keithCuniah authored and frascuchon committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    66bb9c0 View commit details
    Browse the repository at this point in the history
  16. docs: using official token class. mapper since is compatible now (#1738)

    Once the issue #482 is resolved, we can remove the custom mapper for spacy on this tutorial and use the one provided by the monitoring module.
    frascuchon committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    f62dc23 View commit details
    Browse the repository at this point in the history
  17. chore: frontend version

    frascuchon committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    9c309d3 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    80762cc View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    0215488 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    d005f97 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2022

  1. Configuration menu
    Copy the full SHA
    10be987 View commit details
    Browse the repository at this point in the history
  2. Review telemetry warning

    frascuchon committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    e3a46a0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cb3ab7d View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2022

  1. Configuration menu
    Copy the full SHA
    bfd1b95 View commit details
    Browse the repository at this point in the history