titanium-sdk icon indicating copy to clipboard operation
titanium-sdk copied to clipboard

feat(ios): redesigned error view

Open janvennemann opened this issue 5 years ago • 3 comments

This started out as a quick look at Swift UI, but i really liked the look and feel and additional information this error screen provides so i thought this might be something interesting for a future release. It requires a minimum deployments target of iOS 11, so probably something for 10.0

On devices running iOS 13 and up this will use a new redesigned error view to display all relevant error details in a clean and structured UI. This should help users to get a better grip of the error and immediately see what went wrong.

Here are two examples for the following code snippet:

Ti.UI.createView({
    top: 20,
    backgroundGradient: {
        type: 'invalid'
    }
})

Light

Dark

cc @jquick-axway and @garymathews for possible Android parity

janvennemann avatar Oct 07 '20 11:10 janvennemann

Fails
:no_entry_sign:

:microscope: There are library changes, but no changes to the unit tests. That's OK as long as you're refactoring existing code, but will require an admin to merge this PR. Please see README.md#unit-tests for docs on unit testing.

Warnings
:warning: There is no linked JIRA ticket in the PR body. Please include the URL of the relevant JIRA ticket. If you need to, you may file a ticket on JIRA
:warning: This PR has milestone set to 10.0.0, but the version defined in package.json is 9.3.0 Please either: - Update the milestone on the PR - Update the version in package.json - Hold the PR to be merged later after a release and version bump on this branch
:warning:

:mag: Can't find junit reports at ./junit.*.xml, skipping generating JUnit Report.

Messages
:book: :fist: The commits in this PR match our conventions! Feel free to Rebase and Merge this PR when ready.

Generated by :no_entry_sign: dangerJS against 2cae06702612afdda4b03d376d06285b5c12531d

build avatar Oct 07 '20 11:10 build

Looks nice. We can consider it for 10.0.0.

vijaysingh-axway avatar Oct 07 '20 18:10 vijaysingh-axway

@janvennemann Would you mind rebasing this PR? Happy to take it for 10.2.0!

hansemannn avatar Mar 21 '22 18:03 hansemannn