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

[BUGFIX] argilla frontend: Avoid call router.push when opening an external URL #5675

Merged

Conversation

frascuchon
Copy link
Member

@frascuchon frascuchon commented Nov 7, 2024

Description

This PR fixes the router.go method and avoids calling router.push when the external flag is True

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested

Checklist

  • I added relevant documentation
  • I followed the style guidelines of this project
  • I did a self-review of my code
  • I made corresponding changes to the documentation
  • I confirm My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)

Copy link

github-actions bot commented Nov 7, 2024

The URL of the deployed environment for this PR is https://argilla-quickstart-pr-5675-ki24f765kq-no.a.run.app

Copy link

codecov bot commented Nov 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.08%. Comparing base (229809e) to head (78a8536).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #5675      +/-   ##
===========================================
- Coverage    91.10%   91.08%   -0.02%     
===========================================
  Files          150      150              
  Lines         6250     6250              
===========================================
- Hits          5694     5693       -1     
- Misses         556      557       +1     
Flag Coverage Δ
argilla-server 91.08% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@frascuchon frascuchon changed the title [WIP] argilla frontend: investigate weird spaces 404 [BUGFIX] argilla frontend: Avoid call router.push when opening an external URL Nov 7, 2024
@frascuchon frascuchon merged commit e425c89 into develop Nov 7, 2024
1 of 2 checks passed
@frascuchon frascuchon deleted the chore/argilla-frontend/investigate-weird-spaces-404 branch November 7, 2024 09:57
frascuchon added a commit that referenced this pull request Nov 8, 2024
…xternal URL (#5675)

# Description
<!-- Please include a summary of the changes and the related issue.
Please also include relevant motivation and context. List any
dependencies that are required for this change. -->

This PR fixes the `router.go` method and avoids calling `router.push`
when the external flag is True

**Type of change**
<!-- Please delete options that are not relevant. Remember to title the
PR according to the type of change -->

- Bug fix (non-breaking change which fixes an issue)

**How Has This Been Tested**
<!-- Please add some reference about how your feature has been tested.
-->

**Checklist**
<!-- Please go over the list and make sure you've taken everything into
account -->

- I added relevant documentation
- I followed the style guidelines of this project
- I did a self-review of my code
- I made corresponding changes to the documentation
- I confirm My changes generate no new warnings
- I have added tests that prove my fix is effective or that my feature
works
- I have added relevant notes to the CHANGELOG.md file (See
https://keepachangelog.com/)
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.

2 participants