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

refactor: isolate computed header calculation on effective requests #2313

Merged
merged 16 commits into from
May 11, 2022

Conversation

AndrewBastin
Copy link
Member

@AndrewBastin AndrewBastin commented May 2, 2022

Description

This PR introduces some refactors and UX improvements to show the headers and parameters that are added indirectly to the request. For example, when you set to Bearer Token Authorization, the Authorization header is added during the execution of the request, the goal of this PR is to refactor those calculations to be independently exposed and to have a UX for showing the user this.

Progress

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Additional Information

@AndrewBastin AndrewBastin self-assigned this May 2, 2022
@lgtm-com
Copy link

lgtm-com bot commented May 10, 2022

This pull request introduces 3 alerts when merging c41641c into c36e421 - view on LGTM.com

new alerts:

  • 3 for Unused variable, import, function or class

@liyasthomas liyasthomas marked this pull request as ready for review May 10, 2022 13:22
@liyasthomas liyasthomas self-requested a review May 10, 2022 13:22
@lgtm-com
Copy link

lgtm-com bot commented May 10, 2022

This pull request introduces 4 alerts when merging 4b88481 into c36e421 - view on LGTM.com

new alerts:

  • 4 for Unused variable, import, function or class

@lgtm-com
Copy link

lgtm-com bot commented May 10, 2022

This pull request introduces 4 alerts when merging 154dff0 into 450af98 - view on LGTM.com

new alerts:

  • 4 for Unused variable, import, function or class

Copy link
Member

@liyasthomas liyasthomas left a comment

Choose a reason for hiding this comment

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

LGTM.

  • Not gonna put a "Computed header" title, occupies too much space.
  • Will iterate over the current UI if any users raise concerns.

@AndrewBastin AndrewBastin merged commit d045206 into hoppscotch:main May 11, 2022
@AndrewBastin AndrewBastin deleted the refactor/effective-headers branch May 11, 2022 09:23
@lgtm-com
Copy link

lgtm-com bot commented May 11, 2022

This pull request introduces 4 alerts when merging ea82bff into 450af98 - view on LGTM.com

new alerts:

  • 4 for Unused variable, import, function or class

nivedin pushed a commit to nivedin/hoppscotch that referenced this pull request May 13, 2022
liyasthomas added a commit that referenced this pull request Jun 16, 2022
…2313)

Co-authored-by: liyasthomas <liyascthomas@gmail.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.

None yet

6 participants