Skip to content

feat: add screen loading manual & automatic approaches #477

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

Merged
merged 115 commits into from
Jul 7, 2024

Conversation

AndrewAminInstabug
Copy link
Contributor

Description of the change

This pull request includes the necessary implementation for both manual and automatic (Navigator 1) screen loading approaches.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Jira ID: APM-19229

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests

Code review

  • This pull request has a descriptive title and information useful to a reviewer
  • Issue from task tracker has a link to this pull request

abdelhamid-f-nasser and others added 30 commits February 21, 2024 12:40
Deprecate execution traces in favor of AppFlows APIs.
Added the network_security_config configuration to support proxy tools for android
This resolves the issue on jetbrains IDEs where the dart analyzer doesn't start up nor the linting, intentions and auto-complete features.
Support native and flutter crash scenarios as well as adding Crashes Method Channels.
Jira ID:
- APM-19526
- APM-19645
- Added a new button widget called InstabugClipboardIconButton.
- This widget provides a button with an icon to paste text from the clipboard.
- The widget accepts an optional callback function `onPaste` to handle the pasted text.
- Added a new widget called InstabugClipboardInput.
- This widget combines InstabugTextField and InstabugClipboardIconButton to provide an input field with a button to paste text from the clipboard.
- The widget accepts label and controller parameters to customize the input field.
- Added `http` package to the `pubspec.yaml` file with version constraint `^0.13.6`.
- This package is required to perform HTTP requests for network monitoring functionality in the APM feature.
- Added ApmBody widget to display APM (Application Performance Monitoring) related content.
- Introduced NetworkContent widget within ApmBody to handle network monitoring functionality.
- NetworkContent includes an input field for the endpoint URL and a button to send a request to the specified URL.
- The button triggers an HTTP GET request to the provided URL and logs the response data or any error encountered.
Introduces a new constructor to the InstabugButton widget, to allow creation of create buttons with a smaller font size. The new constructor, InstabugButton.smallFontSize, accepts parameters for text, onPressed callback, fontSize (defaulting to 10.0), and margin. This addition enhances the flexibility of the InstabugButton widget.
- Add a new optional parameter, labelStyle, to the InstabugTextField widget; allowing style customization.
- Set icon size to 12.0
- Added `TracesContent` widget to display trace-related UI elements.
- Implemented functionality to start, delay start, and end traces.
- Implemented setting trace attributes.
- Added error handling for various scenarios such as starting a trace without a name, ending a trace without starting one, and setting attributes without starting or after ending a trace.
- Updated UI to include buttons for starting, delaying start, ending traces, and setting trace attributes.
- Added `TracesContent` widget to display trace-related UI elements.
- Implemented functionality to start, delay start, and end traces.
- Implemented setting trace attributes.
- Added error handling for various scenarios such as starting a trace without a name, ending a trace without starting one, and setting attributes without starting or after ending a trace.
- Updated UI to include buttons for starting, delaying start, ending traces, and setting trace attributes.
Co-authored-by: Ahmed Mahmoud <[email protected]>
The SessionReplayLink InstabugButton was placed inside of the Color Theme ButtonBar resulting in infinite width issue.
@InstabugCI
Copy link
Collaborator

InstabugCI commented Jun 9, 2024

Warnings
⚠️

You have not included a CHANGELOG entry!
You can find it at CHANGELOG.md.

Coverage Report

Label Coverage Status
Dart 82.0%

Generated by 🚫 dangerJS against df6f5eb

@AndrewAminInstabug AndrewAminInstabug changed the title add: screen loading manual & automatic approches feat: screen loading manual & automatic approches Jun 11, 2024
@AndrewAminInstabug AndrewAminInstabug changed the title feat: screen loading manual & automatic approches feat: screen loading manual & automatic approaches Jun 11, 2024
Base automatically changed from dev to master June 11, 2024 12:31
@a7medev a7medev changed the base branch from master to dev July 7, 2024 10:41
@a7medev a7medev changed the title feat: screen loading manual & automatic approaches feat: add screen loading manual & automatic approaches Jul 7, 2024
@a7medev a7medev requested a review from ahmedAlaaInstabug July 7, 2024 11:41
@mzelzoghbi mzelzoghbi merged commit 8e0ff8d into dev Jul 7, 2024
11 checks passed
@mzelzoghbi mzelzoghbi deleted the feat/screen-loading branch July 7, 2024 12:23
mzelzoghbi pushed a commit that referenced this pull request Aug 4, 2024
* feat: support Variants in Features & Experiments APIs

* fix: deprecated comment

* fix:   removeFeatureFlagsFeatureFlag catch

* fix: removeFeatureFlagsFeatureFlag catch

* fix: removeFeatureFlagsFeatureFlag catch

* fix: removeFeatureFlagsFeatureFlag catch

* fix: removeFeatureFlagsFeatureFlag catch

* fix: removeFeatureFlagsFeatureFlag catch

* fix removeFeaturFlag test case

* test: decommission native e2e tests in favor of captain (#484)

* chore(android): bump sdk to 13.2.0 (#482)

* chore(ios): bump sdk to v13.2.0 (#483)

* feat: add screen loading manual & automatic approaches (#477)

* release: v13.2.0 (#485)

* fix: format files

* fix: format files

* fix: format files

* fix: pr comments

* fix: PR comments

* fix: PR comments

* fix: PR comments

* fix: PR comments

* fix: PR comments

* chore: correct pr number in changelog

* chore: correct pr number in changelog

* chore: correct changelog section level

* refactor: remove unnecessary `List.of`

* chore: mention variants support in changelog

---------

Co-authored-by: Ahmed Mahmoud <[email protected]>
Co-authored-by: Andrew Amin <[email protected]>
Co-authored-by: Ahmed Mahmoud <[email protected]>
ahmedAlaaInstabug added a commit that referenced this pull request Nov 4, 2024
* feat: support Variants in Features & Experiments APIs

* fix: deprecated comment

* fix:   removeFeatureFlagsFeatureFlag catch

* fix: removeFeatureFlagsFeatureFlag catch

* fix: removeFeatureFlagsFeatureFlag catch

* fix: removeFeatureFlagsFeatureFlag catch

* fix: removeFeatureFlagsFeatureFlag catch

* fix: removeFeatureFlagsFeatureFlag catch

* fix removeFeaturFlag test case

* test: decommission native e2e tests in favor of captain (#484)

* chore(android): bump sdk to 13.2.0 (#482)

* chore(ios): bump sdk to v13.2.0 (#483)

* feat: add screen loading manual & automatic approaches (#477)

* release: v13.2.0 (#485)

* fix: format files

* fix: format files

* fix: format files

* fix: pr comments

* fix: PR comments

* fix: PR comments

* fix: PR comments

* fix: PR comments

* fix: PR comments

* chore: correct pr number in changelog

* chore: correct pr number in changelog

* chore: correct changelog section level

* refactor: remove unnecessary `List.of`

* chore: mention variants support in changelog

---------

Co-authored-by: Ahmed Mahmoud <[email protected]>
Co-authored-by: Andrew Amin <[email protected]>
Co-authored-by: Ahmed Mahmoud <[email protected]>
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.

6 participants