Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat:Web_Socket_Support #555

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

Open
Clasherzz wants to merge 39 commits into foss42:main
base: main
Choose a base branch
Loading
from Clasherzz:web_socket
Open

feat:Web_Socket_Support #555

Clasherzz wants to merge 39 commits into foss42:main from Clasherzz:web_socket

Conversation

@Clasherzz
Copy link
Contributor

@Clasherzz Clasherzz commented Feb 1, 2025

PR Description

The PR discusses an approach for adding websocket support to API Dash.

Related Issues

Checklist

  • I have gone through the contributing guide
  • I have updated my branch and synced it with project main branch before making this PR
  • I am using the latest Flutter stable branch (run flutter upgrade and verify)
  • [] I have run the tests (flutter test) and all tests are passing

Added/updated tests?

I haven't yet added test cases and would like to have some support for that

  • [] Yes
  • No, and this is why: needs help and support

OS on which you have developed and tested the feature?

  • Windows
  • macOS
  • Linux

Clasherzz and others added 23 commits December 24, 2024 10:27
@Clasherzz Clasherzz marked this pull request as draft February 1, 2025 04:42
@Clasherzz Clasherzz marked this pull request as ready for review February 1, 2025 05:45
Copy link
Contributor Author

Clasherzz commented Feb 1, 2025
edited
Loading

Copy link
Contributor Author

Clasherzz commented Feb 1, 2025
edited
Loading

@ashitaprasad I haven't finished on the history part of websocket (there is an error throwing because of this I would work on this once the approach is reviewed) . And still trying to make the scrolling functionality bit more smoother. Currently the new frames are pushing the old frames down , making it hard for tester to read when multiple frames comes fastly.

Copy link
Contributor Author

@ashitaprasad apart from above mentioned issues the branch is ready to review .

Copy link
Contributor

@Clasherzz hi, looked briefly at your PR and noticed that you have commited some generated files as well. The model files generated by the freezed package are meant to be gitignored. Maybe this can be of some help.

Copy link
Contributor Author

@Clasherzz hi, looked briefly at your PR and noticed that you have commited some generated files as well. The model files generated by the freezed package are meant to be gitignored. Maybe this can be of some help.

I never thought to put them in git ignore since the codebase in github contains the generated files and already existing git ignore file in the codebase is not including them . And since the generated file code doesn't seem to vary across different dev enviornments I thought it wasn't going to cause conflict.

Copy link
Member

@Clasherzz
Some feedback :

  • There shouldn’t be any errors across the project when you submit a PR
  • GET, POST, GraphQL, cancel request etc. functionalities of the app are breaking
  • When you write the websocket functionality you have to make sure it works along with the existing features of the project

return ids ?? [];
});

final httpClientManager =HttpClientManager();
Copy link
Contributor Author

@Clasherzz Clasherzz Feb 23, 2025

Choose a reason for hiding this comment

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

@ashitaprasad this was never supposed to be removed

Copy link
Contributor Author

@ashitaprasad kindly check this branch once again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Feature request: Websocket Support

AltStyle によって変換されたページ (->オリジナル) /